TestArgs Object
Description
Sets or retrieves input and output test parameter values using the parameter names.
Syntax
TestArgs(ArgName)
Arguments
Parameter | Description |
---|---|
ArgName | Required. The name of the test parameter whose value you want to return or set. A String value. |
Important
If you are processing parameters from a business process test to a business component, we recommend using the Parameter Object instead.
Return Type
The value of the specified test parameter.
Example
The following example sets the value of the Param1 parameter to 55.
testArgs("Param1") = 55
Item Property
Description
Sets or retrieves the current input or output test parameter value using the parameter names.
Syntax
TestArgs.Item(ArgName)
Example
The following example prints the value of the Param2 parameter.
print testArgs.item("Param2")
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