/
Numeric Fields - QA Test Plan
Numeric Fields - QA Test Plan
On this page
Fields to Test
Float Fields (decimal points allowed)
Acquisition
- Group purchase price - value
- Object offer price - value
- Object purchase offer price - value
- Object purchase price - value
- Original object purchase price - value
- Acquisition funding - value
Cataloging
- Dimensions value
- Object history and association information: Price - value
Media Handling
- Dimensions value
Object Exit
- Disposal value
- Group disposal value
Valuation Control
- Amount
Integer Fields (whole numbers only)
Cataloging
- Object identification information > Number of objects
- Object description information > Age value
QA Tests
Test 1: Valid Float Field Inputs
- Actions:
- Enter .1234 into one of the above listed float fields in an existing record
- Press Save
- Expected:
- Record should save without error
- Actions:
- Enter 0.1234 into one of the above listed float fields in an existing record
- Press Save
- Expected:
- Record should save without error
- Actions:
- Enter 1234.0 into one of the above listed float fields in an existing record
- Press Save
- Expected:
- Record should save without error
- Actions:
- Enter 1234 into one of the above listed float fields in an existing record
- Press Save
- Expected:
- Record should save without error
- Actions:
- Enter 0 into one of the above listed float fields in an existing record
- Press Save
- Expected:
- Record should save without error
- Actions:
- Enter -9.123 into one of the above listed float fields in an existing record
- Press Save
- Expected:
- Record should save without error
Test 2: Invalid Float Field Inputs
- Actions:
- Enter 123a into one of the above listed float fields in an existing record
- Expected:
- Error message should appear that reads "Field name must be a number. Correct the value ..."
- Actions:
- Press Save
- Expected:
- Save button should be inactive
- Actions:
- Enter 0.123a into one of the above listed float fields in an existing record
- Expected:
- Error message should appear that reads "Field name must be a number. Correct the value ..."
- Actions:
- Press Save
- Expected:
- Save button should be inactive
- Actions:
- Enter 123.123.123 into one of the above listed float fields in an existing record
- Expected:
- Error message should appear that reads "Field name must be a number. Correct the value ..."
- Actions:
- Press Save
- Expected:
- Save button should be inactive
Test 3: Valid Integer Field Inputs
- Actions:
- Enter 1234 into one of the above listed integer fields in an existing record
- Press Save
- Expected:
- Record should save without error
- Actions:
- Enter 0 into one of the above listed integer fields in an existing record
- Press Save
- Expected:
- Record should save without error
- Actions:
- Enter -1234 into one of the above listed integer fields in an existing record
- Press Save
- Expected:
- Record should save without error
Test 4: Invalid Integer Field Inputs
- Actions:
- Enter 123.0 into one of the above listed integer fields in an existing record
- Expected:
- Error message should appear that reads "Field Name must be an integer. Correct the value ..."
- Actions:
- Press Save
- Expected:
- Save button should be inactive
- Actions:
- Enter 1abc into one of the above listed integer fields in an existing record
- Expected:
- Error message should appear that reads "Field Name must be an integer. Correct the value ..."
- Actions:
- Press Save
- Expected:
- Save button should be inactive
Test 5: Multiple Invalid Fields
- Actions:
- Enter 123.0 into one of the above listed integer fields in an existing record
- Expected:
- Error message should appear that reads "Field Name must be an integer. Correct the value ..."
- Actions:
- Enter 123.123.123 into one of the above listed float fields in an existing record
- Expected:
- Error message should appear that reads "Field Name must be an integer. Correct the value ..."
- Actions:
- Press Save
- Expected:
- An error message for each field should appear that reads "Field Name must be an integer. Correct the value ..." for each field.