How to keep window open upon execution of Test Suite?

113 Views Asked by At

How open our browser session at beginning of test suite, use same browser throughout test suite, then close at the end of the test suite, instead of closing browser at the end of each test case ? I know that you will need to use a redirect to the correct browser location like e.g. the test fails?

I try use set up test listeners that run before or after test suite / test case.

1

There are 1 best solutions below

1
Mate Mrše On

Go to Project Settings > Execution and uncheck both "Terminate drivers after each Test Case" and Terminate drivers after each Test Suite". enter image description here