匯入測試案例

您可以將儲存成本端 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 討論區發表。