Text Area

Test Cases For Text Area

Functional Test Cases

  1. Verify by clicking on the text area gif (image) should be hidden.
  2. Verify gif (image) shown again if the user clicks outside the text area on the web page.
  3. Verify that click on the text area, the cursor shown in the input section on a single click. Not First gif hide, then again click on the text area to write.
  4. Verify that the text area is functional in case of any validation error message shown.
  5. Verify if keyboard shortcut keys enable on the text area. User can copy, cut or paste and select content on shift + Arrow Keys.
  6. Verify Backspace, delete keys should functional.
  7. Verify user can type in the text area after clicking in the text area.
  8. Verify user can paste the copied content with keyboard keys Ctrl + v.
  9. Verify on click on the copy to clipboard, copied the same content with the same format from the result section in the text area.
  10. Verify Html code not be implemented in the text area or the result section on click on the Submit button. For example <H1> Hello </H1>
  11. Verify Java Script code not be implemented in the text area or the result section on click on the Submit button. For example <script>alert(“123”)</script> an alert should not be shown.
  12. Verify error message shown by uploading a file containing JavaScript and Html code mixed with content.
  13. Verify the input text area protected from the SQL injection.
  14. Verify the format should be same of the copied content and paste on the other or same text area.
  15. Verify if the user copy/pastes highlighted content, then don’t display the copied content highlighted.
  16. Verify user can paste the content with the help of mouse, by right-clicking and select the paste option in the text area.
  17. Verify content uploaded by drag and drop a file in the text area.
  18. Verify user can upload the file on the text area successfully.
  19. Verify word count update on paste content in the text area.
  20. Verify on paste text by right click on the mouse, word count updated.
  21. Verify user can add alphabetic or alphanumeric and special characters.
  22. Verify user can add content on both cases lower and upper.
  23. Verify the maximum content limit applied.
  24. Verify the minimum content limit applied.
  25. Verify an error message appears if the user adds spaces and click on the button.
  26. Verify by pressing spaces on the text area, horizontal scroll bar not added. At the end of the text area, space added but cursor remains blink.
  27. Verify on paste content no extra space added with any word on the text area.
  28. Verify text area become enable after getting the result or as per requirement.
  29. Verify input should not remove from the text area after getting a result or as per requirement.

Design Test Cases

  1. Verify width and height for the text area.
  2. Verify by moving the mouse cursor to all input text boxes. The cursor should change from an arrow to an insertion bar.
  3. Verify horizontal and vertical scroll bar added or not according to requirement.
  4. Verify if the functionality for horizontal and vertical scroll bar working properly by pasting content.
  5. Verify place holder text aligned in the text area.
  6. Verify place holder text visible in the text area.
  7. Verify the clear text icon aligned with the text area.
  8. Verify place holder text should be clear and the cursor shown on click.
  9. Verify place holder text meaningful and informative for the user.
  10. Verify the spellings and grammar for the place holder text.
  11. Verify the text area should be locked and fixed. Don’t let the user resize the text area.
  12. Verify if the user can add and process duplicate content.
  13. Verify tooltip added and shown if required.
  14. Verify mouse hover functionality if added.
  15. Verify clear text icon present in the text area.

Leave a Comment

Your email address will not be published. Required fields are marked *