Test Cases for Buttons (Submit , Reset , Cancel , Edit Button , Delete Button )

Test Cases/Scenarios for Buttons–How to Test Buttons?

Submit button :
Some of Important test cases for submit button given below.
  • Verify that button is clickable or not.
  • Check that when user click on submit button without entering data in mandatory filed then error message for mandatory field showing or not .
  • Check that page redirect to the expected page or not when user enter the valid data in all the fields.
  • Check the button size /color as per requirement or not .
  • Check that button name showing as per requirement or not.

Reset Button :
Some of Important test cases for reset button given below.
  • verify that button is clickable or not.
  • Check that when user click on rest button all the entered data in fields get clear or not .
  • Check that when there is no data in the field and click on reset button .
  • Check that when user edit the page and click on reset button .
  • Check the button size /color as per requirement or not .
  • Check that button name showing as per requirement or not.
Cancel Button :
Some of Important test cases for cancel button given below.
  • verify that button is clickable or not.
  • Check that when user click on cancel button then window get closed or not 
  • Check the button size /color as per requirement or not .
  • Check that button name showing as per requirement or not.
Toggle Button :

Here!!! Important test cases for the toggle button are given ...

  • First, check whether the user is able to on/off the toggle button or not.
  • Check the toggle button on the user's first view.
  • Verify the button color getting changed or not when the user is on or off the button.
  • Verify the dependent element working as expected or not when the user is on or off the toggle button.
  • Verify the design of the toggle button is per requirement or not.
  • Check the positioning of the toggle button.
  • Check the size of the toggle button.
  • Check the color of the button. (on/off)
  • Check that user able to on/off the toggle button if there are multiple buttons is there.
Radio Button :
Here !! The important test cases for the radio button are given..
  • Verify that the radio button is selectable through the keyboard "Tab" button.
  • Verify that the the selection of radio button respective web element (text box, drop-down ..etc) open or not.
  • Verify that page redirect to expected page or not when click on submit button by selecting the radio button .
  • Verify that the alignment of radio button in all browser.
  • Verify the label properly align with the radio button or not.
  • Verify the selection of radio button through the "tab" button.
  • Verify the multiple selection of radio button.
  • Verify the functionality of radio button on single selection.
  • Verify the functionality of radio button without selection.
  • verify the Alert message for radio button if it is mandatory field and user click on submit without selecting.
  • Verify that selection of radio button get disable when page getting load .
  • Verify the order of radio button.
  • Verify that radio button properly visible to user when it is selected.
  • Verify the height width and length (CSS) are as per SRS.
  • Verify the initial focus of radio button.
  • Verify the Default Selection of radio button.
  • Verify that the radio button selectable / Unselectable or not by clicking through the mouse .
 
Edit button 
Delete Button 

Hope !!! Above test cases for buttons helpful for you ..
Team 
QA acharya

Tags : Cancel button test cases , submit button test cases , reset button test cases , test cases for submit button , test cases for reset button.

Test cases for buttons


Admin-Mumbai office

Post a Comment

Previous Post Next Post