"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.
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".
"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} |
"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} |
Hi! I have 2 windows with the same Title, but different URLs.
ReplyDeleteThey have no specific IDs, nor anything like that... Can I use the URLs to SELECT between each window? How?
View this example -> http://software-testing-tutorials-automation.blogspot.in/2013/10/selenium-how-to-select-window-if-window.html
ReplyDeleteIt might helps you.