Let’s think of a video app. You want to test if some sort of offline download is working.
Let’s further assume that the app sometimes asks the user to rate the app through a special dialog that appears one out of 10 times the user starts the app.
This would result in your tests failing one out of 10 times because your tests don’t know how to deal with the rating popup.
How does Repeato exception handling work?
Add exception handlers to your test batch like this:
There are 3 modes you can use for each exception handler:
It’s possible to add more than one exception handler to your test. If the first one fails, the second one will be executed. If the second one fails, the third one will be executed, and so on…