11-25-2009, 02:08 PM
Hi,
Test Parameters:
We use the Parameters tab of the Test Settings dialog box (File -> Settings->Parameters) to define input parameters that pass values into your test and output parameters that pass values from your test to external sources.
Accessing Test Parameters programmatically:
Action Parameters:
Action parameters enable you to transfer input values from your test to a top-level action, from a parent action to a nested action, or from an action to a sibling action that occurs later in the test. Action parameters also enable you to transfer output values from a step in an action to its parent action, or from a top-level action back to the script or application that ran (called) your test.
For example, you can output a value from a step in a nested action and store it in an output action parameter, and then use that value as input in a later step in the calling parent action.
Accessing Action Parameters programmatically:
Test Parameters:
We use the Parameters tab of the Test Settings dialog box (File -> Settings->Parameters) to define input parameters that pass values into your test and output parameters that pass values from your test to external sources.
Accessing Test Parameters programmatically:
Code:
x=TestArgs("ParameterName")
Action Parameters:
Action parameters enable you to transfer input values from your test to a top-level action, from a parent action to a nested action, or from an action to a sibling action that occurs later in the test. Action parameters also enable you to transfer output values from a step in an action to its parent action, or from a top-level action back to the script or application that ran (called) your test.
For example, you can output a value from a step in a nested action and store it in an output action parameter, and then use that value as input in a later step in the calling parent action.
Accessing Action Parameters programmatically:
Code:
x=Parameter("ParameterName")