...
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
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
...
- 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 The number you have entered is invalid. Please try again must be a number. Correct the value ..."
- Actions:
- Press Save
- Expected:
- Record should not save
- The same error message as above should appear
- 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 The number you have entered is invalid. Please try again must be a number. Correct the value ..."
- Actions:
- Press Save
- Expected:
- Record should not save
- The same error message as above should appearSave 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 The number you have entered is invalid. Please try again must be a number. Correct the value ..."
- Actions:
- Press Save
- Expected:
- Record should not save
- The same error message as above should appearSave 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 The number you have entered is invalid. Please try againName must be an integer. Correct the value ..."
- Actions:
- Press Save
- Expected:
- Record should not save
- The same error message as above should appear
- 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 The number you have entered is invalid. Please try againName must be an integer. Correct the value ..."
- Actions:
- Press Save
- Expected:
- Record should not save
- The same error message as above should appear
- 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 The number you have entered is invalid. Please try againName 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 The number you have entered is invalid. Please try againName must be an integer. Correct the value ..."
- Actions:
- Press Save
- Expected:
- Error An error message for each field should appear that reads "Field name & Field name The number you have entered is invalid. Please try again." This error message should include both invalid fields (Version 4.x; see CSPACE-4473)Name must be an integer. Correct the value ..." for each field.