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

Validation for different kind of data

on

  • 140 views

 

Statistics

Views

Total Views
140
Views on SlideShare
140
Embed Views
0

Actions

Likes
0
Downloads
3
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Validation for different kind of data Validation for different kind of data Presentation Transcript

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