Page 1 of 1

Ranorex not identifying Java applet components in browser

Posted: Thu Aug 18, 2016 2:51 am
by hi2suresh
Hi,

We are trying to automate a web application that contains java applets, specifically Canvas objects.
There are multiple elements inside the canvas object (screen shots attached) that we need to interact with. but Ranorex is not able to identify elements inside the canvas object. Its not working out of the box, so is it possible to customize Ranorex to make it work with Java applets?

System information:

Ranorex version: 6.01
Browser Version: IE 11.0
OS: Windows 7 64 bit

Thanks and Regards,
Suresh

Re: Ranorex not identifying Java applet components in browser

Posted: Thu Aug 18, 2016 11:53 am
by odklizec
Hi,

I'm afraid, there is nothing at Ranorex side that can be done to make it to recognize individual elements inside the Java canvas. Currently, your best hope is using Ranorex image-based recognition.

The only way how to make the Canvas elements recognizable by Ranorex is to implement proper accessibility in your Java app, but it may not be an easy thing. Please follow the similar topics discussed here:
http://www.ranorex.com/forum/image-base ... t8097.html
http://www.ranorex.com/forum/html5-how- ... t8341.html
http://www.ranorex.com/forum/unable-to- ... t8749.html

Re: Ranorex not identifying Java applet components in browser

Posted: Fri Aug 19, 2016 12:41 am
by hi2suresh
Thanks for the reply.

Best Regards,
Suresh