/
Advanced Search - Loans In - QA Test Plan
Advanced Search - Loans In - QA Test Plan
Test 1: Advanced Search Fields
- Actions:
- Create a new Loans In record
- Enter textbook in the Loan In Number field
- Fill in the following fields:
- Loan purpose
- Loan status
- Lender name
- Lender contact
- Lender authorizer
- Borrower contact
- Borrower authorizer
- Loan in 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 in from the record type drop down
- Enter what you previously entered into the Loan in number field in the record into the Loan in number field in advanced search
- Click search
- Expected:
- The Loan in record you just created should appear in the search results
- Actions:
- Do this for each of the fields listed above
- Expected:
- The Loan in record you just created should appear in the search results
- Actions:
- Search the Edit Date field for today's date
- Expected:
- The Loans in 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 Loan in record you just created should appear in the search results
- Actions:
- Navigate back to advanced search
- Select Loans In from the Record Type drop down
- Enter textbook into the Loan In Number search field
- Click search
- Expected:
- The Loan In record you just created should appear in the search results
Test 2: Boolean field-based search
- Actions - create three additional records for searching:
- Create a new Loan in record
- Enter a Loan in number and write it down for reference
- Select Research in the Loan purpose dropdown
- Enter testtest in the Loan in conditions field
- Enter 2001-01-01 in the Loan in date field
- Save the record
- Create another new Loan in record
- Enter a Loan in number and write it down for reference
- Select Research in the Loan purpose dropdown
- Write testtest in the Loan in conditions field
- Enter 2001-01-01 in the Loan in date field
- Save the record
- Create another new Loan in record
- Enter a Loan in number and write it down for reference
- Select Photography in the Loan purpose dropdown
- Write testtest in the Loan in conditions field
- Enter 2001-01-01 in the Loan in date field
- Save the record
- Actions:
- Navigate to advanced search
- Select Loans in from the record type drop down menu
- Select any (OR) from the boolean drop down menu
- Enter 2001-01-01 in the Earliest Loan in Date field
- Enter 2001-01-01 in the Latest Loan in Date field
- Select Research in the Loan purpose search dropdown
- Click Search
- Expected:
- All three new Loans in records created in Test 2 should appear in the results
- Actions:
- Navigate back to advanced search
- Choose Loans in from the record type drop down menu
- Select all (AND) from the boolean drop down menu
- Enter 2001-01-01 in the Earliest Loan in Date field
- Enter 2001-01-01 in the Latest Loan in Date field
- Select Research from the Loan Purpose drop down menu
- Click Search
- Expected:
- Only the first two Loans in record created above should appear in the search results
Test 3: Boolean and Keyword Search
- Actions:
- Navigate to advanced search
- Enter testtest in the keyword search field
- Click Search
- Expected:
- All three new Loans in records created in Test 2 should appear in the results
- Actions:
- Navigate to advanced search
- Select Loans in from the record type drop down menu
- Enter testtest in the keyword search field
- Select any (OR) from the boolean drop down menu
- Enter 2001-01-01 in the Earliest Loan in Date field
- Enter 2001-01-01 in the Latest Loan in Date field
- Select Research in the Loan purpose search dropdown
- Click Search
- Expected:
- All three new Loans in records created in Test 2 should appear in the results
- Actions:
- Navigate back to advanced search
- Choose Loans in from the record type drop down menu
- Enter testtest in the keyword search field
- Select all (AND) from the boolean drop down menu
- Enter 2001-01-01 in the Earliest Loan in Date field
- Enter 2001-01-01 in the Latest Loan in Date field
- Select Research from the Loan Purpose drop down menu
- Click Search
- Expected:
- Only the first two new Loans in records created above 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