Info

The hedgehog was engaged in a fight with

Read More
Lifehacks

How do I use RunAction in UFT?

How do I use RunAction in UFT?

5 Answers

  1. The Input Parameters , is declared in your first Action, I called it Action1.
  2. Pass the value to your Action1 local variable, example: Param1 = “a1_var1 –> from Action 1”
  3. Execute the RunAction command to pass the value, RunAction “Action2”, oneIteration, Param1.

How do you call a reusable action in QTP?

QTP – Call to New Action Step 1 − Right click on the scripting area and select “Call to New Action”. Step 2 − In the “Insert Call to New Action” Window, give the test name, description, and also specify if it is a reusable action or not. Most importantly, select the location of the action to be inserted.

How do you parameterize data in UFT?

Click the Parametrization Icon. Currently, the value is set to a Constant. Click on Parameter Radio Button. QTP assigns a default name to this parameter. You can give a name of your choice and then click “OK.”

How many types of actions are there in QTP?

3 types
This aids in highly readable tests and ensures that modularity is achieved. There are 3 types of QTP Actions: Reusable – Only these can be called multiple times within the same or different tests. Non-Reusable – These cannot be called by any other actions.

How do you add parameters to UFT?

On the Test Flow screen, click the Start node and choose then in the Properties pane, choose the Parameters tab. Click the Add button and choose ‘Input Parameter’ and create the parameter. Next, right click the Action 1 node and choose ‘Action Properties’. Choose the Parameters tab and enter an Action Input Parameter.

Where do you mark an action as reusable?

Right-click on the Action. Select the “Action Properties” menu option. Under the General tab, select the “Reusable Action” checkbox. Click .

What is an object in UFT?

In UFT, All the GUI elements are considered as objects, like Buttons, Edit boxes, links, image, List box etc. The properties related to these objects are Text, Size, Height, width, Id and so on. Then comes the methods ‘Click’ on button, ‘set’ data in edit box etc.

What is modular action?

It is based on the approach of Gelfond and Lifschitz (1993; 1998) in which a high-level action language is used as a front end for a logic programming system description. The resulting logic programming representation is used to perform various computational tasks.