(Flex Data Visualization only)
Packagemx.automation
Interfacepublic interface IAutomationManager2 extends IAutomationManager , IEventDispatcher

The IAutomationManager interface defines the interface expected from an AutomationManager object by the automation module.



Public Properties
 PropertyDefined By
 InheritedautomationEnvironment : Object
The automation environment for this automation manager.
IAutomationManager
  automationEnvironmentHandlingClassName : String
[write-only]
IAutomationManager2
  automationEnvironmentString : String
The automation environment for this automation manager.
IAutomationManager2
 Inheritedrecording : Boolean
[read-only] Indicates whether recording is taking place, true, or not, false.
IAutomationManager
 Inheritedreplaying : Boolean
[read-only] Indicates whether replay is taking place, true, or not, false.
IAutomationManager
Public Methods
 MethodDefined By
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
IEventDispatcher
  
IAutomationManager2
  
IAutomationManager2
 Inherited
Sets the automation manager to record mode.
IAutomationManager
 Inherited
Returns an id for the given object that can be used with the resolveID() method.
IAutomationManager
 Inherited
Returns an id part for the given object that can be used in resolveIDPart.
IAutomationManager
 Inherited
Decrement the cache counter.
IAutomationManager
 Inherited
Dispatches an event into the event flow.
IEventDispatcher
  
IAutomationManager2
  
IAutomationManager2
 Inherited
Takes the automation manager out of record mode.
IAutomationManager
 Inherited
Returns the text to display as the type of the object.
IAutomationManager
 Inherited
Returns the text to display as the description for the object.
IAutomationManager
 Inherited
getChildren(obj:IAutomationObject, ignoreShowInHierarchy:Boolean = false):Array
Returns all children of this object that are visible within the testing hierarchy.
IAutomationManager
 Inherited
getChildrenFromIDPart(obj:IAutomationObject, part:AutomationIDPart = null, ignoreShowInHierarchy:Boolean = false):Array
Returns all children of this object that are visible within the testing hierarchy and meet the criteria in the automation part.
IAutomationManager
 Inherited
Returns the automation object under the given coordinate.
IAutomationManager
 Inherited
getParent(obj:IAutomationObject, parentToStopAt:IAutomationObject = null, ignoreShowInHierarchy:Boolean = false):IAutomationObject
Returns the next parent that is visible within the automation hierarchy.
IAutomationManager
  
IAutomationManager2
  
IAutomationManager2
 Inherited
getProperties(obj:IAutomationObject, names:Array = null, forVerification:Boolean = true, forDescription:Boolean = true):Array
Returns the values for a set of properties.
IAutomationManager
 Inherited
The display rectangle enclosing the DisplayObject.
IAutomationManager
 Inherited
Returns the object implementing the IAutomationTabularData interface through which the tabular data can be obtained.
IAutomationManager
  
IAutomationManager2
  
IAutomationManager2
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
IEventDispatcher
 Inherited
Increments the cache counter.
IAutomationManager
  
IAutomationManager2
 Inherited
Tests if the provided target needs to wait until a previous operation completes.
IAutomationManager
 Inherited
Returns true if an object and all of its parents are visible.
IAutomationManager
 Inherited
recordAutomatableEvent(recorder:IAutomationObject, event:Event, cacheable:Boolean = false):void
Records the event.
IAutomationManager
  
IAutomationManager2
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
IEventDispatcher
 Inherited
Replays the specified event.
IAutomationManager
 Inherited
resolveID(rid:AutomationID, currentParent:IAutomationObject = null):Array
Resolves an id to automation objects.
IAutomationManager
 Inherited
Resolves an id part to an Array of automation objects.
IAutomationManager
 Inherited
Resolves an id part to an automation object within the parent.
IAutomationManager
 Inherited
Resolves an id to an automation object.
IAutomationManager
 Inherited
Indicates whether an automation object should be visible within the hierarchy.
IAutomationManager
  
IAutomationManager2
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
IEventDispatcher
Property Detail
automationEnvironmentHandlingClassNameproperty
automationEnvironmentHandlingClassName:String  [write-only]

Implementation
    public function set automationEnvironmentHandlingClassName(value:String):void
automationEnvironmentStringproperty 
public var automationEnvironmentString:String

The automation environment for this automation manager. The automation environment provides information about the objects and properties of testable components needed for communicating with agent tools. The value of this property must implement the IAutomationEnvironment interface.

See also

Method Detail
addEventListenersToAllChildApplications()method
public function addEventListenersToAllChildApplications(eventDetailsArray:Array):void

Parameters

eventDetailsArray:Array

addEventListenersToAllParentApplications()method 
public function addEventListenersToAllParentApplications(eventDetailsArray:Array):void

Parameters

eventDetailsArray:Array

dispatchToAllChildren()method 
public function dispatchToAllChildren(event:Event):void

Parameters

event:Event

dispatchToParent()method 
public function dispatchToParent(event:Event):void

Parameters

event:Event

getPopoupChildObject()method 
public function getPopoupChildObject(index:int):IAutomationObject

Parameters

index:int

Returns
IAutomationObject
getPopoupChildrenCount()method 
public function getPopoupChildrenCount():Number

Returns
Number
getTopApplicationIndex()method 
public function getTopApplicationIndex(objectList:Array):int

Parameters

objectList:Array

Returns
int
getUniqueApplicationId()method 
public function getUniqueApplicationId():String

Returns
String
isObjectPopup()method 
public function isObjectPopup(obj:IAutomationObject):Boolean

Parameters

obj:IAutomationObject

Returns
Boolean
registerNewApplication()method 
public function registerNewApplication(application:DisplayObject):void

Parameters

application:DisplayObject

storeDragProxy()method 
public function storeDragProxy(dragProxy:Object):void

Parameters

dragProxy:Object