Flash Builder 4 has a whole new set of automation features which you can exploit.
- Automation of Marshalled Flex and AIR applications -What is a marshalled application ? An application that loads another application (in a different application or security domain) using SWFLoader .Marshalled application can also have the sub applications compiled with a different sdk version than the main app.Keep in mind that marshalling as a feature only came into being from sdk 3.4 so as of now the main app /sub app can either be compiled with sdk 3.4 or sdk 4. Previously automation would work only if the applications are in same domain or children of main application domain but now you can take a complex marshalled application and automate it with ease!!
- Automation of Flex 4 Applications – Automating a flex4 application that uses mx.core.Application and Halo components is supported while as spark based applications and spark components are not supported as of now.
- Automation of Flex 4 AIR applications -This is my favourite !!We now support automation of flex components in AIR aplications as well! What we do not support is non flex controls (e.g HTML control , native controls, native drag drop etc ) in AIR.