before launching qtp, we need to close all the open browsers
u dont know what are all the browsers either it might be
ie,mozilla etc and u dont know how many brosers are open....
u need to close all these before launching qtp.. can anyone
plz temme d solution...

Answers were Sorted based on User's Feedback



before launching qtp, we need to close all the open browsers u dont know what are all the browsers..

Answer / lakshmi

If the script is in QTP Expert View,If Before launching
QTP...then easily find the processes from Tsak Manager and
kill the process :)

Is This Answer Correct ?    0 Yes 0 No

before launching qtp, we need to close all the open browsers u dont know what are all the browsers..

Answer / debee prasad kar

dim d,a
set d=description .create
d("micClass").value="Browser"
'get the list of browser
set a =Desktop.childobjects(d)
for i=0 to a.count-1
a(i).close
next

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More QTP Interview Questions

Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

0 Answers  


How do you move objects from local object repository to shared object repository???What are methods?

1 Answers  


WHat is Object Identification and Object Spy?

2 Answers   IBM,


Analyzing the Checkpoint results ?

1 Answers   Crea,


Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.

0 Answers  






what is On Error Resume Next ?

1 Answers   Accenture,


Write a Script With descriptive programming(Without Repository) to update an Update an order in Flight App and verify whether it is done successfully.(Use ChildObjects method)

2 Answers  


is it possible to check the text displayed in the tool tip using QTP? if so, how?

6 Answers  


There are 3 types of frame works in QTP 1. Linear frame work 2. Modular frame work 3. Key word driven frame work. Can any body explain the above 3 frame work models. y2k_ram2000@yahoo.com

6 Answers   Fidelity, GDS, IBM, TCS, Wipro,


How to export(copy) the entire webtable from the webpage into Excelsheet? using Vb scripting

9 Answers  


What are the key points to create a framework in QTP for oracle forms?

0 Answers  


For Regression testing already written test cases are sufficient?

2 Answers   CTS,


Categories