Post

1 Star2 Stars3 Stars4 Stars5 Stars

By Arun Motoori

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.Why TestNG is more powerful than JUnit ?TestNG is more advance in parameterized testing, dependency testing and suite testing (Grouping concept). TestNG is meant for high-level testing and complex integration test. Its flexibility is especially useful with large test suites. In addition, TestNG also cover the entire core JUnit 4 functionality. It’s just no reason for us to use JUnit anymore.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.

Source: http://seleniumtwo-by-arun.blogspot.com/2013/07/159-introduction-to-testng.html

Category: aagc. 159. Introduction to TestNG

Você também pode querer ler

Comments are off for this post.