ObjectRepositorySchema Schema
CommentType Complex Type
Description
A complex type that enables you to define the comment stored with the test object.
Namespacehttp://www.mercury.com/qtp/ObjectRepository
Base Type
Extension of xs:string
Diagram
CommentType Complex Type
Overview
CommentType Extension of xs:string
A complex type that enables you to define the comment stored with the test object.
Name optional xs:string
The comment name.

The comment name.
To display the comment in the Object Repository window, set the Name to miccommentproperty.

Used By
Attributes
NameTypeUseDefaultFixedDescription
Namexs:stringoptional  The comment name.

The comment name.
To display the comment in the Object Repository window, set the Name to miccommentproperty.

Remarks

Only one comment can be displayed in the Object Repository window for a particular object.

If the Comments element contains more than Comment element, the Object Repository window displays the value of the last Comment element with the attribute name miccommentproperty.

Source
<xs:complexType name="CommentType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>A complex type that enables you to define the comment stored with the test object.</xs:documentation>
  </xs:annotation>
  <xs:simpleContent>
    <xs:extension base="xs:string">
      <xs:attribute name="Name" type="xs:string" use="optional">
        <xs:annotation>
          <xs:documentation>The comment name.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:extension>
  </xs:simpleContent>
</xs:complexType>
See Also