Page 1 of 1

FLEX custom object recognition issue

Posted: Thu Feb 24, 2011 6:04 pm
by gordonm
Hi,

We have been using the Ranorex API with some success over the last few months but have now come across an object recognition issue with our FLEX application. We are using Flex 4.0.

We have a custom data grid header renderer which contains a text box and a number of images. Images are shown depending on the state of the column. We dynamically create columns and column headers with the following code:

var headerRenderer:ClassFactory = new ClassFactory(datagridHeaderDataGridHeaderRenderer);

then assign the headerRenderer to each column as follows:

column.headerRenderer = headerRenderer;

The problem is that Ranorex Spy can see each column and its header renderer but it can not see any objects within the custom header renderer.

What should be done to expose the objects within the custom header rendered?

Thanks,

Gordon

Re: FLEX custom object recognition issue

Posted: Fri Feb 25, 2011 12:30 pm
by Support Team
Hi,

Please could you post or send us ([email protected]) a Ranorex Snapshot? With this snapshot it is much easier to analyze your problem.
How to create a Ranorex Snapshot:
http://www.ranorex.com/support/user-gui ... html#c2072

Regards,
Peter
Ranorex Team

Re: FLEX custom object recognition issue

Posted: Wed Mar 09, 2011 7:09 pm
by gordonm
Hi,

Thanks, I'm just about to mail the snapshot data to your support team.

Thanks, Gordon

Re: FLEX custom object recognition issue

Posted: Thu Mar 10, 2011 12:56 pm
by Support Team
Hi,

Thank you we received the mail, but as I wrote you per mail. It would be nice to have a Ranorex Snapshot of the entire application, because the element your are searching for could be on another level of the app.

Thanks in advance.

Regards,
Peter
Ranorex Team