summaryrefslogtreecommitdiffstats
path: root/tests/systemtests/video
diff options
context:
space:
mode:
authordakovaci <daniel.kovacic@nokia.com>2012-04-03 16:39:27 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-05 07:38:27 +0200
commitbc8c7a6db760ba8f3b9389f2975009091f845b35 (patch)
treef23d0dd251be387210b094f67bdf92192f657ddd /tests/systemtests/video
parentd7d03207f890d81e476b7d96eb51b7f952132a6e (diff)
Removed some systemtests
Removed pause video recording and video settings Change-Id: Id763ce9c26c5b6f7b9b122ee1b4b80b0c9c926fa Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
Diffstat (limited to 'tests/systemtests/video')
-rw-r--r--tests/systemtests/video/sys_video.qtt92
1 files changed, 8 insertions, 84 deletions
diff --git a/tests/systemtests/video/sys_video.qtt b/tests/systemtests/video/sys_video.qtt
index fc74e35de..cc0455229 100644
--- a/tests/systemtests/video/sys_video.qtt
+++ b/tests/systemtests/video/sys_video.qtt
@@ -48,7 +48,7 @@ Ensure 2 test .mp4 files are available on device
Ensure the device can ping destinations on the network (if applicable)
Have a video stream url available (e.g. http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4)
Ensure access to Internet available to device
-Ensure an active SIM card is available on the device. As some video streaming tests are carrier spacific, it is recomended in Australia to have access to Testra, Optus and Vodafone SIM's
+Ensure an active SIM card is available on the device. As some video streaming tests are carrier specific, it is recommended in Australia to have access to Testra, Optus and Vodafone SIM's
*/
initTestCase: function()
{
@@ -64,7 +64,7 @@ Ensure an active SIM card is available on the device. As some video streaming te
testApplication = "Multimedia - Play Video File";
testBinary = "player";
testGoal = "Verify that local, networked and carrier streamed video files can be played. ";
- testPreconditions = "1. A test "+extension+" file is available on device.<br>2. Internet acces is enabled on the device.<br>3. Operator SIM cards are available to the device";
+ testPreconditions = "1. A test "+extension+" file is available on device.<br>2. Internet access is enabled on the device.<br>3. Operator SIM cards are available to the device";
testGroups = "BAT";
// Test steps
@@ -156,25 +156,21 @@ Ensure an active SIM card is available on the device. As some video streaming te
| *Step* | *Verification* |
| Launch " + testBinary + " | App launches normally |
- | While playing a video file, Select or Tap on [1.0] (Multiplier) control | |
- | Select [2.0] | Verify that file is playing at double speed |
- | Select [Multiplier] control | |
- | Select [0.5] | Verify that file is playing at half speed |
+ | While playing a video file, Select or Tap on Forward control | Verify that playback has moved five seconds forward |
+ | Select or Tap Back control | Verify that playback has moved 5 seconds back |
"));
},
basic_controls_for_streamed_content: function()
{
-//*Note* In order to play stream on Maemo, invoke player with following command from console:
-// run-standalone.sh ./player http://202.6.74.107:8060/triplej.mp3
-//*Note* For this test you need a playlist of streaming media urls. Suggest: http://202.6.74.107:8060/triplej.mp3 ; http://www.abc.net.au/streaming/triplej.asx ; rtsp://media1.abc.net.au/broadcast/triplej.rm ; mms://media3.abc.net.au/triplej ; depending on your platform and backend support.
+//*Note* For this test you need a playlist of streaming media urls. Suggest: http://202.6.74.107:8060/triplej.mp3 ; http://www.abc.net.au/streaming/triplej.asx ; rtsp://media1.abc.net.au/broadcast/triplej.rm ; mms://media3.abc.net.au/triplej ; depending on your platform and backend support. A stream that I have found that works is: http://chaos.troll.no/~tavestbo/webkit/mediaelement/transformers640.ogg
// Test meta data
testApplication = "Multimedia - Content Streaming";
- testBinary = "player";
+ testBinary = "Video player";
testGoal = "Verify various forms of video streaming.";
- testPreconditions = "";
+ testPreconditions = "For now you need to eddit the .qml file and hardcode the following URI: http://chaos.troll.no/~tavestbo/webkit/mediaelement/transformers640.ogg";
testGroups = "BAT";
// Test steps
@@ -185,85 +181,13 @@ Ensure an active SIM card is available on the device. As some video streaming te
| *Step* | *Verification* |
| Launch " + testBinary + " | App launches normally |
- | In player application, Select or Tap [Open] | |
- | In [Open File] navigate and highlight test (streaming) playlist file | |
- | Select or Tap on selected file to return to player UI | Verify selected file has populated playlist |
- | Highlight file in playlist by selecting or clicking it | |
- | Select [Play] | Verify that stream is playing on device |
+ | In Video player application, Select or Tap Play | Verify that the video stream plays in the application |
| Select [Pause] | Verify that stream is paused on device |
| | Verify that the [Pause] button has changed to a [Play] button |
| Select [Play] again | Verify that stream is playing on device |
| Select [Stop] | |
- | Open local mp3 file in to play list and select it to play | Verify that the mp3 plays while the stream name is still present in the playlist |
- | Re-select the stream in the playlist | Verify that the stream starts playing again |
- | Select [Next File] | Verify that the player started playing the next file in the playlist |
- | Select [Previous File] | Verify that the original stream is playing again |
| During stream playback, have headphones connected to device | Verify that the sound is now playing through the headphones |
| Invoke a system notification on the device (such as an incoming SMS) | Verify that the device correctly transmits the audible system notification through the devices speakers and then returns to playing the stream through the headphones |
"));
},
-
- take_a_video: function()
- {
- // Test meta data
- testApplication = "Multimedia - Video Camera";
- testBinary = "camera";
- testGoal = "Verify that the camera can capture and save an audio/video file.";
- testPreconditions = "";
- testGroups = "BAT";
-
- // Test steps
- prompt(twiki("---+++ " + testApplication + "<br><br>
- *Goal:* " + testGoal + "<br>
- *Pre-Requisites:* " + testPreconditions + "<br>
- *Tested Binary:* " + testBinary + "<br>
-
- | *Step* | *Verification* |
- | Launch " + testBinary + " | App launches normally |
- | If device has lens cover, make sure it is open | |
- | Select Video tab to put camera in video mode | Verify the intended scene is reproduced in the preview/viewfinder |
- | Select Record Video | Verify that video is shown on screen for preview |
- | Select Pause | Verify that the Recorded counter has stopped |
- | Select Record again | Verify that the Recorded counter has continued counting |
- | Select Stop | Verify that the recording has now stopped |
- | | Verify that a new file is in the Images folder and accessabble with the player |
- | Select given video | Verify that it is a true representation of the intended sceen |
- | | Verify that the Pause in the recording has happened and that recording continued without an issue after that |
- | | Verify the image has no unintended artifacts and noise and is properly formatted |
- "));
- },
-
- change_video_settings: function()
- {
- // Test meta data
- testApplication = "Multimedia - Video Camera";
- testBinary = "camera";
- testGoal = "Verify that the camera can change its Video settings successfully.";
- testPreconditions = "";
- testGroups = "BAT";
-
- // Test steps
- prompt(twiki("---+++ " + testApplication + "<br><br>
- *Goal:* " + testGoal + "<br>
- *Pre-Requisites:* " + testPreconditions + "<br>
- *Tested Binary:* " + testBinary + "<br>
-
- | *Step* | *Verification* |
- | Launch " + testBinary + " | App launches normally |
- | If device has lens cover, make sure it is open | |
- | Select Video tab to put camera in video mode | Verify the intended scene is reproduced in the preview/viewfinder |
- | In the Menu Bar, select Settings/Devices | Verify that you can select Primay and Secondary Camera on Device |
- | Select Secondary Camera | Verify that devise is now showing video stram from Front Facing camera |
- | Select Settings/File/Settings | Verify that you now have otion to select Audio Codecs, Resolution Sample Rate, Framerate, Quality, Video Codecs and Container Format |
- | Change Audio Codecs to another supported Codecs | Verify that camera can record |
- | Change Resolutiuon to another supported Resolution | Verify that camera can record |
- | Change Sample Rate to another supported Sample Rate | Verify that camera can record |
- | Change Framerate to another supported Framerate | Verify that camera can record |
- | Change Quality | Verify that camera can record |
- | Change Video Codecs to another supported Video Codecs | Verify that camera can record |
- | Change Container Format | Verify that camera can record |
- | Change Quality | Verify that camera can record |
- "));
- },
-
}