unit testing - Python Selenium run multiple tests in one browser instance? -


how can run multiple tests different modules in 1 browser instance in selenium? example, if have test login, , tests action after logging in, can string these tests together? webdriver logs in first, conducts second test? i'm using python 2.7.5 write tests.

thanks!

~carpetfizz

this depends on capabilities of test runner. nose test framefowrk allows define package level setup methods module, class, , method setups.

another method manually providing browser instance class described in this answer similar question.


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -