Forum Discussion
igork
14 years agoOccasional Contributor
Regarding the problem that I mentioned earlier.
I've talked to the developers of the Flex app that I'm testing and found a solution.
The 'Visible' property of the control itself is true, but the container in which it resides has the visibility value of false, therefore it is not visible to the user. So this means that I have to go up the tree to find a parent node that has a 'visible' value set to false to find out if the control is visible to the user.
Like so:
Aliases.SomeFlexLabel.FlexObject.parent.parent.parent.....parent.visible
Shouldn't this be done automatically by TestComplete when accessing VisibleOnScreen property?
I've talked to the developers of the Flex app that I'm testing and found a solution.
The 'Visible' property of the control itself is true, but the container in which it resides has the visibility value of false, therefore it is not visible to the user. So this means that I have to go up the tree to find a parent node that has a 'visible' value set to false to find out if the control is visible to the user.
Like so:
Aliases.SomeFlexLabel.FlexObject.parent.parent.parent.....parent.visible
Shouldn't this be done automatically by TestComplete when accessing VisibleOnScreen property?
Related Content
Recent Discussions
- 8 hours ago