QA Stacks

How To Write a Test Cases For Radio Buttons

Test Cases For Radio Buttons

1.    Verify radio buttons present on the page as per design.
2.    Verify the size of the radio button should be the same as per design.
3.    Verify style and color for the radio buttons should be the same as per requirements or not.
4.    Verify label text present on the page with the radio buttons.
5.    Verify the label text for the radio button added in the same sequence as per specification.
6.    Verify spellings for the label text with the radio buttons are correct or not.
7.    Verify if the label text aligned with the radio buttons or not.
8.    Verify if the radio button is selectable and unselectable or not by clicking all radio buttons.
9.    Verify on clicking on the label text, whether the radio button value is selected or not.
10.    Verify only one value from the radio buttons can be selected or not.
11.    Verify user can choose any option from the radio buttons by pressing the tab key on the keyboard.
12.    Verify whether an error message is shown or not in case the user not select any value and click on the submit button
13.    Verify selected radio button value is saved in the database correctly or not.