On 4/15/13 12:39 AM, "Tigran Najaryan" <tig...@gmail.com> wrote:

>> 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?
> 
> I don't think so. The problem is that tests on Flex apps compiled to SWF use
> action names specific to each component (usually corresponding to
> appropriate Flex event names) as defined by Flex Automation framework. For
> example to open a ComboBox and select an item you do something like this in
> RIATest:
OK, but FlexJS is essentially wrapping JS constructs and presenting them in
AS.  The goal for the components is the present the same APIs to the
developer by wrapping and emulating where appropriate.  So, forget what the
current Flex Automation API does.  If you had a chance to design a new
automation API for FlexJS where the components are already wrapping  (that
uses plug-ins), could it be done?

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

Reply via email to