导入测试用例

您可直接将另存为本地 XML 文件的测试用例导入到存储库中,导入后,将在该存储库的“浏览测试用例”页面上显示这些测试用例。

开始之前

请确保要导入的本地 XML 文件遵从 XML 模式文档。

以下示例是一个遵从该模式的基本测试用例 XML 文件:

<?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>

过程

  1. 在主菜单中,单击构造 > 导入 > 测试用例。
  2. 选择从本地 XML 文件导入,然后单击浏览。
  3. 找到文件并单击打开。
  4. 单击导入,以将测试用例导入到存储库中。


有疑问?请在 Jazz.net 论坛发帖。