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.
Topics Covered
-------------------------
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.
0:00 Need of Rerun Failed Tests
03:18 Run testng-failed.xml
09:22 IRetryAnalyzer Interface
20:15 IAnnotationTransformer Interface
28:36 Verify Result in Extent Report
29:20 Verify Result in ChainTest Report
Support by donating:
---------------------------------
Best way to reach me (replies will be faster): YouTube comment section
👤 Name : Hashir Hasmy
📱 LinkedIn : / mohamed-hashir-370840198
📧 Email : [email protected]
🔗 GitHub : https://github.com/hashirhasmy
#Selenium #TestNG #RerunFailedTests #InDepth #Frameworks #Java #LearnAutomationInSinhala #HashirHasmy #webAutomation #QualityAssurance