Steps To Install TestNG

TestNG comes as a plugin for Eclipse, so it is easy to install it. All you need to have are Eclipse installed in your local system and internet connection. While installing TestNG in your eclipse, your internet connection should be up. Follow the following steps to install TestNG in your Eclipse :

1. Launch Eclipse IDE and click on the Help tab under the menu options and select Install New Software.

a11

2. After clicking on Install New Software option, a window will be displayed where you need to click on “Add”  button.

a12

3. When you click on Add button, it will ask you to enter the search details. Enter the following details :

Name : TestNG

Location : http://beust.com/eclipse/

a13

4 . Click on Ok and it will show you an option TestNG. Click on the check box given with it and click on the NEXT button.

a14

5 . The next step is to agree on the license agreement.

a15

6 . A warning will come which you can ignore and click on Ok.

a17

7. It will ask you to restart Eclipse, restart it by clicking on Restart button.

a18

8. The configuration is done now, if you want to check whether it has been installed or not, you can right click on your project and you will find TestNG option listed there.

testNg

That’s all in configuring TestNG in Eclipse…!!!

Add Comment