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
Explain the concept of how quicktest professional identifies object?
Hi I have exp in manual testing and planning to move in automation testing qtp(9.2).So can help me how to automate customer relationship management tool using qtp and vb script this tool already developed so how can I test it whatever maintaining by development team like documents,various options just give the whole life cycle thanks in advance
whare exactly we have to use functions and sub routain
What is Associate Repository in QTP 9.2 ?
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
how interviews will be on QTP?
How you can make an action as re-usable action?
How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is
What are the challenges u faced in testing with crm domain? How u overcome with?
Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?
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?
I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error
How will you find the current time of the remote machine using QTP script?
how can we do the frame work in qtp
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?