if there r 10 windows open in QTP write a command to close
all 10 windows at a time ?
Answer Posted / sandip
Option Explicit
Dim ObjBrow,ObjName,ObjBrowName
Set ObjBrow = Description.Create()
ObjBrow(micClass).values = "Browser"
ObjName = Desktop.ChildObject(ObjBrow)
msgbox = ObjName.count
for i = 0 to ObjName.count
ObjBrowName = ObjName(i).getROproperty("Name")
msgbox(ObjBrowName)
ObjName(i).close
Next
Thanks,
Sandip Gami,
Cell No: 09986645937
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
In qtp, explain what is crypt object
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
What are the different ways to invoke an application using QTP?
Explain the qtp test phases.
Which scripting language used by quicktest professional (qtp)?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
Can we run multiple QTP scripts one after the other without manual intervention? How?
What is the use of Debug Viewer?
How can I use Call dlls in QTP ?
A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.
What is the difference in testing a client-server application and a web application?
How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?
Explain the Different types of QTP test assets and their extensions?