Automation for GUI desktop application with java framework [closed] Automation for GUI desktop application with java framework [closed] selenium selenium

Automation for GUI desktop application with java framework [closed]


One way you can do this

another framework that do that for desktop GUI application

is by using Sikuli. Since it uses image recognition technologycan be used across all desktop applications, also can be driven by multiple languagesand its free.

Just to be full this answer, I'll add that you can combine it with Cucumber and Jenkins like is shown here.

Update

export scripts to Java

is not possible in this sense, since Sikuli scripts are written in Python scripting language and the scripts itself are run using the Jython interpreter (Java base implementation of Python language).See this answerand this answer.

Look at these resources how-to:


Yes. UiPath can automate desktop, browser, remote desktops or java applications.

Unlike Selenium it has the ability to get access to the internal object model of a java app (recognise the controls and elements you want to click, type, scrape). You can use it from code (SDK) or create automation directly from UiPath Studio.


If you create your application using Swing, so you can test it with FEST. But this lib is no longer supported and works wrong with Linux. There are some another non-free test tools for Swing and JavaFX but I've never used these tools and cannot say whether they good or not.

You can found something about test tools for JavaFX here. For Swing here.