How to run multiple suites using single browser instance? | Selenium Forum
M
Posted on 13/05/2016
Selenium Question:I have suite A(log in) and suite B(customer search). Currently After running suite A , IE browser closes and suite B runs on new instance. I wanted to run suite A and suite B using same driver instance. our methods are not static. We run our tests in parallel so got rid of static methods. Any help would be really appreciated.

M
Replied on 14/05/2016

you have to use initialize static driver in testbase.java and extend testbase.java to you @tests


M
Replied on 14/05/2016

Issue is we don't want to use static methods


M
Replied on 15/05/2016

without static i don't think it will be possible.