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. See the link to schema information in step 4.

Procedure

  1. In the main menu, click Construction > Import > Test Scripts.
  2. Select Manual, and click Browse.
  3. Locate the file, and click Open.
  4. Click Import to import the test script into the repository.
    Tip: For more information on the import format and content model elements for test case XML files, see the test script XML schema documentation.

    See the following example for 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>


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