Issue : CAD rendering on Android platform

Ask general questions here.
Pothina
Posts: 2
Joined: Wed Feb 04, 2015 6:57 am

Issue : CAD rendering on Android platform

Post by Pothina » Wed Feb 04, 2015 7:07 am

Hi,

I am working on Android tablet and my application supports AUTO CAD rendering feature using OPENGL ES.

While doing automation I found the ranorex tool is not able to capture the rendering feature.

We can see the CAD file (.dxf / .dwg) files are rendered properly on tablet but it is showing as a blank screen when I am trying to validate to view the Output.

Can anyone help me and let me know if there are any other options to work on Ranorex tool.

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Issue : CAD rendering on Android platform

Post by krstcs » Wed Feb 04, 2015 3:15 pm

Ranorex does not support direct automation or validation of OpenGL (or DirectX/DirectDraw) rendering areas as elements.

Have you tried validating the area as a bitmap instead?
Shortcuts usually aren't...

Pothina
Posts: 2
Joined: Wed Feb 04, 2015 6:57 am

Re: Issue : CAD rendering on Android platform

Post by Pothina » Fri Feb 06, 2015 6:25 am

Thanks krstcs

As i am new to ranorex , i am not sure how to validate the area as a bitmap. It will be great if you can help me how to validate as bmp.

Thanks,
pothina

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3921
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Issue : CAD rendering on Android platform

Post by odklizec » Fri Feb 06, 2015 9:39 am

Hi,

In my opinion, image validation for such complicated object like OpenGL or DirectX window will be highly unreliable. Small change of rotation, translation or zoom in 3D view can easily ruin your test. Image validation as such is good option mainly for simple and reasonably small bitmaps.

The best option would be to implement accessibility to that view and its elements. In my previous work, a developer working with me on an automation project was able to implement accessibility for individual items in 3D view based on OpenGL. Even better, he was able to do it for the program without source code of the view! I don't know much technical details, but I'm pretty positive he did it after reading this Ranorex blog post:
http://www.ranorex.com/blog/enabling-au ... s-controls
and some other articles and samples (found at stackoverflow or codeproject) related to accessibility and view subclassing techniques. It's not quite easy to implement and may be not an option for everyone, but it's definitely the best way to gain control over the 3D view content.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration