目前我们正在使用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.