For the following tests, use the below fields. Test as many as possible.
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
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."
- Actions:
- Press Save
- Expected:
- Record should not save
- The same error message as above should appear
- 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."
- Actions:
- Press Save
- Expected:
- Record should not save
- The same error message as above should appear
- 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."
- Actions:
- Press Save
- Expected:
- Record should not save
- The same error message as above should appear
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 again."
- Actions:
- Press Save
- Expected:
- Record should not save
- The same error message as above should appear
- 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 again."
- Actions:
- Press Save
- Expected:
- Record should not save
- The same error message as above should appear
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 again."
- 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."
- Actions:
- Press Save
- Expected:
- Error message 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)