Adobe Flex 3 Help

Creating testable applications

As a Flex developer, there are some techniques that you can employ to make Flex applications as "test friendly" as possible. One of the most important tasks that you can perform is to make sure that objects are identifiable in the testing tool's scripts. This means that you should set the value of the id property for all controls that are tested, and ensure that you use a meaningful string for that id property. If you can use unique IDs for each control, the testing scripts are more readable.