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.

eVgen Examples - Airline Price Quote
eValid Home

Airlines Price Quote (Random)
The following are basic examples of how to use eVgen with eValid to generate test data. Create a new script with eValid and add the following recording to your script:

This script will serve as your template file in which the field names enclosed in the {} will be substituted from the values file.


# Recording by eValid V9
# (c) Copyright 2012 by Software Research, Inc. 
# Recording made on: Microsoft Windows XP 


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

InitLink "http://www.southwest.com/"

Wait 15141
FollowLink 24 "" "http://www.southwest.com/cgi-bin/requestFares" ""
Wait 28962
InputValue 60 "SELECT-ONE" "outbound_depart_airport" "" "{% depart}" ""
InputValue 120 "SELECT-ONE" "outbound_arrive_airport" "" "{% arrive}" ""
SubmitClick 183 "Display Fares" "" NAV
ValidateSelectedText 142 0 "114.00" ""
ValidateSelectedText 134 0 "172.00" ""
ValidateSelectedText 126 0 "172.00" ""
Wait 69840
SubmitClick 154 "Display Schedule" "" NAV
ValidateSelectedText 638 0 " 886 9:30pm 10:45pm N/S" ""
Wait 69310
SubmitClick 670 "Return Schedule" "" NAV
ValidateSelectedText 45 0 "Southwest Airlines Schedule for Los Angeles to Oakland" ""
ValidateSelectedText 661 1 "1876 10:00pm 11:10pm N/S" ""
Wait 40699


# End of script

Create another script and paste the following :

This script will be used to invoke eVgen and generate the test data using the supplied table and template file from a prior recording which should create another script file called swa.evs from the swa.evt template.


# eValid V9
# (c) Copyright 2012 by Software Research, Inc. 
# Script created manually on: Microsoft Windows XP 


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

eVgenRand  "swa.evt" "swa.data" 

# End of script

Screenshot of output of the test conducted: