Urmikhan
6 years agoOccasional Contributor
how to handle uncertain message in application
Hi,
I have 14 testcases and using test execute for running test cases.My appliction if one testcase failed and showing message (Attached this meseage) and if I am not Click leave on message then all of them failed .But I donot Know when this message coming .If comes how I handle and what is the code for it .So my other test cases would be passed.
Thanks
Best practice would be to have all of your test cases be able to be executed 100% stand alone. Then use event handlers to make sure your tests always start and end on a specific part of the application (usually homepage, or login screen). If the test stops and is not on that screen, completely restart your application.