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

When you are running a batch test of 5 scripts and in 2nd script appln crashed, what hpns then?

4 Answers   BirlaSoft,


what is the difference between call to copy action and call to an existing action

5 Answers  


How should I check my code( Before going to execute) without executing the script in QTP

1 Answers  


HoW to open QTP in Real time.after getting the qtp window how to log in .pl answer real time people

3 Answers   GE,


Hi all, In Every interview interview asking one question what type of challenges you have been faced in your project?

1 Answers  






What is Environment Variable and when we apply this in QTP?

3 Answers   TCS,


Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?

0 Answers  


If an application name is changes frequently i.e while recording it has name, in this case how does QTP handles?

1 Answers  


Plz write the code, function will take the parameter as month number, i.e., numerical value, but it returns the last day of the month in string (weekday). example: input: function parameter: 3(march) output: thursday

1 Answers  


4. what is the use of Text output value in Qtp?

1 Answers   Wipro,


How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box

0 Answers   L&T,


What are the challenges do we face while testing webbased applcations using the automation tool QTP or any?

1 Answers  


Categories