Page 1 of 1

Automation of an application written in java

Posted: Mon Oct 06, 2008 1:15 pm
by chstnq
I'm trying to automate an application which is written in java. Unfortunately I cannot gain control of any objects in the application. I also tried to find out with the RanorexSpyPro but it shows no results.
Are Java applications not supported at all?

regards,
Alex

Posted: Mon Oct 06, 2008 2:41 pm
by Support Team
Hi Alex,

To automate applications with Ranorex it is necessary that your application uses windows based methods when drawing their GUI objects. So, if your application uses the Java standard widget toolkit library (SWT), Ranorex is able to get access and to automate this type of applications. Unfortunately, applications based on the Java SWING framework are currently not supported.

best regards,

Christoph
Ranorex Support Team

Posted: Mon Oct 06, 2008 2:53 pm
by chstnq
Thanks for your answer. Is there already a planned release with supporting the Java SWING framework?

Regards,
Alex

Posted: Mon Oct 06, 2008 3:31 pm
by Support Team
Unfortunately, there is no planned version release which includes the support of Java SWING applications. The priority of implementing a Java SWING plug-in for Ranorex depends on the number of requests for this feature.

best regards,

Christoph,
Ranorex Support Team

Posted: Tue Dec 02, 2008 4:36 pm
by F@ust
I have the same Problem. I like the features of Ranorex very much, but our SUT is based on Swing and there is no chance to do anything with Ranorex 1.5 or 2.

(why AWT and SWT, but no Swing?)

Posted: Tue Dec 02, 2008 5:03 pm
by Support Team
SWT is based on standard windows controls, whereas AWT and Swing are completely owner-drawn by the Java framework. Consequently, SWT supports standard control and accessibility features that make its GUI elements available to automation tools. AWT and Swing do not support these standard interfaces, but there own ones.

Regards,
Alex
Ranorex Support Team

Re: Automation of an application written in java

Posted: Mon Jun 07, 2010 4:51 pm
by tamiro
Add me to the count of those requesting Java SWING support. I was able to record some actions based on coordinates, but can't validate any results. Tried image based validation on the image of the Java SWING app window is blank.

Re: Automation of an application written in java

Posted: Sun Jul 03, 2011 3:37 am
by kris123pra
Do we have java swing support added to any new release? Even I am facing the problem with one of our appln here. I am using Rx v2.3

Re: Automation of an application written in java

Posted: Mon Jul 04, 2011 4:13 pm
by Support Team
Hi,

please have a look at following forum post, which explains how to use our Java Plug-In:
Automation of Java AWT/Swing Applications with the Java Plug-In

Regards,
Tobias
Support Team