nakshatra
6 years agoContributor
Leave site pop up is getting displayed if I use stop test item on error.
Hi,
I am trying to execute 10 test cases and I am using approach 1 which was mentioned in below link.
When object is not find for one test case I am trying to stop that test case and continue with remaining.
But following pop up is getting displayed.(Capture.png)
Becuase of this remaining test cases not excuting.
Do I need to write script for handling this pop up also or am I missing something?
Could you please some one explain how to stop test item on error.
Thanks in advance.
Regards,
Saritha
For help with your code, it would be useful for you to share it here.
However, here is the method we use for our own "tear down".function closeIEInstance() { var counter = 0; var browser; browser = Sys.WaitBrowser('iexplore', 1000); while((browser.Exists) && (counter < 60)){ counter++; browser.Terminate(); browser = Sys.WaitBrowser('iexplore', 1000); } }