type attribute
Specifies the parameter type.
Content Type
| Item | Facet value | Description |
|---|---|---|
| string restriction | ||
| Enumeration | string | string |
Parent
Example
<Parameters>
<ScriptParameter id="1" type="string" values="TicketStates">
<Description>State to apply</Description>
</ScriptParameter>
</Parameters>
Remarks
Do not use a CLR type name in this attribute. If the script expects a parameter that is not declared, or if the referenced values file is unavailable, the script can receive an empty or unusable value.
The
typeattribute describes the value presented to the automation script for the parameter. The current schema facet listsstringas the supported value. At runtime, theScriptParamvalue is supplied as a string. Use the values attribute on the sameScriptParameterwhen the parameter gets its selectable values from a memory file. Keep the parameter ID and description aligned with the code that reads it.