Validation for different kind of data

1,485 views
1,325 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,485
On SlideShare
0
From Embeds
0
Number of Embeds
12
Actions
Shares
0
Downloads
50
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Validation for different kind of data

  1. 1. Validation for different kind of data NganVK
  2. 2. Purpose Introduce some issues on creating validation for different kinds of data when writing test case and executing test
  3. 3. Objective Give information on:  Validation for text fields  Validation for date fields  Validation for numeric data
  4. 4. Validate Text Fields (1)  Validate text fields when inputting data  Check mandatory fields.  Max length of text field.  The text field accepts special characters/html tags or not (e.g.: name, email address, password, text content …).
  5. 5. Validate Text Fields (2)  Spaces at the beginning and the end of string should be trimmed.  Check full-size characters/half-size characters for Japanese projects
  6. 6. Validate Text Fields (3)  Validate text fields when searching  Case-sensitive or not.  Spaces at the beginning and the end of string should be trimmed Notes: Be careful, you may miss testing if system requires Unicode support.
  7. 7. Validate Date Fields (1)  Validate text fields when inputting data  Check mandatory fields  Check date format (inputted date, conversion of inputted date)  Compare inputted date to current date (if required)  Compare dates based on business rules
  8. 8. Validate Date Fields (2)  Validate text fields when searching data  Check date format.  Compare “From Date” to “To Date”.  Search in case the field stores date and time Notes: When displaying search results/new record check if date format is correct and independent on regional setting
  9. 9. Validate Numeric Data (1)  Validate numeric data when inputting data  Check mandatory fields  Check max value/min value  Check integer/decimal number
  10. 10. Validate Numeric Data (2)  Check positive/negative number  Check conversion of format (decimal symbol, digit grouping symbol, display leading zero)  Validate  numeric data when displaying Display decimal symbol, digit grouping symbol, leading zero
  11. 11. Thanks for listening. Now, let’s discuss!

×