在Team Foundation Web Portal中执行测试用例时,不会从测试用例中删除所有迭代。 [英] All iterations are not deleted from Test Cases when executing the test case in the Team Foundation Web Portal.

查看:77
本文介绍了在Team Foundation Web Portal中执行测试用例时,不会从测试用例中删除所有迭代。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我曾多次遇到过这个问题。  我找不到另一个涵盖此问题的论坛。

I have had this issue several times.  I could not find another forum that covers this issue.

问题: 如果从测试用例中删除所有迭代或参数值,它会在测试管理器中保存并且看起来很好, Visual Studio,甚至是Web Portal。  但是如果您从Web Portal运行测试,则
Web Portal Test Runner中会包含一个额外的迭代。  测试运行者实际上说测试1的1,但它的行为就像有两次迭代,你必须通过或失败第二次迭代或整个测试失败。

PROBLEM:  If you delete all iterations or Parameter values from a test case, it saves and looks fine in Test Manager, Visual Studio, and even the Web Portal.  But if you run the test from the Web Portal, an additional iteration is included in the Web Portal Test Runner.  The test runner actual says Test 1 of 1, but it acts like there are two iterations and you must pass or fail the second iteration or the whole test fails.

是否有解决方法为此?

谢谢,Deirdre Morgan

Thanks, Deirdre Morgan

推荐答案

嗨Deirdre Morgan,

Hi Deirdre Morgan,

感谢您的帖子。

您能否告诉我您的TFS服务器的版本是什么?

Could you please tell me what's the version of your TFS server?

>>如果从测试用例中删除所有迭代或参数值,它会在Test Manager,Visual Studio甚至Web Portal中保存并且看起来很好。  但是如果您从Web Portal运行测试,则
Web Portal测试运行器中会包含一个额外的迭代。  

根据描述,我在TFS2015 Update3中测试了它。但我无法重现您的问题,如果我在测试用例中删除参数,我的测试运行中只会包含一次迭代。

According to the description, I tested it in my side with TFS2015 Update3. But I can't reproduce your issue, if I delete the parameters in my test case, only one iteration will be included in my test run.

我的测试步骤:

1.使用两个参数@username,@ password与两个值创建一个测试用例。

1.Create a test case with two parameters @username, @password with two values.

2.运行测试用例,它有两次迭代。

2.Run the test case, it has two iterations.

3.编辑测试用例并删除两个参数。

3.Edit the test case and delete the two parameters.

4.再次运行测试csae,它只有一次迭代,一切正常。

4.Run the test csae again, it has only one iteration, and everything works well.

我错过任何一步吗?如果我误解了您的问题,请随时告诉我。

Am i miss any step? If I misunderstood your issue, please feel free to let me know.

最好的问候,

萧湖


这篇关于在Team Foundation Web Portal中执行测试用例时,不会从测试用例中删除所有迭代。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