How to read RawText from the invisible area?

Ask general questions here.
ramancha
Posts: 3
Joined: Fri Aug 19, 2011 12:59 pm

How to read RawText from the invisible area?

Post by ramancha » Tue Sep 06, 2011 1:26 pm

Hi All,

We have a 3rd party grid control in our application. When we spy it, it is recognized as “UnKnown” control with the class type as “TTF16.WindClass”.
We used rawtext to work with the grid. But we are facing one small issue here.
We are able to recognize the rawtext from only the visible pane area of the grid. If scroll bars are coming in the grid, we are not able to read the hidden content of the grid. This is forcing us to work with the scroll bar to scroll it and then read the raw text.
Is there any way to read entire grid content even from the hided or invisible grid area.
Thanks
Santosh

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: How to read RawText from the invisible area?

Post by Support Team » Wed Sep 07, 2011 10:22 am

Hi,
We are able to recognize the rawtext from only the visible pane area of the grid
That's normal, because GDI is "only" used for drawing objects which are in the visible area, it means if the objects are shown you can get the text out of it, if not you can't.
What you can do is to implement MSAA for your custom controls.

Regards,
Markus
Ranorex Support Team