How to read RawText from the invisible area? : General Questions

How to read RawText from the invisible area?

Ask general questions here.

How to read RawText from the invisible area?

Postby ramancha » Tue Sep 06, 2011 2: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
ramancha
 
Posts: 3
Joined: Fri Aug 19, 2011 1:59 pm

Re: How to read RawText from the invisible area?

Postby Support Team » Wed Sep 07, 2011 11: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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to General Questions

Who is online

Users browsing this forum: No registered users and 1 guest