(Adobe® Flex™ 2 Plug-in for Mercury™ Quick Test Pro)
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
  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
Public Methods
 MethodDefined by
 Inherited
Indicates whether an object has a specified property defined.
Object
 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
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
Method detail
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.




Take a survey


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/201/langref/mx/automation/Automation.html