Your SlideShare is downloading. ×
Validation for different kind of data
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Validation for different kind of data

293
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
293
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
19
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!