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
How do you create regression test packs?
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
Give the syntax to import/export xls into qtp.
Explain quicktest professional (qtp) testing process?
How to integrate the qualitycenter with qtp
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?
In qtp, explain what is qrs file?
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
Is any limitation to xml checkpoints?
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
How to break the object spy ?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?