Your e-Business Quality Partner eValid™ -- Automated Web Quality Solution
Browser-Based, Client-Side, Functional Testing & Validation,
Load & Performance Tuning, Page Timing, Website Analysis,
and Rich Internet Application Monitoring.
© Copyright 2000-2008 by Software Research, Inc.

eValid -- YouTube Monitoring Script (Example 01)
eValid Home

Main Idea: eValid can monitor searching for, downloading, and delivery of a video object, using certain kinds of synchronization schemes based on observing the behavior of the video player.

Introduction
This page presents a script that can be used to monitor a YouTube Video. To illustrate how this is done we have created a playback script that:

Script Description
Here are the steps involved in the sequence (the actual script is given below).

  1. Creating a Monitoring .evs script for a multimedia website by going to YouTube:

  2. Input a "Search" for a unique Video to monitor Start/Stop Times:

  3. Await your results after clicking on the "Search" link:

  4. Select a unique "START" to synchronize rectangular area (i.e. blank area):

  5. When the video finishes playing select a unique "Stop" synchronize rectangle area (i.e. 02:00/02:00 black box):

  6. A successful playback generates the following GREEN flag:

  7. Sample of Manually inserted "ElapsedTime" markers...

  8. Sample of Video specific "PlayValue" command settings for synchronization effects:

  9. Sample of "Event Log" details on the screen rectangle synchronization:

  10. Sample of "Timing Log" details relating to the Start/Stop timer checks:

  11. Sample of the final Youtube.evs script file, note "SyncOnText" additions:

Script Details
Here is the script used in this illustration.

# Recording by eValid™ V8 
# Copyright © 2008 by Software Research, Inc. 
# Recording made on: Microsoft Windows XP, HostName ""
# Recording started.
# 

ProjectID "Project"
GroupID "Group"
TestID "Youtube"
LogID "DEFAULT"

PlayValue _PI 10
PlayValue _PJ 150000
PlayValue _PV 0

ScreenSize 1280 1024
FontSize 2
DeleteCache
DeleteCookies

InitLink "http://www.youtube.com/"
SyncOnText 0 "Feedback" ""
#Wait 50954
InputValue 0 147 "TEXT" "" "search_query" "Leo Kottke Vaseline Machine G" \
	"un 70ies" "" ""
SubmitClick 0 148 "" "search" "Search" ""
ResetTimer

#Wait 3084
SyncOnText 0 "Machine" ""
FollowLink 0 181 "Leo Kottke - Vaseline Machine Gun" "http://www.youtube.com/watch?v=tew_fIhz3eY" ""


WindowPos 0 0 0 980 724
clSyncRect 0 112 456 42 44 0
ElapsedTime "Start"

#Wait 17024
WindowPos 0 0 0 980 724
clSyncRect 0 282 534 78 29 416565
ElapsedTime "Stop"

# Recording stopped.