If there are some browsers opened and I don't how many browsers are open, Now I want to close all the browsers that I don't know how many are opened.
What would be Descriptive programming for this in QTP using VB Script..???
Please send your answers.
Answer Posted / mogal
Set odesc=description.Create
odesc("micclass").value="Browser"
Set BrowCol=Desktop.ChildObjects(odesc)
For i = 0 To BrowCol.Count-1
BrowCol(i).Close
Next
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the process of synchronizing qtp and aut?
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all
how to explain a claims and insurance project?
explain abt dyanamic changing object with example?
Is qtp supports uni-code?
how to disable the pop ups through QTP using a script
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
why should we give deliver good quality software?
How to check which add-ins are associated with a test in qtp?
In qtp, explain what is crypt object
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
Does QTP run in any environment?
How qtp identifies objects?
How did you use regular expressions in QTP and also in WR?