Test Cases for button
- Verify button present on the page as per the design on the web page.
- Verify the button colour same as per design.
- Verify icon added on the button if added in the design. for example Upload or download icon with the button.
- Verify icon added on the button must be aligned with button and button text or not.
- Verify width and height for the button.
- Verify border radius is applied on the button or not.
- Verify that the width and height of the buttons used on the website are the same or not as per design.
- Verify button text related to the functionality of the tool on the web page.
- Verify button is enabled/clickable or not by clicking on the button.
- Verify colour changed on the mouse hover or not.
- Verify colour changed on mouse hover the same as per design.
- Verify user can be able to open button link in a new tab by right click on the button, Open link new tab option shown or not.
- Verify pressing Ctrl button on the keyboard and click on the button opens in new tab or not. It should be according to the requirements.
- Verify the whole button should be clickable not only the button text.
- Verify values added by the user on click on the submit button saved correctly in the database.
- Verify the user should not be allowed to click on the submit form/page button multiple times intentionally or unintentionally.
- Verify the desired action performed on click on the button or not.
- Verify the spelling for the button text is correct or not.
- Check button text is readable or not by verifying button text size.
- Verify button text colour should be visible on the button.
- Verify font family provided by the designer implement or not.
- Verify the reset button should set default values for all fields.