Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Referencing Object Repository from Function Library
#6
Solved: 10 Years, 9 Months, 2 Weeks ago
Hi...use the below code
Code:
Set qtRepositories = oApp.Test.Actions.item(1).ObjectRepositories  

    qtRepositories.RemoveAll()
qtRepositories.Add "C:\ObjRep.tsr"

u can give ur desired shared OR path
Reply


Messages In This Thread
RE: Referencing Object Repository from Function Library - by DinakarVadapalli - 02-03-2011, 03:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Do we need object repository?? subhashinid 0 1,866 07-06-2016, 10:07 AM
Last Post: subhashinid
  Object repository losing object properties ishan.mahajan@adp.com 2 3,462 08-20-2015, 11:33 PM
Last Post: ADITI1992
  Calling a function in a Test Script from a function library anupam4j 3 5,910 06-26-2015, 12:31 AM
Last Post: babu123
  login object not found in object repository Akram 2 2,987 06-01-2015, 07:47 PM
Last Post: babu123
  object was not found in the Object Repository reynard 0 6,657 03-17-2015, 10:54 PM
Last Post: reynard

Forum Jump:


Users browsing this thread: 1 Guest(s)