Advanced Search - Export Records - QA Test Plan

Test 1. Export Search Results from Keyword Search

  • Actions:
    1. Go to keyword search at the top center of the page
    2. Select an object, procedure or authority from the dropdown
      1. Note on the QA Testing Tasks page which Object, Procedures or Authorities to test for your profile
    3. Leave the search box blank
    4. Click the green search icon
  • Expected:
    • One or more records of the type you selected should appear in the search results
  • Actions:
    • Select the checkbox to the left of several items in the search results list, including the record with the ID number ending in 1 (e.g. 2000.1.1)
    • For 7.1 Time Based Media Test: Select QA TEST OJB 2022.1-QA TEST OBJ 2022.3 and for Iteration Report: Select QA IR TEST 2022.3 and QA IR TEST 2022.4
  • Expected:
    • The Export button at the top of the search results list will be enabled
  • Actions:
    • Click the Export button
  • Expected: 
    • The Export as CSV popup will appear
  • Actions:
    • Click either the black X at the top right of the popup, click the green cancel button, or hit Esc on your keyboard
  • Expected:
    • The Export as CSV popup will disappear
    • Your search selections should remain
  • Actions:
    • Click the Export button again
    • Choose any fields related to the Time-Based Media blocks from the Select fields dropdown
    • Click the + button to add a new field
      • If your search results are for a Procedure or Object, type Number into the dropdown and choose the ID or Reference Number field
      • If your search results are for an Authority, type Name into the dropdown and choose the Term Display Name field
    • Click on the number to the left of the Number or Name field you selected to move the field up
    • Click the + button to add a new field and choose any field from the Select fields dropdown
  • Expected:
    • The popup should include at least three fields in the order you chose
  • Actions:
    • Click the Export button
  • Expected:
    • Depending on your browser settings, you will likely be asked to save the file - you may need to add the .csv extension
  • Actions:
    • Open the CSV file
    • Confirm that:
      • All fields you chose in the popup are present as columns
      • The columns are in the order you selected
      • All data is present in the rows, including that from fields with multiple values (values will be separated by a pipe | )

Test 2. Check for Text Truncation

  • Actions:
    1. Go to keyword search at the top center of the page
    2. Select an object, procedure or authority from the dropdown
      1. Note on the QA Testing Tasks page which Object, Procedures or Authorities to test for your profile
    3. Leave the search box blank
    4. Click the green search icon
  • Expected:
    • One or more records of the type you selected should appear in the search results
  • Actions:
    • For 7.1 >> From the list of records, select the record with an ID number QA TEST OBJ 2022.1.1 OR QA IR TEST 2022.3 to go to that record's data entry screen
  • Expected
    • The record will open
  • Actions
    • Look for the description and audio visual note fields with a very long text block in it; the long text block will begin with the words "THIS IS A VERY LONG DESCRIPTION."
    • Make note of the field name the very long text block is in
    • Go back to your search results
    • Repeat Test 1, making sure you include the field with the very long text block in your field choices in the Export pop-up
  • Expected
    • After saving and viewing your CSV file, the complete text in that field will appear with no truncation. If it was not truncated, the last words in the field will be "THIS IS THE END OF A VERY LONG DESCRIPTION."

Test 3. Export Search Results from Advanced Search

Repeat Test Plan 1, starting with an Advanced Search instead of a Keyword Search

Test 5: Vary Selections and Page Size in Advanced Search - Common Profile Only

Actions: 

  1. Go to keyword search at the top center of the page
  2. Select Condition Check from the dropdown
  3. Clear all data from the search box
  4. Click the green search icon

Expected:

  1. All existing Condition Check records in the system will appear in the search results

Actions:

  1. Make sure the number of search results displayed is 20 per page
  2. Click on the checkbox at the top of the search results screen (highlighted in yellow in the screenshot below)

Expected:

  1. All 20 items on page 1 of your search results will be checked

Actions

  1. Click the Export button
  2. Choose any field from the Select fields dropdown
  3. Click the + button to add a new field
  4. Click the Export button

Expected:

  1. Depending on your browser settings, you will likely be asked to save the file - you may need to add the .csv extension
  2. Open the CSV file and confirm that all the fields you chose in the popup are present as columns

Actions

  1. Keeping all 20 items on the first page of search results checked, go to page 2 of the search results
  2. Check either the whole set of 20 or just a few items from the list
  3. Click the Export button
  4. Choose any field from the Select fields dropdown
  5. Click the + button to add a new field
  6. Click the Export button

Expected

  1. Depending on your browser settings, you will likely be asked to save the file - you may need to add the .csv extension
  2. Open the CSV file and confirm that all the fields you chose in the popup are present as columns, and that the number of rows in the CSV matches the number of Objects you selected from the search results.

Actions

  1. Keeping all items you previously selected, change the number of items displayed per page to 40 
  2. Go to page 2 of the search results and check all available items in the list
  3. Change the number of items displayed per page back to 20

Expected

  1. The number of items selected will stay the same

Actions

  1. Click the Export button
  2. Choose any field from the Select fields dropdown
  3. Click the + button to add a new field
  4. Click the Export button

Expected

  1. Depending on your browser settings, you will likely be asked to save the file - you may need to add the .csv extension
  2. Open the CSV file and confirm that all the fields you chose in the popup are present as columns, and that the number of rows in the CSV matches the number of Objects you selected from the search results.

Test 7: Export Search Results from Multi Valued Fields with Multi-Valued Sub-Fields - Object Cataloging Only

Action

  • Select Objects from the search box at the top center of the page,
  • Enter QA TEST into the search box
  • Click the green search button

Actions

  • select the record with an ID number ending in QA TEST 
  • Select the Export button

Expected

  • The Export as CSV popup will appear

Actions

  •  For the Core, Anthro, Bonsai, FCART, LHMC, and Public Art, in the Export as CSV popup, add the following fields:
    • Identification number
    • Title
    • Title language
    • Title type
    • Title translation
    • Title translation language
  • Click Run

Expected

  • A CSV will be generated, and the output will look like something like this:

Actions

  • For Botanic Gardens, add the following fields:
    • Identification number
    • Scientific name
    • Hybrid parent name
    • Hybrid parent qualifier
    • Kind

Expected

  • A CSV will be generated, and look similar to the above example.

Actions

  • For Materials, add the following fields:
    • Identification number
    • Sample size
    • Dimension
    • Value

Expected

  • A CSV will be generated, and look similar to the above example

Test 9: Keyboard Accessibility

  • Actions:
    1. From an Advanced Search results page, use the keyboard only to navigate to and activate the Export button
  • Expected:
    • At all times it should be possible to see which field has focus
    • Drop down, items in the drop down, authorities, and text fields should all work as expected

Test 11: 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