WinForms app加载测试 [英] WinForms app load tests

查看:73
本文介绍了WinForms app加载测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种方法来查找我的winforms应用程序是否具有足够好的性能。我想模拟几个用户的使用情况并启动它一两天,看看它是如何运行的。



你能告诉我好的框架或应用程序吗?进行这样的测试? Visual Studio 2012 Ultimate会完成这项工作吗?



提前谢谢。

I am looking for a way to find whether my winforms application will have good enough performance. I would like to simulate usage of several users and launch it for a day or two to see how it is performing.

Could you please advice me good frameworks or applications to perform such tests? Would Visual Studio 2012 Ultimate do the job?

Thanks in advance.

推荐答案

你可以使用Microsoft Active Accessibility API,免费提供SDK但不是开源的:

http:// en.wikipedia.org/wiki/Microsoft_Active_Accessibility [ ^ ],

http://msdn.microsoft.com/en-us/ library / ms697707.aspx [ ^ ]。



这里讨论了它用于自动UI测试:http://msdn.microsoft.com/en-us/library/aa348551.aspx [ ^ ]。



我还发现这篇文章:http://www.code-magazine.com/articleprint.aspx?quickid=0810082&printmode=true [ ^ ] 。



您可以考虑使用CodePlex提供的开源测试自动化框架: http: //uiautomationverify.codeplex.com/ [ ^ ]。



另请参阅: http://acccheck.codeplex.com/discussions/40329 [ ^ ]。



或者,你c考虑一下这个开源和专有UI测试工具列表: http://en.wikipedia.org/wiki/List_of_GUI_testing_tools [ ^ ]。



-SA
You can use the Microsoft Active Accessibility API, which comes for free with the SDK but is not open source:
http://en.wikipedia.org/wiki/Microsoft_Active_Accessibility[^],
http://msdn.microsoft.com/en-us/library/ms697707.aspx[^].

The use of it for automated UI testing is discussed here: http://msdn.microsoft.com/en-us/library/aa348551.aspx[^].

I also found this article: http://www.code-magazine.com/articleprint.aspx?quickid=0810082&printmode=true[^].

You can consider using open-source Test Automation Framework available from CodePlex: http://uiautomationverify.codeplex.com/[^].

See also: http://acccheck.codeplex.com/discussions/40329[^].

Alternatively, you can consider looking at this list of open-source and proprietary UI testing tools: http://en.wikipedia.org/wiki/List_of_GUI_testing_tools[^].

—SA


这篇关于WinForms app加载测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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