Hi Chris Unfortunately good documentation on this topic has always been thin :-(
You have to know and keep in mind one thing: Flex already comes with features to explicitly allow automation. But you have to add that support to your application. You can do this in two ways: 1. You compile in the automation libs (You have to make sure all classes are included to your application ... so a normal dependency will not work) then the application created is a little bigger, but it comes with all it needs to be automated. 2. You load your application with a loader application that contains the automation classes (I prefer option 1 as its a lot easier to setup an automated CI build for this). These automation adapters don't allow you to automate your application. It makes you able to do so, but you need something that uses these automation adapters to actually do something. I would recommend in to take over this part, you should have a look at selenium web driver (http://docs.seleniumhq.org/projects/webdriver/) (Not the older non-web-driver version) and FlexMonkium (http://flexautomation.blogspot.de/) With this you should be albe to write record-replay tests as well as (an this is the option I would prefer) to write JUnit/TestNG/whateverjavatestingframeworkyouareusing tests that integrate in your CI build. Chris ________________________________________ Von: chrismatheson <[email protected]> Gesendet: Mittwoch, 13. August 2014 00:08 An: [email protected] Betreff: Functional / E2E testing Flex applications Hi, i was wondering if anyone could point me to some up to date resources that explain Functional/Acceptence testing of a flex application. Ideally i would like to use WebDriver so that this can be done via SauceLabs but the information provided on SauceLabs site was sparse at best. Some sort of steer on the common approach to this problem would be great cheers Chris -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Functional-E2E-testing-Flex-applications-tp7636.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
