从.trx文件导航到错误行 [英] Navigating to error line from .trx file

查看:91
本文介绍了从.trx文件导航到错误行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个.exe 文件,用于在我的项目上运行测试。运行文件之后.trx 文件被创建。


那么在打开那个trx文件后我可以导航到导致该测试失败的行吗?


我使用的是Visual Studio 2017。

解决方案

< blockquote>

Hi Abhiprae Choudhury,


欢迎光临MSDN论坛。


你测试的是什么项目?


>>

所以有任何方法在打开trx文件之后我可以导航到导致该测试失败的行?


.trx文件是编码的UI测试结果文件吗?


根据我的知识,我们无法导航到导致该测试失败的行使用.trx文件。


例如,我们只能在编码的UI测试结果的.trx文件中找到结果摘要。




感谢您的理解。


问候,


Judyzh


Hi,

I got a .exe file for running test on my project. After running the file .trx file is created.

So is there any way in which after opening that trx file I can navigate to the line that caused that test to fail ?

I am using Visual Studio 2017.

解决方案

Hi Abhiprae Choudhury,

Welcome to the MSDN forum.

What’s the project are you testing?

>> So is there any way in which after opening that trx file I can navigate to the line that caused that test to fail ?

Is the .trx file the coded UI test result file?

Based on my knowledge, we could not navigate to the line that caused that test to fail use .trx file.

For example, we only could find the result summary in the .trx file of the coded UI test result.

Thanks for your understanding.

Regards,

Judyzh


这篇关于从.trx文件导航到错误行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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