为什么 TestComplete 这么慢?
我们正在使用 AQTime 的 TestComplete 通过我们的客户端/服务器应用程序在客户端测试 GUI。 它是用Delphi 2007编译的。客户端源代码约为140万条源代码。 硬件是 Intel 双核 2.13 Mhz、2 GB RAM,使用 Windows XP Pro。
我使用所有调试选项编译应用程序,并按照文档中所述链接到 TCOpenApp、tcOpenAppClasses、tcPublicInfo、tcDUnitSupport,使其成为开放应用程序。 生成的 exe 文件大约为 50 MB。
现在运行测试脚本时它可以工作,但是运行速度非常非常慢。 CPU 正在 100% 运行,由于速度缓慢而更改测试脚本有点令人沮丧。 我已经关闭了所有桌面效果,例如圆角窗角。 没有桌面背景。
还有其他人有相同的经历甚至解决方案吗?
We are using TestComplete from AQTime to test the GUI at client with our Client/Server application. It is compiled with Delphi 2007. The source of client is about 1.4 millions sourcelines. The hardware is a Intel dualcore 2.13 Mhz, 2 GB RAM using Windows XP Pro.
I compile the application with all debug options and also link in TCOpenApp, tcOpenAppClasses, tcPublicInfo, tcDUnitSupport as described in documentation to make it an Open Application. The resulting exe-file is about 50 MB.
Now when running the testscript and it works, but running very very slow. The CPU is running at 100 % and it is a bit frustrating to change the testscript because of the slowness. I have turned off all desktop effects like rounded window corners. No desktop background.
Anyone else with the same experience or even an solution ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的问题可能在于您使用调试信息进行编译并使用 tcXXX 单元,导致创建大量对象。
来自 AutomatedQA 的文字记录留言板
和 这个< /a> 可能有帮助
编辑:
Your problem probably lies in the fact you compiled with debug info and are using the tcXXX units, resulting in an enormous amount of objects being created.
A transcript from AutomatedQA message boards
and this one might help to
Edit:
我建议您尝试更改 TestComplete 用于远程连接的 TCP 端口。 您可以在网络套件选项对话框中更改它们。 例如,您可以设置6100-6102端口。 这有帮助吗? TC 9.20 消耗中描述了类似的问题高 98% cpu SmartBear 论坛帖子。
I recommend that you try changing the TCP ports that TestComplete use for remote connections. You can change them in the Network Suite Options Dialog. For example, you can set 6100-6102 ports. Does this help? A similar issue was described in the TC 9.20 consuming high 98% cpu SmartBear forum thread.