Page 1 of 1

Get Text From an Object

Posted: Fri Jan 09, 2015 9:43 am
by vamsi
Hi,

I would like to know how is it possible to get text from an object whose class type is "AfxWnd90u" and WindowText is of type "MFCGridCtrl". I am currently using Ranorex version 4.1.4. I have attached screenshot for your reference.

regards,
Vamsi

Re: Get Text From an Object

Posted: Fri Jan 09, 2015 11:12 am
by odklizec
Hi,

Could you please upload ranorex snapshot of the object in question? Here is how to create one... http://www.ranorex.com/support/user-gui ... files.html

Anyway, if you are not able to identify the individual cells with Ranorex spy, then the element has most probably no or icorrectly implemented accessibility. Aside contacting developers to implement accessibility, your only hope is probably using GDI access. Please check this chapter of Ranorex user guide... http://www.ranorex.com/support/user-gui ... tions.html
After adding MFCGridCtrl to GDI capture list, you should be able to identify the individual grid texts using ranorex spy.