Micro Focus QTP (UFT) Forums
About Object Repository - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: General (https://www.learnqtp.com/forums/Forum-General)
+--- Forum: Posting Guidelines/Disclaimer (https://www.learnqtp.com/forums/Forum-Posting-Guidelines-Disclaimer)
+--- Thread: About Object Repository (/Thread-About-Object-Repository--6316)



About Object Repository - ravigudapati - 05-09-2012

How to add object repository to multiple Actions at Runtime using VbScript......


RE: About Object Repository - sshukla12 - 05-09-2012

(05-09-2012, 12:09 PM)ravigudapati Wrote: How to add object repository to multiple Actions at Runtime using VbScript......


Hi,

Use this, it might help u:
strRepPath = "c:\vIns\OR.tsr" (path of OR)
RepositoriesCollection.RemoveAll()
RepositoriesCollection.Add(strRepPath)


Regards,
Sankalp