Forum Discussion

Urmikhan's avatar
Occasional Contributor
5 years ago

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 al...
  • cunderw's avatar
    5 years ago

    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.