TestNG Interview Questions | PART-17 | How to rerun failed test cases | Tamil

Опубликовано: 02 Ноябрь 2024
на канале: Learn Automation Online
20,068
370

During the test execution, the test cases may fail and that is inevitable. We have to rerun the failed test cases to verify whether its a temporary failure or not. There are three ways we can rerun the failed test cases.
1. We can run testng-failed.xml manually.
2. Using IRetryAnalyzer Interface we can rerun the failed test cases automatically.
3. Using IAnnotationTransformer also we can rerun the failed test cases automatically.

#TestNG #InterviewQuestions #RerunFailedTests #LearnAutomationOnline

Best way to reach me (replies will be faster): YouTube comment section
Also, you can follow me on Facebook and Instagram.
Facebook: https://bit.ly/2TqPlis
Instagram: https://bit.ly/2Ez36rH