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

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -