“storeLocation” and “storeTitle” commands in selenium IDE

“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.



“storeTitle” Command

“storeTitle” command is storing title of current opened software web application’s title. see bellow given example for more reference. It will store current selected windows title in to variable “j”.

New Test
Command Target Value
open https://www.google.co.in
storeTitle j
echo ${j}

2 thoughts on ““storeLocation” and “storeTitle” commands in selenium IDE

  1. Hi! I have 2 windows with the same Title, but different URLs.

    They have no specific IDs, nor anything like that… Can I use the URLs to SELECT between each window? How?

Leave a Reply

Your email address will not be published. Required fields are marked *