尝试生成代码时,已编码的UI测试记录器通常会挂起 [英] Coded UI Test Recorder Often Hangs When Trying to Generate Code

查看:97
本文介绍了尝试生成代码时,已编码的UI测试记录器通常会挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi there

我经常发现,在完成使用编码的UI测试记录器记录我的动作并单击生成代码"后,记录器挂在请稍候"屏幕上.进度条,并且永远不会生成代码.

I often find that after I have finished recording my actions using the Coded UI Test Recorder and I click "Generate Code", the recorder hangs on the "Please Wait" progress bar and never generates the code.


我不会执行大量操作,因此我会缓慢执行这些操作,以便在执行下一个操作之前先确认每个操作.

I do not perform a large number of actions and I perform them slowly to allow each action to be acknowledged before performing the next.

我正在记录在包含Infragistics组件的WinForms应用程序上执行的操作.

I am recording actions performed on a WinForms application which contains Infragistics components.

我正在使用带有更新5的Microsoft Visual Studio Premium 2013.

I am using Microsoft Visual Studio Premium 2013 with Update 5.

我的笔记本电脑规格:运行Windows 7 Professional的2.9GHz Intel Core i7处理器和8GB RAM.

My laptop spec: 2.9GHz Intel Core i7 processor with 8GB of RAM running Windows 7 Professional.

记录时有足够的内存和磁盘空间.

There is plenty of memory and disk space available whilst recording.

有谁知道为什么会这样以及我如何解决这个问题?

Does anyone know why this is happening and how I can resolve this issue?

我可以查看任何地方的日志记录,这可能表明问题出在哪里?

Is there any logging anywhere that I can look at that might indicate what the problem is?

检查器不会挂起,并且能够找到任何控件.此问题仅与记录器有关.

The inspector does not hang and is able to locate any control. This problem is only with the recorder.

谢谢特里斯坦

推荐答案

特里斯坦DS,



Hi Tristan DS,

>>我可以查看的任何地方的日志都可能表明问题所在吗?

>>Is there any logging anywhere that I can look at that might indicate what the problem is?

播放期间,我们可以通过

During the playback, we could get the actions logs with this MSDN document, but if during the recording, pleas pay attention to the Recorded Actions Panel. All available actions will be added to it. Because there are 3rd controls during recording, so please pay attention their actions.

首先,我的描述是排除是否由3< sup>引起的此问题. </sup>控件.因此,在其他情况下,您可以尝试在没有第三个控件的情况下记录控件的动作,以查看是否存在相同的问题?

Above all, my description is to exclude whether this issue caused by 3<sup> </sup>rd controls. So there is other scenario, you could try to record controls actions without 3 rd controls to see whether has the same issue?

此致

奥斯卡


这篇关于尝试生成代码时,已编码的UI测试记录器通常会挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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