I am beginning to think that there is no solution to my problem. Let me better define the problem:
1. Automation tool does not see extended check box.
2. The container of extended check box is standard tree (nothing to instrument).
3. Extended check box is third party component which was derived from standard button, and not standard check box (theoretically nothing to instrument again).
4. Extended check box was used in item renderer class of the tree.
Maybe elements used in item renderers cannot be exposed to automation tools (I have tried FlexMonkey and RiaTest, but they both failed)?
what is the base class for your itemRenderer? if it's Box, VBox, HBox etc. you should set showInAutomationHierarchy = true;
It is TreeItemRenderer. I have just tried to add in renderer's constructor.
showInAutomationHierarchy = true;
But it haven't had any effect.
ok then, you have to implement appropriate automation delegate for your custom 3rd party control check-button,
all SDK standard controls has theirs own automation delegates in place.