Validation for different kind of data

  • 146 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
146
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
6
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Validation for different kind of data NganVK
  • 2. Purpose Introduce some issues on creating validation for different kinds of data when writing test case and executing test
  • 3. Objective Give information on:  Validation for text fields  Validation for date fields  Validation for numeric data
  • 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. 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. 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. 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. 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. Validate Numeric Data (1)  Validate numeric data when inputting data  Check mandatory fields  Check max value/min value  Check integer/decimal number
  • 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. Thanks for listening. Now, let’s discuss!