Importing test cases

You can import test cases that are saved as local XML files directly into your repository, where they are then available on the Browse Test Cases page.

Before you begin

Ensure that the local XML file to import adheres to the XML schema documentation.

The following example of a basic test-case XML file that adheres to the schema:

<?xml version="1.0"?>
<testcase xmlns="http://jazz.net/xmlns/alm/qm/v0.1/">
	<title xmlns="http://purl.org/dc/elements/1.1/">New Customer Order Test Case</title>
	<description xmlns="http://purl.org/dc/elements/1.1/">Test the ordering
	functionality of the Classics Java application.</description>
	<updated xmlns="http://jazz.net/xmlns/alm/v0.1/">2008-08-23T01:00:21.437Z</updated>
	<state xmlns="http://jazz.net/xmlns/alm/v0.1/">com.ibm.rqm.planning.common.new</state>
	<creator xmlns="http://purl.org/dc/elements/1.1/">mary</creator>
	<owner xmlns="http://jazz.net/xmlns/alm/v0.1/">unassigned</owner>
	<regressionTest>false</regressionTest>
	<weight>20</weight>
	<category term="Category" value="Web UI"/>
	<category term="Function" value="Execution"/>
	<category term="Theme" value="Functionality"/>
</testcase>

Procedure

  1. In the main menu, click Construction > Import > Test Cases.
  2. Select Import from a local XML file, and click Browse.
  3. Locate the file, and click Open.
  4. Click Import to import the test case into the repository.


Have a problem or a question? Post it in the Jazz.net forum.