/
Advanced Search - Acquisition - QA Test Plan
Advanced Search - Acquisition - QA Test Plan
Test 1: Advanced Search Fields and Wildcard
- Actions:
- Create a new Acquisition record
- Fill in the following fields:
- Acquisition Reference Number (remember what you entered)
- Accession date (be sure to enter values for Earliest/Single Date, for each of Year, Month and Day)
- Acquisition date (be sure to enter values for Earliest/Single Date, for each of Year, Month and Day)
- Acquisition method
- Acquisition source
- Acquisition funding source
- Credit line
- Field collection event name
- Enter the word textbook in the Credit Line 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 Acquisitions from the record type drop down
- Enter what you previously entered into the Acquisition Reference Number field in the record into the Acquisition Reference Number field in advanced search
- Click search
- Expected:
- The Acquisition record you just created should appear in the search results
- Actions:
- Do this for each of the fields listed above
- Expected:
- The Acquisition record you just created should appear in the search results
- Actions:
- Search the Modified Date field for today's date
- Expected:
- The Acquisition record you just created should appear in the search results
- Actions:
- Search the Edit username field for your username (admin@core.collectionspace.org)
- Expected:
- The Acquisition record you just created should appear in the search results
Test 2: Boolean Field-based Search
- Actions:
- Create a new Acquisition record
- Enter an Acquisition Reference Number and write it down for reference
- Enter thank you in the Credit Line field
- Select Purchase in the Acquisition Method dropdown
- Enter testtest in the Acquisition Reason field
- Save the record
- Create another new Acquisition record
- Enter an Acquisition Reference Number and write it down for reference
- Enter thank you in the Credit Line field
- Select Purchase in the Acquisition Method dropdown
- Enter testtest in the Acquisition Note field
- Save the record
- Create another new Acquisition record
- Enter an Acquisition Reference Number and write it down for reference
- Enter thank you in the Credit Line field
- Select Gift in the Acquisition Method dropdown
- Enter testtest in the Acquisition Provisos field
- Save the record
- Navigate to advanced search via the top menu bar item
- Select Acquisitions from the record type drop down menu
- Select any (OR) from the boolean drop down menu
- Enter thank you in the Credit Line search field
- Select Purchase in the Acquisition Method search dropdown
- Click Search at the bottom of the page
- Expected:
- All three new Acquisition records should appear in the results
- Actions:
- Navigate back to advanced search
- Choose Acquisition from the record type drop down menu
- Select all (AND) from the boolean drop down menu
- Enter thank you in the Credit Line search field
- Select Purchase from the Acquisition Method drop down menu
- Click Search at the bottom of the page
- Expected:
- Only the first two new Acquisition records created above should appear in the search results
Test 3: Boolean and Keyword Search
- Actions:
- Navigate to advanced search via the top menu bar item
- In the keyword search field, enter testtest
- Select Acquisitions from the record type drop down menu
- Select any (OR) from the boolean drop down menu
- Enter thank you in the Credit Line search field
- Select Purchase in the Acquisition Method search dropdown
- Click Search at the bottom of the page
- Expected:
- All three Acquisition records created in Test 2 should appear in the results
- Actions:
- Navigate back to advanced search
- In the keyword search field, enter testtest
- Choose Acquisitions from the record type drop down menu
- Select all (AND) from the boolean drop down menu
- Enter thank you in the Credit Line search field
- Select Purchase from the Acquisition Method drop down menu
- Click Search at the bottom of the page
- Expected:
- Only the first two Acquisition records created in Test 2 should appear in the search results
Test 4: Spend 3 minutes trying to break things!
- 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