How to record objects of Windows taskbar
Answer Posted / uday kumar_anem
' Launch the Task Manager window
SystemUtil.Run "taskmgr.exe","", "","open"
Dialog("Windows Task Manager").WinTab
("SysTabControl32").Select "Processes"
Dialog("Windows Task Manager").WinTab
("SysTabControl32").Select "Applications"
Dialog("Windows Task Manager").WinMenu
("Menu").Select "Options;Hide When Minimized"
Dialog("Windows Task Manager").WinMenu
("Menu").Select "View;Refresh Now"
Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
What are the advantages of a Hybrid framework?
How to release all resources file from the QTP?
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)
How to associate shared object repository to test in qtp?
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
What are the 3 main stages involved in testing with qtp?
Please guide me release notes of Automation once scripts are completed
whow much strong on VB and C?
How can I use Call dlls in QTP ?
Without using gui map editor we can recognize the application in winrunner ?
How many ways we can parameterize data in quicktest professional (qtp)?
What is the use of running the scripts in Hidden-mode in UFT?
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma