Micro Focus QTP (UFT) Forums
Associate multiple Repositories at run time - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Associate multiple Repositories at run time (/Thread-Associate-multiple-Repositories-at-run-time)



Associate multiple Repositories at run time - Pallavi - 08-05-2009

Hi All,

Can we associate multiple shared object repositories at run time.
I do not want to associate repositories using the QTP's 'Associate Repositories' dialog box. Please let me know if there is any way.

Thanks and Regards,
Pallavi


RE: Associate multiple Repositories at run time - Saket - 08-05-2009

Yes, In QTP 9x we can associate multiple shared object repository. this can be done using RepositoryCollection.Add method.


RE: Associate multiple Repositories at run time - Pallavi - 08-05-2009

Hi Saket

It worked fine.

Thanks,
Pallavi


RE: Associate multiple Repositories at run time - 1981.madhu@gmail.com - 09-14-2009

Hi Saket,
In my code ,can i directly use the Repository collection .add method?
Its throwing a error .

Can u describe me one simple example.I hav longin page of mercury (windows application).I hav OR in the destop.Hw can i add to that login action?

Pls help me


RE: Associate multiple Repositories at run time - Saket - 09-14-2009

Hi Madhu,

Please open a new thread for your query,
Your question is different from the original query, so you should not proceed with this thread now.