TestNG is a powerful testing Framework.
Till now we have used JUnit testing Framework in our Selenium Automation Tests. As TestNG testing Framework is more powerful and has many advantages over JUnit testing Framework, lets prefer to write our Selenium Automation Tests on TestNG testing Framework from now on wards.
How to Run Selenium WebDriver Tests using TestNG testing Framework ?
In order to Run a Selenium RC Test using TestNG, we have to perform the following things first:
- Install TestNG in Eclipse IDE
- Use TestNG annotations in Selenium WebDriver code
Please comment below to feedback or ask questions.
Installing TestNG in Eclipse IDE will be explained in the next post.