|
Summary
This page outlines some procedures in eValid that can be applied to achieve a
reliable recording when testing functionalities within a chat application/environment.
Assumptions
All initiating requirements satisfied so that you can simply join an existing chat session.
Explanation
For example, you can go to IBM's demonstration website where there is a Lotus SameTime Connect client application and join.
# # Recording by eValid(TM) # Copyright 2000-2012 by Software Research, Inc. # Recording made on: Microsoft Windows XP Service Pack 2 (IE 6.0.2900.2180) # ProjectID "Project" GroupID "Group" TestID "chat" LogID "AUTO" ScreenSize 1152 864 FontSize 2 DeleteCache DeleteCookies ######Step 1: InitLink "http://stdemo3.dfw.ibm.com/welcome.nsf?open" Wait 8432 ######Step 2: FollowLink 0 231 "Start the connect client in your browser" \ "http://stdemo3.dfw.ibm.com/stsrc.nsf/WebConnectLaunch?OpenForm" "" SubFrameSet 1 "about:blank" WaitRedirect 0 "http://stdemo3.dfw.ibm.com/welcome.nsf?open" "" WaitRedirect 1 "http://stdemo3.dfw.ibm.com/stsrc.nsf/WebConnectJoin?Open" \ "Form&install_state=2&vmvendor=sun" "" Wait 12698 ######Step 3: DWindowSet 2 "Log On to Sametime" 396 275 360 315 Wait 7170 ######Step 4: KeyText 2 "eV User1" KeySys 2 9 0 1 Wait 2774 KeyText 2 "evalid" KeySys 2 9 0 1 Wait 651 KeySys 2 9 0 1 Wait 561 KeySys 2 9 0 1 ######Step 5: Manually edited in extrinsic commands for ModalDialog actions... ModalDialogTab 1 0 ModalDialogTab 1 0 ModalDialogEnter 1 ######Step 6: Wait 2944 KeySys 2 13 0 1 Wait 2674 WindowClose 2 Wait 17535 DWindowSet 3 "My Available Tools" 118 247 300 160 Wait 3175 KeySys 3 9 0 1 Wait 881 KeySys 3 9 0 1 Wait 1352 KeySys 3 9 0 1 ######Step 7: # Application Mode ON Wait 19888 WindowPos 1 110 145 327 518 xyLClick 1 279 357 0 Wait 29964 xyLClick 1 219 404 0 Wait 3144 xyLClick 1 202 272 0 xyLClick 1 202 272 0 # Application Mode OFF Wait 16023 ######Step 8: DWindowSet 4 "Send Message" 730 24 398 200 Wait 5278 KeyText 4 "hello" KeySys 4 9 0 1 Wait 16934 xyLClick 4 971 36 0 Wait 1272 xyLClick 4 997 165 0 Wait 3515 WindowPos 4 730 24 398 286 xyLClick 4 785 209 0 Wait 7401 KeyText 4 "what are you up to?" KeySys 4 9 0 1 Wait 1752 xyLClick 4 855 254 0 ######Step 9: Wait 5488 KeyText 4 "grrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr" \ "rrrrrrrrrrrrrrrrrrrrrrrrrrr" KeySys 4 9 0 1 Wait 1552 xyLClick 4 837 252 0 Wait 11888 xyLClick 4 1052 252 0 Wait 5758 ######Step 10: # Application Mode ON Wait 17886 WindowPos 1 110 145 327 518 xyLClick 1 137 208 0 Wait 5898 #NOTE: manually edited out the NAV parameter to eliminate playback dislikes. #xyLClick 1 152 515 0 NAV (see below) xyLClick 1 152 515 0 Wait 1392 WindowClose 1 WindowClose 3 Wait 3104 # End of script. |