element <qm:testcase>
Namespace:
Type:
Content:
complex, 33+any elements
Defined:
globally in qm.xsd, see XML source
Includes:
definitions of 29+any elements
Used:
never
XML Representation Summary
<qm:testcase>
   
Content: 
qm:projectArea, dc:identifier, jproc:team-area, qm:stylesheet, qm:com.ibm.rqm.planning.editor.section.testCaseDesign?, qm:webId?, qm:alias*, dc:title, dc:description, qm:creationDate, alm:updated, alm:state, dc:creator, alm:owner, qm:locked?, qm:weight?, qm:priority?, qm:estimate?, qm:trigger, qm:activity, qm:suspect?, qm:approvals?, qm:risk?, qm:category*, qm:variables, qm:testscript*, qm:remotescript*, qm:template?, qm:requirement*, qm:workitem*, qm:attachment*, qm:customAttributes?, qm:markerAny, {any}*
</qm:testcase>
Content model elements (33):
Annotation
A test case answers a question the status about the state of a piece of functionality in your product. It contains optional sections that can be used to enter the data on the concepts you would like to track.
Anonymous Type Detail
Type Derivation Tree
  complexType (extension)
XML Source (w/o annotations (51); see within schema source)
<xs:element name="testcase">
<xs:complexType>
<xs:complexContent>
<xs:extension base="reportableArtifact">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="com.ibm.rqm.planning.editor.section.testCaseDesign" type="qm:richtext"/>
<xs:element maxOccurs="1" minOccurs="0" name="webId" type="xs:int"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="alias"/>
<xs:element ref="dc:title"/>
<xs:element ref="dc:description"/>
<xs:element maxOccurs="1" minOccurs="1" ref="creationDate"/>
<xs:element ref="alm:updated"/>
<xs:element ref="alm:state"/>
<xs:element ref="dc:creator"/>
<xs:element ref="alm:owner"/>
<xs:element maxOccurs="1" minOccurs="0" name="locked" type="xs:boolean"/>
<xs:element minOccurs="0" name="weight" type="xs:int"/>
<xs:element minOccurs="0" name="priority" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="estimate" type="xs:long"/>
<xs:element name="trigger" type="xs:string"/>
<xs:element name="activity" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="suspect" type="xs:boolean"/>
<xs:element maxOccurs="1" minOccurs="0" ref="approvals"/>
<xs:element maxOccurs="1" minOccurs="0" ref="risk"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="category">
<xs:complexType>
<xs:attribute name="term" type="xs:string"/>
<xs:attribute name="value" type="xs:string"/>
<xs:attribute name="termUUID" type="xs:string"/>
<xs:attribute name="valueUUID" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element ref="variables"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="testscript">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
<xs:attribute ref="vega:id"/>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" name="remotescript">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
<xs:attribute ref="vega:id"/>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="template">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
<xs:attribute ref="vega:id"/>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" name="requirement">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
<xs:attribute ref="vega:id"/>
<xs:attribute name="externalReqId" type="xs:string"/>
<xs:attribute name="reqProId" type="xs:string"/>
<xs:attribute name="reqProProject" type="xs:string"/>
<xs:attribute name="rel" type="xs:string"/>
<xs:attribute name="summary" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" name="workitem">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
<xs:attribute ref="vega:id"/>
<xs:attribute name="rel" type="xs:string"/>
<xs:attribute name="summary" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" name="attachment">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
<xs:attribute ref="vega:id"/>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="customAttributes"/>
<!-- dynamic data -->
<xs:element ref="markerAny"/>
<xs:any maxOccurs="unbounded" minOccurs="0" processContents="skip"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
Content Element Detail (defined in this component only; 30/34)
This is a placeholder for any user defined sections that have been added to the test case.
XML Source (w/o annotations (1); see within schema source)
<xs:any maxOccurs="unbounded" minOccurs="0" processContents="skip"/>

alm:owner
Type:
anonymous, mixed content
The contributor that owns the test case.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="alm:owner"/>

alm:state
Type:
anonymous, mixed content
An ID of the current state of the test case. Unless otherwise specified the possible values are: <ul><li>com.ibm.rqm.planning.common.new</li><li>com.ibm.rqm.planning.common.underreview</li><li>com.ibm.rqm.planning.common.approved</li><li>com.ibm.rqm.planning.common.retired</li></ul>
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="alm:state"/>

alm:updated
Type:
xs:dateTime, predefined, simple content
[READ-ONLY] The last modification date of a resource. Format is XML dateTime.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="alm:updated"/>

dc:creator
Type:
anonymous, mixed content
The contributor that created the test case.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="dc:creator"/>

dc:description
Type:
xs:string, predefined, simple content
An account of the test case.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="dc:description"/>

dc:title
Type:
xs:string, predefined, simple content
A name given to the test case.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="dc:title"/>

qm:activity
Type:
xs:string, predefined, simple content
The type of test to be performed.
XML Source (w/o annotations (1); see within schema source)
<xs:element name="activity" type="xs:string"/>

