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
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
On what document base Descriptive programming is written if build is not yet ready ?
Explain xml checkpoints.
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
what is meant by source control?
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?
How can you identify the browser and its information using the qtp script?
hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale
regular expression in qtp standar check point for months from accepting months from january to december only
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
Explain Descriptive Programming Types with Examples?