Header Ads

HOW TO USE FOCUS COMMAND IN SELENIUM IDE?





Run the below script in selenium IDE:
Command
Target
Value
store
helloselenium blog
key1
echo
${key1}

open
/
focus
//input[@id='gbqfq']

type
//input[@id='gbqfq']
${key1}
focus
//button[@id='gbqfb']

clickAndWait
//button[@id='gbqfb']


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




In the above script elements are getting focused before any operation.

Read more about FOCUS 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.