Wednesday 13 February 2013

Configuring Testng with Eclipse IDE

Following blog will help you to configure/install the TestNG plug-in to you eclipse IDE. TestNG helps to do data driven testing in selenium.

How to install TestNG with selenium:

  1. Open the eclipse IDE
  2. On help tab click on "Install new software". (Refer Fig 1.1)
  3. On "Install" popup click on "Add" button against work with field. (Ref Fig 1.2)
  4. Specify the Name. (Ref Fig 1.2)
  5. Provide the following URL "http://beust.com/eclipse/" (You could find which URL to be used in the following URL "http://testng.org/doc/download.html"). (Ref Fig 1.2)
  6. Latest version of TestNG plug-in information will be found below "Work with" field
  7. Select the check box against the plug-in. (Ref Fig 1.3)
  8. Click on "Next" button. (Ref Fig 1.3)
  9. Choose the name and click on "Next" button. (Ref Fig 1.4)
  10. Choose the "I accept the terms of the license agreement" radio button. (Ref Fig 1.5)
  11. Click on "Finish" button. (Ref Fig 1.5)
  12. Once TestNg installed it will ask you to restart the Eclipse IDE.

Fig 1.1


Fig 1.2

Fig 1.3

Fig 1.4

Fig 1.5

Thank you buddies.

No comments:

Post a Comment