Now think of the following
- How we can connect the SQL Server or Spread sheet to get the values and give as input.
- How we can implement the conditional statements
- How we can run this from multiple browsers like ie,safari,opera,chrome etc...
Download Selenium RC and back to selenium IDE select File --->Export Test Case As --> JUnit4 (Remote Control) and save the file as FirstCase.java.
1.Download Eclipse IDE for Java Developers from http://www.eclipse.org/downloads/.
2.Open Eclipse and create new java project.
3.Right click on the project and click Build Path--> Configure Build path. -->Library tab -->Add External Jars.
5.Select selenium-java-client-driver.jar from Downloaded Selenium RC selenium-java-client-driver-1.0.1Folder.
6. Right Click on the project again Select Build Path --> Add Library-->JUnit-->Next -->JUnit4-->Finish.
Run the selenium Server by Command prompt as java -jar selenium-server.jar or Start Sauce RC by download as executable file.from http://saucelabs.com/downloads.
Back to Eclipse and Create a New Java Class. Paste the content from FirstCase.java.
Right click on the Project and select Run As --> JUnit Test.