FLEX custom object recognition issue
Posted: Thu Feb 24, 2011 6:04 pm
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
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