HOW TO USE REFRESH COMMAND IN SELENIUM IDE?




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


* Base URL:
http://www.google.co.in/





In the above script we are using refresh command to refresh the browser. 

Read more about REFRESH COMMAND IN SELENIUM IDE.





Post a Comment

0 Comments