/
Advanced Search - Intake - QA Test Plan
Advanced Search - Intake - QA Test Plan
Test 1: Advanced Search Fields
- Actions:
- Create a new Intake record
- Fill in the following fields:
- Entry number
- Entry date
- Entry reason
- Entry method
- Return date
- Current owner
- Depositor name
- Field collection event name
- Current location
- Enter textbook into the Field collection event name 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 Intakes from the record type drop down
- Enter what you previously entered into the Current Owner field in the record into the Current Owner field in advanced search
- Click search
- Expected:
- The Intake record you just created should appear in the search results
- Actions:
- Do this for each of the fields listed above
- Expected:
- The Intake record you just created should appear in the search results
- Actions:
- Search the Edit Date field for today's date
- Expected:
- The Intake 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 Intake record you just created should appear in the search results
Test 2: Boolean Field-based Search
- Actions:
- Create a new Intake record
- Enter an Intake Entry 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 Consideration in the Entry Reason dropdown
- Write testtest in the Entry Note field
- Save the record
- Create another new Intake record
- Enter an Intake Entry Number and write it down for reference
- Enter Jane Doe in the Current owner field
- Select Consideration in the Entry Reason dropdown
- Write testtest in the Packing Note field
- Save the record
- Create another new Intake record
- Enter an Intake Entry Number and write it down for reference
- Enter Jane Doe in the Current owner field
- Select Loan in the Entry Reason dropdown
- Write testtest in the Field collection note field
- Save the record
- Navigate to advanced search
- Select Intake 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 Consideration in the Entry Reason search dropdown
- Click Search at the bottom of the page
- Expected:
- All three new Intake records should appear in the results
- Actions:
- Navigate back to advanced search
- Choose Intake 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 Consideration in the Entry Reason search dropdown
- Click Search at the bottom of the page
- Expected:
- Only the first two new Intake records created above should appear in the search results
Test 3: Boolean and Keyword Search
- Actions:
- Navigate to advanced search
- Select Intakes from the record type drop down menu
- In the keyword search field, write testtest
- Select any (OR) from the boolean drop down menu
- Enter Jane Doe in the Current owner search field
- Select Consideration in the Entry Reason search dropdown
- Click Search at the bottom of the page
- Expected:
- All three new Intake records created in Test 2 should appear in the results
- Actions:
- Navigate back to advanced search
- Select Intakes from the record type drop down menu
- In the keyword search field, write testtest
- Select all (AND) from the boolean drop down menu
- Enter Jane Doe in the Current owner search field
- Select Consideration in the Entry Reason search dropdown
- Click Search at the bottom of the page
- Expected:
- Only the first two new Intake records created in Test 2 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