HOW TO USE STOREEVAL 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']

storeEval
alert('Test executed successfully!!')


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







In the above script we are getting a JavaScript alert after completion of test execution.

Read more about STOREEVAL COMMAND IN SELENIUM IDE





Post a Comment

0 Comments