Favourite Quote

Every artist was first an amateur. - Ralph Waldo Emerson The more difficulties one has to encounter, within and without, the more significant and the higher in inspiration his life will be. - Horace Bushnell

Friday, September 3, 2010

Selenium Coupled with Eclipse and Java

Putting together steps for writing selenium scripts in Java.

Selenium 1.0.7 version & have Eclipse 1.3.0

1.Record your tests in Selenium IDE

2. Execute your recorded scripts just to be sure it works all fine.

3.Convert your testcase to format Java(Junit) Selnium RC

4.Copy the source & save it as a .java file.

5.Create a Java project in Eclipse & create a class file.

6.Add selenium-java-client-driver and selenium-server as external jars in project properties >> library.

7.Run your JUnit tests.