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

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 9, AIR 1.1

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
[write-only] 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
  
IAutomationManager2
  
IAutomationManager2
  
IAutomationManager2
  
IAutomationManager2
  
IAutomationManager2
  
IAutomationManager2
 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
  
IAutomationManager2
 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
  
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
  
IAutomationManager2
 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
 Inherited
Records the custom event.
IAutomationManager
  
IAutomationManager2
  
IAutomationManager2
  
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 
automationEnvironmentString:String  [write-only]

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 9, AIR 1.1

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.



Implementation
    public function set automationEnvironmentString(value:String):void

See also

mx.automation.IAutomationEnvironment
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

getAirWindow()method 
public function getAirWindow(windowId:String):DisplayObject

Parameters

windowId:String

Returns
DisplayObject
getAirWindowUniqueId()method 
public function getAirWindowUniqueId(newWindow:DisplayObject):String

Parameters

newWindow:DisplayObject

Returns
String
getAirWindowUniqueIdFromAutomationIdPart()method 
public function getAirWindowUniqueIdFromAutomationIdPart(objectIdPart:AutomationIDPart):String

Parameters

objectIdPart:AutomationIDPart

Returns
String
getAirWindowUniqueIdFromObjectIdString()method 
public function getAirWindowUniqueIdFromObjectIdString(objectId:String):String

Parameters

objectId:String

Returns
String
getApplicationNameFromAutomationIdPart()method 
public function getApplicationNameFromAutomationIdPart(objectID:AutomationIDPart):String

Parameters

objectID:AutomationIDPart

Returns
String
getAutomationChildrenArray()method 
public function getAutomationChildrenArray(object:Object):Array

Parameters

object:Object

Returns
Array
getElementFromPoint2()method 
public function getElementFromPoint2(x:int, y:int, windowId:String):IAutomationObject

Parameters

x:int
 
y:int
 
windowId:String

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

Parameters

index:int

Returns
IAutomationObject
getPopoupChildren()method 
public function getPopoupChildren():Array

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

Returns
Number
getStartPointInScreenCoordinates()method 
public function getStartPointInScreenCoordinates(windowId:String):Point

Parameters

windowId:String

Returns
Point
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

registerNewFlexNativeMenu()method 
public function registerNewFlexNativeMenu(menu:Object, sm:DisplayObject):void

Parameters

menu:Object
 
sm:DisplayObject

registerNewWindow()method 
public function registerNewWindow(newWindow:DisplayObject):void

Parameters

newWindow:DisplayObject

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

Parameters

dragProxy:Object