Pages

Friday, April 8, 2011

Selenium-IDE Record & Play - Tutorial

Record & Play - Tutorial
1.Start Selenium IDE  in Firefox.
2.Browse to Google.com and enter ’selenium’ in the search box and click enter.
3.Click on the first result, which is that of selenium.openqa.org.
4. Stop the recording by clicking on the record button.

[You should see something like below. If you click on the ‘ Source’ tab you can see the test html generated by selenium.]




















5.Open a new tab in Firefox and click on the Selenium IDE’s play button to run the recorded test.



The IDE should play your recorded test. After the test is complete you should have landed on the selenium page (http://selenium.openqa.org/). The IDE after the test run is shown below. In the ‘Log section’ you can see the various events run by the test. In the table tab you can see that all the rows are green, which means that the test ran successfully.





















To Learn Selenium Download:
Selenium Documentation
Selenium Commands

No comments:

Post a Comment