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
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
distinguish between old version and new version QTP features.
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
what is impact analysis on regression testing?
What is the default add-ins in qtp?
What do you mean by iteration?
What is the virtual object?
Is qtp supports uni-code?
What is Associate Repository in QTP 9.2 ?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
What is the process of synchronizing qtp and aut?
What is the difference between keyword view and expert view?
What are the differences between qtp and winrunner?
How will you handle java tree in qtp?
What is the Command used to start the QTP