编码的UI脚本播放非常慢。 [英] Coded UI script playback is very slow.

查看:79
本文介绍了编码的UI脚本播放非常慢。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一系列UI测试,涵盖Silverlight应用程序的基本功能。测试本身似乎以可接受的速度运行,但是有序测试之间的时间似乎比我预期的要长得多。 


 


脚本中执行的操作可在大约10分钟内完成。但脚本的总运行时间是2:30小时。我没有设置任何等待时间,也没有睡眠呼叫。我已经看到很多关于将不同选项关闭到
减少播放的讨论,但我认为,因为我使用了大多数脚本的记录操作,并且没有使用等待或暂停,脚本将更接近于记录行动的速度。 


 


感谢您提供的任何帮助。

解决方案

你能看看线程
http://social.msdn.microsoft.com/Forums/en/vsautotest/thread/bce60238-d28c-4b19-8ba4-303132002221
 。如果没有解决问题,您可以共享一些代码并发送日志 -
abhinava@microsoft.com


I have a series of UI tests that cover basic functionality of our Silverlight application. The tests themselves seem to run at an acceptable pace, but the time it takes between ordered tests seems to take much longer than I would expect. 

 

The actions performed in the scripts can be done in roughly 10 minutes. But the overall run time of the scripts is 2:30 hours. I don't have any wait times set and there are no sleep calls. I have seen a lot of talk about turning different options off to decrease playback, but I would think that since I used recorded actions for most of the script and didn't use waits or pauses that the scripts would run closer to the pace the actions were recorded at. 

 

Thanks for any help you can offer.

解决方案

Can you take a look at the thread http://social.msdn.microsoft.com/Forums/en/vsautotest/thread/bce60238-d28c-4b19-8ba4-303132002221 . If tis doesnt solve problem can you share some code and send the logs - abhinava@microsoft.com .


这篇关于编码的UI脚本播放非常慢。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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