Hi Shawn,

I tend to slightly disagree with you. Precedence is always for Local
OR.

Example: Add an object with the some unique property.Export it to
Shared OR. Associate the same OR to the action. Now change the
property of the object in Local OR.
QTP will not be able to identify the object.

Derived Conclusion : Same object was there in Local as well as shared
(Same name and Shared OR Associated). However, QTP tends to pick up
the property of the Local OR First. Yes its "either or" but the
context of precedence here is which will be used first.

On Apr 9, 12:26 am, Shawn <[email protected]> wrote:
> There is not really a precedence, its always the local repository
> unless you have specified a shared object repository to use - its
> strictly an "either or", not one and then the other.  Each version of
> QTP is slightly different, but in order to even use a shared object
> repository in a test script you have to add/associate it to the
> script.  QTP v10 and v11 you "Associate Repositories" and this then
> says which actions will use which shared object repository (otherwise
> they just use the local).  Prior versions you change it in "Test
> Settings > Resources" by selecting the radio button for the "Object-
> repository type" - select "Shared" for the shared object repository
> and then specify the path to the SOR, or select the radio button for
> "Per-Action" (which is a local OR; this is the default).
> ---
> Shawn LoPorto
> Learn QTP Online Today!
> Visit:http://www.asi-test.com/ASI/products/
>
> On Apr 8, 1:07 pm, nikhila <[email protected]> wrote:
>
>
>
>
>
>
>
> > hello,
>
> > when a action has both local and shared repositories associated with it
> > which repository will be given precedence while running a test.
>
> > Thanks and Regards,
> > Nikhila

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to