Suppose there are 10 browsers opened on desktop. I want to
close all browsers except one browser in QTP. Can any one
give the code for this?
Answer Posted / shankar
set brow=description.create
brow("micclass").value="browser"
set brows=Desctop.childobjects(brow)
for i=0 to brows.counts-1
browser(brow).close
please reffer this and if it is wrong give me clarification.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
How to save your test using quicktest professional?
Explain runtime dynamic settings?
HOw to add the recovery file at runtime to the test file .
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
what is the diffrence bw qtp architectute and qtp framework?
What is expert view and keyword view?
What is a checkpoint? How many check points are there in qtp?
what are the mandatory properties for a tex boxc (scenario?)
please any one can explain the keyword driven framework. with gmail example.
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?