Package | mx.automation |
Interface | public interface IAutomationManager2 extends IAutomationManager , IEventDispatcher |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Property | Defined By | ||
---|---|---|---|
automationEnvironment : 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 | ||
recording : Boolean [read-only]
Indicates whether recording is taking place, true,
or not, false. | IAutomationManager | ||
replaying : Boolean [read-only]
Indicates whether replay is taking place, true,
or not, false. | IAutomationManager |
Method | Defined By | ||
---|---|---|---|
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 | |||
Sets the automation manager to record mode. | IAutomationManager | ||
Returns an id for the given object that can be used
with the resolveID() method. | IAutomationManager | ||
Returns an id part for the given object that can be used in resolveIDPart. | IAutomationManager | ||
Decrement the cache counter. | IAutomationManager | ||
Dispatches an event into the event flow. | IEventDispatcher | ||
IAutomationManager2 | |||
IAutomationManager2 | |||
Takes the automation manager out of record mode. | IAutomationManager | ||
IAutomationManager2 | |||
IAutomationManager2 | |||
IAutomationManager2 | |||
IAutomationManager2 | |||
IAutomationManager2 | |||
IAutomationManager2 | |||
Returns the text to display as the type of the object. | IAutomationManager | ||
Returns the text to display as the description for the object. | IAutomationManager | ||
Returns all children of this object that are visible within the testing
hierarchy. | IAutomationManager | ||
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 | ||
Returns the automation object under the given coordinate. | IAutomationManager | ||
IAutomationManager2 | |||
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 | |||
getProperties(obj:IAutomationObject, names:Array = null, forVerification:Boolean = true, forDescription:Boolean = true):Array
Returns the values for a set of properties. | IAutomationManager | ||
The display rectangle enclosing the DisplayObject. | IAutomationManager | ||
IAutomationManager2 | |||
Returns the object implementing the IAutomationTabularData interface through which
the tabular data can be obtained. | IAutomationManager | ||
IAutomationManager2 | |||
IAutomationManager2 | |||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | IEventDispatcher | ||
Increments the cache counter. | IAutomationManager | ||
IAutomationManager2 | |||
Tests if the provided target needs to wait until a previous
operation completes. | IAutomationManager | ||
Returns true if an object and all of its parents are visible. | IAutomationManager | ||
Records the event. | IAutomationManager | ||
Records the custom event. | IAutomationManager | ||
IAutomationManager2 | |||
IAutomationManager2 | |||
IAutomationManager2 | |||
Removes a listener from the EventDispatcher object. | IEventDispatcher | ||
Replays the specified event. | IAutomationManager | ||
Resolves an id to automation objects. | IAutomationManager | ||
Resolves an id part to an Array of automation objects. | IAutomationManager | ||
Resolves an id part to an automation object within the parent. | IAutomationManager | ||
Resolves an id to an automation object. | IAutomationManager | ||
Indicates whether an automation object should be visible within
the hierarchy. | IAutomationManager | ||
IAutomationManager2 | |||
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | IEventDispatcher |
automationEnvironmentHandlingClassName | property |
automationEnvironmentHandlingClassName:String
[write-only] public function set automationEnvironmentHandlingClassName(value:String):void
automationEnvironmentString | property |
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.
public function set automationEnvironmentString(value:String):void
See also
addEventListenersToAllChildApplications | () | method |
public function addEventListenersToAllChildApplications(eventDetailsArray:Array):void
Parameters
eventDetailsArray:Array |
addEventListenersToAllParentApplications | () | method |
public function addEventListenersToAllParentApplications(eventDetailsArray:Array):void
Parameters
eventDetailsArray:Array |
dispatchToAllChildren | () | method |
dispatchToParent | () | method |
getAirWindow | () | method |
public function getAirWindow(windowId:String):DisplayObject
Parameters
windowId:String |
DisplayObject |
getAirWindowUniqueId | () | method |
public function getAirWindowUniqueId(newWindow:DisplayObject):String
Parameters
newWindow:DisplayObject |
String |
getAirWindowUniqueIdFromAutomationIdPart | () | method |
public function getAirWindowUniqueIdFromAutomationIdPart(objectIdPart:AutomationIDPart):String
Parameters
objectIdPart:AutomationIDPart |
String |
getAirWindowUniqueIdFromObjectIdString | () | method |
public function getAirWindowUniqueIdFromObjectIdString(objectId:String):String
Parameters
objectId:String |
String |
getApplicationNameFromAutomationIdPart | () | method |
public function getApplicationNameFromAutomationIdPart(objectID:AutomationIDPart):String
Parameters
objectID:AutomationIDPart |
String |
getAutomationChildrenArray | () | method |
public function getAutomationChildrenArray(object:Object):Array
Parameters
object:Object |
Array |
getElementFromPoint2 | () | method |
public function getElementFromPoint2(x:int, y:int, windowId:String):IAutomationObject
Parameters
x:int | |
y:int | |
windowId:String |
IAutomationObject |
getPopoupChildObject | () | method |
public function getPopoupChildObject(index:int):IAutomationObject
Parameters
index:int |
IAutomationObject |
getPopoupChildren | () | method |
getPopoupChildrenCount | () | method |
getStartPointInScreenCoordinates | () | method |
public function getStartPointInScreenCoordinates(windowId:String):Point
Parameters
windowId:String |
Point |
getTopApplicationIndex | () | method |
getUniqueApplicationId | () | method |
isObjectPopup | () | method |
public function isObjectPopup(obj:IAutomationObject):Boolean
Parameters
obj:IAutomationObject |
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 |
storeDragProxy | () | method |