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
Automation of an application written in java
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
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
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
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
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
Regards,
Alex
Ranorex Support Team
Re: Automation of an application written in java
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.
-
- Posts: 16
- Joined: Fri Sep 17, 2010 8:13 am
- Location: India
Re: Automation of an application written in java
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
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Automation of an application written in java
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
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