Showing posts with label storeAttribute command. Show all posts
Showing posts with label storeAttribute command. Show all posts

Selecting new opened window using "selectWindow" command in selenium IDE is very easy if new window has title or name. Click here to view example of "selectWindow" command with title as a target. If window has title then we can add it's title in target field with "selectWindow" command and this way selenium


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 name and "href " is