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-2012 by Software Research, Inc.

eValid -- Example eValid Scripts -- Visual Performance and Multiple Playback AUTOPLAY Script
Go Back To Sample Script Catalog
eValid Home

Description of Script
This AUTOPLAY script illustrates eValid Visual Performance and Multiple Playback steps.

Script Playback
The script shown in the table below is can be copied and pasted into the Script Dialog for playback by eValid:

  1. Left click drag from the top line to the bottom line of the script.
  2. Right click Copy to capture the script.
  3. Open the eValid Script Window with eValid: Window > Script Window.
  4. Create a new script with File > New.
  5. Delete the existing text that eValid automatically inserts in the new script window.
  6. Right Click Paste to insert the saved script in the Script Window.
  7. Perform any necessary edits, e.g. to remove duplicated InitLink or other unwanted commands.
  8. Click File > Save As to save the script in the filename of your choice, in the test Group of your choice, and in the test Project of your choice.

Important Note: This script is an example and may not work with your environment or setup. You may need to re-record a similar script to get correct resultes.

Example Script
# AUTOPLAY9=>:uj-hm}r,
# 
# eValid AutoPlay Script.
# (c) Copyright 2000-2012 by Software Research, Inc. 
# 

ProjectID "Demos"
GroupID "07-16-03"
TestID "11"
LogID "AUTO"

#Set PlayValues
PlayValue _PC 20000
PlayValue _PM 1.0
PlayValue _PT 80000

# Check screensize and adjust font
ScreenSize 1024 768
FontSize 1

# Reposition Screen to upper right corner
#
WindowPos 0 270 0 753 696

# MessageWindow "MESSAGE" [seconds [x y w h]] - display MESSAGE in a new browser window
MessageWindow "<LINK REL="stylesheet" type="text/css" " \
	"href="http://www.e-valid.com/Parts/newevalid.css">" \
	"<TABLE CELLSPACING=0 CELLPADDING=10 BGCOLOR=lightyellow " \
	"WIDTH=220 BORDER=1><TR><TD VALIGN=TOP>" \
	"<IMG SRC="http://www.e-valid.com/Images/eV_white_top_30x25.gif" " \
	"ALIGN=LEFT WIDTH=30 HEIGHT=25>eValid helps improve user's " \
	"experience of websites by optimizing pages so they are " \
	"fast loading and efficient.<P>eValid can do this easily " \
	"and accurately because, as a browser, the timing data " \
	"eValid collects is 100% real.  <P>eValid reports the " \
	"results about download times the same way your users " \
	"experience them.<P>You get accurate, clear results for " \
	"<b>immediate improvements in your website performance</b>." \
	"</TD></TR></TABLE>" \
	"" 0 1 2 269 392

# MessageBox "MESSAGE" - display MESSAGE in a modal pop-up
MessageBox "Welcome to eValid. You are about to view a playback " \
	"with regard to the Visual Performance feature of eValid."
Wait 2000

MessageWindow "<LINK REL="stylesheet" type="text/css" " \
	"href="http://www.e-valid.com/Parts/newevalid.css">" \
	"<TABLE CELLSPACING=0 CELLPADDING=10 BGCOLOR=lightyellow " \
	"WIDTH=220 BORDER=1><TR><TD VALIGN=TOP>" \
	"<IMG SRC="http://www.e-valid.com/Images/eV_white_top_30x25.gif" " \
	"ALIGN=LEFT WIDTH=30 HEIGHT=25>Tuning a page involves a " \
	"few simple steps.<P>Start by typing the URL of the page " \
	"you want to analyze, in eValid's address bar.<P>Choose " \
	"a page that you suspect is a problem, or the page with " \
	"the most images or graphical components." \
	"</TD></TR></TABLE>" \
	"" 0 1 2 269 290

Wait 2500
GotoLink 0 "http://www.microsoft.com/" ""
Wait 3000

MessageWindow "<LINK REL="stylesheet" type="text/css" " \
	"href="http://www.e-valid.com/Parts/newevalid.css">" \
	"<TABLE CELLSPACING=0 CELLPADDING=10 BGCOLOR=lightyellow" \
	" WIDTH=220 BORDER=1><TR><TD VALIGN=TOP>" \
	"<IMG SRC="http://www.e-valid.com/Images/eV_white_top_30x25.gif" " \
	"ALIGN=LEFT WIDTH=30 HEIGHT=25>We begin recording by " \
	"clicking on eValid's toolbar: <p><b> Record > Start " \
	"Recording</b></P> <p>Then click:<p><b> Record > Timer > " \
	"Read Timer</b></p> <p>So the elapsed time will " \
	"read into the event log." \
	"</p></TD></TR></TABLE>" \
	"" 0 1 2 269 392
