SUBSCRIBE HERE TO GET POST UPDATES VIA EMAIL :

Delivered by FeedBurner

"check", "uncheck", "checkAndWait" and "uncheckAndWait" command example of selenium IDE

You can use check and uncheck commands only with checkbox and radio buttons of webpage. Let we see how we can use check command in selenium IDE.

"check" command

check command will check the check box if have check box on your webpage. You can also select radio button using check command.

New Test
CommandTargetValue
openmail.google.com/
checkid=PersistentCookie
uncheckid=PersistentCookie

In above example, check command will check the check box with id=PersistentCookie. You can use id of radio button if you have radio button on page. You can also use "click" command at place of "check" and
"uncheck" commands with check box or radio buttons.

Note : VIEW MORE CHECK BOX RELATED COMMANDS ON THIS LINK

"uncheck" command

As shown in above example, "uncheck" command will uncheck the check box if it is checked. In same way it will deselect radio button if it is selected.

"checkAndWait" and "uncheckAndWait" commands

You can use wait command with check and uncheck command when your webpage reloads after checking or unchecking check box or radio button.

No comments:

Post a Comment