element <testcase>
Namespace:
Type:
anonymous complexType
Content:
complex, 24+any elements
Defined:
globally in qm.xsd, see XML source
Includes:
definitions of 24+any elements
Used:
never
XML Representation Summary
<testcase>
   
Content: 
dc:identifier, dc:title, dc:description, alm:updated, alm:state, dc:creator, alm:owner, weight, trigger, activity, approvals?, risk?, com.ibm.rqm.planning.editor.section.testCaseDesign?, com.ibm.rqm.planning.editor.section.testCasePreCondition?, com.ibm.rqm.planning.editor.section.testCasePostCondition?, com.ibm.rqm.planning.editor.section.testCaseExpectedResults?, category*, testscript*, remotescript*, template?, requirement*, workitem*, attachment*, regressionTest, {any}*
</testcase>
Content model elements (24):
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.
XML Source (w/o annotations (40); see within schema source)
<xs:element name="testcase">
<xs:complexType>
<xs:sequence>
<xs:element ref="dc:identifier"/>
<xs:element ref="dc:title"/>
<xs:element ref="dc:description"/>
<xs:element ref="alm:updated"/>
<xs:element ref="alm:state"/>
<xs:element ref="dc:creator"/>
<xs:element ref="alm:owner"/>
<xs:element name="weight" type="xs:int"/>
<xs:element name="trigger" type="xs:string"/>
<xs:element name="activity" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" ref="approvals"/>
<xs:element maxOccurs="1" minOccurs="0" ref="risk"/>
<xs:element maxOccurs="1" minOccurs="0" ref="com.ibm.rqm.planning.editor.section.testCaseDesign"/>
<xs:element maxOccurs="1" minOccurs="0" ref="com.ibm.rqm.planning.editor.section.testCasePreCondition"/>
<xs:element maxOccurs="1" minOccurs="0" ref="com.ibm.rqm.planning.editor.section.testCasePostCondition"/>
<xs:element maxOccurs="1" minOccurs="0" ref="com.ibm.rqm.planning.editor.section.testCaseExpectedResults"/>
<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:complexType>
</xs:element>
<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: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: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 name="regressionTest" type="xs:boolean"/>
<xs:any maxOccurs="unbounded" minOccurs="0" processContents="skip"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Content Element Detail (defined in this component only; 25/25)
This is a placeholder for any user defined sections that have been added to the test plan.
XML Source (w/o annotations (1); see within schema source)
<xs:any maxOccurs="unbounded" minOccurs="0" processContents="skip"/>

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"/>

alm:owner
Type:
xs:string, predefined, simple content
The contributor who owns the test case. Jazz username.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="alm:owner"/>

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

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

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"/>

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>

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 (3); 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:complexType>
</xs:element>

com.ibm.rqm.planning.editor.section.testCaseDesign
Type:
anonymous, empty content
XHTML description of the test case design.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" ref="com.ibm.rqm.planning.editor.section.testCaseDesign"/>

com.ibm.rqm.planning.editor.section.testCaseExpectedResults
Type:
anonymous, empty content
XHTML description the expected results of the test.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" ref="com.ibm.rqm.planning.editor.section.testCaseExpectedResults"/>

com.ibm.rqm.planning.editor.section.testCasePostCondition
Type:
anonymous, empty content
XHTML description the expected conditions after the test has run.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" ref="com.ibm.rqm.planning.editor.section.testCasePostCondition"/>

com.ibm.rqm.planning.editor.section.testCasePreCondition
Type:
anonymous, empty content
XHTML description of the condition necessary for the test to be run.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" ref="com.ibm.rqm.planning.editor.section.testCasePreCondition"/>

dc:creator
Type:
xs:string, predefined, simple content
An entity primarily responsible for making the test case. Jazz username.
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:identifier
Type:
xs:string, predefined, simple content
A unique identifier for this resource. A URL is typically provided for this element. This property is read-only.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="dc:identifier"/>

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"/>

regressionTest
Type:
xs:boolean, predefined, simple content
** DEPRECATED **
XML Source (w/o annotations (1); see within schema source)
<xs:element name="regressionTest" type="xs:boolean"/>

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>

requirement
Type:
anonymous, empty content
A link to a rationale behind the test case. Normally, this will be a motivator of some kind.
XML Source (w/o annotations (3); 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:complexType>
</xs:element>

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

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>

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>

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

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 name="weight" type="xs:int"/>

workitem
Type:
anonymous, empty content
A Jazz work item that is associated with the test case.
XML Source (w/o annotations (3); 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:complexType>
</xs:element>

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