Page 1 of 1

Unable to select in the cells of "MSFlexGridWndClass"

Posted: Thu Dec 10, 2015 9:42 am
by hanguyen2009
Hi supporter,

My Ranorex unable to select in the cells of "MSFlexGridWndClass",

I did adding the class or process to 'GDI Capture List', but the Ranorex still did not get all Cell in Grid. It got cells in the first row and first column as RawText and other white cells as RawTextBlock.

IList<Ranorex.RawText> RawtextList = repo.HoGReportInterfaceUntitled.MSFlexGridWndClass.FindDescendants<Ranorex.RawText>();
IList<Ranorex.RawTextBlock> RawtextBlockList = repo.HoGReportInterfaceUntitled.MSFlexGridWndClass.FindDescendants<Ranorex.RawTextBlock>();

My expected that could get white cells and perform click on as attach file,
Could you help?
Thanks so much,

My Ranorex: 5.3.2
My .Net : 4.0

Re: Unable to select in the cells of "MSFlexGridWndClass"

Posted: Fri Dec 11, 2015 5:01 am
by hanguyen2009
Hi,
I already upgrade Ranorex to 5.4.4, but this problem still the same.

Re: Unable to select in the cells of "MSFlexGridWndClass"

Posted: Fri Dec 11, 2015 1:39 pm
by AFI
With my grid, I have similar problems which I solved as follows:
Find the x coordinates of your column and the y coordinates of your row. Then, you can click in your cell.
You can find the coordinates as properties in the RawText