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.
No comments:
Post a Comment