What is Associate Repository in QTP 9.2

Questions by cnr_rao   answers by cnr_rao

Showing Answers 1 - 24 of 24 Answers

Sycho

  • Nov 21st, 2007
 

Can you please explain your question in detail? We can associate any shared repositry with Action. This process is called Repositry Associtaion. However i never heard about Associate Repositry.

  Was this answer useful?  Yes

Associate Repository in qtp 9.2 means that when we are doing in keyword framework,  while accessing our functions at that time we capture our resource refferences using associate repository

  Was this answer useful?  Yes

Vamsi

  • Nov 23rd, 2007
 

Associate Repository is a feature in QTP, using which we can add/map repositories for each action in a script.

  Was this answer useful?  Yes

sidhu

  • Sep 22nd, 2011
 

In shared repository what ever actions or objects we want we will store them in file system using (.tsr) extension
In the script we will associate what ever the actions we want into the script

  Was this answer useful?  Yes

Associate Repository is a feature in QTP. If you have multiple Shared Repositories to work with QTP, then we can associate the repository with the help of this feature. Practically, we can only associate Shared Repositories to QTP. This can be done in two approaches.

1> Using OR > Tools > Associate Repositories... > Select the .tsr shared ORs files from the saved path

2> Set App=Createobject("QuickTest.Application")

Set ObjOR=App.Test.Actions(Action Name).ObjectRepositories

ObjOR.RemoveAll ' To remove all Shared ORs when we

start QTP script to ensure that no duplicate ORs are available in OR

ObjOR.Add "path of the Repository" ' Adding the necessary Shared ORs

  Was this answer useful?  Yes

aruna

  • Feb 23rd, 2012
 

The association of object repository to your scripts called association............which is needed to your scripts at the current time Advantages:instead of loading the entire OR you can only associate the only respected Module through association.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions