Advanced Search - Object Exit - QA Test Plan

Test 1: Advanced Search Fields

  • Actions:
    1. Create a new Object Exit record
    2. Fill in the following fields:
      1. Exit number
      2. Exit date
      3. Exit reason
      4. Exit method
      5. Current owner
      6. Depositor
      7. Exit note
    3. Enter textbook in the Exit Note field
    4. Save the record
    5. Print out the record to remember what you entered in each field
    6. Navigate to advanced search via the top menu bar item
    7. Select Object Exits in the record type drop down
    8. Enter what you previously entered into the Exit number field in the record into the Exit number field in advanced search
    9. Click search
  • Expected:
    • The Object Exit record you just created should appear in the search results
  • Actions:
    1. Do this for each of the fields listed above
  • Expected:
    • The Object Exit record you just created should appear in the search results
  • Actions:
    1. Search the Modified Date field for today's date
  • Expected:
    • The Object Exit record you just created should appear in the search results
  • Actions:
    1. Search the Record last modified by field for your username (admin@core.collectionspace.org)
  • Expected:
    • The Object Exit record you just created should appear in the search results
  • Actions:
    1. Navigate back to advanced search
    2. Select Object Exit from the Record Type drop down
    3. Enter textb* into the Exit note search field. (Be sure to include the trailing asterisk.)
    4. Click search
  • Expected:
    • The Object Exit record you just created should appear in the search results

Test 2: Boolean field-based search

  • Actions:
    1. Create a new Object Exit record
    2. Enter an Exit number and write it down for reference
    3. Enter Jane Doe in the Current Owner field (add the authority if it doesn't already exist)
    4. Select Return of Loan in the Exit Reason dropdown
    5. Write testtest in the Exit Note field
    6. Save the record
    7. Create another new Object Exit record
    8. Enter an Exit number and write it down for reference
    9. Enter Jane Doe in the Current owner field
    10. Select Return of Loan in the Exit Reason dropdown
    11. Write testtest in the Packing Note field
    12. Save the record
    13. Create another new Object Exit record
    14. Enter an Exit Number and write it down for reference
    15. Enter Jane Doe in the Current owner field
    16. Select Disposal in the Exit Reason dropdown
    17. Write testtest in the Exit Note field
    18. Save the record
    19. Navigate to advanced search
    20. Select Object Exit from the record type drop down menu
    21. Select any (OR) from the boolean drop down menu
    22. Enter Jane Doe in the Current owner search field
    23. Select Return of Loan in the Exit Reason dropdown
    24. Click Search 
  • Expected:
    • All three new Object Exit records should appear in the results
  • Actions:
    1. Navigate back to advanced search
    2. Choose Object Exit from the record type drop down menu
    3. Select all (AND) from the boolean drop down menu
    4. Enter Jane Doe in the Current owner search field
    5. Select Return of Loan in the Exit Reason dropdown
    6. Click Search 
  • Expected:
    • Only the first two new Object Exit records created above should appear in the search results

Test 3: Boolean and Keyword Search

  • Actions:
    1. Navigate to advanced search
    2. Select Object Exits from the record type drop down menu
    3. Write testtest in the keyword search field
    4. Select any (OR) from the boolean drop down menu
    5. Enter Jane Doe in the Current owner search field
    6. Select Return of Loan in the Exit Reason dropdown
    7. Click Search at the bottom of the page
  • Expected:
    • All three new Object Exit records created in Test 2 should appear in the results
  • Actions:
    1. Navigate back to advanced search
    2. Select Object Exits from the record type drop down menu
    3. Write testtest in the keyword search field
    4. Select all (AND) from the boolean drop down menu
    5. Enter Jane Doe in the Current owner search field
    6. Select Return of Loan in the Exit Reason dropdown
    7. Click Search at the bottom of the page
  • Expected:
    • Only the first two new Object Exit records created in Test 2 should appear in the search results

Test 4: Structured Date Search

  • Actions:
    1. Create a new Object Exit record
    2. Fill in all required fields
    3. Fill in the Exit Date structured date fields with the following:
      Earliest Date: Year 1987 Month 6 Day 5
      Latest Date: Year 1993 Month 4 Day 19
    4. Save the record
    5. Navigate to advanced search
    6. Choose Object Exits from the dropdown
    7. Enter 5-4-1986 in the Exit Date: Earliest date field (this should be displayed as 1986-05-04 after entry)
    8. Enter 6-7-1994 in the Exit Date: Latest date field (this should be displayed as 1994-06-07 after entry)
    9. Click search 
  • Expected:
    • The Object record you just created should appear in the search results
  • Actions:
    1. Return to advanced search
    2. Choose Object Exits from the dropdown
    3. Enter 6-5-1987 in the Exit Date: Earliest date field (this should be displayed as 1987-06-05 after entry)
    4. Enter 4-19-1993 in the Exit Date: Latest date field (this should be displayed as 1993-04-19 after entry)
    5. Click search at the bottom of the page
  • Expected:
    • The Object record you just created should appear in the search results
  • Actions:
    1. Return to advanced search
    2. Choose Object Exits from the dropdown
    3. Enter 6-6-1987 in the Exit Date: Earliest date field (this should be displayed as 1987-06-06 after entry)
    4. Enter 4-20-1993 in the Exit Date: Latest date field (this should be displayed as 1993-04-20 after entry)
    5. Click search at the bottom of the page
  • Expected:
    • The Object record you just created should appear in the search results
  • Actions:
    1. Return to advanced search
    2. Choose Object Exits from the dropdown
    3. Enter 6-3-1987 in the Exit Date: Earliest date field (this should be displayed as 1987-06-03 after entry)
    4. Enter 6-4-1987 in the Exit Date: Latest date field (this should be displayed as 1987-06-04 after entry)
    5. Click search at the bottom of the page
  • Expected:
    • The Object record you just created NOT should appear in the search results
  • Actions:
    1. Return to advanced search
    2. Choose Object Exit from the dropdown
    3. Enter 4-21-1993 in the Exit Date: Earliest date field (this should be displayed as 1993-04-21 after entry)
    4. Enter 4-22-1993 in the Exit Date: Latest date field (this should be displayed as 1993-04-22 after entry)
    5. Click search at the bottom of the page
  • Expected:
    • The Object record you just created NOT should appear in the search results

Test 5: Spend 3 minutes trying to break something!

  • Spend a few minutes forcing the program to expose buggy behavior by:
    • using the system in ways not covered by the testplan
    • using the system in unexpected ways
    • doing whatever you can think of that will produce bugs and unexpected behavior.
    • Be creative!
    • feel free to extend this to behavior related to this testplan