/
Advanced Search - Loans Out - QA Test Plan
Advanced Search - Loans Out - QA Test Plan
Test 1: Advanced Search Fields
- Actions:
- Create a new Loan Out record
- Enter textbook in the Loan out number field
- Fill in the following fields:
- Loan purpose
- Lender authorizer
- Lender contact
- Borrower name
- Borrower contact
- Borrower authorizer
- Loan status
- Loan out date
- Loan return date
- Loan renewal application date
- 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 Loans out from the record type drop down
- Enter what you previously entered into the Loan out number field in the record into the Loan out number field in advanced search
- Click search
- Expected:
- The Loan out record you just created should appear in the search results
- Actions:
- Do this for each of the fields listed above
- Expected:
- The Loan out record you just created should appear in the search results
- Actions:
- Search the Modified Date field for today's date
- Expected:
- The Loans out 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 Loan out record you just created should appear in the search results
- Actions:
- Navigate back to advanced search
- Select Loans Out from the Record Type drop down
- Enter textb* into the Loans Out Number search field
- Click search
- Expected:
- The Loans Out record you just created should appear in the search results
Test 2: Boolean Field-based Search
- Actions:
- Create a new Loan out record
- Enter a Loan out number and write it down for reference
- Enter John Doe in the Borrower field (add the authority if it doesn't already exist)
- Select Research in the Loan purpose dropdown
- Write testtest in the Loan Out Note field
- Save the record
- Create another new Loan out record
- Enter a Loan out number and write it down for reference
- Enter John Doe in the Borrower field
- Select Research in the Loan purpose dropdown
- Write testtest in the Loan Out Conditions field
- Save the record
- Create another new Loan out record
- Enter a Loan out number and write it down for reference
- Enter John Doe in the Borrower field
- Select Photography in the Loan Purpose dropdown
- Write testtest in the Loan Out Note field
- Save the record
- Navigate to advanced search
- Select Loans out from the record type drop down menu
- Select any (OR) from the boolean drop down menu
- Enter John Doe in the Borrower search field
- Select Research in the Loan purpose search dropdown
- Click Search
- Expected:
- All three new Loans out records should appear in the results
- Actions:
- Navigate back to advanced search
- Choose Loans out from the record type drop down menu
- Select all (AND) from the boolean drop down menu
- Enter John Doe in the Borrowerr search field
- Select Research from the Loan Purpose drop down menu
- Click Search at the bottom of the page
- Expected:
- Only the first two new Loans out records created above should appear in the search results
Test 3: Boolean and Keyword Search
- Actions:
- Navigate to advanced search
- Select Loans out from the record type drop down menu
- Write testtest in the keyword search field
- Select any (OR) from the boolean drop down menu
- Enter John Doe in the Borrower search field
- Select Research in the Loan purpose search dropdown
- Click Search at the bottom of the page
- Expected:
- All three new Loans out records created in Test 2 should appear in the results
- Actions:
- Navigate back to advanced search
- Choose Loans out from the record type drop down menu
- Write testtest in the keyword search field
- Select all (AND) from the boolean drop down menu
- Enter John Doe in the Borrowerr search field
- Select Research from the Loan Purpose drop down menu
- Click Search at the bottom of the page
- Expected:
- Only the first two new Loans out 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