Visual Studio 2017 Ent。编码的UI测试生成器不断崩溃 [英] Visual Studio 2017 Ent. Coded UI Test Builder keeps crashing

查看:91
本文介绍了Visual Studio 2017 Ent。编码的UI测试生成器不断崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这真令人沮丧。由于旧的文档和不断的异常被抛出,我即将倾销这些工具用于更环保的牧场。 


90%的时间我完成录制并点击生成代码编码UI Test Builder会抛出未处理的异常。在这些时间中,大约10%甚至没有使其成为"生成代码"。在抛出异常之前。我正在使用Visual Studio Enterprise
2017以及Windows 10 Enterprise系统版本1607上的最新版本(截至发布日期)。


应用程序的事件查看器尤其如此无用的许多未知数:


错误的应用程序名称:CodedUITestBuilder.exe,版本:15.0.26208.0,时间戳:0x589be285

错误模块名称:未知,版本:0.0.0.0 ,时间戳:0x00000000

异常代码:0xc000041d

故障偏移:0x0eec17ad

故障流程ID:0x30bc

错误的应用程序启动时间:0x01d2ae3e65fb9e2d

错误的应用程序路径:C:\Program Files(x86)\ Microsoft Visual Studio \\\ 2017 \ Enterprise™\\ Common7 \IDE \CodedUITestBuilder.exe

错误模块路径:未知

报告ID:e985f748-efe0-4812-8a74-86ea04c6fe63

错误包裹全名: 

错误的包相关应用程序ID: 


感谢任何帮助!

解决方案

嗨朋友,  


对您的痛苦感到抱歉。 


说实话,在尝试使用VS2017重现您的问题时,我得到了一个单击Generate按钮之后的问题,测试构建器只是挂在那里,我等了一个多小时,结果是通过任务管理器关闭它,
这真是出乎意料,因为我总是使用VS 2015企业用于编码的UI测试。



但是后来重启Visual Studio后,这次运行得很好,我真的说不出是什么部分引起的那个问题。但我认为,我必须诚实地说,也许VS2017运行编码ui测试并不稳定,这就是为什么我仍然坚持使用
VS2015作为我的主要工具。 





在你的情况下,我建议你关闭VS2017 IDE,然后重新启动它,并尝试再次记录一些测试,看它是否可以工作。 





还请确保机器中的Ram内存有足够的空间当你录制时。 




 


如果上述情况不起作用,并且您身边的VS仍然存在这类问题,您可以修复它。 (通过Visual Studio安装程序)



最后,在您将产品转储到2017年之前,请给出机会
VS 2015 Enterprise
,以防万一。



希望你能理解。 


祝你有美好的一天。


 




祝你好运, 


Fletch






This is getting really frustrating. I'm on the verge of dumping these tools for greener pastures because of old documentation and constant exceptions being thrown. 

90% of the time I complete a recording and click Generate Code Coded UI Test Builder throws an unhandled exception. Out of those times about 10% don't even make it to "Generate Code" before throwing the exception. I'm using Visual Studio Enterprise 2017 with the very latest build (as of posting date) on a Windows 10 Enterprise system build 1607.

Event Viewer for the Application is particularly useless with many unknowns:

Faulting application name: CodedUITestBuilder.exe, version: 15.0.26208.0, time stamp: 0x589be285
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc000041d
Fault offset: 0x0eec17ad
Faulting process id: 0x30bc
Faulting application start time: 0x01d2ae3e65fb9e2d
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CodedUITestBuilder.exe
Faulting module path: unknown
Report Id: e985f748-efe0-4812-8a74-86ea04c6fe63
Faulting package full name: 
Faulting package-relative application ID: 

Any help is appreciated!

解决方案

Hi friend, 

Sorry about your suffering. 

Be honest, while trying to reproduce your issue by using VS2017 in my end, I got an issue which is after clicking Generate button the test builder was just hanging there, and I waited it for more than an hour, the result is to close it through Task Manager, which is really unexpected, as I always use VS 2015 Enterprise for Coded UI testing.

But later, after restarting the Visual Studio, it works well this time, I really cannot tell what part caused that issue. But I makes think, which I have to say honestly, maybe VS2017 is not that stable to run coded ui test, that's why I still insist using VS2015 as my main tool. 


In your case, I suggest you close the VS2017 IDE then restart it, and tried to record some test again, to see if it could work. 


And please also make sure that the Ram memory in your machine has much enough space while you are recording. 

 

If above don't work either, and the VS in your side keep having this kind of issues, you may repair it. (via Visual Studio Installer)

At last, before you dump the product vs 2017, please give a chance to VS 2015 Enterprise, just in case.

Hope you could understand. 

Have a great day.

 

Best regards, 

Fletch


这篇关于Visual Studio 2017 Ent。编码的UI测试生成器不断崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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