/
Advanced Search - Valuation - QA Test Plan
Advanced Search - Valuation - QA Test Plan
Test 1: Advanced Search Fields
- Actions:
- Create a new Valuation record
- Fill in the following fields:
- Reference number
- Date
- Renewal date
- Source
- Type
- Enter textbook into the 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 Valuation Controls from the record type drop down
- Enter what you previously entered into the Valuation type field in the record into the Valuation type field in advanced search
- Click search
- Expected:
- The Valuation record you just created should appear in the search results
- Actions:
- Do this for each of the fields listed above
- Expected:
- The Valuation record you just created should appear in the search results
- Actions:
- Search the Modified Date field for today's date
- Expected:
- The Valuation 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 Valuation record you just created should appear in the search results
Test 2: Boolean field-based search
- Actions:
- Create a new Valuation record
- Enter a Valuation reference number and write it down for reference
- Enter Jane Doe into the Valuation source field
- Select Current value from the Valuation type dropdown
- Write testtest in the Note field
- Save the record
- Create another new Valuation record
- Enter a Valuation reference number and write it down for reference
- Enter Jane Doe into the Valuation source field
- Select Current value from the Valuation type dropdown
- Write testtest in the Note field
- Save the record
- Create another new Valuation record
- Enter a Valuation reference number and write it down for reference
- Enter Jane Doe into the Valuation source field
- Select Original value from the Valuation type dropdown
- Write testtest in the Note field
- Save the record
- Navigate to advanced search
- Select Valuation Controls from the record type drop down menu
- Select any (OR) from the boolean drop down menu
- Enter Jane Doe into the Valuation source field
- Select Current value from the Valuation type dropdown
- Click Search at the bottom of the page
- Expected:
- All three new Valuation records should appear in the results
- Actions:
- Navigate back to advanced search
- Choose Valuation Controls from the record type drop down menu
- Select all (AND) from the boolean drop down menu
- Enter Jane Doe into the Valuation source field
- Select Current value from the Valuation type dropdown
- Click Search at the bottom of the page
- Expected:
- Only the first two new Valuation records created above should appear in the search results
Test 3: Boolean and Keyword Search
- Actions:
- Navigate to advanced search
- Select Valuation Controls 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 into the Valuation source field
- Select Current value from the Valuation type dropdown
- Click Search at the bottom of the page
- Expected:
- All three new Valuation records created in Test 2 should appear in the results
- Actions:
- Navigate back to advanced search
- Select Valuation Controls 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 into the Valuation source field
- Select Current value from the Valuation type dropdown
- Click Search at the bottom of the page
- Expected:
- Only the first two new Valuation 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