如何将“数据驱动的测试结果"添加到“测试结果详细信息"窗口以进行自动测试 [英] How to add 'Data Driven Test Results' to 'Test Result Details' window for automated testing

查看:74
本文介绍了如何将“数据驱动的测试结果"添加到“测试结果详细信息"窗口以进行自动测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我上次运行远程编码UI测试(使用物理环境)时,这些测试返回的结果存在问题.测试后,我在测试结果"选项卡中双击失败的测试用例,然后打开测试结果详细信息"窗口 没有名为数据驱动的测试结果"的部分,如下所示:

Hi, last time I was running remotely Coded UI Test (using physical environment) and I have problem with the returned results from these tests. When after test I double-click on failed Test Case in 'Test Results' tab and 'Test Result Details' window opens there is not section called 'Data Driven Test Results' as below:

但是 何时 发射 相同 测试 本地 by Visual Studio the 相同 操作- 测试结果详细信息"中有数据驱动的测试结果",我可以看到出了什么问题, 示例 下面:

But when launching the same tests locally by Visual Studio and do the same operations - in 'Test Result Details' there is 'Data Driven Test Results' and I can see what was wrong, example below:

我如何 数据驱动的测试结果"添加到测试结果详细信息"窗口 for 自动化 远程 正在测试吗?

How can I add 'Data Driven Test Results' to 'Test Result Details' window for automated remote testing?

 

推荐答案

此外,我只是检查了是否运行测试并且不从XML文件添加测试数据(我这样做是因为描述了此博客:http://blogs.msdn.com/b/mathew_aniyan/archive/2009/03/17/data-driving-coded-ui-tests.aspx)-一切正常,如下所示:

Additionally, just I checked that if I run tests and I DON'T add test data from XML file (I did it as described this blog: http://blogs.msdn.com/b/mathew_aniyan/archive/2009/03/17/data-driving-coded-ui-tests.aspx) - everything is working properly, as below:



 

有错误消息框,我可以看到哪里出了问题.

There is the error message box and I can see there what was wrong.

我应该 解决我的问题 问题   工作 正确 显示 结果 for 远程 使用 测试数据使用XML文件进行测试.

So how should I solve my problem that  work properly displaying the results for remote testing using XML file with test data.

 

在此先感谢您的帮助!

Thanks in advance for any help!!!


这篇关于如何将“数据驱动的测试结果"添加到“测试结果详细信息"窗口以进行自动测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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