Welcome to the UFT Testing Extensibility API Reference > TestingEnvironment Schema > Elements > Argument Element
TestingEnvironment Schema
Argument Element
Description
The argument definitions for the operation.
Namespace (none)
Diagram
AdditionalInfo Element HelpInfo Element Description Element Type Element Sequence Argument Element
Overview
Argument
The argument definitions for the operation.
Name requiredRestrictedString Simple Type
The argument name.
IsMandatory requiredxs:boolean
Specifies whether the argument is mandatory.
DefaultValue optionalxs:string
The default value for this argument.
Direction optionalRestriction of xs:string
Specifies whether this argument is an input argument or an output argument.
Sequence
Type
The data type.
VariantType optionalVariant Simple Type
The variant type of the argument.
ListOfValuesName optionalxs:IDREF
The name of the list of values of the argument. Can be one of the list of values names defined in this XML.
Descriptionoptionalxs:string
The description of the element.
HelpInfooptional
Context-sensitive Help information for the element.
HelpFile requiredxs:string
The file system path to the file which contains the help information.
HelpContext optionalxs:integer
The context identifier for the location inside the help file where the information resides.
AdditionalInfooptional
Placeholder for additional information.
Attributes
Name Type Use Default Fixed Description
Name RestrictedString Simple Type required     The argument name.
IsMandatory xs:boolean required     Specifies whether the argument is mandatory.
DefaultValue xs:string optional     The default value for this argument.
Direction Restriction of xs:string optional In   Specifies whether this argument is an input argument or an output argument.
Source
<xs:element name="Argument" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>The argument definitions for the operation.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="Type"   />
      <xs:element ref="Description" minOccurs="0"   />
      <xs:element ref="HelpInfo" minOccurs="0"   />
      <xs:element ref="AdditionalInfo" minOccurs="0"   />
    </xs:sequence>
    <xs:attribute name="Name" type="RestrictedString" use="required">
      <xs:annotation>
        <xs:documentation>The argument name.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="IsMandatory" type="xs:boolean" use="required">
      <xs:annotation>
        <xs:documentation>Specifies whether the argument is mandatory.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DefaultValue" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>The default value for this argument.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Direction" default="In">
      <xs:annotation>
        <xs:documentation>Specifies whether this argument is an input argument or an output argument.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="In"   />
          <xs:enumeration value="Out"   />
          <xs:enumeration value="InOut"   />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>
See Also