On 4/14/13 11:30 PM, "Tigran Najaryan" <tig...@gmail.com> wrote:

>> 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.
> 
OK, but given that we trans-compile AS to JS and your test language is
ES-like, there is no way to wrap things so they work?

> Tigran.
> 

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui

Reply via email to