Forum Discussion
rraghvani
3 years agoChampion Level 3
During design, you need to decide how your want your automation to behave if a failure occurs. Such that,
- If an error occurs, continue with remaining steps?
- If an error occurs, stop automation?
- If number of errors logged, is greater than number of errors allowed, stop current test and move on to the next test?
- If an error occurs, stop current test and move onto the next test?
Within my automation project, I use name mappings and I also use the Find method for dynamic objects. If a UI Object is not found, for whatever reasons, I stop the current test and move onto the next test. Once the automation is finished, I can then report on the number of tests passed/failed. I can then afterwards look into the failed tests.
Related Content
- 4 years ago
- 11 months ago
- 8 years ago
- 3 years ago
Recent Discussions
- 17 hours ago
- 17 hours ago