May 21, 2011

Setting up Selenium RC & TestNG using Eclipse - 1

I found that it is not easy for the beginners to setup Selenium RC and run the GoogleTest.java example after downloading it from www.openqa.org . The purpose of this post is to help beginners (new users to Selenium RC) help setting up Selenium RC with TestNG using Eclipse.


You need eclipse and TestNg Jar files..


Below are the steps to SetUp TestNG in eclipse.


Step1:


Open Eclipse.
Click on Help form Menubar  and select "Install new software".


Step2:


A new window will be opened. Click Add button.
 A new window is opened. and Enter Name as TESTNG and enter site "http://beust.com/eclipse"








Step3:
Select TestNG and Click Next

Step4:

In the next step click finish




Thats it You installed TESTNG in eclipse...

to verify that you need to click on Project -->new -->Other--?>Yoou can see TESTNG foler and expand that folder you cna see TESTNG Class..

See below screen shot..



Then go to second part of the post....it is post regarding 

Setting up Selenium RC & TestNG using Eclipse-II




7 comments: