02-15-2012, 04:20 PM
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
if i run the same code on win7 it shows sysListView cannot identified. and if i spy the sytem32 it just shows window....>winobject...
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...