运行与一种测试方法相关的自动化测试用例,测试运行错误执行 [英] Running Automate test cases which are associated one test method, Test run executing wrongly

查看:78
本文介绍了运行与一种测试方法相关的自动化测试用例,测试运行错误执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

团队

在MTM中,有10个测试用例.并有一种测试方法.现在,我已将所有10个测试用例(MTM)关联到测试方法.

In MTM, have 10 test cases. And have one Test method. Now,  I have associated all 10 test cases(MTM) to test method. 

我创建了计划和套件,并添加了测试用例.我选择了所有10个测试用例,并在一台代理计算机上执行.

I created plan and suite, added test cases. i selected all 10 test cases and executed in one agent machine. 

测试用例完成后,我打开了生成的.trx文件,观察到以下情况,

After test case finishes, I opened generated .trx file, observed the following,

1.所有显示测试方法名称的测试用例名称

1. All test case names showing test method name

2.它仅在10个测试案例中执行10次.

2. It is executed only one test case in 10 times.

谢谢

推荐答案

>>显示测试方法名称的所有测试用例名称

是的,因为它通过MSTest工具在程序集中运行测试并生成测试结果文件.您需要在MTM中检查每个测试用例的测试结果.

Yes, because it runs tests in the assembly via MSTest tool and generate the test result file. You need to check test result of each test cases in MTM.

>>它仅在10个测试案例中执行过10次.

否,如果需要一些时间才能在测试运行中运行测试,则可以比较测试的开始日期或完成日期.

No, you can compare tests’ start date or completed date if it takes some time to run test in test run.

致谢

Starain


这篇关于运行与一种测试方法相关的自动化测试用例,测试运行错误执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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