if there r 10 windows open in QTP write a command to close
all 10 windows at a time ?
Answer Posted / eswar
cnt = 0
Set desc = Description.Create
desc("Class Name").value = "Window"
Set s = Desktop.ChildObjects(desc)
MsgBox s.count
For i=0 to s.count-1
x = s(i).Close
cnt=cnt+1
MsgBox x
Next
MsgBox cnt
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.
can u please explain what is the exact difference between qtp8.2 and 9.0
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
What is the difference between rational rose and QTP?
I want to do QTP Certification what is the pattern of Question paper.
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
Explain about the quicktest professional (qtp) automation object model?
How can i initiate the objects to find uniquely in OR
What are the features of quick test pro(qtp)?
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
Is virtual object supported in low level recording mode?
How many types of recording modes in qtp?
how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page
What environment does qtp run in?
Where is the Bitmap checkpoint information stored?