xml – 将测试用例导入Testlink
发布时间:2020-12-15 23:56:30 所属栏目:百科 来源:网络整理
导读:我正在尝试将测试用例导入Testlink. xml文件来自excel.我的领域是: Name,Summary,Stepactions,Expectedresults 但是,我只在Testlink中看到名称和摘要.不会导入步骤和预期结果.怎么了?? 非常感谢! 不确定你的xml是什么样的,但这对我有用.我正在使用Testli
我正在尝试将测试用例导入Testlink. xml文件来自excel.我的领域是:
Name,Summary,Stepactions,Expectedresults 但是,我只在Testlink中看到名称和摘要.不会导入步骤和预期结果.怎么了?? 非常感谢!
不确定你的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> (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |