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





Post a Comment

0 Comments