|
Description of Script
This AUTOPLAY script illustrates eValid Java Applets steps.
Script Playback
The script shown in the table below is can be copied and pasted into the
Script Dialog for playback by eValid:
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 |
# AUTOPLAY8=)u:uj-ao§a # eValid AutoDemo: Java Applets Demonstration Script # # Recording by eValid V8 # (c) Copyright 2000-2012 by Software Research, Inc. # Recording made on: Microsoft Windows 2000 # ProjectID "Demos" GroupID "Autoplay2" TestID "11" LogID "AUTO" #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 is a short tutorial " \ "on recording Java Applets using <font color=red>" \ "<i>eValid</font> - The Test Enabled Web Browser." \ "</i></TD></TR></TABLE>" \ "" 0 1 2 269 392 InitLink "http://www.e-valid.com/Applications/java.coverage/main.html" Wait 3500 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>Type the URL " \ "inside the applet.<br><br>Remember to have " \ "your advanced recording functions turned on " \ "to be able to record and play back the script properly. " \ "</TD></TR></TABLE>" \ "" 0 1 2 269 392 Wait 3500 AppletMouseClick 0 9 "eVapplet.class" 88 140 "eVapplet" Wait 1000 AppletMouseDown 0 9 "eVapplet.class" 204 56 "eVapplet" Wait 1000 AppletTextEntry 0 9 "eVapplet.class" "http://www.yahoo.com" "eVapplet" Wait 1000 AppletTabStop 0 9 "eVapplet.class" 0 "eVapplet" Wait 3500 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>Click on the " \ "<font color=blue>Accept Button</font> " \ "to load the URL in the applet." \ "</TD></TR></TABLE>" \ "" 0 1 2 269 392 Wait 3500 AppletMouseClick 0 9 "eVapplet.class" 36 136 "eVapplet" Wait 3500 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>Go to the URL you " \ "typed by pressing the <font color=blue>Navigate " \ "</font>button.<br><br>In a few seconds, the " \ "applet on the left frame will load the URL " \ "you just typed in.</TD></TR></TABLE>" \ "" 0 1 2 269 392 Wait 3500 AppletMouseClick 0 9 "eVapplet.class" 247 13 "eVapplet" NAV Wait 3500 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>Let us try " \ "entering a new URL in the applet by first " \ "pressing the <font color=blue>Clear</font> " \ "button to remove the current URL that is " \ "loaded in the applet.</TD></TR></TABLE>" \ "" 0 1 2 269 392 Wait 7500 AppletMouseClick 0 9 "eVapplet.class" 88 140 "eVapplet" 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>Type in a new " \ "page using the applet. <p> eValid synchronizes " \ "your Applet and the URL.</TD></TR></TABLE>" \ "" 0 1 2 269 392 Wait 3500 AppletMouseClick 0 9 "eVapplet.class" 87 58 "eVapplet" Wait 3500 AppletTextEntry 0 9 "eVapplet.class" "http://www.egghead.com" "eVapplet" Wait 3500 AppletMouseClick 0 9 "eVapplet.class" 30 135 "eVapplet" Wait 3500 AppletMouseClick 0 9 "eVapplet.class" 254 12 "eVapplet" NAV Wait 3500 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>Navigate around " \ "the page. <p><li>Recording of this entire " \ "process is done with the Record engine of " \ "eValid.</li> <li>This Playback script runs " \ "from eValid's Playback engine.</li>" \ "</TD></TR></TABLE>" \ "" 0 1 2 269 392 Wait 7500 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>Recording and " \ "playback with <font color=red>eValid</font> " \ "is as simple as 1, 2, 3!" \ "</TD></TR></TABLE>" \ "" 0 1 2 269 392 Wait 1000 AppletMouseClick 0 9 "eVapplet.class" 87 135 "eVapplet" Wait 1000 AppletMouseClick 0 9 "eVapplet.class" 96 57 "eVapplet" Wait 1000 AppletTextEntry 0 9 "eVapplet.class" "http://www.amazon.com" "eVapplet" Wait 1000 AppletMouseClick 0 9 "eVapplet.class" 38 135 "eVapplet" Wait 1000 AppletMouseClick 0 9 "eVapplet.class" 236 18 "eVapplet" NAV 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>Were all Done! We've " \ "just shown you how <font color=red>eValid</font> " \ "easily records and plays back Java Applets!<p>For " \ "more details, run the " \ "<a href="http://www.e-valid.com/Products/Training.5/index.html" " \ "target="_blank"><b>Applet Recording PowerPoint</b></a> " \ "below.<p>To learn more about eValid, please run other " \ "Live Playback scripts, or run the PowerPoint Tutorial " \ "scripts below.</TD></TR></TABLE>" \ "" 0 1 2 269 392 GotoLink 0 "http://www.e-valid.com/Products/Demos.5/playdemo.phtml" "" Wait 5000 # End of 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.