Run the below script in selenium IDE:
Command  | Target  | Value  | 
open  | /  | |
focus  | //input[@id='gbqfq']  | |
type  | //input[@id='gbqfq']  | hello selenium  | 
focus  | //button[@id='gbqfb']  | |
clickAndWait  | //button[@id='gbqfb']  | |
goback  | ||
focus  | //input[@id='gbqfq']  | |
type  | //input[@id='gbqfq']  | hello selenium  | 
focus  | //button[@id='gbqfb']  | |
clickAndWait  | //button[@id='gbqfb']  | |
refresh  | ||
close  | 
* Base URL: 
http://www.google.co.in/
In the above script we are using close command to close the browser.
Read more about CLOSE COMMAND IN SELENIUM IDE.
0 Comments
What would you like to add in my list? I look forward to reading your comments below.