Click is not executed on an Adobe Flex object.
Are there any workarounds to a "Click" action on a Flex button failing on playback?
Sometimes the open agent may be able to point to the object of Flex application but may not actually click on it.
The workaround in this situation would be to use a co-ordinate click.
RECT windowshape =MyWindow.MyButton.GetRect()
Integer x = windowshape.xPos
Integer y = windowshape.yPos
Integer w =MyWindow.MyButton.width
Integer h =MyWindow.MyButton.height
MyWindow.MyButton .Click (1, x+w/2, y+h/2)
The above testcase successfully clicks on the object (button) on playback.