Back To Normal

Subscribe To Our E-Mail Newsletter

Wednesday, December 14, 2011

How to Integrate Selenium webdriver with eclipse?


Couch ModePrint It

1. Create Project in eclipse.


2. Right click the project and select Build Path --> Configure Build Path..

3. Import or Add all external jars to the Libraries .

     1. Add selenium standalone web driver jars

     2. Add Junit jars also..
4. Right click source (src) and create your own pacakges (TestSuite, utilities,Testcases..)

5. Start to write your own testcases in Java..
 public class TestacseName extends Testcase

{

               @setup
               @test
              @teardown

}
6.Run your tetsecase as ..

            1. Right click on Editer and select Run as Junit..

7. It will excuete java code on Browser.

Click Here For Smileys :D
:D
:)
:[
;)
:D
:O
(6)
(A)
:'(
:|
:o)
8)
(K)
(M)

No comments:

560 Free Online Courses

Top 200 universities launched 500 free online courses.  Please find the list here .