Importing manual test scripts

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

Before you begin

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

The following example is a basic test script XML file that adheres to the schema:

<?xml version="1.0" encoding="UTF-8"?>
<testscript xmlns="http://jazz.net/xmlns/alm/qm/v0.1/">
  <title xmlns="http://purl.org/dc/elements/1.1/">New Customer Order Test Script</title>
  <description xmlns="http://purl.org/dc/elements/1.1/">Steps to manually test the Customer Order functionality</description>
  <category xmlns="http://jazz.net/xmlns/alm/qm/v0.1/" value="Web UI" term="Function"/>
  <state xmlns="http://jazz.net/xmlns/alm/v0.1/">com.ibm.rqm.planning.common.new</state>
  <steps xmlns="http://jazz.net/xmlns/alm/qm/v0.1/">
    <step xmlns="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/" type="execution">
      <description>
        <div xmlns="http://www.w3.org/1999/xhtml">Log in to the system</div>
      </description>
      <expectedResult>
        <div xmlns="http://www.w3.org/1999/xhtml">Login succeeds</div>
      </expectedResult>
    </step>
    <step type="execution">
      <description>
        <div xmlns="http://www.w3.org/1999/xhtml">Place an order</div>
      </description>
      <expectedResult>
        <div xmlns="http://www.w3.org/1999/xhtml">An order is created in the system</div>
      </expectedResult>
    </step>
  </steps>
</testscript>

Procedure

  1. In the main menu, click Construction > Import > Test Script.
  2. Click Browse.
  3. Locate the file, and click Open.
  4. Click Import to import the test script into the repository.
    Note: Engineering Lifecycle Management links, such as requirement or work item links, cannot be imported.