05-03-2010, 05:03 PM
Hi,
I worked on flex automation 2 years back with QTP 9.1. Following is my experience. Hope this helps.
• QTP by itself does not identify Flex objects. The alternative work-around (virtual objects) is time-consuming and breaks easily while trying to run scripts on different machines.
• Smart Identification feature is by default disabled for Flex applications
• Due to a Flex-Automation bug descriptive programming doesn't work for Flex Application object.
• There is a difference between the display list hierarchy (which may contain many anonymous) and the object hierarchy, which is based on class structure
• Recording of certain containers like canvas, HBox and VBox is skipped, but not Panel because as per Adobe Beta Forum for QTP, recording some of the containers do not provide any useful information as they are not visible to the QA engineers.
• Descriptive programming in QTP does not work with Flex applications with a repeater in the hierarchy. It does not work if you are querying on the index for any control as well.
• Bitmap checkpoints do not work for Flex objects.
I worked on flex automation 2 years back with QTP 9.1. Following is my experience. Hope this helps.
• QTP by itself does not identify Flex objects. The alternative work-around (virtual objects) is time-consuming and breaks easily while trying to run scripts on different machines.
• Smart Identification feature is by default disabled for Flex applications
• Due to a Flex-Automation bug descriptive programming doesn't work for Flex Application object.
• There is a difference between the display list hierarchy (which may contain many anonymous) and the object hierarchy, which is based on class structure
• Recording of certain containers like canvas, HBox and VBox is skipped, but not Panel because as per Adobe Beta Forum for QTP, recording some of the containers do not provide any useful information as they are not visible to the QA engineers.
• Descriptive programming in QTP does not work with Flex applications with a repeater in the hierarchy. It does not work if you are querying on the index for any control as well.
• Bitmap checkpoints do not work for Flex objects.