Installing TestNG in Eclipse

Install TestNG in Eclipse:


Installation of TestNG is very easy, as it comes as a plugin for Eclipse IDE. Prerequisite for installing TestNG is your Internet connection should be up & running and Eclipse IDE should be installed in your PC.

Please see the following steps to install testNG in eclipse

Step 1:
  1. Launch Eclipse.
  2. On the menu bar, click on Help.
  3. Choose the "Install New Software..." option.
TestNG Installation in Eclipse


Step 2:
  1. In the Install dialog box, click the Add button
  2. In "Name", type TestNG.
  3. In "Location", type http://beust.com/eclipse.
  4. Click OK
TestNG Installation in Eclipse



Step 3:
Check the "TestNG" check box as shown below, then click Next.


TestNG Installation in Eclipse


Step 4:
  1. Click Next again on the succeeding dialog box until you reach the License Agreement dialog.
  2. Click "I accept the terms of the license agreement" then click Finish.
TestNG Installation in Eclipse

Step 5:
  1. Wait for the installation to finish
  2. If you encounter a Security warning, just click OK
  3. When Eclipse prompts you for a restart, just click Yes.

Step 6:
After the restart, verify if TestNG was indeed successfully installed. Click Window > Preferences and see if TestNG is included on the Preferences list.

TestNG Installation in Eclipse



<--Previous || next -->

No comments:

Post a Comment