The blog gives you idea of testing and automation testing example of selenium webdriver,SQl and Jmeter, you see the basic example of selenium web driver and get idea how to do automation testing,

Uncheck, Check, CheckandWait, UncheckAndWait command In selenium IDE

Use of Selenium Uncheck, Check, CheckandWait, UncheckAndWait command,



In selenium IDE, Check, Uncheck, Checkandwait and UncheckandWait command is use for Radio button and check box, because when we saw the Radio and check box button we can clicked on it, Check command is use to clicked on the Radio button or check box and Uncheck command is vice versa of the Check command.
Through Selenium IDE we can clicked on radio button and check box automatically,
For automation testing we need the name, Xpath, Css path, id of the element to do proper testing, if check box, Radio button present in the web page so they ID, name Xpath etc. We if we record web page using selenium ide then it take xpath or name as depend on it, but if you write script manually then you have to find the Xpath or name of that element and for find the name or xpath you have to use firebug addons.
Below is the Example of Check and Un check command.



Command Target Value
open                    https://accounts.google.com/ServiceLogin?                  
                          service=mail&continue=
                           https://mail.google.com/mail/
highlight                         id=PersistentCookie
verifyText                      css=span   Stay signed in
uncheck                         id=PersistentCookie

check                            id=PersistentCookie



Check command is used to check the Radio or Checkbox
Uncheck Command is used to Uncheck the Radio or checkbox on the web page.
Check is the command and target is the path of Radio or checkbox button, you can use ID, name, Xpath, Csspath ect. in the target.

"checkAndWait" and "uncheckAndWait" commands
we can use above command when we click on any radio or checkbox button and after clicking on button page take some time to load the content.


No comments

Post a Comment

Powered by Blogger.