/
Advanced Search - Object Exit - QA Test Plan
Advanced Search - Object Exit - QA Test Plan
Test 1: Advanced Search Fields
- Actions:
- Create a new Object Exit record
- Fill in the following fields:
- Exit number
- Exit date
- Exit reason
- Exit method
- Current owner
- Depositor
- Exit note
- Enter textbook in the Exit Note field
- Save the record
- Print out the record to remember what you entered in each field
- Navigate to advanced search via the top menu bar item
- Select Object Exits in the record type drop down
- Enter what you previously entered into the Exit number field in the record into the Exit number field in advanced search
- Click search
- Expected:
- The Object Exit record you just created should appear in the search results
- Actions:
- Do this for each of the fields listed above
- Expected:
- The Object Exit record you just created should appear in the search results
- Actions:
- Search the Modified Date field for today's date
- Expected:
- The Object Exit record you just created should appear in the search results
- Actions:
- 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:
- Navigate back to advanced search
- Select Object Exit from the Record Type drop down
- Enter textb* into the Exit note search field. (Be sure to include the trailing asterisk.)
- Click search
- Expected:
- The Object Exit record you just created should appear in the search results
Test 2: Boolean field-based search
- Actions:
- Create a new Object Exit record
- Enter an Exit number and write it down for reference
- Enter Jane Doe in the Current Owner field (add the authority if it doesn't already exist)
- Select Return of Loan in the Exit Reason dropdown
- Write testtest in the Exit Note field
- Save the record
- Create another new Object Exit record
- Enter an Exit number and write it down for reference
- Enter Jane Doe in the Current owner field
- Select Return of Loan in the Exit Reason dropdown
- Write testtest in the Packing Note field
- Save the record
- Create another new Object Exit record
- Enter an Exit Number and write it down for reference
- Enter Jane Doe in the Current owner field
- Select Disposal in the Exit Reason dropdown
- Write testtest in the Exit Note field
- Save the record
- Navigate to advanced search
- Select Object Exit from the record type drop down menu
- Select any (OR) from the boolean drop down menu
- Enter Jane Doe in the Current owner search field
- Select Return of Loan in the Exit Reason dropdown
- Click Search
- Expected:
- All three new Object Exit records should appear in the results
- Actions:
- Navigate back to advanced search
- Choose Object Exit from the record type drop down menu
- Select all (AND) from the boolean drop down menu
- Enter Jane Doe in the Current owner search field
- Select Return of Loan in the Exit Reason dropdown
- 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:
- Navigate to advanced search
- Select Object Exits from the record type drop down menu
- Write testtest in the keyword search field
- Select any (OR) from the boolean drop down menu
- Enter Jane Doe in the Current owner search field
- Select Return of Loan in the Exit Reason dropdown
- 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:
- Navigate back to advanced search
- Select Object Exits from the record type drop down menu
- Write testtest in the keyword search field
- Select all (AND) from the boolean drop down menu
- Enter Jane Doe in the Current owner search field
- Select Return of Loan in the Exit Reason dropdown
- 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:
- Create a new Object Exit record
- Fill in all required fields
- 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 - Save the record
- Navigate to advanced search
- Choose Object Exits from the dropdown
- Enter 5-4-1986 in the Exit Date: Earliest date field (this should be displayed as 1986-05-04 after entry)
- Enter 6-7-1994 in the Exit Date: Latest date field (this should be displayed as 1994-06-07 after entry)
- Click search
- Expected:
- The Object record you just created should appear in the search results
- Actions:
- Return to advanced search
- Choose Object Exits from the dropdown
- Enter 6-5-1987 in the Exit Date: Earliest date field (this should be displayed as 1987-06-05 after entry)
- Enter 4-19-1993 in the Exit Date: Latest date field (this should be displayed as 1993-04-19 after entry)
- Click search at the bottom of the page
- Expected:
- The Object record you just created should appear in the search results
- Actions:
- Return to advanced search
- Choose Object Exits from the dropdown
- Enter 6-6-1987 in the Exit Date: Earliest date field (this should be displayed as 1987-06-06 after entry)
- Enter 4-20-1993 in the Exit Date: Latest date field (this should be displayed as 1993-04-20 after entry)
- Click search at the bottom of the page
- Expected:
- The Object record you just created should appear in the search results
- Actions:
- Return to advanced search
- Choose Object Exits from the dropdown
- Enter 6-3-1987 in the Exit Date: Earliest date field (this should be displayed as 1987-06-03 after entry)
- Enter 6-4-1987 in the Exit Date: Latest date field (this should be displayed as 1987-06-04 after entry)
- Click search at the bottom of the page
- Expected:
- The Object record you just created NOT should appear in the search results
- Actions:
- Return to advanced search
- Choose Object Exit from the dropdown
- Enter 4-21-1993 in the Exit Date: Earliest date field (this should be displayed as 1993-04-21 after entry)
- Enter 4-22-1993 in the Exit Date: Latest date field (this should be displayed as 1993-04-22 after entry)
- 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