LocalParameter Object

Description

An input or output local parameter.

A local parameter is similar to a variable and is defined for a specific business component. It is not accessible by other business components, and its value cannot be used by or passed to other business components.

Define local parameters in the Business Component Keyword View using the Configure Value Options dialog box for input parameters and the Output Options dialog box for output parameters.

A local parameter can be used to parameterize the value of a step in a business component or to indicate the storage location for one of the output parameters used by a business component.

Note: You can also use the LocalParameter object as a variable in tests.

For more details on local parameters, see the Micro Focus UFT One User Guide.

Syntax

LocalParameter(ParamName)

Argument

Type

Description

ParamName

String

The name of the local parameter.

Properties

Method ItemRetrieves the current value of the specified LocalParameter object.

Back to top

Item Property

Description

Retrieves the current value of the specified LocalParameter object.

Syntax

Val=LocalParameter(ParamName).Item

Argument

Type

Description

ParamName

String

The name of the action parameter for which you want to retrieve the value.

Val

Variant

The location in which you want to store the retrieved value.

Back to top

See also: