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

What is object spy in quicktest professional (qtp)?

0 Answers  


types of output value in details.

4 Answers  


wt is frame work wt r d different types of frame works used in ur company

1 Answers   Infotech,


Are u place all QTP Framework folders in VSS?

4 Answers   TCS,


with out object repository i need to launch IE and then navigate to a login page and then operate the objects within the page. How will be the script?

3 Answers   Ordain Solutions,






How to find the path of folder in which the test is saved in qtp?

0 Answers  


i am testing an online shopping application.I CLICK on a link "ADD TO CART" of that application a "new page" is open and then click on any object of that "new page". after that when i run this SCRIPT then on this "new page" QTP always shows error of "OBJECT NOT FOUND". How i solve this problem ?

4 Answers  


i have a window , initial its name is "NEW CUSTOMER" i have to enter the details of customer in the test object fields and after saving the window name is automatically changing with the customer name . so how to identify that window after saving. (i am using descriptive programming.)

5 Answers   Syntel,


waht is the diff b/w Environment variable and Global variable in qtp?? explain types of variable in qtp??

5 Answers  


Explain qtp(quick test professional)?

0 Answers  


What is a Patch in QTP?

0 Answers  


How function returns a value?

1 Answers  


Categories