Error Guessing: Creating an Account

Error guessing on a date of birth field with manual input and a calendar.

Requirements

  • The screen shows an account creation form: a Name field, a Date of birth field (the date can be typed in or picked from a calendar — the button next to the field), and the Create account and Start over buttons.
  • Both fields are required. A name made only of spaces is not accepted.
  • The date is entered in the DD.MM.YYYY format.
  • Only real dates from 01.01.1900 up to and including today are allowed.
  • The calendar takes into account the number of days in each month and leap years.
  • Impossible dates, such as 31 February, are rejected with an error message.
  • Manual input and the calendar are in sync: a date picked in the calendar appears in the field, and a valid date typed into the field is highlighted in the calendar.
  • Switching the month or year in the calendar does not change the date in the field until a specific day is picked.
  • When there is an error, the entered data is kept.
  • After the account is created, the name and date of birth are shown exactly as the user entered them.
  • Start over clears the form and the result.

Task

  1. Guess which errors might occur when entering a date and using the calendar.
  2. Turn these guesses into checks using the Error Guessing technique.
  3. Run your checks in the app below and write bug reports for the defects you find.

Application under test

Create an account

Quick reference

Error guessing

A technique based on the tester’s experience: you guess where the developer might have made a mistake and design checks for exactly those places. It is usually combined with formal techniques to catch what they miss.

A list of likely errors

It helps to prepare a list of typical errors in advance and work through it: empty values and values made only of spaces, a wrong format, the edges of the allowed range, special values, parts of the interface falling out of sync, data lost or changed after saving.

Dates

Dates are a frequent source of defects: months have different numbers of days, leap years (including the rule for years divisible by 100 and 400), the “today” boundary, time zones when saving.