Tests/Watch and Listen

From OLPC
< Tests
Revision as of 16:39, 1 August 2008 by 67.168.251.84 (talk) (Repeat Mode)
Jump to: navigation, 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:

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 and Start Playback

Justification: Common media player functionality

Actions:

  1. While clip is playing click Stop
  2. Click Play

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
  • that Playback resumes correctly:
    • that verify items in the Playback Script are successful.
    • that clip starts playback from the beginning.

Pause and Resume Playback

Justification: Common media player functionality

Actions:

  1. While clip is playing click Play/Pause
  2. Click Play/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
  • 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

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.

Single Play Mode

Justification: Common media player functionality

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

Justification: Common media player functionality

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:

Fullscreen Toggle

Justification: Actions:

Verify:

Native Size Toggle

Justification: Actions:

Verify:

Skipping Tracks

Justification: Actions:

Verify:


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.