(Flex Data Visualization only)
Packagemx.automation
Classpublic class Automation
InheritanceAutomation Inheritance Object

The Automation class defines the entry point for the Flex Automation framework.



Public Properties
 PropertyDefined By
  automationManager : IAutomationManager
[static] The IAutomationManager instance.
Automation
  automationObjectHelper : IAutomationObjectHelper
[static] [read-only] The available IAutomationObjectHelper instance.
Automation
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  errorShown : Boolean
[static]
Automation
  initialized : Boolean
[static] [read-only] Contains true if the automation module has been initialized.
Automation
  mouseSimulator : IAutomationMouseSimulator
[static] The currently active mouse simulator.
Automation
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  recordedLinesCount : Number
[static]
Automation
  recordReplayLimit : Number = 30
[static]
Automation
  restrictionNeeded : Boolean
[static] [write-only]
Automation
Public Methods
 MethodDefined By
  
[static]
Automation
 Inherited
Indicates whether an object has a specified property defined.
Object
  
[static]
Automation
  
[static]
Automation
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
  
registerDelegateClass(compClass:Class, delegateClass:Class):void
[static] Registers the component class and delegate class association with Automation.
Automation
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail
automationManagerproperty
automationManager:IAutomationManager  [read-write]

The IAutomationManager instance.


Implementation
    public static function get automationManager():IAutomationManager
    public function set automationManager(value:IAutomationManager):void
automationObjectHelperproperty 
automationObjectHelper:IAutomationObjectHelper  [read-only]

The available IAutomationObjectHelper instance.


Implementation
    public static function get automationObjectHelper():IAutomationObjectHelper
errorShownproperty 
errorShown:Boolean  [read-write]
Implementation
    public static function get errorShown():Boolean
    public function set errorShown(value:Boolean):void
initializedproperty 
initialized:Boolean  [read-only]

Contains true if the automation module has been initialized.


Implementation
    public static function get initialized():Boolean
mouseSimulatorproperty 
mouseSimulator:IAutomationMouseSimulator  [read-write]

The currently active mouse simulator.


Implementation
    public static function get mouseSimulator():IAutomationMouseSimulator
    public function set mouseSimulator(value:IAutomationMouseSimulator):void
recordedLinesCountproperty 
recordedLinesCount:Number  [read-write]
Implementation
    public static function get recordedLinesCount():Number
    public function set recordedLinesCount(value:Number):void
recordReplayLimitproperty 
public static var recordReplayLimit:Number = 30
restrictionNeededproperty 
restrictionNeeded:Boolean  [write-only]
Implementation
    public function set restrictionNeeded(value:Boolean):void
Method Detail
decrementRecordedLinesCount()method
public static function decrementRecordedLinesCount():Number

Returns
Number
incrementRecordedLinesCount()method 
public static function incrementRecordedLinesCount():Number

Returns
Number
isLicensePresent()method 
public static function isLicensePresent():Boolean

Returns
Boolean
registerDelegateClass()method 
public static function registerDelegateClass(compClass:Class, delegateClass:Class):void

Registers the component class and delegate class association with Automation.

Parameters

compClass:Class — The component class.
 
delegateClass:Class — The delegate class associated with the component.