Ranorex for AutoCAD Application

Ranorex Studio, Spy, Recorder, and Driver.
Krishnan
Posts: 1
Joined: Wed Mar 23, 2016 6:33 pm

Ranorex for AutoCAD Application

Post by Krishnan » Wed Mar 23, 2016 7:11 pm

Hi,

We are trying to create automated tests using ranorex for plugin developed over Autocad (CAD software). I think it uses directx/opengl to render entities in the view .

Ranorex is not able to detect the entities drawn , when searched came across a post

Issue : CAD rendering on Android platform

Can you please give some samples on how to use accessibility for 3D view without having source for the view?

We are not much inclined to use image search as when zoom level differs the results are varying.

Thanks

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

Re: Ranorex for AutoCAD Application

Post by odklizec » Thu Mar 24, 2016 9:25 am

Hi,

It may be possible to achieve what you want but it won't be easy ;) It would require advanced programming techniques like subclassing. In my previous work, we actually managed to add accessibility to Dassault Catia 3d view. I don't remember details but I'm sure we started here:
http://www.ranorex.com/blog/enabling-au ... -controls/
And then we found some subclassing and MSAA-related articles at stackoverflow or codeproject. Good luck!

PS: these articles may help too...
https://msdn.microsoft.com/en-us/librar ... 85%29.aspx
https://msdn.microsoft.com/en-us/window ... 12214.aspx
https://msdn.microsoft.com/en-us/library/ms971352.aspx
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