Results 1 to 4 of 4

Thread: Check points in functions

  1. #1
    Junior Member
    Join Date
    Feb 2008
    Answers
    1

    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?


  2. #2
    Banned
    Join Date
    Oct 2007
    Answers
    173

    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


  3. #3
    Expert Member
    Join Date
    Sep 2007
    Answers
    110

    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


  4. #4

    Re: Check points in functions

    Nandana, which version of QTP are you using?


  5.  Sponsored Ads
    Ad


     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact