-
Junior Member
Check points in functions
Suppose we have written an output check point in a function. Now i want to call that function in another script and get the output through that output check point. The error message says that the output check point is not present in the object repositary. So how can we add that in object repository?
-
Banned
Re: Check points in functions
There also u follow the same procedure. See the sample code
Function addition(x,y)
z= x+y
msgbox z
End Function
Call addition(1,2)
Call addition(2,2)
rgds
PRATAP
-
Expert Member
Re: Check points in functions
Hi,
Before calling that function in another script you have to load that particular object repository into it. Then it will dont show you any error.
Arunsingh Rajaputra
-
Moderator
Re: Check points in functions
Nandana, which version of QTP are you using?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules