Results 1 to 3 of 3

Thread: Calling QTP Script

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Answers
    21

    Calling QTP Script

    How to call the QTP script from one action to another action (I want to script for this)


  2. #2
    Contributing Member
    Join Date
    Nov 2007
    Answers
    48

    Re: Calling QTP Script

    RunAction runs the specified action in the test.

    Before you can use the RunAction statement in the Expert View for an external action, you must first call or copy the external action into your test by choosing Insert > Copy of Action or Call to Action. If the external action does not exist in your test, the RunAction statement is not recognized.

    Syntax
    RunAction ActionName, [Iteration , Parameters]

    where
    Iteration means the number of time it should be executed


  3. #3
    Expert Member
    Join Date
    Mar 2012
    Answers
    208

    Re: Calling QTP Script

    In one way we can call an action by using "Call to Existing Action" which is present in Insert ->select Call to Existing Action and Select the action which we want to call.

    In two ways we can call an action
    1) Call to copy of Action.
    2) Call to Existing Action.
    In the above 2 methods,in calling action a statment will appear as Runaction.Action Name.IterationNumber


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