将测试用例克隆到同一测试计划中的新套件中 [英] Cloning test cases into a new suite within the same Test Plan
问题描述
我有1个sprint迭代的测试计划,其中我有2个基于需求的套件,用于2个不同的PBI。
1 - 用于测试X
2 - 用于测试Y
基本上大多数测试用例都是复制品,除了小的差异,所以我想要克隆我从第一个套件到第二个套件创建的测试用例,这样它们就是新的测试用例,我可以编辑一些东西,而不会影响原来的
个案(所以我不能添加现有的)。我不想复制它们,因为有负载,我会在那里不断更换链接等新箱子。
尽我所能我不能找到一种方法,显然在测试经理中,如果他们在不同的测试计划中,你只能将测试用例从一个套件克隆到另一个套件。
所以唯一我能做到的方法是:
创建一个新的计划
克隆测试从计划1中的套件1到计划2中的套件1,
将现有测试用例添加到套件2计划1套件1计划2中$
然后删除套件1计划2和存档计划2
I have 1 test plan for a sprint iteration and within it I have 2 requirement based suites for 2 different PBI's.
1 - is for testing X
2 - is for testing Y
Essentially most of the test cases are going to be replicas except for small differences and so I want to clone the test cases I've created from the 1st suite to the 2nd suite so they are new test cases and I can edit some stuff without affecting the original
cases (so I can't add existing). I didn't want to copy them as there's loads and I'd be there for ever changing links etc on the new cases.
Try as I might I couldn't find a way, and apparently in test manager you can only clone test cases from one suite to another if they're within a different test plan.
So the only way I could do it, was to:
create a new plan
clone tests from suite 1 in plan 1 to suite 1 in plan 2,
add existing tests case into suite 2 plan 1 from suite 1 plan 2
then delete suite 1 Plan 2 and archive plan 2
有谁知道你为什么只能跨计划克隆?我根本想不出任何好的理由,这似乎是无稽之谈。反正有没有解决它或建议比我描述的更容易?我尝试使用命令行来欺骗它但是
不起作用。
Does anyone know why you can only clone across Plans? I can't think of any good reason at all, it just seems nonsense. Is there anyway to get around it or a suggestion for an easier way than I have described? I tried using command line to trick it but that didn't work.
谢谢: - )
推荐答案
您好,
在同一测试计划中,没有将测试用例从测试套件克隆到另一个测试套件的功能。
There isn’t the feature to clone test case from a test suite to another test suite within the same test plan.
实现它的另一种方法是:
Another way to achieve it is that:
- 右键单击测试用例>创建副本并添加到套件
- 选择另一个测试套件>添加>找到克隆的测试用例>添加
- 删除原始测试套件中的测试用例(克隆)
如果有太多需要克隆的测试用例,那么您的步骤会更好。
If there are too many test cases need to be clone, your steps is better.
问候
Starain
这篇关于将测试用例克隆到同一测试计划中的新套件中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!