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
How to save your test using quicktest professional (qtp)?
Which environments does qtp support?
how to download mercury qtp9.2 ny internet ?
Which functionalities of QTP used in banking project?
How to find the path of folder in which the test is saved in qtp?
how to write xml output check point bu useing descriptive programing .means without useing output check point
In qtp is it possible to check broken links of a page?
How will you handle java tree in qtp?
In qtp, explain what is keyword driven automation framework?
How do you send email with attachment from outlook using qtp ?
what frame work you are following?
How to get the particular property value?
Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma
Hai anyone please "Explain about Framework in QTP?"
i need qtp tutorial. pls send it to sridhar.k151@g mail.com