Skip to main content

How to Create a TestNG Class in Eclipse?

*To install TestNG in Eclipse: http://toolsqa.com/selenium-webdriver/install-testng/
a.Right Click package Name
b.Select Build Path->Configure Build path->Select Libraries tab
c.Click Add External Jars -Browse and add downloaded selenium standalone jar file.
d.Create a TestNG class with TestNG annotations (DataProvider to read data from csv file)


Last updated: June 02, 2023

If you have any feedback on this topic, please contact us at documentation@appvance.ai