Testng Selenium | ||||||||||||||||
| ||||||||||||||||
Details
Testng is a testing framework. It can be used with selenium for writing selenium tests / selenium scripts.
Testng is required because : 1) After running Selenium with TestNG get HTML reports for test cases. 2) TestNg supports annotations which are very helpful. 3) We can skip test cases very easily 4) When using ANT with TestNG, we can also generate the Testng XSLT reports which are better than primitive Testng reports. 5) TestNG supports parallel execution of test cases 6) We can paramertize Selenium tests with TestNG There are many other features to testng as well Installing TestNG Testng can be installed as an addon in eclipse. For detailed installation instructions, please refer: http://testng.org/doc/download.html After installing testng, you can create your first selenium test and run it. Reports are generated automatically. Please watch the video for more details on running the test cases with testNG | ||||||||||||||||