“verifySomethingSelected” and “verifyNotSomethingSelected” commands in selenium with example

“verifySomethingSelected” commands “verifySomethingSelected” is used with drop downs and list boxes. Its name describes its function so that i think i do not need to describe it more. It is used to verify that is there any label is selected in drop down or not. It will becomes pass if any one label is selected. Else … Read more

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