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
They asked by using qtp recording writing scripting
Describe the differences between functions and actions in UFT?
How can you close the second opened browser?
Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
How you know that a test case is a regression test case
I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian
Explain the benefits of quick test pro(qtp)?
How do you configure QTP AND Test director?
Explain the difference between call to action and copy action?
How to check bitmap output value?
How do you check ticket cost and ticket number in flight application?
How are actions and functions different in QTP?
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP