Paket | mx.automation |
Arabirim | public interface IAutomationManager2 extends IAutomationManager , IEventDispatcher |
Uygulayıcılar | AutomationManager |
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Özellik | Tanımlayan: | ||
---|---|---|---|
automationEnvironment : Object
The automation environment for this automation manager. | IAutomationManager | ||
automationEnvironmentHandlingClassName : String [salt yazılır]
Marshalling Support(for tool): The tool class which is responsible for handling
the automation environment. | IAutomationManager2 | ||
automationEnvironmentString : String [salt yazılır]
The automation environment for this automation manager. | IAutomationManager2 | ||
recording : Boolean [salt okunur]
Indicates whether recording is taking place. | IAutomationManager | ||
replaying : Boolean [salt okunur]
Indicates whether replay is taking place. | IAutomationManager |
Yöntem | Tanımlayan: | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
EventDispatcher nesnesi olan bir olay dinleyici nesnesini, dinleyicinin bir olayın bildirimini alması için kaydeder. | IEventDispatcher | ||
Marshalling Support(for tool): Adds the passed EventDetails objects to the probable
child applications in the current ApplicationDomain. | IAutomationManager2 | ||
Marshalling Support(for tool): Adds the passed EventDetails objects to the probable
parent applications in the current ApplicationDomain. | 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 the resolveIDPart() method. | IAutomationManager | ||
Decrement the cache counter. | IAutomationManager | ||
Olay akışına bir olay gönderir. | IEventDispatcher | ||
Marshalling Support(for tool): Dispatches event to all children. | IAutomationManager2 | ||
Marshalling Support(for tool): Dispatches event to parent applications. | IAutomationManager2 | ||
Takes the automation manager out of record mode. | IAutomationManager | ||
AIR support(for tool): Returns the window with the passed id. | IAutomationManager2 | ||
AIR support(for tool): Returns the unique id of the window object. | IAutomationManager2 | ||
AIR support(for tool): Returns the unique ID of window from the automation ID part. | IAutomationManager2 | ||
AIR support(for tool): Returns the unique ID of window from the object ID. | IAutomationManager2 | ||
Marshalling Support(for tool): Returns name of the application from the part id. | 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 | ||
AIR support(for tool): Returns the automation object under the given coordinate in a window. | IAutomationManager2 | ||
getParent(obj:IAutomationObject, parentToStopAt:IAutomationObject = null, ignoreShowInHierarchy:Boolean = false):IAutomationObject
Returns the next parent that is visible within the automation hierarchy. | IAutomationManager | ||
Marshalling Support(for delegates):Returns array of pop up objects of the root application. | IAutomationManager2 | ||
Marshalling Support(for delegates):Returns array of pop up objects of the top level application. | IAutomationManager2 | ||
Marshalling Support(for delegates):Returns the number of pop up children of the
top level application. | 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 | ||
AIR support(for tool): Used by Flex application loaded from AIR application,
to get the start point of main AIR application in screen coordinates
| IAutomationManager2 | ||
Returns the object implementing the IAutomationTabularData interface through which
the tabular data can be obtained. | IAutomationManager | ||
Marshalling Support(for tool): Returns the index of top visible object among the passed array of objects. | IAutomationManager2 | ||
Marshalling Support(for tool): Returns unique ID of the application considering
the hierarchy using the SWFLoader information and the application name. | IAutomationManager2 | ||
EventDispatcher nesnesinin belirli bir olay türü için kayıtlı dinleyicisi olup olmadığını kontrol eder. | IEventDispatcher | ||
Increments the cache counter. | IAutomationManager | ||
Marshalling Support(for tool): Returns true if the passed object is a pop up. | 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 | ||
Marshalling Support(for delegates): When a new application is added, application delegate
registers itself so that appropriate listeners are added to that in order to support
Marshalling. | IAutomationManager2 | ||
AIR Support(for delegates): When a FlexNativeMenu is added to a component, its delegate
registers the new FlexNativeMenu object and creates a delegate. | IAutomationManager2 | ||
AIR Support(for delegates): When a new window is added, WindowedApplication delegate registers
the new window object so that a unique id is created for that window. | IAutomationManager2 | ||
EventDispatcher nesnesinden bir dinleyiciyi kaldırır. | 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 | ||
Marshalling Support(for delegates): Stores the drag proxy to enable
inter-application drag-drop.DragProxy created in one application should be
accessible by another application if required. | IAutomationManager2 | ||
Bir olay dinleyicisinin bu EventDispatcher nesnesiyle mi, yoksa onun belirtilen olay türüne yönelik üst öğelerinden biriyle mi kayıtlı olduğunu kontrol eder. | IEventDispatcher |
automationEnvironmentHandlingClassName | özellik |
automationEnvironmentHandlingClassName:String
[salt yazılır] Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Marshalling Support(for tool): The tool class which is responsible for handling the automation environment.
Uygulama
public function set automationEnvironmentHandlingClassName(value:String):void
automationEnvironmentString | özellik |
automationEnvironmentString:String
[salt yazılır] Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | 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.
Uygulama
public function set automationEnvironmentString(value:String):void
İlgili API Öğeleri
addEventListenersToAllChildApplications | () | yöntem |
public function addEventListenersToAllChildApplications(eventDetailsArray:Array):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Marshalling Support(for tool): Adds the passed EventDetails objects to the probable child applications in the current ApplicationDomain. AutomationManager identifies the child applications in the current ApplicationDomain as and when the application is loaded, and adds appropriate listeners obtained from the passed objects.
Parametreler
eventDetailsArray:Array — Array of EventDetails objects.
|
addEventListenersToAllParentApplications | () | yöntem |
public function addEventListenersToAllParentApplications(eventDetailsArray:Array):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Marshalling Support(for tool): Adds the passed EventDetails objects to the probable parent applications in the current ApplicationDomain. AutomationManager identifies the parent applications in the current ApplicationDomain which are responsible to listen to the events from children and adds appropriate listeners obtained from the passed objects.
Parametreler
eventDetailsArray:Array — Array of EventDetails objects.
|
dispatchToAllChildren | () | yöntem |
dispatchToParent | () | yöntem |
getAIRWindow | () | yöntem |
public function getAIRWindow(windowId:String):DisplayObject
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
AIR support(for tool): Returns the window with the passed id.
Parametreler
windowId:String — id of the window
|
DisplayObject — Window with passed id.
|
getAIRWindowUniqueID | () | yöntem |
public function getAIRWindowUniqueID(newWindow:DisplayObject):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
AIR support(for tool): Returns the unique id of the window object.
Parametreler
newWindow:DisplayObject — window whose id is to required.
|
String — String
|
getAIRWindowUniqueIDFromAutomationIDPart | () | yöntem |
public function getAIRWindowUniqueIDFromAutomationIDPart(objectIdPart:AutomationIDPart):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
AIR support(for tool): Returns the unique ID of window from the automation ID part. Automation ID part has application ID and window ID.
Parametreler
objectIdPart:AutomationIDPart — The AutomationIDPart from which unique ID of the window is to be obtained.
|
String |
getAIRWindowUniqueIDFromObjectIDString | () | yöntem |
public function getAIRWindowUniqueIDFromObjectIDString(objectId:String):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
AIR support(for tool): Returns the unique ID of window from the object ID. Object ID has application ID and window ID.
Parametreler
objectId:String — The object ID from which unique ID of the window is to be obtained.
|
String |
getApplicationNameFromAutomationIDPart | () | yöntem |
public function getApplicationNameFromAutomationIDPart(objectID:AutomationIDPart):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Marshalling Support(for tool): Returns name of the application from the part id.
Parametreler
objectID:AutomationIDPart — AutomationIDPart from which the application name is obtained.
|
String |
getElementFromPoint2 | () | yöntem |
public function getElementFromPoint2(x:int, y:int, windowId:String):IAutomationObject
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
AIR support(for tool): Returns the automation object under the given coordinate in a window.
Parametreler
x:int — The x coordinate.
| |
y:int — The y coordinate.
| |
windowId:String — The window on which the object is to be identified.
|
IAutomationObject — Automation object at that point.
|
getPopUpChildObject | () | yöntem |
public function getPopUpChildObject(index:int):IAutomationObject
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Marshalling Support(for delegates):Returns array of pop up objects of the root application. All pop up objects created in an application are added as pop up children to the top level application of its ApplicationDomain.
Parametreler
index:int — at which the object is to be retrieved
|
IAutomationObject — IAutomationObject at the given index
|
getPopUpChildren | () | yöntem |
public function getPopUpChildren():Array
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Marshalling Support(for delegates):Returns array of pop up objects of the top level application. All pop up objects created in an application are added as pop up children to the top level application of its ApplicationDomain.
DöndürürArray — Array of pop up children
|
getPopUpChildrenCount | () | yöntem |
public function getPopUpChildrenCount():Number
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Marshalling Support(for delegates):Returns the number of pop up children of the top level application. All pop up objects created in an application are added as pop up children to the top level application of its ApplicationDomain.
DöndürürNumber — Number of pop up children
|
getStartPointInScreenCoordinates | () | yöntem |
public function getStartPointInScreenCoordinates(windowId:String):Point
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
AIR support(for tool): Used by Flex application loaded from AIR application, to get the start point of main AIR application in screen coordinates
Parametreler
windowId:String |
Point |
getTopApplicationIndex | () | yöntem |
public function getTopApplicationIndex(objectList:Array):int
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Marshalling Support(for tool): Returns the index of top visible object among the passed array of objects. This can be used by tools to identify the topmost Application object when there are multiple objects from different applications, which belong to different ApplicationDomain or different SecurityDomain, under the mouse.
Parametreler
objectList:Array — Array of objects
|
int |
getUniqueApplicationID | () | yöntem |
public function getUniqueApplicationID():String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Marshalling Support(for tool): Returns unique ID of the application considering the hierarchy using the SWFLoader information and the application name.
DöndürürString |
isObjectPopUp | () | yöntem |
public function isObjectPopUp(obj:IAutomationObject):Boolean
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Marshalling Support(for tool): Returns true if the passed object is a pop up.
Parametreler
obj:IAutomationObject — IAutomationObject
|
Boolean |
registerNewApplication | () | yöntem |
public function registerNewApplication(application:DisplayObject):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Marshalling Support(for delegates): When a new application is added, application delegate registers itself so that appropriate listeners are added to that in order to support Marshalling.
Parametreler
application:DisplayObject — Application object to be registered.
|
registerNewFlexNativeMenu | () | yöntem |
public function registerNewFlexNativeMenu(menu:Object, sm:DisplayObject):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
AIR Support(for delegates): When a FlexNativeMenu is added to a component, its delegate registers the new FlexNativeMenu object and creates a delegate.
Parametreler
menu:Object — FlexNativeMenu object to be registered.
| |
sm:DisplayObject — SystemManager of the component in which FlexNativeMenu is added.
|
registerNewWindow | () | yöntem |
public function registerNewWindow(newWindow:DisplayObject):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
AIR Support(for delegates): When a new window is added, WindowedApplication delegate registers the new window object so that a unique id is created for that window.
Parametreler
newWindow:DisplayObject — Window object to be registered.
|
storeDragProxy | () | yöntem |
public function storeDragProxy(dragProxy:Object):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Marshalling Support(for delegates): Stores the drag proxy to enable inter-application drag-drop.DragProxy created in one application should be accessible by another application if required.
Parametreler
dragProxy:Object — object
|
Tue Jun 12 2018, 01:09 PM Z