Header Ads

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.





No comments


What would you like to add in my list? I look forward to reading your comments below.



Powered by Blogger.