Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automation for GUI desktop application with java framework [closed]

Lately i bumped into selenuim for web automation which is wonderful tool , gives you the ability to record a test on the web browser and export it into java/c#/etc and modify it as you want in any Java IDE for example.

I know that selenium is only for Web .

Dose selenium got an extension / open source plug in to support desktop GUI application? There is another framework that do that for desktop GUI application?

like image 795
USer22999299 Avatar asked Dec 26 '22 04:12

USer22999299


2 Answers

One way you can do this

another framework that do that for desktop GUI application

is by using Sikuli. Since it uses image recognition technology can be used across all desktop applications, also can be driven by multiple languages and 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 answer and this answer.

Look at these resources how-to:

  • how-to-write-java-program-in-sikuli
  • sikuli-java-insertion-dev
  • use SikuliX API in your JAVA programs
like image 92
ekostadinov Avatar answered Jan 05 '23 07:01

ekostadinov


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.

like image 21
mbadit Avatar answered Jan 05 '23 07:01

mbadit