Need to automate C++ application testing on Web, Mobile (iOS, Android) and Desktop (Windows, OSX and maybe Linux). Searching for open source tools only and automated tests will be written using Java. Web is good to go with Selenium WebDriver, Mobile with Appium and Desktop Windows with Winium.Desktop. Does anybody know what tool can be used for Desktop C++ app automation on Windows, OSX and maybe Linux?
For Windows I recommend AutoIt You can either record interaction with UI elements or directly write automation scripts with their Basic-like scripting language.
You can try sikulix. It uses computer vision to recognize images on a screen. It finds images you save and then calculates the coordinates of the image on the screen to interact with it.
It is written in Java and has windows, linux and mac distributions.
I would suggest using LDTP cobra. which is robust and reliable. You can also try python (PywinAuto.class), both are open source.