how to configure TestNG in eclipse
1.Configuration of TestNG with Eclipse for Selenium
Goto Eclipse ->Help ->Install New Software ->in "Work with" (give the url as
"http://beust.com/eclipse")->Select TestNG (check box)->Next->Next->Finish
2.
To check whether the TestNG is installed or not
Goto File->New->Other-> (TestNG would be present in the list)
The below steps are not required
Download testng jar file
testng.org/doc/download.htm
http://reportng.uncommons.org/
Include these jar files .
Rht Click on Referenced Libraries ->Build Path ->Add External Jars ->
Browse those two jar files
To create xml file
Rht click on Project ->New -> File -> (give any file name (ex:testng.xml)
No comments:
Post a Comment