Here are some of the sample test cases for Buttons.
Test cases/scenarios For command buttons (Add/edit/delete)
Check the font size
Check the font color
Check the spelling mistake
Check the button size
Check whether expected result is displayed on click
Check when u have click the add button, record should be added.
Check when u have click the delete button, record should be deleted.
Check the value get modified when click on edit/update button
1. Check Enable or disable property of the control. 2. Verify Tab sequence can select control in respective manner. 3. Check change image after clicking event encounter. 4. Check alignment with other controls on the window. 5. Check appropriate TEXT associated with the control. 6. Check event occur after click of the control. 7. Check appropriate naming convention used for label of the control. 8. Check label of the control should not be editable. 9. Check the events with single click, Double click and more than double click of the control. 10. Check control should be displayed as “Highlighted” with hovering of mouse cursor on the control. 11. Check if appropriate information should display as per requirement for hovering of mouse cursor. 12. “Highlighted” button control should accept click event with keyboard “Enter” key. 13. Button should be activated with ALT+ character underlined in label of that button. 14. SPACE key from keyboard should activate button which is highlighted. 15. One button on screen should be by default with thick border and should activate when enter key pressed from keyboard at any time. 16. “Cancel” button should be activated when Esc key pressed from keyboard. 17. Make sure there isn’t duplication of underlined character of different buttons. 18. If pressing the Command button results in uncorrectable data e.g. closing an action step, there should be a message phrased positively with Yes/No answers where yes results in the completion of the action. 19. If Command Button leads to another Screen, and if the user can enter or change details on the other screen then the Text on the button should be followed by three dots. (Click…) 20. There should be a default button specified on the screen. 21. Default button should work correctly. 22. Verify that command buttons are all of similar size and shape, and same font & font
Test cases/scenarios For Image button 1. Check image quality should not be blurring. 2. Verify if zoom in and zoom out option available. 3. Verify same image should get displayed either by scan or by import. 4. Verify rotation of the image.
Create your own unique website with customizable templates.