After executing the first test case in the test suite, the browser automatically closes.
I have already unchecked the Terminate drivers after each Test Case and the Terminate drivers after each Test Suite. Refer to the screenshot.
I have also tried the code WebUI.callTestCase(findTestCase(‘Test Cases/Update-Offer-Disposition’), [:], FailureHandling.CONTINUE_ON_FAILURE) but it failed and I received an error. Refer to the screenshot.
Is the code incorrect or is there other way to prevent the browser from closing after each test case? Thank you in advance for your help.
Can you post a picture of your testcase?
I removed the code:
WebUI.callTestCase(findTestCase(‘Test Cases/Update-Offer-Disposition’), [:], FailureHandling.CONTINUE_ON_FAILURE)
but here’s the first test case that was executed:
I see that your test case is failing, please show me the full log. I don’t see any close browser functions what is making it close?
It has a
closebrowser() function in the
afterTestcase but when I tried to Go to this step in Script view I received a warning stating:
Unable to navigate to step 8 of test case 'Test Cases/Login/Login-User'
since the test case only have 6 steps. How can I remove it?