Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object Repositories
#2
Not Solved
Hi,
The below code works for load the OR dynamically.

Code:
Set App = CreateObject("QuickTest.Application")
App.Launch
App.Visible = True
LoadOR="C:\Documents and Settings\vmotukuri2\Desktop\Resource.tsr"
Set qtTestResources = App.Test.Settings.Resources
qtTestResources.ObjectRepositoryPath = LoadOR
qtTestResources.SetObjectRepositoryAsDefault
Set qtTestResources = Nothing
Set App=NOTHING
-------------------------------------------------
Reply


Messages In This Thread
Object Repositories - by bfakruddin - 03-05-2009, 05:37 PM
RE: Object Repositories - by MVChowdary - 03-06-2009, 03:28 PM
RE: Object Repositories - by bfakruddin - 03-12-2009, 01:15 PM
RE: Object Repositories - by sreekanth chilam - 03-12-2009, 11:14 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)