Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question on QTP Support
#5
Solved: 10 Years, 9 Months, 1 Week ago
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:
___________________________________________________________
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.
Reply


Messages In This Thread
Question on QTP Support - by karanth - 03-19-2008, 08:35 AM
RE: Question on QTP Support - by sreekanth - 03-19-2008, 10:44 AM
RE: Question on QTP Support - by lskmuni2000 - 03-19-2008, 04:47 PM
RE: Question on QTP Support - by FredMan - 03-25-2008, 02:18 AM
RE: Question on QTP Support - by ShravanGaddam - 04-01-2008, 02:03 AM
RE: Question on QTP Support - by FredMan - 04-08-2008, 01:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  qtp interview question-1 rvrbabu434 0 3,531 12-26-2011, 12:36 PM
Last Post: rvrbabu434
  qtp interview question rvrbabu434 3 3,933 12-25-2011, 11:13 PM
Last Post: chandan
  QTP setting related question prodipto 3 4,896 03-04-2011, 02:46 PM
Last Post: prodipto
  Mysql support qtp venkatanaga 1 3,608 04-06-2008, 02:14 PM
Last Post: Ankur
  Question Asked in CTS on QTP asif.testing 2 9,884 04-01-2008, 01:55 AM
Last Post: ShravanGaddam

Forum Jump:


Users browsing this thread: 2 Guest(s)