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 UFT One User Guide.
Syntax
LocalParameter(ParamName)
Argument | Type | Description |
---|---|---|
ParamName | String | The name of the local parameter. |
Properties
Item | Retrieves the current value of the specified LocalParameter object. |
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. |
The following example uses the Item property to retrieve the current value of the Axn1_in2
input parameter.
CurrVal=LocalParameter(Axn1_in2).Item
See also:
- Crypt Object
- DataTable Object
- Description Object
- DeviceReplay Object
- DotNetFactory Object
- DTParameter Object
- DTSheet Object
- Environment Object
- Extern Object
- Parameter Object
- JSON Object
- JsonUtil Object
- MercuryTimers Object (Collection)
- MercuryTimer Object
- NV Object
- OptionalStep Object
- ParallelUtil Object
- LocalParameter Object
- PasswordUtil Object
- PathFinder Object
- PDFUtil Object
- Properties Object (Collection)
- QCUtil Object
- RandomNumber Object
- Recovery Object
- Remote Connection Object
- Reporter Object
- RepositoriesCollection Object
- Repository Object
- Services Object
- Setting Object
- SystemMonitor Object
- TestArgs Object
- TextUtil Object
- UIAutomation Object
- VisualRelation Object
- VisualRelations Object
- VisualRelationsCollection Object
- WebUtil Object
- XMLUtil Object