Wait 3500

GotoLink 0 "http://www.e-valid.com/Products/Demos.9/AutoPlay/Demo4/page.tuning.script.start.recording.gif" ""
Wait 3000

GotoLink 0 "http://www.e-valid.com/Products/Demos.9/AutoPlay/Demo4/page.tuning.script.timer.gif" ""
Wait 3000

MessageWindow "<LINK REL="stylesheet" type="text/css" " \
	"href="http://www.e-valid.com/Parts/newevalid.css">" \
	"<TABLE CELLSPACING=0 CELLPADDING=10 BGCOLOR=lightyellow " \
	"WIDTH=220 BORDER=1><TR><TD VALIGN=TOP>" \
	"<IMG SRC="http://www.e-valid.com/Images/eV_white_top_30x25.gif" " \
	"ALIGN=LEFT WIDTH=30 HEIGHT=25>Once you have completed " \
	"recording click <b>Record > Stop Recording </b>on the " \
	"toolbar.<p>Here is how the script appears, ready to " \
	"be run. </TD></TR></TABLE>" \
	"" 0 1 2 269 288

GotoLink 0 "http://www.e-valid.com/Products/Demos.9/AutoPlay/Demo4/page.tuning.script.stop.recording.gif" ""
Wait 3500

GotoLink 0 "http://www.e-valid.com/Products/Demos.9/AutoPlay/Demo4/page.tuning.script.jpg" ""
Wait 2500

MessageWindow "<LINK REL="stylesheet" type="text/css" " \
	"href="http://www.e-valid.com/Parts/newevalid.css">" \
	"<TABLE CELLSPACING=0 CELLPADDING=10 BGCOLOR=lightyellow " \
	"WIDTH=220 BORDER=1><TR><TD VALIGN=TOP>" \
	"<IMG SRC="http://www.e-valid.com/Images/eV_white_top_30x25.gif" " \
	"ALIGN=LEFT WIDTH=30 HEIGHT=25>To get accurate timing " \
	"data we recommend repeating the page retrieval at " \
	"least 10 times.<P>This will make it possible to " \
	"average out Web latencies in your web pages " \
	"download times.<P>This is achieved through multiple " \
	"playbacks click:<p> <b>Settings > Record/Play " \
	"Preferences</b> <p>Set the <b>Multiple Playback n " \
	"value</b> to <b>10</b>. " \
	"</TD></TR></TABLE>" \
	"" 0 1 2 269 380

GotoLink 0 "http://www.e-valid.com/Products/Demos.9/AutoPlay/Demo4/pagetuning.pprefer.livedemo.gif" ""
Wait 3000
GotoLink 0 "http://www.e-valid.com/Products/Demos.9/AutoPlay/Demo4/page.turning.playback.settings.gif" ""
Wait 3000

MessageWindow "<LINK REL="stylesheet" type="text/css" " \
	"href="http://www.e-valid.com/Parts/newevalid.css">" \
	"<TABLE CELLSPACING=0 CELLPADDING=10 BGCOLOR=lightyellow " \
	"WIDTH=220 BORDER=1><TR><TD VALIGN=TOP>" \
	"<IMG SRC="http://www.e-valid.com/Images/eV_white_top_30x25.gif" " \
	"ALIGN=LEFT WIDTH=30 HEIGHT=25>To obtain the complete " \
	"picture for this page you also want to select: " \
	"<b>Project/Log Management</b><UL><LI>Turn on " \
	"detailed timings.<LI>Ask for the Performance " \
	"Log.<LI>Append to Logs.<LI>Never Use Cache.</UL>" \
	"Now, simply play back the test.</TD></TR></TABLE>" \
	"" 0 1 2 269 329

Wait 3000
GotoLink 0 "http://www.e-valid.com/Products/Demos.9/AutoPlay/Demo4/page.tuning.setting.jpg" ""
Wait 3000
GotoLink 0 "http://www.e-valid.com/Products/Demos.9/AutoPlay/Demo4/cache.manager.jpg" ""
Wait 3000

MessageWindow "<LINK REL="stylesheet" type="text/css" " \
	"href="http://www.e-valid.com/Parts/newevalid.css">" \
	"<TABLE CELLSPACING=0 CELLPADDING=10 BGCOLOR=lightyellow " \
	"WIDTH=220 BORDER=1><TR><TD VALIGN=TOP>" \
	"<IMG SRC="http://www.e-valid.com/Images/eV_white_top_30x25.gif" " \
	"ALIGN=LEFT WIDTH=30 HEIGHT=25>To start runing the multiple " \
	"playbacks, select:<p><b>Playback > Control " \
	"Playback > Run Multiple</b>.</TD></TR></TABLE>" \
	"" 0 1 2 269 329

