Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which is the best tool for automation a third party window application?

I am new to automation for Windows apps, apart from using basic Sikuli.

I checked some options like PyAutoGUI, PyWinAuto. Which is the best tool for automation of a 3rd party Windows application out of Sikuli, PyAutoGUI, PyWinAuto or any other tool?

Preferable - a cross platform tool (Mac and Windows)

like image 697
user8187598 Avatar asked Jul 18 '17 07:07

user8187598


People also ask

Which of the below tool is used to automate window based application?

WinAppDriver (short for Windows Application Driver) is a free test automation tool for Windows desktop apps developed by Microsoft.


1 Answers

If you need text properties based automation, pywinauto should help you. But there is no popular text-based cross-platform tool in Open Source field.

On macOs pyatom/ATOMac is good enough if you prefer Python (it requires some compilation during setup, but works well).

This is the big list of open source tools I'm maintaining.

  • PyAutoGUI has image recognition capabilities (like Sikuli or Lackey) but it's not text based (even no Win32 API support).
  • PyAutoIt bindings and AutoIt itself doesn't support MS UI Automation technology (only Win32 API).
  • The Getting Started Guide for pywinauto explains some differences between these 2 technologies and how to switch between them in pywinauto.

Anyway this field is complicated and you may face many challenges. Feel free to ask more detailed questions because this question is more suitable for
Software Recommendations
StackExchange site.

like image 54
Vasily Ryabov Avatar answered Oct 20 '22 19:10

Vasily Ryabov