I am trying to write a descriptive program for clicking on
a perticular link.For that i wanted an index or location of
that object.But when I viewing through spy, There was no
index property of that object.What to do for getting index
value.How can I get index? please any one let me know.
Answer Posted / nagesh
index value of object is getting appeared only when more
than one object exist in the application with same property
name.
Example: suppose we have 3 list boxes with same name(text)
as property.then qtp identifies these objects with reference
to index values as index=0,index=1 and index=2.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
how to convert 100 into hundred repees only and viceversa
What is recovery scenario manager? When you go for recovery scenario manager?
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
How to open a new test using quicktest professional?
Can we create user defined functions in qtp?
How will you check that your test cases covered all the requirements?
Name the different types of recording modes?
Explain about datafile/verification of date file when file is not available in local system?
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points
How the exception handling can be done using quicktest professional?
Both static and dynamic arrays are handled by the vb script. Is it true?
how to test Web application using QTP software
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