GotoLink 0 "http://www.e-valid.com/Products/Demos.9/AutoPlay/Demo4/pagetuning.livedemo.gif" ""
Wait 3000

#Wait 2000
#GotoLink 0 "http://www.e-valid.com/Products/Demos.9/AutoPlay/Demo4/pagetuning.playback.livedemo.gif" ""
Wait 3000
GotoLink 0 "http://www.e-valid.com/Products/Demos.9/AutoPlay/Demo4/playback.summary.jpg" ""
Wait 3000

MessageWindow "<LINK REL="stylesheet" type="text/css" " \
	"href="http://www.e-valid.com/Parts/newevalid.css">" \
	"<TABLE CELLSPACING=0 CELLPADDING=10 BGCOLOR=lightyellow " \
	"WIDTH=220 BORDER=1><TR><TD VALIGN=TOP>" \
	"<IMG SRC="http://www.e-valid.com/Images/eV_white_top_30x25.gif" " \
	"ALIGN=LEFT WIDTH=30 HEIGHT=25>At the end of the " \
	"playback, click <b>View Selections</b> to find:" \
	"<UL><LI>Playback timing logs.<LI>Charts based on " \
	"the logs.<LI>The playback report summary (shown)." \
	"</UL>Now, let's take a look at the Performance " \
	"Chart.</TD></TR></TABLE>" \
	"" 0 1 2 269 315
GotoLink 0 "http://www.e-valid.com/Products/Demos.9/AutoPlay/Demo4/eVPerformance.html" ""
Wait 3000

MessageWindow "<LINK REL="stylesheet" type="text/css" " \
	"href="http://www.e-valid.com/Parts/newevalid.css">" \
	"<TABLE CELLSPACING=0 CELLPADDING=10 BGCOLOR=lightyellow " \
	"WIDTH=220 BORDER=1><TR><TD VALIGN=TOP>" \
	"<IMG SRC="http://www.e-valid.com/Images/eV_white_top_30x25.gif" " \
	"ALIGN=LEFT WIDTH=30 HEIGHT=25>Each vertical bar " \
	"represents one complete download of the page you " \
	"are analyzing.<P>As you move the cursor over each " \
	"section you find the name of the component.<P>Look " \
	"for individual components that consistently take a " \
	"<b>long time</b>:<P>Bar 3, 11, 19, 21 point to the " \
	"same components that need optimization. " \
	"</TD></TR></TABLE>" \
	"" 0 1 2 269 366
Wait 1000

xyMouseOver 0 589 664
Wait 2000
xyMouseOver 0 666 559
Wait 2000
xyMouseOver 0 667 553
Wait 2000
xyMouseOver 0 667 517
Wait 2000
xyMouseOver 0 667 502
Wait 2000
xyMouseOver 0 669 490

Wait 3000
GotoLink 0 "http://www.e-valid.com/Products/Demos.9/AutoPlay/Demo4/pagetuning.detailschart.livedemo.gif" ""
Wait 3000

# MessageWindow "MESSAGE" [seconds [x y w h]] - display MESSAGE in a new browser window
MessageWindow "<LINK REL="stylesheet" type="text/css" " \
	"href="http://www.e-valid.com/Parts/newevalid.css">" \
	"<TABLE CELLSPACING=0 CELLPADDING=10 BGCOLOR=lightyellow " \
	"WIDTH=220 BORDER=1><TR><TD VALIGN=TOP>" \
	"<IMG SRC="http://www.e-valid.com/Images/eV_white_top_30x25.gif" " \
	"ALIGN=LEFT WIDTH=30 HEIGHT=25>eValid gives you " \
	"a unique level of detail in evaluating the " \
	"properties of a page.<p>You can identify which " \
	"elements on this page need to be trimmed to " \
	"improve overall performance.<P>Count on eValid " \
	"to give you Real Data, in Real Time, for immediate " \
	"results.<p>For more details, run the <b>Page Tuning " \
	"Tutorial</b> below.</TD></TR></TABLE>" \
	"" 0 1 2 269 366

Wait 5000
GotoLink 0 "http://www.e-valid.com/Products/Demos.9/AutoPlay/Demo4/end.html" ""
Delay 3000

# End Recording

Additional Notes
The scripts eValid creates use one command per line. In the script example shown some long lines have been folded for readability. The line foldings used are respected by eValid.