|
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 V8
# (c) Copyright 2000-2008 by Software Research, Inc.
#
ProjectID "Project"
GroupID "Group"
TestID "random"
LogID "AUTO"
#eVgenSeq "out.evt" "values.data" 50
eVgenRand "out.evt" "values.data" 50
# End of script.
# Recording by eValid V8
# (c) Copyright 2000-2008 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

The eValid equivalent command line invokation, for usage in scheduled task repetitions:
evalid -b random.evs