Created
April 11, 2024 08:04
-
-
Save SarahElson/9b1379931a44e303bd5e4a94add9e79a to your computer and use it in GitHub Desktop.
How To Retry Failed Tests Using IRetryAnalyzer In TestNG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | |
| <suite name="LambdaTest ecommerce playground website test suite "> | |
| <listeners> | |
| <listener class-name="io.github.mfaisalkhatri.listeners.RetryListener"/> | |
| </listeners> | |
| <test name="Search Product tests "> | |
| <parameter name="browser" value="remote_chrome_lambdatest"/> | |
| <classes> | |
| <class name="io.github.mfaisalkhatri.tests.retrytests.RetryFailedTests"> | |
| <methods> | |
| <include name="testSearchProduct"/> | |
| <include name="testNavigationToLoginPage"/> | |
| </methods> | |
| </class> | |
| </classes> | |
| </test> <!-- Test --> | |
| </suite> <!-- Suite --> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment