what is use of the object repository?

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


Please Help Members By Posting Answers For Below Questions

Can launch two instances of qtp on the same machine?

587


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

1489


How does qtp identify objects in the application?

591


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

1652


Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19

1199






What is 'sleep' in sync point?

633


How many scripts did you have?

1710


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...))

1511


What are the differences between table and db checkpoints?

541


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

1370


What is action? How many types of actions are there in qtp?

622


How can I check if a environment variable exist or not?

547


what are the utilities and drivers

1853


What are the different types of qtp test assets and their extensions?

611


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

1639