Hello,
yes, this is expected. The rawtext plugin intercepts low level text output. If the element is not visible, then there is no output and therefore no element.
Regards,
Roland
Ranorex Support Team
How to use RawText GDI plugin through Visual Studio
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
-
- Posts: 62
- Joined: Wed Mar 09, 2011 4:40 pm
Re: How to use RawText GDI plugin through Visual Studio
Hi,
The ranorex can identify the rawtext within MFC grid, if the grid is completely visible in screen. However i am having two questions.
1) What is the purpose of Rawtextblock within the MFC grid?
In addition to all the individual visible rawtext, this rawtext block is also there in spy, which contains all the visible rawtext of MFC grid in 1 chunk.
2)How can i get the non visible rawtext without actually scrolling the grid?
Thanks,
Siva R S
The ranorex can identify the rawtext within MFC grid, if the grid is completely visible in screen. However i am having two questions.
1) What is the purpose of Rawtextblock within the MFC grid?
In addition to all the individual visible rawtext, this rawtext block is also there in spy, which contains all the visible rawtext of MFC grid in 1 chunk.
2)How can i get the non visible rawtext without actually scrolling the grid?
Thanks,
Siva R S
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to use RawText GDI plugin through Visual Studio
Hi,
Regards,
Peter
Ranorex Tam
The RawText capability represents a single text line or string. The RawTextBlock combines the contents of all RawText strings into a single text block. A few of our customers need the whole block and therefore we built it in.vengaishiva wrote:1) What is the purpose of Rawtextblock within the MFC grid?
If you use the GDI Plug-In, you should recognize a short flicker of your application when you track an element. The plug-in forces your software to redraw and therefore the items have to be visible, because the GDI can only redraw elements which are visible on the screen.vengaishiva wrote:2)How can i get the non visible rawtext without actually scrolling the grid?
Regards,
Peter
Ranorex Tam
-
- Posts: 62
- Joined: Wed Mar 09, 2011 4:40 pm
Re: How to use RawText GDI plugin through Visual Studio
Hi,
Thanks for your reply. But will this bug (non visible rawtext) be cleared in the next update of ranorex?
Thanks for your reply. But will this bug (non visible rawtext) be cleared in the next update of ranorex?

- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to use RawText GDI plugin through Visual Studio
Hi,
This is no bug, this is by design. The GDI Plug-In only captures the text which is viable on screen, because this text can be redrawn. They items which are not visible, cannot be captured because the cannot be redrawn.
You even cannot take a photo behind your lens of a camera, because the informations are out of the lens range.
Regards,
Peter
Ranorex Team
This is no bug, this is by design. The GDI Plug-In only captures the text which is viable on screen, because this text can be redrawn. They items which are not visible, cannot be captured because the cannot be redrawn.
You even cannot take a photo behind your lens of a camera, because the informations are out of the lens range.

Regards,
Peter
Ranorex Team
-
- Posts: 62
- Joined: Wed Mar 09, 2011 4:40 pm
Re: How to use RawText GDI plugin through Visual Studio
Hi,
But the invisible cells in a normal table (for instance Dev express grid) are visible. No need to scroll through in that table to view invisible cells. If the lens captures invisible cells here, it should also capture in MFC Grid.
But the invisible cells in a normal table (for instance Dev express grid) are visible. No need to scroll through in that table to view invisible cells. If the lens captures invisible cells here, it should also capture in MFC Grid.

- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to use RawText GDI plugin through Visual Studio
Because this is another technology and not GDI. This technology provides us the informations even for not visible objects.
Regards,
Peter
Ranorex Team
Regards,
Peter
Ranorex Team