• Home
  • Testing
  • SAP
  • Web
  • Must Learn!
  • Big Data
  • Live Projects
  • AI
  • Blog

Following is a step by step guide to install TestNG in Eclipse

Installing TestNG in Eclipse

Step 1:

  • Launch Eclipse.
  • On the menu bar, click Help.
  • Choose the "Eclipse Marketplace..." option.

TestNG Tutorial: Install, Annotations, Framework, Examples in SELENIUM

Step 2: In the Eclipse Marketplace dialog box, type TestNG in the search box and press the search button( magnifying glass) or press enter key

TestNG Tutorial: Install, Annotations, Framework, Examples in SELENIUM

Step 3: Click Install

TestNG Tutorial: Install, Annotations, Framework, Examples in SELENIUM

Step 4: A new window for feature selection will open, Do not change anything and Click on confirm button

TestNG Tutorial: Install, Annotations, Framework, Examples in SELENIUM

Step 5:

  • Click Next again on the succeeding dialog box until you reach the License Agreement dialog.
  • Click "I accept the terms of the license agreement" then click Finish.

TestNG Tutorial: Install, Annotations, Framework, Examples in SELENIUM

Step 6: If you encounter a Security warning, just click OK

TestNG Tutorial: Install, Annotations, Framework, Examples in SELENIUM

Wait for the installation to finish

TestNG Tutorial: Install, Annotations, Framework, Examples in SELENIUM

Step 7: When Eclipse prompts you for a restart, just click Yes.

TestNG Tutorial: Install, Annotations, Framework, Examples in SELENIUM

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

TestNG Tutorial: Install, Annotations, Framework, Examples in SELENIUM

That's it to TestNG Installation

 

YOU MIGHT LIKE: