Header Ads

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





No comments


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



Powered by Blogger.