- Open Firefox browser.
- Verify the RECORD button is ON in selenium IDE window.
- Navigate the browser to www.google.co.in
- Type “helloselenium blog” in Search textbox.
- Click on Search button.
- Verify the search result present for “Hello Selenium” blog.
- Click on search result of “Hello Selenium” blog.
- Verify the recorded script in selenium IDE window.
Command | Target | Value |
open | / | |
type | id=gbqfq | helloselenium blog |
click | id=gbqfb | |
clickAndWait | css=em |
* Base URL:
http://www.google.co.in/
- Modify the recorded script in selenium IDE window.
Command | Target | Value |
open | / | |
type | id=gbqfq | helloselenium blog |
click | id=gbqfb | |
clickAndWait | //a//em[text()="Hello Selenium"] |
* Base URL:
http://www.google.co.in/
- Save the recorded script.
- Run the recorded script.
0 Comments
What would you like to add in my list? I look forward to reading your comments below.