|
Summary
This page outlines the procedure in eValid to make a recording that
reliably plays back a file upload.
Explanation
For example, from Yahoo Mail we can attach a file/image into an @yahoo.com email account.
# # Recording by eValid(TM) # Copyright © 2000-2008 by Software Research, Inc. # Recording made on: Microsoft Windows 2000 (IE 6.0.2800.1106) # ProjectID "Temp" GroupID "mgrtest" TestID "upload" LogID "AUTO" ScreenSize 1280 1024 FontSize 3 DeleteCache DeleteCookies InitLink "http://www.yahoo.com/" Wait 3069 ######Step 1: GotoLink 0 "http://mail.yahoo.com/" "" Wait 5089 InputValue 0 74 "TEXT" "login" "evalidbrowser" "" "" Wait 5319 InputValue 0 79 "TEXT" "passwd" "«¤éŒá–…»" "" "" Wait 5672 SubmitClick 0 84 "" "Sign In" "" NAV Wait 7806 ######Step 2: ElementMouseOver 0 157 "inbox" "Inbox (50) " "" ElementMouseOut 0 157 "inbox" "Inbox (50) " "" ElementMouseOver 0 158 "" "Inbox (50)" "" Wait 8932 ######Step 3: ButtonClick 0 117 "" "Compose" "" NAV Wait 7722 ######Step 4: ElementClick 0 214 "tofield" "" "" Wait 6890 InputValue 0 214 "TEXTAREA" "To" "evalidbrowser@yahoo.com" "" "" Wait 1402 InputValue 0 229 "TEXT" "Subj" "test" "" "" Wait 3024 InputValue 0 250 "TEXTAREA" "Body" "hello....." "" "" EnterKey 0 250 "bodyfield" "" Wait 2994 ButtonClick 0 240 "" "Attach Files" "" NAV Wait 9975 ######Step 5: WindowPos 0 9 4 960 710 clLClick 0 295 264 0 ModalDialogWait 4407 ModalDialogText "C:\\Temp\\message.txt" ModalDialogWait 3733 ModalDialogTab 0 0 ModalDialogWait 2293 ModalDialogTab 0 0 ModalDialogWait 5267 ModalDialogEnter 0 Wait 4220 ElementMouseOver 0 92 "" "Notepad " "" ElementMouseOut 0 92 "" "Notepad " "" ElementMouseOver 0 86 "" "Calendar | " "" ElementMouseOut 0 86 "" "Calendar | " "" ElementMouseOver 0 87 "" "Calendar" "" Wait 150 ElementMouseOut 0 87 "" "Calendar" "" ElementMouseOver 0 86 "" "Calendar | " "" ElementMouseOut 0 86 "" "Calendar | " "" ElementMouseOver 0 81 "" "Addresses" "" ElementMouseOut 0 81 "" "Addresses" "" Wait 851 ######Step 6: ButtonClick 0 155 "" "Attach Files" "" NAV Wait 6906 ######Step 7: ButtonClick 0 155 "" "Continue to Message" "" NAV Wait 6980 ######Step 8: ButtonClick 0 154 "" "Send" "" NAV Wait 4707 ElementMouseOut 0 84 "" "Mail" "" ElementMouseOver 0 83 "" "Mail | " "" ElementMouseOut 0 83 "" "Mail | " "" Wait 1482 ######Step 9: ButtonClick 0 117 "" "Check Mail" "" NAV Wait 5718 ElementMouseOver 0 83 "" "Mail" "" ElementMouseOut 0 83 "" "Mail" "" ElementMouseOver 0 82 "" "Mail | " "" ElementMouseOut 0 82 "" "Mail | " "" Wait 1222 ButtonClick 0 116 "" "Check Mail" "" NAV Wait 5067 FollowLink 0 57 "Sign Out" "http://us.ard.yahoo.com/SIG=12hgqb10n/M=289534.5473431.6553392.5" \ "333790/D=mail/S=150500152:HEADR/Y=YAHOO/EXP=1138753667/A=2378664" \ "/R=4/SIG=133erplvs/*http://login.yahoo.com/config/login?logout=1" \ "&.done=http://mail.yahoo.com/&.src=ym&.lg=us&.intl=us" "" # End of script. |