通过MS Excel导入测试用例。步骤字段的问题 [英] Import test cases through MS Excel. issue with Steps field
问题描述
如果这很重要 - 我们的公司是微软的金牌合作伙伴。
If it's important - our Company is a Microsoft's Gold Partner.
我们在TFS 2015中有两个项目集合。我们需要将测试用例从一个转移到另一个。
We have two project collections in TFS 2015. We need to transfer test cases from one to another.
我们使用MS Excel和Team Foundation加载项完成了此操作。当我们导出测试用例时,步骤字段看起来像:
We have done this using MS Excel and Team Foundation add-in. When we exported test cases steps field was looking like:
< DIV>< P>前提条件:< / P>< / DIV>
<DIV><P>Preconditions: </P></DIV>
< DIV>< P> Step1< / P>< / DIV>
<DIV><P>Step1</P></DIV>
< DIV>< P> Step2< / P>< / DIV>
<DIV><P>Step2</P></DIV>
< DIV>< P> Step3< / P>< / DIV>
<DIV><P>Step3</P></DIV>
尝试将测试用例导入到目标集合因为这个html步骤没有正确显示。不会显示所有导入的测试用例的所有步骤。
While trying to import test case to a target collection because of this html steps aren't displayed correctly. All steps for all imported test cases are not displayed.
您能否建议我们更好地转移测试用例?或者我们需要进行一些改动?
Could you please advice us a better way to transfer test cases? Or we need to do our import with some alterations?
推荐答案
嗨ndidyk,
Hi ndidyk,
感谢您在此发帖。
It是TFS中的已知问题,我们无法使用Excel将测试用例步骤导回到TFS。
It is a known issue in TFS, we could not use Excel to import the test case steps back to TFS.
作为一种解决方法,您可以查看此线程:
http://sqa.stackexchange.com/questions/14220/importing- test-cases-from-excel-to-tfs 。
As a workaround, you could take a look at this thread: http://sqa.stackexchange.com/questions/14220/importing-test-cases-from-excel-to-tfs.
- 在TFS中,切换到网格视图
- In Excel选择所有步骤并将其复制到剪贴板
- 返回TFS,粘贴步骤
或者您可以将步骤设置为共享步骤并插入他们一个接一个地进入其他项目。
Or you can set the steps as shared steps and insert them into other project one by one.
你也可以尝试使用Test Case Migrator,你可以通过这个工具导入测试用例:
And you could also try to use the Test Case Migrator, you could import test cases with steps by this tool:
http:/ /tcmimport.codeplex.com/
最好的问候
Limitxiao Gao
Limitxiao Gao
这篇关于通过MS Excel导入测试用例。步骤字段的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!