Answer Posted / litan
object repositiry is nothing but interface between tool and
application build.actually during recording qtp generate the
script and at the same time it add all the object properties
add to the object repositiry.during running it catch all the
object properties from object repository,based on that
propertis it tdentify the object.two types of object
repository are there.
1-per action:this is the type of object repository.here qtp
maintains single file for each action.extension of peraction
repository is .mtr(mercury test reposirory)
2-shared repository:here qtp maintains single file for each
action.extension of shared repository is .tsr(test shared
repository)
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can launch two instances of qtp on the same machine?
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
How does qtp identify objects in the application?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19
What is 'sleep' in sync point?
How many scripts did you have?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
What are the differences between table and db checkpoints?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
What is action? How many types of actions are there in qtp?
How can I check if a environment variable exist or not?
what are the utilities and drivers
What are the different types of qtp test assets and their extensions?
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