加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

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

发布时间:2020-12-15 08:46:27 所属栏目:百科 来源:网络整理
导读:目前我们正在使用AutoIT来自动化使用WinForms构建的一些内部工具. 这不是一个平滑的过程,因为就我所见,AutoIT并不能很好地处理.NET窗口. 我正在寻找一个框架: 免费(或非常便宜). 适用于WinForms / WPF和任何其他.NET技术. 通过这个我的意思是强大的控制识别
目前我们正在使用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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读