> If we go a step further and also emit Flex class name in another property > (perhaps in the 'class' property of DOM elements) we could make RIATest > automatically recognize which Flex component does each DOM element > represent and even aim to have a universal syntax for test scripts that can > be run against both SWF target and JS target of the same Flex application. > > What this basically means is that you can write a test script on a SWF target > and then make sure the same script runs exactly the same way on the JS > target. That coupled with the ability to run the tests on multiple browsers > and 2 operating systems will give a very powerful way to validate the JS > output and ensure it works exactly the same way as the SWF output of the > same Flex app. This will require modifications to RIATest but the end result > will be really exciting so I think we can consider adding such capability to an > upcoming RIATest version.
Sorry, I was too quick. This is not going to work. The actions on SWF and HTML objects are done in different terms so there is no way to have identical tests. Ignore this particular idea. Tigran.