/
Advanced Search - Conservation - QA Test Plan
Advanced Search - Conservation - QA Test Plan
Test 1: Advanced Search Fields
- Actions:
- Create a new Conservation record
- Fill in the following fields:
- Reference number
- Procedural status
- Treatment purpose
- Conservator
- Approved by
- Approval date
- Treatment start date
- Treatment end date
- Researcher
- Analysis proposal date
- Sample taken by
- Enter textbook into the Proposed Treatment 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 Conservation Treatments from the record type drop down
- Enter what you previously entered into the Procedural Status field in the record into the Procedural Status field in advanced search
- Click search
- Expected:
- The Conservation record you just created should appear in the search results
- Actions:
- Do this for each of the fields listed above
- Expected:
- The Conservation record you just created should appear in the search results
- Actions:
- Search the Edit Date field for today's date
- Expected:
- The Conservation 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 Conservation record you just created should appear in the search results
Test 2: Boolean Field-based Search
- Actions:
- Create a new Conservation record
- Enter a Reference Number and write it down for reference
- Select Analysis approved from the Procedural Status dropdown
- Select Appraisal from the Treatment Purpose dropdown
- Write testtest in the Fabrication Note field
- Save the record
- Create another new Conservation record
- Enter a Reference Number and write it down for reference
- Select Analysis approved from the Procedural Status dropdown
- Select Appraisal from the Treatment Purpose dropdown
- Write testtest in the Proposed Treatment field
- Save the record
- Create another new Conservation record
- Enter a Reference Number and write it down for reference
- Select Analysis approved from the Procedural Status dropdown
- Select Damage from the Treatment Purpose dropdown
- Write testtest in the Treatment Summary field
- Save the record
- Navigate to advanced search
- Select Conservation Treatments from the record type drop down menu
- Select any (OR) from the boolean drop down menu
- Select Analysis approved from the Procedural Status dropdown
- Select Appraisal from the Treatment Purpose dropdown
- Click Search at the bottom of the page
- Expected:
- All three new Conservation records should appear in the results
- Actions:
- Navigate back to advanced search
- Choose Conservation from the record type drop down menu
- Select all (AND) from the boolean drop down menu
- Select Analysis approved from the Procedural Status dropdown
- Select Appraisal from the Treatment Purpose dropdown
- Click Search at the bottom of the page
- Expected:
- Only the first two new Conservation records created above should appear in the search results
Test 3: Boolean and Keyword Search
- Actions:
- Navigate to advanced search
- Select Conservation Treatments from the record type drop down menu
- In the keyword search field, write testtest
- Select any (OR) from the boolean drop down menu
- Select Low from the Object audit category dropdown
- Select Appraisal from the Treatment Purpose dropdown
- Click Search at the bottom of the page
- Expected:
- All three new Conservation records created in Test 2 should appear in the results
- Actions:
- Navigate back to advanced search
- Select Conservation Treatments from the record type drop down menu
- In the keyword search field, write testtest
- Select all (AND) from the boolean drop down menu
- Select Low from the Object audit category dropdown
- Select Appraisal from the Treatment Purpose dropdown
- Click Search at the bottom of the page
- Expected:
- Only the first two new Conservation 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