Showing posts with label storeLocation Command. Show all posts
Showing posts with label storeLocation Command. Show all posts


As described in my previous post("while" and "endWhile" commands with example), selenium IDE software testing tool not supporting any conditioning and looping commands and to get support of "gotoif" "gotoLabel" and "label" commands, you have to attach user extension with selenium IDE software automation testing tool. This is Advanced Selenium IDE feature. Click here to download user extension and attach it with selenium IDE and restart selenium IDE software testing tool's window. Now you can use "gotoif" "gotoLabel" and "label" commands with selenium IDE software automation.

"storeLocation" Command

"storeLocation" command is useful to store current selected window's URL in selenium IDE software testing tool. See bellow given example for more reference.


New Test
Command Target Value
open https://www.google.co.in
storeLocation i

echo ${i}

In this example, My software web application's URL will be stored into variable "i" and now i can use that variable value anywhere in my script.