|
Yahoo! Random Search
The following are basic examples of how to use eVgen with eValid to generate test data. Create a new eValid script and add the following command, to run 50 times:
# Recording by eValid V9
# (c) Copyright 2000-2012 by Software Research, Inc.
#
ProjectID "Project"
GroupID "Group"
TestID "random"
LogID "AUTO"
# eVgenSeq "out.evt" "values.data" 50
# The above "sequential selection" command is replaced with the Random option...
eVgenRand "out.evt" "values.data" 50
# End of script.
# Recording by eValid V9
# (c) Copyright 2000-2012 by Software Research, Inc.
#
ProjectID "Project"
GroupID "Group"
TestID "out"
LogID "AUTO"
InitLink "http://www.yahoo.com/"
Wait 4035
InputValue 0 112 "TEXT" "p" "p" "{% test1} {% test2} {% test3} {% test4}" "" ""
SubmitClick 0 114 "searchsubmit" "" "Web Search" ""
Wait 20000
FollowLink 0 102 "Yahoo!" "http://www.yahoo.com/" ""
# End of script.
# As an example, if the supplied data file "values.data" contained the following:
#
test1 phone email address fax cell
test2 box square circle triangle point
test3 paper memo card ink notepad
test4 board screen poster monitor panel
Invoking eValid From Batch/Command Line
The eValid equivalent command line invocation, for usage in scheduled task repetitions, is the following:
evalid -b random.evs