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

后端 未结 9 971
北海茫月
北海茫月 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.

提交回复
热议问题