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.

eValid -- GWT Kitchen Sink Example Script #3
eValid Home

Summary
Highlight/select the script and then copy/paste this script into an eValid script file. The script is ready to run.

# 
# This script has been confirmed operational on eValid V9 Build #293+.
#
# (c) Copyright 2000-2012 by Software Research, Inc.
# 

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

ScreenSize 1280 1024FontSize 2
DeleteCache
DeleteCookies

PlayValue _PT 120000
PlayValue _PC 30000

InitLink "http://www.google.com"
Wait 100
GotoLink 0 "http://gwt.google.com/samples/KitchenSink/KitchenSink.html#" ""
#Wait 4306
SyncOnText 0 "Firefox" ""
Wait 497
ElementMouseDown 0 35 "" "Text" ""
Wait 410
ElementMouseUp 0 35 "" "Text" ""
FollowLink 0 35 "Text" "#Text" ""

##################
#TYPE and VALIDATE
##################

Wait 466
ElementMouseDown 0 62 "" "" ""
ElementFocus 0 62 "" "" ""
Wait 470
ElementMouseUp 0 62 "" "" ""
Wait 411
ElementMouseDown 0 81 "" "" ""
InputValue 0 62 "TEXT" "" "" "hello" "" ""
ElementBlur 0 62 "" "" ""
ElementFocus 0 81 "" "" ""
Wait 130
ElementMouseUp 0 81 "" "" ""
Wait 3060
ElementMouseDown 0 93 "" "" ""
InputValue 0 81 "TEXT" "" "" "secret" "" ""
ElementBlur 0 81 "" "" ""
ElementFocus 0 93 "" "" ""
Wait 110
ElementMouseUp 0 93 "" "" ""
ElementClick 0 93 58 509 "" "" ""
Wait 4084
InputValue 0 93 "TEXTAREA" "" "" "what is evalid up to?" "" ""
EnterKey 0 93 "" ""
ElementBlur 0 93 "" "what is evalid up to?" ""
ElementFocus 0 3 "" "IntroWidgetsPanelsListsTextPopups\r\n\r\nBasic and Rich" \
	" Text\r\nGWT includes the standard complement of text-entry widgets, each " \
	"of which supports keyboard and selection events you can use to control t" \
	"ext entry. In particular, notice that the selection range for each widge" \
	"t is updated whenever you press a key.\r\nAlso notice the rich-text area t" \
	"o the right. This is supported on all major browsers, and will fall back" \
	" gracefully to the level of functionality supported on each.\r\nNormal tex" \
	"t box:\r\nSelection: 5, 0\r\n\r\n\r\n\r\nPassword text box:\r\nSelection: 6, 0\r\n\r\nTe" \
	"xt area:\r\nwhat is evalid up to?Selection: 21, 0\r\n\r\n\r\n\r\nBackgroundWhiteBl" \
	"ackRedGreenYellowBlueForegroundWhiteBlackRedGreenYellowBlueFontNormalTim" \
	"es New RomanArialCourier NewGeorgiaTrebuchetVerdanaSizeXX-SmallX-SmallSm" \
	"allMediumLargeX-LargeXX-Large" ""
Wait 1912
ElementMouseDown 0 3 "" "" "number:2"
ElementBlur 0 3 "" "IntroWidgetsPanelsListsTextPopups\r\n\r\nBasic and Rich " \
	"Text\r\nGWT includes the standard complement of text-entry widgets, each o" \
	"f which supports keyboard and selection events you can use to control te" \
	"xt entry. In particular, notice that the selection range for each widget" \
	" is updated whenever you press a key.\r\nAlso notice the rich-text area to" \
	" the right. This is supported on all major browsers, and will fall back " \
	"gracefully to the level of functionality supported on each.\r\nNormal text" \
	" box:\r\nSelection: 5, 0\r\n\r\n\r\n\r\nPassword text box:\r\nSelection: 6, 0\r\n\r\nTex" \
	"t area:\r\nwhat is evalid up to?Selection: 21, 0\r\n\r\n\r\n\r\nBackgroundWhiteBla" \
	"ckRedGreenYellowBlueForegroundWhiteBlackRedGreenYellowBlueFontNormalTime" \
	"s New RomanArialCourier NewGeorgiaTrebuchetVerdanaSizeXX-SmallX-SmallSma" \
	"llMediumLargeX-LargeXX-Large" ""
Wait 101
ElementMouseUp 0 3 "" "" "number:2"
ElementClick 0 3 525 393 "" "" "number:2"
# Application Mode ON
Wait 2409
ElementMouseDown 0 3 "" "" "number:2"
Wait 150
ElementMouseUp 0 3 "" "" "number:2"
ElementClick 0 3 455 376 "" "" "number:2"
# # Insert-Recording started at:  <2008/03/14 14:08:27> 
ElementFocus 0 109 "" "" ""
Wait 214
ElementMouseDown 0 111 "" "" ""
Wait 430
ElementMouseUp 0 111 "" "" ""
ElementClick 0 111 438 215 "" "" ""
Wait 430
ElementBlur 0 109 "" "" ""  
Wait 235
#WindowPos 0 0 0 980 671
KeyText 0 "webtesting with eValid is best"
KeySys 0 13 0 1
KeyText 0 "webtesting with eValid is best!"
KeySys 0 13 0 1
#EnterKey 0 3 "" "number:2"
Wait 4006
ElementMouseDown 0 4 "" "webtesting with eValid is best!" "number:2"
Wait 2233
ElementMouseUp 0 4 "" "webtesting with eValid is best!" "number:2"
Wait 781
ElementMouseDown 0 111 "" "" ""
ElementFocus 0 109 "" "" ""
Wait 140
ElementMouseUp 0 111 "" "" ""
ElementClick 0 111 435 307 "" "" ""
ElementBlur 0 109 "" "" ""

#######################
#VALIDATE MODIFIED DATA
#######################
MatchNotString 0 "hello" 0 "number:2"
MatchNotString 0 "is up to?" 0 "number:2" 
MatchString 0 "newname" 0 "number:2"
MatchString 0 "is best!" 0 "number:2"

# Recording stopped at:  <2008/03/14 13:46:39>