https://chercher.tech/java/run-failed-testcases-testng-selenium-webdriver
After execution on the "Result of Running Class" you see the details like PASSED and Failed, Skipped, and time taken to execute.

2.Refresh the project and open the test-output folder
3. Now open the index, it might look like below with pass and failed details

4. Now you could see the testng-failed.xml file in the test-output folder
Now go to eclipse and right-click on the testng-failed.xml

6.Select Run As->TestNG Test

No comments:
Post a Comment