Junit Selenium

Free Selenium Tutorials and Videos


Note:  Double click on Selenium training video to fit to screen

Details

Junit is used for unit testing y developers. Junit basically is a testing framerwork.
When combined with selenium, it roves out to be very powerful in implementing selenium test cases and building a framework.
Junit selenium combination can be usined to build any type of framework- keyword driven, datadriven etc. When the scripts are run with the help of ANT, we also get HTML reports for test cases.

Junit comes inbuilt with eclipse. GO to project properties, click on javabuild path and select the libraries tab.
Click on button on the left - 'Add Library' and add the junit 4 library into your project.
Junit 4 is the latest version of junit and has got various annotations supported in it.
The junit 4 annotations male our work very easy while writing the selenium scripts.

Please watch the above video for complete details on selenium with junit.