微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

c# – 寻找适用于.NET的GUI自动化框架(WinForms)

目前我们正在使用AutoIT来自动化使用WinForms构建的一些内部工具.

这不是一个平滑的过程,因为就我所见,AutoIT并不能很好地处理.NET窗口.

我正在寻找一个框架:

>免费(或非常便宜).
>适用于WinForms / WPF和任何其他.NET技术.
通过这个我的意思是强大的控制识别,将重新开始维护
项目与应用程序的每个小UI更改.
>不涉及脚本/最小脚本(如果可能 – 使用流行语言).
>记录模式以记录运行.

解决方法

你可以使用 White.
从网站:

White is a framework for automating rich client applications based on Win32,WinForms,WPF,Silverlight and SWT (Java) platforms. It is .NET based and does not require the use of any proprietary scripting languages. Tests/automation programs using White can be written with whatever .NET language,IDE and tools you are already using. White provides a consistent object-oriented API,hiding the complexity of Microsoft’s UIAutomation library (on which White is based) and windows messages. Only stable versions of White are released,so all releases are production-ready.

原文地址:https://www.jb51.cc/csharp/244814.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