Results 1 to 7 of 7
  1. #1

    Questions on QTP

    Can you write your own utility functions in QTP? Where would you put them once they are written so that ALL your scripts can access them?

  2. #2

  3. #3
    SQA Knight
    Join Date
    Jul 1999
    Grand Rapids, MI

    Re: Questions on QTP

    [ QUOTE ]
    Can you write your own utility functions in QTP? Where would you put them once they are written so that ALL your scripts can access them?

    [/ QUOTE ]

    Based on your question it appears you need to obtain some “basic training” in order to use QTP competently. Read and follow the information in the links below to obtain this competency:

    Here is a link to start learning vbScript, which is a minimal requirement to effective using the other QTP training aids mentioned below:


    Then spend time with the tutorial that came with QTP.

    Then read the QTP tips and tricks sticky posting:


    Before posting new topics read and follow this forum’s guidelines:


    When posting use the following template to provide information needed to get a useful answer:


    But, make sure you search the forum for answers to your question before posting:


    Never post the same question multiple times:


    -Hope this helps, Terry Horwath

  4. #4

    Re: Questions on QTP

    Thanks a lot.

  5. #5

    Re: Questions on QTP

    I've not worked on the tool yet. I'm preparing myself to work on it. I've got a couple of questions could you answer them? Thanks

    What function is used to output a message to the report

    What function would you use to pop up a message when you are running a script.

    What is the purpose of Actions sections?

  6. #6
    Advanced Member
    Join Date
    Mar 2007
    Salt Lake City, UT, USA

    Re: Questions on QTP

    1. Reporter.ReportEvent
    2. MsgBox. Except, I don't use popup messages. Ever (except during debugging). I like my scripts to run unattended.
    3. To confuse and complicate the scripting process... Or, as HP/Mercury would say, "Actions help divide your test into logical units, such as the main sections of a Web site, or specific activities that you perform in your application." (well, I suppose both definitions are accurate)
    "The last 10% of any software project will take 90% of the budgeted time. The first 90% will take the other 90%"

  7. #7

    Re: Questions on QTP

    Thank you very much.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 06:05 PM.

Copyright BetaSoft Inc.