QTP: Working with Local, Shared Object Repositories

As we know the object repositories can be associated with any Action in anyone of the following combination(s).

  •          Local Object Repository
  •          Shared Object Repository
  •          Local + one or more Shared Object Repositories
  •          Two or more shared object Repositories.



So, there are possibilities of conflict situation when the object with the same name is present in two or more repositories. To avoid the confusion, the following points to be remembered to avoid the confusion.

·      Scenario#01: Action is associated with Local + Shared Object Repositories, Object is not present in both the repositories.

Result: QTP will add objects to the Local object repository ONLY.
·        
     Scenario#02: Action is associated with Local + Shared Object Repositories, Object is present in either of 2 repositories.

Result: QTP will not add any object. Instead of this, QTP will use the existing information.
·      
       Scenario#03: Action is associated with Local + Shared Object Repositories, Newly added Object’s Parent in Shared Object Repository.

Result: QTP will move the parent to the Local object repository when the child is added to the Local repository.
Source: QTP Documentation.
SHARE

About அமரகோசம்

    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment