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
what is supply chain management?
how to do the batch testing in test director using manual testing procedure?
How can we conduct U-I Testing by using QTP??????
How to test background color and dynamic images during run time can you put the check point for moving objects?
How many types of recording modes in qtp?
What is the qtp testing process?
What are the features and benefits of quick test pro (qtp 8.0)?
How to call a test from another test?
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",
can any body give the banking domain concepts/links
What is contained in the object repository?
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
What are the benefits of quick test pro(qtp)?
What is Associate Repository in QTP 9.2 ?
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing