I was trying to get the eV.Generate to work but for some reason when I try to run the .evs file, it gets overwritten with a corrupted version of the assigned .evt file. The script does not successfully run and cannot even find the init URL due to the syntax errors that now exist on lines 21 and 24.
Can somebody tell me what I am doing wrong? Here is the text of the appropriate files...
.evs file
- Code: Select all
#
# Recording by eValid(tm) V9 Build #303, Build Date: (Jul 16 2010)
# Copyright (c) 2010 by Software Research, Inc.
# Recording made on: Microsoft Windows XP Service Pack 1 (IE 6.0.2800.1106)
, HostName "qa-vm1"
# Recording started at: <2010/12/08 15:10:36>
#
ProjectID "Project"
GroupID "Group"
TestID "TEST_Create_New_Indiv_Acct"
LogID "AUTO"
ScreenSize 1280 1024
FontSize 2
DeleteCache
DeleteCookies
# eVgenSeq "TEST_Create_New_Indiv_Acct.evt" "values.data" 1
# The above "sequential selection" command is replaced with the Random opti=
on...
eVgenRand "TEST_Create_New_Indiv_Acct.evt" "values.data" 1
# End of script.
.evt file
- Code: Select all
#
# Recording by eValid(tm) V9 Build #303, Build Date: (Jul 16 2010)
# Copyright (c) 2010 by Software Research, Inc.
# Recording made on: Microsoft Windows XP Service Pack 1 (IE 6.0.2800.1106)
, HostName "qa-vm1"
# Recording started at: <2010/12/08 15:10:36>
#
ProjectID "Project"
GroupID "Group"
TestID "TEST_Create_New_Indiv_Acct.evt"
LogID "AUTO"
ScreenSize 1280 1024
FontSize 2
DeleteCache
DeleteCookies
EnvironmentVariableFile "eVenue_Variables.txt"=20
InitLink "http://qaload.pac.com/cgi-bin/ncommerce3/EVExecMacro?linkID=3DBa"=
\
"zookaUT-A693-LFTX&evm=3Dmain"
SyncOnText 0 "Buy Tickets" ""
ValidateSelectedObjProperty 0 183 "innerHTML" "Buy Tickets" "innerText" "" =
\
"Buy Tickets" ""
FollowLink 0 127 "" "http://qaload.pac.com/cgi-bin/ncommerce3/EVExecMacro?l=
inkID=3DBazookaUT-A6" \
"93-LFTX&evm=3Dmyac&entry=3Dmain.html&url=3Dhttps%3A//qaload.pac.com/cgi-b=
in/nc" \
"ommerce3/EVExecMacro%3FlinkID%3DBazookaUT-A693-LFTX%26evm%3Dmain" ""
Wait 1000
FollowLink 0 259 "New Customer" "javascript:goOn('REGISTER');" ""
Wait 1000
InputValue 0 242 "TEXT" "" "email" "{% test1}" "" ""
InputValue 0 246 "TEXT" "" "cemail" "$ConfirmEmail" "" ""
InputValue 0 260 "TEXT" "" "password" "12345" "" ""
InputValue 0 265 "TEXT" "" "passwordver" "12345" "" ""
InputValue 0 274 "TEXT" "" "firstName" "Jason" "" ""
InputValue 0 277 "TEXT" "" "lastName" "Evalid" "" ""
SubmitClick 0 528 "" "submitForm" "Next Step" "" NAV
Wait 1000
ButtonClick 0 364 "" "No" "No" "" NAV
Wait 1000
InputValue 0 260 "TEXT" "" "password" "12345" "" ""
InputValue 0 265 "TEXT" "" "passwordver" "12345" "" ""
SubmitClick 0 528 "" "submitForm" "Next Step" "" NAV
Wait 1000
ButtonClick 0 363 "" "Yes" "Yes" "" NAV
Wait 1000
ValidateSelectedText 0 168 0 "Welcome Jason Evalid!" ""
# Recording stopped at: <2010/12/08 15:15:20>
.evs file is overwritten with this...
- Code: Select all
#
# Recording by eValid(tm) V9 Build #303, Build Date: (Jul 16 2010)
# Copyright (c) 2010 by Software Research, Inc.
# Recording made on: Microsoft Windows XP Service Pack 1 (IE 6.0.2800.1106)=
, HostName "qa-vm1"
# Recording started at: <2010/12/08 15:10:36>
#
ProjectID "Project"
GroupID "Group"
TestID "TEST_Create_New_Indiv_Acct.evt"
LogID "AUTO"
ScreenSize 1280 1024
FontSize 2
DeleteCache
DeleteCookies
EnvironmentVariableFile "eVenue_Variables.txt"=20
InitLink "http://qaload.pac.com/cgi-bin/ncommerce3/EVExecMacro?linkID=3DBa"=
"zookaUT-A693-LFTX&evm=3Dmain"
SyncOnText 0 "Buy Tickets" ""
ValidateSelectedObjProperty 0 183 "innerHTML" "Buy Tickets" "innerText" "" =
"Buy Tickets" ""
FollowLink 0 127 "" "http://qaload.pac.com/cgi-bin/ncommerce3/EVExecMacro?l=
inkID=3DBazookaUT-A6" "93-LFTX&evm=3Dmyac&entry=3Dmain.html&url=3Dhttps%3A=
//qaload.pac.com/cgi-bin/nc" "ommerce3/EVExecMacro%3FlinkID%3DBazookaUT-A6=
93-LFTX%26evm%3Dmain" ""
Wait 1000
FollowLink 0 259 "New Customer" "javascript:goOn('REGISTER');" ""
Wait 1000
InputValue 0 242 "TEXT" "" "email" "Random1@qa.com" "" ""
InputValue 0 246 "TEXT" "" "cemail" "$ConfirmEmail" "" ""
InputValue 0 260 "TEXT" "" "password" "12345" "" ""
InputValue 0 265 "TEXT" "" "passwordver" "12345" "" ""
InputValue 0 274 "TEXT" "" "firstName" "Jason" "" ""
InputValue 0 277 "TEXT" "" "lastName" "Evalid" "" ""
SubmitClick 0 528 "" "submitForm" "Next Step" "" NAV
Wait 1000
ButtonClick 0 364 "" "No" "No" "" NAV
Wait 1000
InputValue 0 260 "TEXT" "" "password" "12345" "" ""
InputValue 0 265 "TEXT" "" "passwordver" "12345" "" ""
SubmitClick 0 528 "" "submitForm" "Next Step" "" NAV
Wait 1000
ButtonClick 0 363 "" "Yes" "Yes" "" NAV
Wait 1000
ValidateSelectedText 0 168 0 "Welcome Jason Evalid!" ""
# Recording stopped at: <2010/12/08 15:15:20>
Values.data
# Parameterized values
test1 Random1@qa.com
test2 Random2@qa.com
test3 Random3@qa.com
test4 Random4@qa.com
eVenue_Variables.txt
# Environment Variables for eVenue eValid scripts
$Email=3DAutoTest1@qa.com
$ConfirmEmail=3DAutoTest1@qa.com