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:
    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 must be a number. Correct the value ..."
  • Actions:
    1. Press Save
  • Expected:
    • Save button should be inactive
  • 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 must be a number. Correct the value ..."
  • Actions:
    1. Press Save
  • Expected:
    • Save button should be inactive
  • 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 must be a number. Correct the value ..."
  • Actions:
    1. Press Save
  • Expected:
    • Save button should be inactive

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 must be an integer. Correct the value ..."
  • Actions:
    1. Press Save
  • Expected:
    • Save button should be inactive
  • 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 must be an integer. Correct the value ..."
  • Actions:
    1. Press Save
  • Expected:
    • Save button should be inactive

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 must be an integer. Correct the value ..."
  • 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 must be an integer. Correct the value ..."
  • Actions:
    1. 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.