Selenium “dragAndDrop” and “dragAndDropToObject” commands examples

How to Drag and Drop Element using selenium? Bellow given “dragAndDrop” and “dragAndDropToObject” commands can perform that action in selenium. You can use anyone of them for dragging element from one position and dropping it at another position.  “dragAndDrop” Command “dragAndDrop” command is useful to drag an element from one position and drop it on … Read more

selenium “selectframe” command example with relative=up

“selectframe” Command in selenium  You need to use “selectframe” command in selenium when your page contains iframe anf you have to perform some action on element inside iframe. You need to provide name or id attribute of iframe element into target column. Here is the simple example of iframe. Iframe Tutorial AltaVista.com | AOL.com | … Read more

“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