Difference between revisions of "Development/Functional testing/Digital object tests"

From AtoM wiki
m (minor tweak to page title; breadcrumb)
Line 3: Line 3:
  
  
=== General behaviour ===
+
== General behaviour ==
 
*Clicking Link digital object in information object show screen opens Upload digital objects screen
 
*Clicking Link digital object in information object show screen opens Upload digital objects screen
 
*User can browse for a digital object to upload
 
*User can browse for a digital object to upload
Line 14: Line 14:
 
*Digital objects can be located via digital object browse page
 
*Digital objects can be located via digital object browse page
  
=== Text files ===
+
== Text files ==
 
*In the information object show screen, clicking on the reference display object opens the master digital object (if the user's permissions are set to allow it)
 
*In the information object show screen, clicking on the reference display object opens the master digital object (if the user's permissions are set to allow it)
*Clicking on the reference display area allows user to open or download object  
+
*Clicking on the reference display area allows user to open or download object
 
*Unauthenticated users and users without view master permissions cannot open and download master digital object
 
*Unauthenticated users and users without view master permissions cannot open and download master digital object
  
=== Image files ===
+
== Image files ==
 
*In the information object show screen, clicking on the reference display object opens the master digital object or allows the user to open or save the object
 
*In the information object show screen, clicking on the reference display object opens the master digital object or allows the user to open or save the object
 
*If master digital object is open, clicking the browser's back button returns the user to the information object show screen
 
*If master digital object is open, clicking the browser's back button returns the user to the information object show screen
Line 25: Line 25:
 
*Unauthenticated users and users without view master permissions cannot open and download master digital object
 
*Unauthenticated users and users without view master permissions cannot open and download master digital object
  
=== Video files ===
+
== Video files ==
 
*Clicking "play" in the reference display copy plays the video
 
*Clicking "play" in the reference display copy plays the video
 
*Associated audio streams are also played
 
*Associated audio streams are also played
Line 33: Line 33:
 
*Unauthenticated users and users without view master permissions cannot open and download master digital object
 
*Unauthenticated users and users without view master permissions cannot open and download master digital object
  
=== Audio files ===
+
== Audio files ==
 
*Clicking "play" in the reference display copy plays the audio file
 
*Clicking "play" in the reference display copy plays the audio file
 
*Left-clicking "download audio" opens up the master digital object (depends on browser support)
 
*Left-clicking "download audio" opens up the master digital object (depends on browser support)
Line 39: Line 39:
 
*Users can right-click or command-click "download audio" and receive options: Open link in new tab; Open link in new window; Bookmark link; Save link as; Send link; and Copy link location.
 
*Users can right-click or command-click "download audio" and receive options: Open link in new tab; Open link in new window; Bookmark link; Save link as; Send link; and Copy link location.
  
=== Multi-page files ===
+
== Multi-page files ==
 
*User can upload multi-page files
 
*User can upload multi-page files
 
*All pages in the multi-page file are uploaded
 
*All pages in the multi-page file are uploaded
Line 46: Line 46:
 
*Clicking on reference display copy opens master digital object in separate program (e.g., Adobe pdf reader)
 
*Clicking on reference display copy opens master digital object in separate program (e.g., Adobe pdf reader)
  
=== Editing digital object ===
+
== Editing digital object ==
 
*In information object view screen, clicking on "Edit digital object" button opens the edit digital object view screen
 
*In information object view screen, clicking on "Edit digital object" button opens the edit digital object view screen
 
*User can change media type
 
*User can change media type
Line 57: Line 57:
 
**Clicking Confirm opens the information object show screen and digital object is deleted
 
**Clicking Confirm opens the information object show screen and digital object is deleted
  
=== Multi-file upload ===
+
== Multi-file upload ==
 
*In information object show screen, clicking Import digital objects opens Upload multiple digital objects screen
 
*In information object show screen, clicking Import digital objects opens Upload multiple digital objects screen
 
*User can edit title it Title field
 
*User can edit title it Title field

Revision as of 19:00, 4 March 2016

Main Page > Development > Development/Functional testing > Development/Functional testing/Digital object tests

General behaviour

  • Clicking Link digital object in information object show screen opens Upload digital objects screen
  • User can browse for a digital object to upload
  • User can link to an external URL to upload a digital object
  • Clicking Create opens the show screen for the information object with digital object displayed as reference display copy
  • Digital object metadata are automatically added to the information object show screen, as follows: Filename (if object was uploaded from file system), URL (if object was uploaded from external link) Media type, Mimetype, Filesize, Uploaded
    • NOTE: when testing, remember these elements can be hidden to public users via Visible elements module
  • Digital objects appear in browse results in appropriate categories: audio, image, other, text, video
  • Digital objects appear in carousel viewer at aggregate levels of description
  • Digital objects can be located via digital object browse page

Text files

  • In the information object show screen, clicking on the reference display object opens the master digital object (if the user's permissions are set to allow it)
  • Clicking on the reference display area allows user to open or download object
  • Unauthenticated users and users without view master permissions cannot open and download master digital object

Image files

  • In the information object show screen, clicking on the reference display object opens the master digital object or allows the user to open or save the object
  • If master digital object is open, clicking the browser's back button returns the user to the information object show screen
  • Users can right-click or command-click the image representation and receive options: Open link in new tab; Open link in new window; Bookmark link; Save link as; Send link; Copy link location; View image; Copy image; Copy image location; Save image as; Send image; and View image info.
  • Unauthenticated users and users without view master permissions cannot open and download master digital object

Video files

  • Clicking "play" in the reference display copy plays the video
  • Associated audio streams are also played
  • Left-clicking "download movie" opens up the master digital object (depends on browser support)
  • Right-clicking "download movie" allows the user to save the save the file (eg "Save link as")
  • Users can right-click or command-click "download movie" and receive options: Open link in new tab; Open link in new window; Bookmark link; Save link as; Send link; and Copy link location.
  • Unauthenticated users and users without view master permissions cannot open and download master digital object

Audio files

  • Clicking "play" in the reference display copy plays the audio file
  • Left-clicking "download audio" opens up the master digital object (depends on browser support)
  • Right-clicking "download audio" allows the user to save the save the file (eg "Save link as")
  • Users can right-click or command-click "download audio" and receive options: Open link in new tab; Open link in new window; Bookmark link; Save link as; Send link; and Copy link location.

Multi-page files

  • User can upload multi-page files
  • All pages in the multi-page file are uploaded
  • Reference display copy shows first two pages
  • User can page through pages in reference display copy
  • Clicking on reference display copy opens master digital object in separate program (e.g., Adobe pdf reader)

Editing digital object

  • In information object view screen, clicking on "Edit digital object" button opens the edit digital object view screen
  • User can change media type
  • User can delete reference representation and substitute new representation
  • User can delete thumbnail representation and substitute new representation
  • Clicking Save opens information object show screen with all changes saved
  • Substituted reference and thumbnail representations are correctly resized
  • Clicking Delete results in confirmation message: "Are you sure you want to delete the digital object linked to....?"
    • Clicking Cancel returns user to digital object edit screen and digital object is not deleted
    • Clicking Confirm opens the information object show screen and digital object is deleted

Multi-file upload

  • In information object show screen, clicking Import digital objects opens Upload multiple digital objects screen
  • User can edit title it Title field
  • User can select level of description
  • Clicking the "select files" link opens a file browser
  • User can select multiple objects from the file browser
  • Digital objects are previewed, along with Title, Filename, and Filesize
  • Can edit Title for previewed objects
  • Can delete previewed objects
  • If filesize exceeds maximum allowed upload size, a warning message appears
  • If digital object is a duplicate of another digital object in the same upload, a warning message appears
  • User can select more files before importing
  • Clicking Import opens information object show screen
  • Carousel viewer is visible in in information object show screen
  • Objects are displayed as children of the current record in the hierarchy treeview
  • Child level show screens open digital object displayed as reference display copy; behaviour is same as described in General behaviour, above