Media Handling Blob - QA Test Plan


On this page

Before You Get Started

This test plan will ask you to upload image, document, audio, and video files. You can download test files for each required format via this page's Attachments. To get to the Attachments page, click on the three small dots at the top right, and select Attachments. The samples files to download begin with the words QA TEST. You can download all files or save individually by right clicking and selecting "Save Link As."

Media Handling Blob

Test 1: Attaching an Image File to a Media Handling Record

  • Actions:
    1. Create a new Media Handling Record
    2. Enter number into Identification number field
    3. Enter title into Title field (not required)
  • Expected:
    1. Identification number and Title should appear in header
  • Actions:
    1. Select "local file" from the Upload dropdown under the File Information header
    2. Click the Select... button
  • Expected:
    • Your local web browser's file picker window should appear
  • Actions:
    1. Select an image file to upload; sample files include JPG, TIFF, and PNG formats
    2. Save the record
  • Expected:
    • Thumbnail should appear under the File Information header
    • File name, File type, File size, and File created date should appear under the File Information header
    • Thumbnail should appear on right sidebar under the Media menu item
  • Actions:
    1. Click on both thumbnail images - the one under File Information, and the one in the Media Snapshot.
  • Expected:
    • Original image appears in a new browser tab, full size

Test 3: Attaching a Non-Image File to a Media Handling Record

  • Actions:
    1. Create a new Media Handling Record
    2. Enter a number into the Identification number field
    3. Select "local file" from the Upload dropdown under the File Information header
    4. Click the Select... button
  • Expected:
    • Your local web browser's file picker window should appear
  • Actions:
    1. Variation A: Select a PDF file to upload
    2. Variation B: Select an XLS file to upload
    3. Save the record
  • Expected:
    • Thumbnail should appear under the File Information header
    • File name, File type, File size, and File created date should appear under the File Information header
    • Variation A: A PDF identifier should appear on the right sidebar under the Media menu item
    • Variation B: A XLS identifier should appear on the right sidebar under the Media menu item
  • Actions:
    1. Click on the thumbnail identifier
  • Expected:
    • Original file should open in a new tab, or your browser may prompt you to save the file

Test 5: Attaching an Audio or Video File to a Media Handling Record

  • Actions:
    1. Create a new Media Handling Record
    2. Enter a number into the Identification number field
    3. Select "local file" from the Upload dropdown under the File Information header
    4. Click the Select... button
  • Expected:
    • Your local web browser's file picker window should appear
  • Actions:
    1. Variation A: Select a MP4 file to upload
    2. Variation B: Select an WAV file to upload
    3. Save the record
  • Expected:
    • Thumbnail should appear under the File Information header
    • File name, File type, File size, and File created date should appear under the File Information header
    • Variation A: An MP4 identifier should appear on the right sidebar under the Media menu item
    • Variation B: A WAV identifier should appear on the right sidebar under the Media menu item
  • Actions:
    1. Click on the thumbnail identifier
  • Expected:
    • Original file should open in a new tab, or your browser may prompt you to save the file

Test 7: Removing a Media File from a Media Handling Record

  • Actions:
    1. Continue from Test 1, 3, or 5
    2. Click the Remove  button at the upper right of the File Information section
  • Expected
    1. The media blob information is removed form the File information section
    2. The thumbnail is removed from the right sidebar
  • Action
    • Click the Revert button at the top of the screen
  • Expected
    • The media blob information is returned to the File information section
    • The thumbnail returns to the right sidebar
  • Action
    1. Click the remove button at the upper right of the File Information section
    2. Save the record
  • Expected:
    • After successful save, media file and all file information should be removed from record

Test 9: Attaching a Link to External Media to a Media Handling Record

  • Actions:
    1. Create a new Media Handling Record
    2. Enter a number into the Identification number field
    3. Select "external media" from the Upload dropdown under the File Information header
    4. Paste the URL to a publicly available image file (i.e. a URL ending in .jpg) in the URL field
      Example: https://apod.nasa.gov/apod/image/1908/OrionDeep_GleasonAndreo_1080_annotated.jpg
    5. Save the record
  • Expected:
    1. Thumbnail should appear under the File Information header
    2. File name, File type, File size, and File created date should appear under the File Information header
    3. Thumbnail should appear on right sidebar under the Media menu item
    4. URL should appear in External URL field

Test 11: Removing a Link to External Media from a Media Handling Record

  • Actions:
    1. Continue from Test 9
    2. Click the Remove  button at the upper right of the File Information section
  • Expected
    1. The media blob information is removed form the File information section
    2. The thumbnail is removed from the right sidebar
    3. The external URL remains in the External URL field
  • Action
    • Click the Revert button at the top of the screen
  • Expected
    1. The media blob information is returned to the File information section
    2. The thumbnail returns to the right sidebar
  • Action
    1. Click the remove button at the upper right of the File Information section
    2. Save the record
  • Expected:
    • After successful save, media file and all file information should be removed from record


Test 13: Thumbnail Previews in Right Sidebar

  • Actions
    • Click on Create New in the top menu bar
    • Create a new Object or Procedural record (any type)
    • Enter in any required information
    • Save the record
  • Expected
    • Successful creation of new record
  • Actions
    • In the right sidebar, click on the Add button to the right of the Related Procedures menu item
  • Expected
    • Relate Procedures search interface will open
  • Actions
    • Select Media Handling from the drop down
    • Click the search button
  • Expected
    • A list of related Media Handling records will appear
  • Actions
    • Click on the checkboxes to the left of 2 or more Media Handling records
      • NB: Please choose records that have a Blob attached; those records will have very small thumbnails next to their checkboxes
    • Click on Relate Selected
  • Expected
    • The Media Handling records will be related to your newly created record
  • Action
    • In the right sidebar, click on the Media menu item (if it's collapsed)
  • Expected
    • Media Handling image viewer will appear
    • Thumbnails for all related Blobs will be along bottom of viewer, with one outlined in black
    • The Blob outlined in black will appear as a larger thumbnail
  • Action
    • Click on a Blob that is not outlined in black
  • Expected
    • The larger thumbnail will be replaced by the Blob you selected
  • Action
    • Click on one of the arrows to the right or left of the large thumbnail
  • Expected
    • The image viewer will scroll through all related Blobs


Test 15: Open SeaDragon Integration

CollectionSpace is integrated with Open SeaDragon, an open-source, web-based viewer for high-resolution zoomable images.

Action

  • Continue from Test 1 or create a new Media Handling file and upload any image file.
    • NB: QA TEST Tess, attached to this page, is a good example.
  • Click on the Blob thumbail in the right sidebar

Expected

  • A new tab will open with your image and a set of controls in the top left

Action

  • Experiment with the controls: Zoom in, Zoom out, Home (return to normal size), Full Screen, Rotate, and Download.
    • NB: Rotate only rotates the view, it does not change the orientation of the uploaded Blob.