Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP11 is not able to record on windows application
#1
Not Solved
Hi,

I tried to record windows application using qtp11 with window7.It is not recording anyting.
I changed the run settings as run on any open windows based application but no use.

Please anybody send me the script for selecting the processes tab of windows task manager using qtp.Flow should be
windows>system32>taskmgr.exe>processes

Code:
For windows xp i have a below code:
window("regexpwndtitle:=system32").winListView("nativeclass:=SysListView32").select "taskmgr.exe"
window("regexpwndtitle:=system32").winListView("nativeclass:=SysListView32").type micReturn
Dialog("text:=windows Task Manager").wintab("nativeclass:=SysTabControl32).select "Processes"


if i run the same code on win7 it shows sysListView cannot identified. and if i spy the sytem32 it just shows window....>winobject...
Reply
#2
Not Solved
Am not an expertise to suggest, still as a workaround just try to identify those tabs using object spy. If it is not identifying make sure that the add ins are properly loaded.

Regards
Reply
#3
Not Solved
can you use SystemUtil.Run "taskmgr" instead of first two statements.
Reply
#4
Not Solved
Thanks for your response.

I opened task mgr thru system util ,its working fine till clicking on endprocess button appeared on windows task manager dialog.later one more dialog appears for confirmation of end process,in that again end process button is there but its not able to identify that.when i spy it identifies but if i write the script and run then it ll stop its execution.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Windows Application Custom Combo box selection change event not firing in uft RamUFT 0 981 02-06-2020, 08:10 AM
Last Post: RamUFT
  handling Autocomplete field using QTP11 sandler 1 6,417 06-06-2012, 10:57 AM
Last Post: supputuri
  QTP11.0 supports DB2. qtpexpert 2 3,448 12-15-2011, 02:44 PM
Last Post: qtpexpert
  Receiving an IIS authentication error when replaying a.net windows application script nithya.cov@gmail.com 0 2,574 04-16-2011, 10:58 AM
Last Post: nithya.cov@gmail.com
  Problem in Recording .net windows application sk.aravind 8 5,806 11-20-2009, 01:13 PM
Last Post: v_selvam

Forum Jump:


Users browsing this thread: 1 Guest(s)