Selenium “storeAttribute” example to store URL or any other attribute value of element node

How to use “storeAttribute” command in selenium “storeAttribute” command stores the attribute value of specified element in given variable. You can store any attribute’s value using “storeAttribute” command. You need to provide proper path of element node followed by an @ sign and then the name of the attribute (e.g. a@href . Here “a” is element’s node … Read more

Selenium “verifyVisible” and “verifyNotVisible” commands with sample example

Using “verifyVisible” and “verifyNotVisible” commands in selenium Sometimes during running the script, you need to verify that specified element on the page is visible or hidden. You can use “verifyVisible” and “verifyNotVisible” commands only for the verification of the element visibility on the page. It will return just “True” and “false” based on the element visibility on page … Read more

Using “sendKeys” command at place of “type” command in selenium with example

Selenium IDE “sendKeys” command “sendKeys” command works like type command in selenium IDE but there are 2 more functions as bellow in “sendKeys” command which are not available in “type” command. Generally “sendKeys” command is very useful in auto complete text boxes or combo boxes which require explicit key events. 1. “sendKeys” command will not replace the … Read more

Use ‘storedVars’ with “storeEval” command with example in selenium IDE

Selenium “storeEval” command “storeEval” command is generally used with scripts in selenium IDE software testing tool. It is useful to store result of the script in to specified variable and latter on we can use that variable’s value whenever required. ‘storedVars’ – JavaScript associative array ‘storedVars’ is JavaScript associative array having string indexes and is … Read more