Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
vbscript for adding Object Repository
#3
Solved: 10 Years, 10 Months ago
Use the below code...

Code:
Set App = createobject(QuickTest.Application")
App.test.Action("ExecuteTest").objectRepositories.Add "C:\demo\GOR.tsr"

This will add specified OR to Action 'ExecuteTest'

try this also to add the OR to the test

Code:
Set OR = CreateObject("Mercury.ObjectRepositoryUtil")
OR.Load "C:\demo\GOR.tsr"


Let me know weather this works or not


Messages In This Thread
RE: vbscript for adding Object Repository - by papu - 02-26-2009, 04:46 PM
External O.R - by Manan - 05-27-2010, 09:53 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question adding two conditions into a while statement lotos 4 4,833 11-10-2017, 04:49 AM
Last Post: lotos
  Uft: Adding a property to all ojects into Repository ProTester 0 1,260 06-09-2017, 12:48 AM
Last Post: ProTester
  [UFT 12.52/VBScript] Test object exist, is visible and enabled before take an action sparkwanted 0 3,463 02-07-2017, 12:28 AM
Last Post: sparkwanted
  adding an object to OR seven 1 2,581 02-17-2014, 02:23 PM
Last Post: basanth27
  How to access webtables without adding into Object Repository ramkumarad 7 9,336 12-30-2013, 07:38 PM
Last Post: Sathiya

Forum Jump:


Users browsing this thread: 1 Guest(s)