建立配置檔以便匯出 Word 測試構件

當您匯出 Microsoft Word 測試構件時,您必須有一個配置檔,來定義如何將 XML 檔對映至「品質管理」構件。

程序

註: 配置項目等號的右端必須包含一個文字字串、表格或大綱定義。表格是用 Table( 項目表示。 清單是用 List( 項目表示。這兩個項目的結尾都必須是右括弧 ())。
如果要建立對映,請執行下列動作:

範例

以 4.0 版而言:清單中的設計和構件已變更為預期以 \n 隔開,而不是在一個構件內使用 \n,如下列範例所示:
1. title
1.1 testcase1 title
  1.1.1 testscript1 reference to the testcase1
    1.1.1.1 testscript1 step1 title
      1.1.1.1.1 testscript1 step1 description
      1.1.1.1.2 testscript1 step1 expectresuit
    1.1.1.2 testscript1 step2 title
      1.1.1.2.1 testscript1 step2 description
      1.1.1.2.2 testscript1 step2 expectresuit
    1.1.1.3 testscript1 step3 title
      1.1.1.3.1 testscript1 step3 description
      1.1.1.3.2 testscript1 step3 expectresuit
    1.1.1.4 testscript1 step4 title
      1.1.1.4.1 testscript1 step4 description
      1.1.1.4.2 testscript1 step4 expectresuit

1.2 testcase2 title
  1.2.1 testscript2 reference to the testcase2
    1.2.1.1 testscript2 step1 title
      1.2.1.1.1 testscript2 step1 description
      1.2.1.1.2 testscript2 step1 expectresuit
    1.2.1.2 testscript2 step2 title
      1.2.1.2.1 testscript2 step2 description
      1.2.1.2.2 testscript2 step2 expectresuit
    1.2.1.3 testscript2 step3 title
      1.2.1.3.1 testscript2 step3 description
      1.2.1.3.2 testscript2 step3 expectresuit
    1.2.1.4 testscript2 step4 title
      1.2.1.4.1 testscript2 step4 description
      1.2.1.4.2 testscript2 step4 expectresuit
兩個測試案例標題之間的空白行表示測試案例區隔。

意見