Advanced Search - Loans In - QA Test Plan

Test 1: Advanced Search Fields

  • Actions:
    1. Create a new Loans In record
    2. Enter textbook in the Loan In Number field
    3. Fill in the following fields:
      1. Loan purpose
      2. Loan status
      3. Lender name
      4. Lender contact
      5. Lender authorizer
      6. Borrower contact
      7. Borrower authorizer
      8. Loan in date
      9. Loan return date
      10. Loan renewal application date
    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 Loans in from the record type drop down
    8. Enter what you previously entered into the Loan in number field in the record into the Loan in number field in advanced search
    9. Click search
  • Expected:
    • The Loan in record you just created should appear in the search results
  • Actions:
    1. Do this for each of the fields listed above
  • Expected:
    • The Loan in record you just created should appear in the search results
  • Actions:
    1. Search the Edit Date field for today's date
  • Expected:
    • The Loans in record you just created should appear in the search results
  • Actions:
    1. Search the Edit username field for your username (admin@core.collectionspace.org).
  • Expected:
    • The Loan in record you just created should appear in the search results
  • Actions:
    1. Navigate back to advanced search
    2. Select Loans In from the Record Type drop down
    3. Enter textbook into the Loan In Number search field
    4. Click search
  • Expected:
    • The Loan In record you just created should appear in the search results

Test 2: Boolean field-based search

  • Actions - create three additional records for searching:
    1. Create a new Loan in record
    2. Enter a Loan in number and write it down for reference
    3. Select Research in the Loan purpose dropdown
    4. Enter testtest in the Loan in conditions field
    5. Enter 2001-01-01 in the Loan in date field
    6. Save the record
    7. Create another new Loan in record
    8. Enter a Loan in number and write it down for reference
    9. Select Research in the Loan purpose dropdown
    10. Write testtest in the Loan in conditions field
    11. Enter 2001-01-01 in the Loan in date field
    12. Save the record
    13. Create another new Loan in record
    14. Enter a Loan in number and write it down for reference
    15. Select Photography in the Loan purpose dropdown
    16. Write testtest in the Loan in conditions field
    17. Enter 2001-01-01 in the Loan in date field
    18. Save the record
  • Actions:
    1. Navigate to advanced search
    2. Select Loans in from the record type drop down menu
    3. Select any (OR) from the boolean drop down menu
    4. Enter 2001-01-01 in the Earliest Loan in Date field
    5. Enter 2001-01-01 in the Latest Loan in Date field
    6. Select Research in the Loan purpose search dropdown
    7. Click Search 
  • Expected:
    • All three new Loans in records created in Test 2 should appear in the results
  • Actions:
    1. Navigate back to advanced search
    2. Choose Loans in from the record type drop down menu
    3. Select all (AND) from the boolean drop down menu
    4. Enter 2001-01-01 in the Earliest Loan in Date field
    5. Enter 2001-01-01 in the Latest Loan in Date field
    6. Select Research from the Loan Purpose drop down menu
    7. Click Search
  • Expected:
    • Only the first two Loans in record created above should appear in the search results

Test 3: Boolean and Keyword Search

  • Actions:
    1. Navigate to advanced search
    2. Enter testtest in the keyword search field
    3. Click Search
  • Expected:
    • All three new Loans in records created in Test 2 should appear in the results
  • Actions:
    1. Navigate to advanced search
    2. Select Loans in from the record type drop down menu
    3. Enter testtest in the keyword search field
    4. Select any (OR) from the boolean drop down menu
    5. Enter 2001-01-01 in the Earliest Loan in Date field
    6. Enter 2001-01-01 in the Latest Loan in Date field
    7. Select Research in the Loan purpose search dropdown
    8. Click Search
  • Expected:
    • All three new Loans in records created in Test 2 should appear in the results
  • Actions:
    1. Navigate back to advanced search
    2. Choose Loans in from the record type drop down menu
    3. Enter testtest in the keyword search field
    4. Select all (AND) from the boolean drop down menu
    5. Enter 2001-01-01 in the Earliest Loan in Date field
    6. Enter 2001-01-01 in the Latest Loan in Date field
    7. Select Research from the Loan Purpose drop down menu
    8. Click Search 
  • Expected:
    • Only the first two new Loans in records created above should appear in the search results

Test 4: 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