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

eValid -- Example eValid Scripts -- Navigation AUTOPLAY Script
Go Back To Sample Script Catalog
eValid Home

Description of Script
This AUTOPLAY script illustrates basic eValid navigation 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.

Your script is now ready to play back with eValid.

Example Script
# AUTOPLAY4=<:uj-as{o(
# eValid AutoDemo: Navigate Demonstration Script
#
# Recording by eValid V8
# (c) Copyright 2000-2010 by Software Research, Inc. 
# Recording made on: Microsoft Windows 2000 
#
# Demonstrates eValid navigation activity.

ProjectID "Project"
GroupID "Group"
TestID "456"
LogID "AUTO"

# Navigate to a popular Website...

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

ScreenSize 1280 1024
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>This script plays back a basic " \
	"<font color=green><b>navigation</b></font> test. " \
	"<p> eValid <b>is a browser</b> and makes " \
	"WebSite navigation easy. <p><b>Type a link directly " \
	"into the address bar</b>." \
	"</TD></TR></TABLE>" \
	"" 0 1 2 269 392
Wait 3000

# InitLink "http://www.e-valid.com/Products/License/toppage.5.eval.html"
GotoLink 0 "http://www.e-valid.com/Products/Demos.5/images/navigate.ev.gif" ""

Wait 3000
GotoLink 0 "http://www.e-valid.com/Products/Demos.5/images/navigate.google.script.gif" ""
Wait 3000

GotoLink 0 "http://www.google.com/" ""
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'll now click the " \
	"<font color=green><b>Jobs, Press, & Help</b></font> " \
	"link on the Google Webpage." \ 
	"</TD></TR></TABLE>" \
	"" 0 1 2 269 292
Wait 4000

GotoLink 0 "http://www.google.com/about.html" "" 
Wait 4000

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>The recording on " \
	"how we got to this page was made by turning on eValid's " \
	"<b>Record</b> engine. <p>Simply click: " \ 
	"<b>Record > Start Recording</b> on eValid's toolbar, " \
	"before you start browsing a WebSite." \ 
	"</TD></TR></TABLE>" \
	"" 0 1 2 269 392
Wait 4000

# Clicked a link on the Webpage..

# Selected to automatically close annoying pop-up window...

GotoLink 0 "http://www.cnn.com/" ""

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>No matter what kind of " \
	"<font color=green>e-commerce</font> " \ 
	"WebSite you're <b>Testing</b>: News, Cooking..." \ 
	"</TD></TR></TABLE>" \
	"" 0 1 2 269 292
Wait 4000

# E-commerce sites - cooking?...

GotoLink 0 "http://www.cooking.com/" ""

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 has a " \
	"<b>built-in test</b> engine. It can manipulate its " \
	"environment. <p>To automatically close a " \
	"<b>pop-up</b> window during <b>Playback</b> of a script, " \
	"just select <b>Supress New Window</b> " \ 
	"during a <b>recording</b> session." \ 
	"</TD></TR></TABLE>" \
	"" 0 1 2 269 392
Wait 5000

# Sports...

GotoLink 0 "http://www.nba.com/" ""

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>The eValid browser " \
	"enables you to visit and test any WebSite: sports, " \
	"or a media promotion site..." \ 
	"</TD></TR></TABLE>" \
	"" 0 1 2 269 292

Wait 4000

# More popular Websites...

GotoLink 0 "http://www.bn.com/" ""

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>Or a mega-WebSite..." \ 
	"</TD></TR></TABLE>" \
	"" 0 1 2 269 392

Wait 4000
GotoLink 0 "http://www.wired.com/" ""

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>Or a WebSite that is " \
	"just 'technically' <font color=blue>cool....</font>" \
	"</TD></TR></TABLE>" \
	"" 0 1 2 269 392
Wait 4000

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><font color=red>eValid</font> " \
	"makes WebSite <b>navigation</b> and <b>testing</b> as " \
	"simple as a click!<p>The Playback from this navigation " \
	"recording you watched was done with eValid's automatic " \ 
	"synchronization <b>Playback</b> engine, accessible " \
	"form eValid's toolbar.</font>" \ 
	"</TD></TR></TABLE>" \
	"" 0 1 2 269 492
Wait 4000

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 avoid pop-up windows, " \
	"just program it into the eValid browser test engine. " \
	"Click on: <b>Settings > Record/Play Preferences > " \ 
	"Playback</b>. Among other choices, check-mark " \
	"<b>Suppress modal pop-ups</b>. <p>Using eValid as a " \
	"<b>browser</b> and as a <b>QA Tool</b> couldn't be easier!" \ 
	"<p>To learn more about eValid's <b>Testing</b>, <b>QA</b>, " \
	"<b>Loading</b> or <b>Website Analysis</b> capacities, " \
	"please run other <b>Live Playback</b> scripts, " \ 
	"or try the <b>PowerPoint Tutorial</b> scripts below." \ 
	"</TD></TR></TABLE>" \
	"" 0 1 2 269 550

GotoLink 0 "http://www.e-valid.com/Products/Demos.5/images/navigate.play.preferences.gif" ""
Wait 4000

GotoLink 0 "http://www.e-valid.com/Products/Demos.5/images/navigate.settings.gif" ""
Wait 7000

# End of the script.

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.