For what purpose to we use object repository in a
application?also explain usage of obj.repository?

Answers were Sorted based on User's Feedback



For what purpose to we use object repository in a application?also explain usage of obj.repository?..

Answer / babu

Hi,

Whenever the user records the script, the objects logical
names and its descriptions will be stored in object
repository. When the user runs the recorded script, tool
tries to find the same test object in Object repository to
execute. If the tool is unable to find the particular
object in object repository, it will fail.

Without using object repository also, user can write
scripts which will be called as Descriptive programming.

Is This Answer Correct ?    6 Yes 1 No

For what purpose to we use object repository in a application?also explain usage of obj.repository?..

Answer / ram

Object repositories are used to maintain the logical data of
n-number of objects.N-number in the sense not infinity.But
so far i heard that we can store 5000 objects in a single
object repository.

Based upon on the type of
recording(context-sensitive,analog,low level) the properties
of the object are recorded and stored in the Object repository.

When the script called for playback then according to the
script the object is identified in the object repository and
runs the script smoothly.If any object is missing in the
object repository then the script fails to playback.

Obj. repository are broadly classified into two types
1)per action obj.repository
2)Shared object repository

Is This Answer Correct ?    3 Yes 0 No

For what purpose to we use object repository in a application?also explain usage of obj.repository?..

Answer / radhika

Whenever the user records the script, the objects logical
names are stored in Object Repository,

When the script called for playback then according to the
script if object is identified in the object repository it
runs the script. If any object is missing in the
object repository then the script fails to playback.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

What is the syntax to use out of two characters. Pls anybody can give the answer.. Thanks in advance...

1 Answers   Navis,


How do client side image and server side image work?

0 Answers  


hi guys this is Keerthi, I am searching for job,so I want to know which questions are intervier asking on QTP&MANUAL&QUALITY CENTER,can u send Any one questions&Answers to my id:chinna.ammi@yahoo.co.in

8 Answers  


You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?

0 Answers   CTS,


explain qtp framework by taking an example?

3 Answers  






Waht is Test Report , What it consists?

2 Answers  


What is checkpoint in qtp?

0 Answers  


How many actions we can create with in a test?

7 Answers  


HOW CAN QTP AND TEST DIRECTOR CONNECTED TO THE DATABASE AND WHAT R THE OPTIONS?

0 Answers  


How to load object properties to object repository through scripting.give one example

7 Answers   IBM,


I got an error "The"flightres" Dialog was not found in the Object Repository. Check the OR to confirm that the object exists or to find the correct name for the object." while running the following script Set flightres=description.Create() flightres("text").value="Login" flightres("Class Name").value="Dialog" Set agent = description.Create() agent("nativeclass").value="WinEdit" agent("attachedtext").value="Agent Name:" Set pwd = description.Create() pwd("nativeclass").value="WinEdit" pwd("attachedtext").value="Password" Set button = description.Create() button("nativeclass").value="WinButton" button("Text").value="OK" Dialog("flightres").WinEdit("agent").Set "test" Dialog("flightres").WinEdit("pwd").Set "mercury" Dialog("flightres").WinButton("button").Click Please let me know if i made any mistake in the above script...?

4 Answers  


Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln

0 Answers  


Categories