Tests/Watch and Listen

From OLPC
Jump to navigation Jump to search

Tests

Open The activity

Justification:

Actions:

  1. Open the journal.
  2. Select a media file that is supported by your bundle of Watch & Listen
  3. Hover over the resume button, click Watch & Listen from the dropdown

Verify:

  • that Watch & Listen is an option for the media file you selected
  • that the Watch & Listen icon is added to the activity doughnut.
  • that the Watch & Listen icon pulses to indicate the activity starting up.
  • that the Watch & Listen activity starts properly:
    • the media file buffers and starts playing.
    • the window defaults to the Watch & Listen tab.


Playback

Justification:

Playback General

Actions:

  • Any action that should result in playback:
    • opening the activity
    • resuming playback from stop
    • resuming playback from pause

Verify:

  • that status text under the progress bar indicates buffering status as it is being buffered
  • that status text under the progress bar changes to indicate CURRENT_POSITION and CLIP_LENGTH
  • Media File is playing:
    • If media file contains audio, you hear sound.
    • If media file contains video, you see video.
    • If media file is an image you see the image.
  • Status Text at the bottom of the screen displays title and author of the clip for media files containing that metadata


Stop Playback

Actions:

  1. While clip is playing click Stop

Verify:

  • that media file stops playing:
    • if media file contains video or still image, the viewing area should turn black
    • if media file contains audio, there should be no sound
  • that the play/pause button icon switches to play
  • status text under video window is removed
  • status text under progress bar is removed


Start Playback

Actions:

  1. While clip is stopped click Play

Verify:

  • that Playback starts correctly:
    • that verify items in the Playback Script are successful.
    • that clip starts playback from the beginning.

Pause Playback

Actions:

  1. While clip is playing click Pause

Verify:

  • that media file Pauses playing:
    • if media file contains video, the viewing area should display that last frame
    • if media file contains audio, there should be no sound
    • that status text under the progress bar still indicates CURRENT_POSITION and CLIP_LENGTH
  • that the play/pause button icon switches to play


Resume Playback

Actions:

  1. While clip is paused click Play

Verify:

  • that Playback resumes correctly:
    • that verify items in the Playback Script are successful.
    • that clip starts playback approximately where it was paused.

Note: due to the nature of video formats using Key-Frames resuming will jump to the nearest Key-Frame resulting in a slight jump (< 1 second) in position.

Seeking

Justification: Common media player functionality

Seeking while playing

Actions:

  1. start playback of a media file
  2. click and drag progress bar handle to a new position
  3. release mouse button

Verify:

  • that as bar is dragged the status text under the progress bar indicates the position in the clip.
  • that playback resumes correctly:
    • that verify items in the Playback Script are successful.
    • that clip starts playback from the selected position.


Seeking while Paused

Actions:

  1. start playback of a media file
  2. pause playback
  3. click and drag progress bar handle to a new position
  4. release mouse button

Verify:

  • that as bar is dragged the status text under the progress bar indicates the position in the clip.
  • that verify items in the Paused Script are successful.


Playback Modes

Justification: Common media player functionality

Single Play Mode

Actions:

  1. Start playback of a media file
  2. Make sure single play mode is enabled:
    1. single play mode is enabled by default
    2. use the repeat/single toggle button to switch modes
  3. Let Play till end of file

Verify:

  • that playback stops when the end of the file is reached:
    • if media file contains video or still image, the viewing area should turn black
    • if media file contains audio, there should be no sound


Repeat Mode

Actions:

  1. Start playback of a media file
  2. Make sure repeat mode is enabled:
    1. single play mode is enabled by default
    2. click the repeat/single toggle button to switch modes
  3. Let Play till end of file

Verify:

  • that once the end of the file is reached playback starts again from the beginning of the the file:
  • that if a playlist is being used playback starts again at the beginning of the first file in the playlist


Zoom Options

Justification:

Fullscreen (enter)

Actions:

  1. while a video file is playing click Fullscreen

Verify:

  • Video takes up the maximum size allowed by the screen
  • Aspect ratio is correct.


Fullscreen (exit)

Actions:

  1. while a video file is playing in Fullscreen mode press escape

Verify:

  • that video is resized to the zoom mode it was previously in.
  • that the toolbar is visible again


Native Size

Actions:

  1. while a video file is playing in Fit-To-Screen mode (default) click Native Size

Verify:

  • that the video resizes to its native size.
  • that the video is centered in the playback area.


Fit-To-Screen

Actions:

  1. while a video file is playing in Native Size click Fit-to-Screen

Verify:

  • that the video resizes to the maximum size allowed by the viewing area.
  • that the aspect ratio is correct.
  • that the video is centered in the playback area.


Skipping Tracks (Playlists)

Justification: Actions:

  1. Open the activity with a playlist
  2. Click next and prev to move through tracks

Verify:

  • The next or previous track is properly selected
    • if there is a previous or next track then that track is selected accordingly.
    • If at the beginning of the playlist, previous does nothing.
    • If at the end of the playlist, next does nothing unless repeat mode is active.
  • that playback starts properly for the selected track:


Install the Activity bundle

Actions

  1. Download the latest Watch and Listen activity bundle File:Watch & Listen-8.xo
  2. Put the .xo file on a USB stick. (also, put a real media file on the stick if you have one; e.g. .rm, .rv)
  3. Plug the USB stick into the XO.
  4. Go to the journal, and find the .xo file on the USB stick.
  5. Drag this into the journal.
  6. Click on the .xo file in the journal, and resume it.
  7. Close the activity after it opens.
  8. Go back to the journal, and drag one of the real media files into the journal.
  9. Resume the media file with Watch and Listen.


Verify

  • The .xo file can be resumed from the journal.
  • The Watch and Listen activity opens.
  • There is NO Watch and Listen icon in the tray in the home view.
  • Watch and listen is in the list of activities that can play a real media file.

Media For Tests

How to add media to the journal

Actions

  1. Download each file onto a usb stick.
  2. Plug the usb stick into the xo.
  3. Drag each file from the usb stick to the journal.
  4. Resume each file from the journal, into Watch and Listen.

Verify

  • The list of activities that you can resume the file from includes Watch and Listen.
  • Each file is played by Watch and Listen.

Files

Free Bundle

RealMedia Bundle

Non-Free Bundle

What works

file types, and how they performed

Error Messages

Newer versions of Watch & Listen report errors in plain text rather than as an error code. This translation is done by the helix engine and is currently English only.

  • HXR_NO_RENDERER - The player doesn't have the codec for the file.