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...
Answer Posted / 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 View All Answers
How to check which add-ins are associated with a test in qtp?
How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks
Which environments does qtp support?
What is method name to compare two XML files.
how do u plan test automation?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
Can we create a qtp test from qc?
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
Should have experience in framework means?
What are the Test design techniques you uses in ur project?
how to test use the quality control .how to verify the image verification
how do i know how to use tools
what is meant by source control?
What is the Difference between test object and run time object?
what is the advantages and disadvantages of using functions instead of re usable actions