What's a good, if any, .NET Windows automation library?

后端 未结 9 885
北海茫月
北海茫月 2020-12-02 07:57

I\'m looking for a library that can be used in native .NET code, just like any .NET assembly. The purpose of the library must be to automate Windows (push a button, select a

相关标签:
9条回答
  • 2020-12-02 08:22

    If you haven't seen it yet, and a commercial library is acceptable, you might check out Ranorex:

    http://www.ranorex.com/

    I used Ranorex 1.5 quite a bit to write small C# UI automation utilities. It was pretty effective! Development seemed faster compared to using the MS UI Automation API directly, since Ranorex has a lot of useful convenience methods already available.

    I haven't used Ranorex 2 very much yet, though.

    In Ranorex 1.5, there was also support for traditional Win32 development in C++, but I didn't use it. As far as I know, that's still available in Ranorex 2.

    I can't speak to the quality of the record/playback support in Ranorex since I never used that feature.

    One final plus: Their support team was really responsive and helpful anytime I emailed them.

    0 讨论(0)
  • 2020-12-02 08:26

    I would still suggest FlaUI for autoamating .Net Desktop,Mobile apps. Its based on Microsoft UIA libraries and have support for external controls like the DevExpress Grid too Moreover, it is built on top of TestStack.White so indeed a very good library and has a github page also

    0 讨论(0)
  • 2020-12-02 08:28

    I have used AutoIt in the past with success.

    0 讨论(0)
提交回复
热议问题