Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to associate Function Libraries, OR's during Run Time?
#7
Solved: 11 Years, 4 Months ago
Hi,

To associate Object repository dynamically use the following code.
Try this for attaching Object repository at run time.

Code:
Dim qtpApp
Set qtpApp = CreateObject("QuickTest.Application")
Dim qtpRepositories
Set qtpRepositories = qtApp.Test.Actions("Main").ObjectRepositories
qtpRepositories.Add("C:\ts.tsr")
Reply


Messages In This Thread
RE: How to associate Function Libraries, OR's during Run Time? - by Tarik Sheth - 09-14-2009, 04:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP not recogonising object during run time Lavanya N 2 3,727 10-28-2015, 12:46 PM
Last Post: vinod123
  Writing to Run time data table Neetha 5 12,175 08-27-2015, 10:18 AM
Last Post: supputuri
  Calling a function in a Test Script from a function library anupam4j 3 6,127 06-26-2015, 12:31 AM
Last Post: babu123
  QTP Takes Long time to Run prasaad44 4 4,889 04-10-2014, 01:53 AM
Last Post: prasaad44
  Getting run error passing a Frame into a user defined function!!! sepgs2004 1 2,834 10-14-2013, 06:37 PM
Last Post: anil2u

Forum Jump:


Users browsing this thread: 1 Guest(s)