Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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:
    1. Enter .1234 into one of the above listed float fields in an existing record
    2. Press Save
  • Expected:
    • Record should save without error
  • Actions:
    1. Enter 0.1234 into one of the above listed float fields in an existing record
    2. Press Save
  • Expected:
    • Record should save without error
  • Actions:
    1. Enter 1234.0 into one of the above listed float fields in an existing record
    2. Press Save
  • Expected:
    • Record should save without error
  • Actions:
    1. Enter 1234 into one of the above listed float fields in an existing record
    2. Press Save
  • Expected:
    • Record should save without error
  • Actions:
    1. Enter 0 into one of the above listed float fields in an existing record
    2. Press Save
  • Expected:
    • Record should save without error
  • Actions:
    1. Enter -9.123 into one of the above listed float fields in an existing record
    2. Press Save
  • Expected:
    • Record should save without error
Test 2: Invalid Float Field Inputs
  • Actions:
    1. 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:
    1. Press Save
  • Expected:
    • Record should not save
    • The same error message as above should appear
  • Actions:
    1. 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:
    1. Press Save
  • Expected:
    • Record should not save
    • The same error message as above should appear
  • Actions:
    1. 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:
    1. Press Save
  • Expected:
    • Record should not save
    • The same error message as above should appear
Test 3: Valid Integer Field Inputs
  • Actions:
    1. Enter 1234 into one of the above listed integer fields in an existing record
    2. Press Save
  • Expected:
    • Record should save without error
  • Actions:
    1. Enter 0 into one of the above listed integer fields in an existing record
    2. Press Save
  • Expected:
    • Record should save without error
  • Actions:
    1. Enter -1234 into one of the above listed integer fields in an existing record
    2. Press Save
  • Expected:
    • Record should save without error
Test 4: Invalid Integer Field Inputs
  • Actions:
    1. 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:
    1. Press Save
  • Expected:
    • Record should not save
    • The same error message as above should appear
  • Actions:
    1. 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:
    1. Press Save
  • Expected:
    • Record should not save
    • The same error message as above should appear

Test 5: Multiple Invalid Fields

  • Actions:
    1. 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:
    1. 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:
    1. 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)


  • No labels