Page 1 of 1

Ranorex for AutoCAD Application

Posted: Wed Mar 23, 2016 7:11 pm
by Krishnan
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

Re: Ranorex for AutoCAD Application

Posted: Thu Mar 24, 2016 9:25 am
by odklizec
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