I'm using Sikuli for Screen automation. i.e for clicking of GUI elements according to their appearance on the screen. This works all right, but Sikuli has one major disadvantage for me:
Further more on Sikuli is not much development happening since last year, so I am looking for a replacement automation tool. The big ticket I need is screen awareness: The tool has to "look" for certain UI elements on the screen, than move the mouse there and issue a click.
Any suggestion for a faster and maybe better maintained tool than Sikuli?
SikuliX uses Python as the scripting language. Python scripting is supported by the Sikuli-IDE. Sikuli's features are also available in Java programs. Sikuli is a visual approach to search and automate graphical user interface using screenshots.
Users can automate many Windows desktop applications with a no-code, point-and-click approach. Users can easily record actions on a Windows desktop and then turn manual, repetitive steps into automated workflows.
Definition: Sikuli is a powerful and open source tool for test automation. It can automate anything which is displayed on the screen. It identifies the objects by using image recognition and control GUI (Graphical User Interface) components.
If you want to automate anything under Windows, I would recommend you Automa - new lightweight GUI automation tool. It simply "finds" UI elements - all you need to do is to provide their names as human user would see them. And it's actually easier to use than Sikuli - you don't have take any screenshots. For instance, if you want to automatically sign in to Windows Live Messenger, you can run the following script:
start("messenger") write("[email protected]", into="Email address") write("secret", into="Password") click("Sign in")
or, similarly, in order to type in credentials and automatically log in to Facebook, all you need to do is execute the following commands:
start("firefox") write("facebook.com", into="Location") press(ENTER) write("[email protected]", into="Email or Phone") write("secret", into="Password") click("Log in")
The tool works on most Windows applications (including web browsers), no matter what technology they are written in. It's written in Python and can be used from within any Python application through importable api library.
About Automa vs Sikuli: Automa is as high-level as Sikuli, but does not require screenshots. This has several advantages:
Disclosure: I work on Automa.
Are you looking to automate WinForms applications or WPF applications? If you're looking at WPF I can recommend Telerik's free Testing Framework. (Disclosure: I am the Test Studio evangelist for Telerik.)
The testing framework (or the full Test Studio product) work very well with WPF as the scripts/tests are element based, not positional.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With