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 / m.ganesh
Set odesc=description.Create
odesc("micclass").value="Browser"
Set a=Desktop.ChildObjects(odesc)
print a.count
For i = 0 To a.count-1
browsername= a(i).getroproperty("name")
print browsername
Next
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
Explain the difference between call to action and copy action?
How to associate shared object repository to test in qtp?
Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!
what is the difference btn risks & Therads in the Test plan documentation?
Discuss quicktest professional (qtp) environment?
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
What is a checkpoint? How many check points are there in qtp?
What is Test Fusion Report in QTP?
Is it possible to merge two object repository files in qtp?
Sql questions to find second max salary and how to use joins
What is action?
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
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.
Is text area check point supports for web applications?
How did you use regular expressions in QTP and also in WR?