Flex Automation support for Spark Components in Flash Builder beta2

5 10 2009

We have now extended automation support for Spark compnonents as well (if your wondering what are spark components,  there are the components that are prefixed with <s: like for example if u just create a project using sdk 4 you flex application will be a spark application i.e it will be <s:Application instead of <mx:Application the latter is called halo components).Previously automation support was only provided for halo components .As this feautre is still in progress we have only provided automation support for certain spark components.

List of Spark Components made automation ready for Beta 2

  1. Application 
  2. Button  
  3. CheckBox 
  4. Panel
  5. Radio Button 
  6. ScrollBar
  7. TextArea
  8. Text Input
  9. VGroup
  10. HGroup
  11. RichEditableText
  12. Slider
  13. NumericStepper

 

Also we will need to specify that Automation of these Spark Components is currently supported only for Flex applications.

Users interested in trying this new feature will need to include flash_builder_root\sdks\4.0.0\frameworks\libs\automation\automation_spark.swc along with the other automation swcs in the additional compiler arguments.

Advertisements

Actions

Information

9 responses

5 10 2009
Twitter Trackbacks for Flex Automation support for Spark Components in Flash Builder beta2 « Flex Automation [shanazvakil.wordpress.com] on Topsy.com

[…] Flex Automation support for Spark Components in Flash Builder beta2 « Flex Automation shanazvakil.wordpress.com/2009/10/05/flex-automation-support-for-spark-components-in-flash-builder-beta2 – view page – cached We have now extended automation support for Spark compnonents as well (if your wondering what are spark components, there are the components that are prefixed with — From the page […]

5 10 2009
JabbyPanda

Great feature!

I was looking for this functionality eagerly as the author of the issue http://bugs.adobe.com/jira/browse/FLEXENT-1033 “Make Spark components automation ready”

5 10 2009
svakil

Yes This has been the most voted on automation enhancement :).Please try it out and let us know if you find any bugs .

12 10 2009
DriveSentry’s automation of popups | Antivirus Internet Security Software

[…] Flex Automation support for Spark Components in Flash Builder … […]

22 10 2009
Tigran Najaryan

Shanaz,

FYI, I have added support for these Spark components in RIATest and so far the automation seems to be working fine.

Hope to see automation delegates implemented for the rest of Spark components soon! 🙂

22 10 2009
svakil

Great to hear that Tigran! Keep your eyes out for the rest of the spark delegates 🙂

29 06 2010
Pradeep

Hi,

When I try recording for TextInput (SDK 4.0; spark TextInput) using my custom recording agent, just double-clicking on the TextInput gives me the following error message :

Error: Unable to find automation method ‘mx.automation.events.TextSelectionEvent’ for class ‘name: FlexObject
superClassName: FlexDisplayObject
event2descriptor: (Object)#0

Here is my compiler options:
-include-libraries “C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\libs\automation\automation.swc” “C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\libs\automation\automation_agent.swc” “C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\libs\automation\automation_spark.swc”

As you can see, I have included automation_spark.swc. How can I overcome this error?

Thanks,
Pradeep.

30 06 2010
svakil

Hi I think the teaFlex.xml file that you are using is not the latest as we have added a lot fo entries for the spark components.I have sent the latest teaFlex.xml to your email id.Please try with that.

22 07 2010
Ali

Hi Vakil,

I am facing problem while dragging a drag-able FlexMenu item which gives error:

“Error: Unable to find automation method ‘mx.automation.events.AutomationDragEvent’ for class ‘name: FlexMenu”

Is there any fix for this issue as well?

Warm regards,
Ali

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: