what happen in object repository(shared)if we call an
existing action from an external action ? and what happen
in object repository(peraction)if we call an existing
action from an external action ?

Answers were Sorted based on User's Feedback



what happen in object repository(shared)if we call an existing action from an external action ? an..

Answer / uday kumar_anem

If the calling test uses a per Action Object Repository,
then:
1. QTP cannot call Actions that use a shared Object
Repository.

2. QTP can call Actions that use a per Action Object
Repository, but it will be read-only.

3. QTP can call copy Actions that use a per Action Object
Repository.

4. QTP cannot copy Actions that use a shared Object
Repository.

If the calling test uses a shared Object Repository, then:

1. QTP can call Actions that use the same shared Object
Repository as the calling test.

2. QTP can call Actions that use per Action Object
Repositories.
You can instruct the external Action to refer to its own
Action repository or to use the same shared Object
Repository as the calling test. You do this in the External
Action tab of the Action Properties dialog box.

3. QTP can call Actions that use a different shared Object
Repository than the one used by the calling test.
The called Action will use the calling test's shared Object
Repository.

4. QTP can copy Actions that use shared or per Action
Object Repositories.

QTP only copies in the Action, not its corresponding Object
Repository.

Is This Answer Correct ?    5 Yes 1 No

what happen in object repository(shared)if we call an existing action from an external action ? an..

Answer / lcsekhar

As you said, the existing action already recorded the
objects into object repository pertaining to the when you
call the external action,it will added the objects to the
existing one

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More QTP Interview Questions

I recorded a Web based Application running on JAVA and when I went to play them back a week later they didn't run. I noticed that the Browser was putting in a (Underscore and a Number) for each line so i re-recorded and noticed the Underscore line wasn't the same as what i recorded last week so any script I record today will not work next week because the browser settings or how QTP recognizes it keeps changing. This is the new line Browser("Bureau of Labor Statistics_4").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" This is the old line 'Browser("Bureau of Labor Statistics_3").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" Notice the Burearu of Labor Statistics_3 adn Burearu of Labor Statistics_4. Why does it change and how do I prevent it from changing.

5 Answers  


Can we directly start working with QTP without any knowledge on WinRunner? (After getting trsining on QTP)

1 Answers  


what is the structure for the data driven framework

0 Answers   Wipro,


What is difference between QC and TD?

8 Answers  


What is the differences between image check point and bit map check point?

0 Answers  






What is checkpoint in qtp?

0 Answers  


HOW to invoke any recorded script in QTP with out using RECORD & PLAYBACK CONCEPT?

1 Answers  


How to capture data from images in QTP and produce them in Excel sheet ?

4 Answers   iFlex, QA InfoTech,


What is the Test Object model in QTP?

3 Answers  


If you use low level recording,what objects will be recorded in Object Repository and what properties?

3 Answers   CTS,


Explain how you can replace string in qtp?

0 Answers  


What is operator in VB Script?

1 Answers   IBM,


Categories