Hi Karanth,
Recording will generate a script that works on co-ordinates of the application. None of the objects will be captured.
This is how the script will look:
___________________________________________________________
__________________________________________________________
From my experience, this is a bad way of scripting.
Recording will generate a script that works on co-ordinates of the application. None of the objects will be captured.
This is how the script will look:
___________________________________________________________
Code:
SystemUtil.Run "mstsc","","C:\Documents and Settings\dpqasmg",""
Dialog("Remote Desktop Connection").WinButton("Connect").Click
Wait 5
Window("Remote Desktop").WinObject("Input Capture Window").Type "test123"
Window("Remote Desktop").WinObject("Input Capture Window").Type micReturn
Wait 15
Window("Remote Desktop").WinObject("Input Capture Window").Click 9,944
Window("Remote Desktop").WinObject("Input Capture Window").Click 118,913
Window("Remote Desktop").WinObject("Input Capture Window").Click 629,421
Dialog("Remote Desktop Connection").WinButton("Close").Click
From my experience, this is a bad way of scripting.