validation for different kind of data

11
Validation for different kind of data NganVK

Upload: songlachinhminhsmile

Post on 20-Jan-2015

167 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

  • 1. Validation for different kind of data NganVK

2. Purpose Introducesome issues on creating validation for different kinds of data when writing test case and executing test 3. Objective Give information on: Validationfor text fields Validationfor date fields Validationfor numeric data 4. Validate Text Fields (1) Validatetext fields when inputting dataCheck 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) Validatetext fields when searchingCase-sensitive or not.Spaces at the beginning and the end of string should be trimmedNotes: Be careful, you may miss testing if system requires Unicode support. 7. Validate Date Fields (1) Validatetext fields when inputting dataCheck mandatory fieldsCheck 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) Validatetext fields when searchingdata Check date format.Compare From Date to To Date.Search in case the field stores date and timeNotes: When displaying search results/new record check if date format is correct and independent on regional setting 9. Validate Numeric Data (1) Validatenumeric data when inputtingdata Check mandatory fieldsCheck max value/min valueCheck integer/decimal number 10. Validate Numeric Data (2) Check positive/negative numberCheck conversion of format (decimal symbol, digit grouping symbol, display leading zero) Validate numeric data when displayingDisplay decimal symbol, digit grouping symbol, leading zero 11. Thanks for listening. Now, lets discuss!