Et1 Test Harness: Form Element Massager
This is the Deployment Version (runs from built code). Go to the Developer Version (runs from source code).
Supported Platforms:
Verification Targets:
  1. Refer to the Detailed Design Document for an exhaustive definition of the form element data format/massage requirements.
  2. The Form Element Massager does not perform data validation, so for example limits are not placed on numeric entries.
  3. Verify:
    • The field for number of cats/dogs should be formated according to 'format-num' and 'precision-0' (respectively, has localized thousands separators and is rounded to the nearest integer value).
    • The field for the animal's weight should be formatted to 'precision-4' (four decimal places of precision) and also have localed thousands and decimal separators.
    • The date fields should be formatted per 'format-date'.
    • The field for the number of cats and dogs it rains per second should be formatted to 'precision--3', which means to the nearest 1000 (499 is rounded to zero). It should also have localed thousands separators.
    • The field for the number of Labrador Retrievers it rains per second should be formatted to 'precision--1', which means to the nearest 10 (1 is rounded to zero).
    • All fields should preserve the numeric sign ( '+' / '-' ) if it is given, except when the result of the massage is zero.
    • A single leading zero should appear for cases where there is no leading zero supplied by the user before a decimal, and cases where there are one or more consecutive leading zeroes supplied before a decimal.
  4. After you have focused on a form field value and then moved on from that form field, the data inside the form field should be massaged per the specifications in the document referenced above..
  5. Fill in the form survey info.
  6. Clicking on "refresh event listeners" 'n' times should yield no change in behavior. From a clearbox perspective, the downstream code from the 'change' event handler should still only run once per click.

Cat Owner Dates and Numbers Survey

How many cats do you have (please enter from -n to 100000000, with negatives for lost pets and fractions for partial months )?

Enter your oldest cat's date of birth (MM/DD/YYYY or DD MMM YYYY):

Enter your cat's exact weight in lbs. (decimal format):

When it is raining cats and dogs, how many fall per second (rounded to the nearest 1000) (please enter from 100000 to 100000000000 )?

Dog Owner Dates and Numbers Survey

How many dogs do you have (please enter from -n to 100000000, with negatives for lost pets and fractions for partial months )?

Enter your oldest dog's date of birth (MM/DD/YYYY or DD MMM YYYY):

Enter your dog's exact weight (decimal format):

When it is raining cats and dogs, how many Labrador Retrievers fall per second (rounded to the nearest 10) (please enter from 1 to 200 )?

(Do not submit this form unless you want to check the form values).