Micro Focus QTP (UFT) Forums
Loading OR - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Loading OR (/Thread-Loading-OR)



Loading OR - newqtp - 01-22-2008

Hi I've a shared OR i want to load the object repository at run time?What Object will be used to load the object repository?


RE: Loading OR - newqtp - 01-22-2008

Thanks to All, But i got the answer I've used the below code to load the shared OR.
Code:
set ORU=CreateObject("Mercury.ObjectRepositoryUtil")
ORU.Load "C:\Documents and Settings\Desktop\QTP WORK\ActionRepository.tsr" 'Path of Shared
' Object Repository