qm:alias
Type:
anonymous (extension of xs:string), simple content
Simple Content
xs:string
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="alias"/>

qm:approvals
Type:
anonymous, complex content
An authorization granted for the test case.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" ref="approvals"/>

qm:attachment
Type:
anonymous, empty content
An file that has beed attached to the test case.
XML Source (w/o annotations (3); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="attachment">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
<xs:attribute ref="vega:id"/>
</xs:complexType>
</xs:element>

qm:category
Type:
anonymous, empty content
Category terms are provided in an attribute as is the value for that term. The category is used for query support and for sortable table views.
XML Source (w/o annotations (5); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="category">
<xs:complexType>
<xs:attribute name="term" type="xs:string"/>
<xs:attribute name="value" type="xs:string"/>
<xs:attribute name="termUUID" type="xs:string"/>
<xs:attribute name="valueUUID" type="xs:string"/>
</xs:complexType>
</xs:element>

qm:com.ibm.rqm.planning.editor.section.testCaseDesign
Type:
qm:richtext, mixed content
Define the overall design for the current test case. This can include any background setup information or topologies.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" name="com.ibm.rqm.planning.editor.section.testCaseDesign" type="qm:richtext"/>

qm:creationDate
Type:
xs:dateTime, predefined, simple content
XML Source (see within schema source)
<xs:element maxOccurs="1" minOccurs="1" ref="creationDate"/>

qm:customAttributes
Type:
anonymous, complex content
User defined custom attribute name/value data on this artifact.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" ref="customAttributes"/>

qm:estimate
Type:
xs:long, predefined, simple content
Estimate in milliseconds
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" name="estimate" type="xs:long"/>

qm:locked
Type:
xs:boolean, predefined, simple content
[READ-ONLY] Boolean indicating the test case is locked.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" name="locked" type="xs:boolean"/>

qm:markerAny
Type:
xs:string, predefined, simple content
[READ-ONLY] A empty marker.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="markerAny"/>

qm:priority
Type:
xs:string, predefined, simple content
The priority of the test. Acceptable values are: "literal.priority.101", "literal.priority.110", "literal.priority.120" and "literal.priority.130" for unassigned, low, medium and high priority respectively
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="priority" type="xs:string"/>

qm:remotescript
Type:
anonymous, empty content
Reference to a type of test script that references an external tool based script.
XML Source (w/o annotations (3); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="remotescript">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
<xs:attribute ref="vega:id"/>
</xs:complexType>
</xs:element>

qm:requirement
Type:
anonymous, empty content
[DEPRECATED] A link to a rationale behind the test case. Normally, this will be a motivator of some kind. Note, this property will be removed after RQM 4.0.
XML Source (w/o annotations (8); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="requirement">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
<xs:attribute ref="vega:id"/>
<xs:attribute name="externalReqId" type="xs:string"/>
<xs:attribute name="reqProId" type="xs:string"/>
<xs:attribute name="reqProProject" type="xs:string"/>
<xs:attribute name="rel" type="xs:string"/>
<xs:attribute name="summary" type="xs:string"/>
</xs:complexType>
</xs:element>

qm:risk
Type:
anonymous, complex content
The calculated risk of the test case.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" ref="risk"/>

qm:suspect
Type:
xs:boolean, predefined, simple content
[READ-ONLY] Boolean indicating the test case is suspect.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" name="suspect" type="xs:boolean"/>

qm:template
Type:
anonymous, empty content
A link to a template used to specify the sections in the testcase.
XML Source (w/o annotations (3); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" name="template">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
<xs:attribute ref="vega:id"/>
</xs:complexType>
</xs:element>

qm:testscript
Type:
anonymous, empty content
A link to a testscript used to execute this testcase.
XML Source (w/o annotations (3); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="testscript">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
<xs:attribute ref="vega:id"/>
</xs:complexType>
</xs:element>

qm:trigger
Type:
xs:string, predefined, simple content
[READ-ONLY]
XML Source (w/o annotations (1); see within schema source)
<xs:element name="trigger" type="xs:string"/>

qm:variables
Type:
anonymous, complex content
XML Source (see within schema source)
<xs:element ref="variables"/>

qm:webId
Type:
xs:int, predefined, simple content
[READ-ONLY] Integer ID as seen in the web UI.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" name="webId" type="xs:int"/>

qm:weight
Type:
xs:int, predefined, simple content
An integer measure of the estimated effort that it will take to execute the testcase.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="weight" type="xs:int"/>

qm:workitem
Type:
anonymous, empty content
A Jazz work item that is associated with the test case.
XML Source (w/o annotations (5); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="workitem">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
<xs:attribute ref="vega:id"/>
<xs:attribute name="rel" type="xs:string"/>
<xs:attribute name="summary" type="xs:string"/>
</xs:complexType>
</xs:element>

XML schema documentation generated with DocFlex/XML RE 1.7.2 using DocFlex/XML XSDDoc 2.1.0 template set