IF there are seven browsers with same name open. I want to
close one particular browser thru QTP. how can i do this?

Answer Posted / pavani prasad

sorry venkatesh,

i am agrre with u. But one small correction is the creation
time is start with 0.
if u want close first browser u can give no 0,
if u want close 2nd browser u can give no 1 ,
Ex: for closing seventh browser,

browser("CreationTime:=6").close

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is action?

569


Does quicktest professional is unicode compatible?

511


How many lines of code in each script of QTP?

4028


Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?

1223


What does it mean when a check point is in red color? What do you do?

561






The hybrid framework can be implemented for any application. Is it true?

579


Which environments are supported by hp qtp?

594


Is qtp supports uni-code?

600


When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti

2481


what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

1700


Hi, How Accessibility checkpoint in QTP can be implemented in the test script?

1601


I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.

1717


How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.

1779


What are some test assets and related extensions of qtp?

543


how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

1438