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
