Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error in Calling function Libraries
#2
Not Solved
you can get solutions on any of the below

1. Code these function as reusable actions and call actions
2. use Descriptive programming
3. add the objects in to Shared Repository and store externally say "C:\Repository.tsr". and add the below codes at the start of the functions

Code:
Dim qtApp
Set qtApp = CreateObject("QuickTest.Application")
curact=Environment.Value("ActionName")
qtApp.Test.Actions(curact).ObjectRepositories.Add "C:\Repository.tsr"
Reply


Messages In This Thread
RE: Error in Calling function Libraries - by inborntester - 02-23-2012, 12:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Calling a function in a Test Script from a function library anupam4j 3 5,932 06-26-2015, 12:31 AM
Last Post: babu123
  Getting run error passing a Frame into a user defined function!!! sepgs2004 1 2,726 10-14-2013, 06:37 PM
Last Post: anil2u
  Get the function name calling the function Shridevi.Salagare 1 3,637 09-07-2013, 05:07 AM
Last Post: jacosta
  Calling a HP Service Test Skript Gandalf2005 0 2,043 09-05-2012, 07:53 PM
Last Post: Gandalf2005
  Calling of function hamzaz 5 4,412 07-25-2012, 12:44 PM
Last Post: Shridevi.Salagare

Forum Jump:


Users browsing this thread: 1 Guest(s)