将testing用例导入Testlink

我正试图将testing用例导入Testlink。 xml文件来自excel。 我有的领域是:

Name, Summary, Stepactions, Expectedresults 

不过,我只能在Testlink看到Name和Summary。 拼图和预期结果不会导入。 怎么了??

非常感谢!

不知道你的XML看起来像什么,但是这对我有用。 我正在使用Testlink版本1.9.7

 <?xml version="1.0" encoding="UTF-8"?> <testcases> <testcase name="NAME_OF_TESTCASE"> <summary>Description of test case</summary> <preconditions>some pre conditions</preconditions> <execution_type>2</execution_type> <steps> <step> <step_number>1</step_number> <actions>Do a thing</actions> <expectedresults>This is what to expect</expectedresults> <execution_type>2</execution_type> </step> <step> <step_number>2</step_number> <actions>Do another thing</actions> <expectedresults>more expected results</expectedresults> <execution_type>1</execution_type> </step> </steps> <custom_fields> <custom_field> <name>some_cf_name</name> <value>some_cf_value</value> </custom_field> </custom_fields> </testcase> 

看看https://github.com/MrBricodage/TestLink–ImportExcelMacro

  • 它有描述如何使用它的pdf文档。

花了三天的时间find这个解决scheme只有你必须做的是,

  • 从这里下载前转换器只适用于Windows-7。
  • 创buildTestCases.xlsx Excel文件,其中包含字段Name, Importance, Summary, Preconditions, Actions, Expected-results
  • 打开下载的应用程序Ex-Converter.exe
  • 给出TestCases.xlsx文件和新文件TestCases.xmlpath
  • 点击Convert
  • 在TestLink> Test specification > Your Project name > Create test suite >testing套件内部Import > TestCases.xml
  • 你是完成:)