Tests/Watch and Listen
Tests
Open The activity
Justification:
Actions:
- Open the journal.
- Select a media file that is supported by your bundle of Watch & Listen
- 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:
- 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:
- 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:
- 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:
- 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:
- start playback of a media file
- click and drag progress bar handle to a new position
- 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:
- start playback of a media file
- pause playback
- click and drag progress bar handle to a new position
- 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
Single Play Mode
Justification: Common media player functionality
Actions:
- Start playback of a media file
- Make sure single play mode is enabled:
- single play mode is enabled by default
- use the repeat/single toggle button to switch modes
- 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:
- Start playback of a media file
- Make sure repeat mode is enabled:
- single play mode is enabled by default
- click the repeat/single toggle button to switch modes
- 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 verify items in the Playback Script are successful.
Zoom Options
Justification:
Fullscreen (enter)
Actions:
- 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:
- 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:
- 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:
- 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
Justification: Actions:
Verify:
Install the Activity bundle
Actions
- Download the latest Watch and Listen activity bundle File:Watch & Listen-8.xo
- 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)
- Plug the USB stick into the XO.
- Go to the journal, and find the .xo file on the USB stick.
- Drag this into the journal.
- Click on the .xo file in the journal, and resume it.
- Close the activity after it opens.
- Go back to the journal, and drag one of the real media files into the journal.
- 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
- Download each file onto a usb stick.
- Plug the usb stick into the xo.
- Drag each file from the usb stick to the journal.
- 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.