Forum Discussion
Abramova
13 years agoStaff
Hi,
TestComplete adds a special property named FlexObject to each object of the Flex Open Application. This property provides a scripting interface to the underlying Flex object and lists all of the public methods and properties of this object. Using the FlexObject property, you can get and set native Flex property values and call native Flex methods from your tests.
For example, you can use the native focusManager property to get access to the Flex FocusManager class that manages the focus on components in response to the mouse or keyboard activity. Particularly, the FocusManager's getFocus property gets the component that currently has the focus.
Related Content
Recent Discussions
- 9 hours agoashly