CodedUI测试结果 [英] CodedUI Test Results

查看:52
本文介绍了CodedUI测试结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好请帮助我找到我的编码ui测试的结果。


我正在从Visual Studio运行我的编码ui测试。运行测试后,我在Test explorer中看到pass / failed的状态。如果我点击输出链接,我可以看到任何错误。关闭Visual Studio后,我的结果就会丢失。我想在某处保留结果
。 在文件资源管理器中,我注意到使用一堆文件夹创建了一个Results文件夹。有一个Deploy文件夹,其中包含In和Out文件夹,另一个文件夹包含我的机器名称和In和Out文件夹。 有没有办法将整个执行的结果
记录在一个文件中,这样我就能看到失败的整个测试列表?

解决方案

< blockquote>

Hi A Tester,


欢迎光临MSDN论坛。


>>

有没有办法将整个执行的结果记录在一个文件中,这样我才能看到失败的整个测试列表?


请使用
MSTest.exe命令行,带有/ resultsfile:[文件名]选项,用于运行编码的UI测试。这会将测试运行结果保存到指定的文件。




问候,


Judyzh


Hi Please help me find the results of my coded ui test.

I am running my coded ui tests from Visual Studio. After I run tests, I see the status of pass/failed in the Test explorer. If I click on the output link, I can see any errors. Once I close Visual Studio, my results are lost. I would like to keep the results somewhere.  In File Explorer, I noticed that a Results folder was created with a bunch of folders. There is a Deploy folder with an In and Out folder and another folder with my machine name and an In and Out folder.  Is there a way to log the results of the entire execution in one file so I can see the entire list of tests that failed?

解决方案

Hi A Tester,

Welcome to the MSDN forum.

>> Is there a way to log the results of the entire execution in one file so I can see the entire list of tests that failed?

Please use MSTest.exe command line with /resultsfile:[file name] options to run your coded UI test. This will save the test run results to the specified file.

Regards,

Judyzh


这篇关于CodedUI测试结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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