GeekInterview.com
Series: Subject: Topic:
Question: 10 of 299

Testcase writing for radio button and check box

How to write testcases for radio button and check box please can you explain with some example.......
Asked by: kavya tokala | Member Since Mar-2012 | Asked on: Mar 9th, 2012

View all questions by kavya tokala

Showing Answers 1 - 3 of 3 Answers
nishant

Answered On : Mar 23rd, 2012

Test Case to test Check Box:-
1. Click the check box Control and press the submit button and test whether it is redirecting to next page .
2. Uncheck the Check box Control and press the submit button and test whether it is redirecting to next page
3. Check the alignment of the check box i.e. its size, color, style.
4. Check the alignment of the label for the check box i.e. whether it can be left or right
5. Check and Uncheck the check box control and test whether it is automatically redirecting to the server or not if the submit button is not present

Test Case to test Radio button:-
1. If the Radio button control is present in group then check one of the radio button and press submit button to check whether it is redirecting to next page or not
2. Check multiple radio button control at a time and press the submit button and test whether its redirecting .An error message must be displayed i.e. you cannot check multiple radio buttons at the same time.
3. Check the alignment of all the radio button control i.e. whether they are in same directions (Left or right).All the radio button control must be in same directions
4. Check the alignment of the check box i.e. same size,color,style
5. Check whether radio button control could be checked or unchecked through Tab key or with the help of mouse cursor(GUI Testing)

Yes  1 User has rated as useful.
  
Login to rate this answer.
Saket Srivastava

Answered On : Jul 11th, 2012

I am not posting a answer at all this is a Question if the Check Box is used just for a kind of selection and not bothering the Flow then what we have to write as a test case

  
Login to rate this answer.
surya

Answered On : Mar 25th, 2013

see whether with out selecting the check box we can submit or not i.e., to test whether it is a mandatory field or not.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.