(Flex 2 Plug-in for Mercury Quick Test Pro)
The IAutomationClass interface defines the interface for a component class descriptor.
name:String [read-only]
The class name.
Implementation
public function get name():String
propertyNameMap:Object [read-only]
An Object containing a map to map a property name to descriptor.
The following example uses this property:
var descriptor:IAutomationPropertyDescriptor = map[propertyNameMap];
Implementation
public function get propertyNameMap():Object
superClassName:String [read-only]
The name of the class's superclass.
Implementation
public function get superClassName():String
public function getDescriptorForEvent(event:Event):IAutomationEventDescriptor
Returns an IAutomationEventDescriptor object
for the specified event object.
Parameters
| event:Event — The event for which the descriptor is required.
|
Returns
public function getDescriptorForEventByName(eventName:String):IAutomationEventDescriptor
Returns an IAutomationEventDescriptor object from the event's name.
Parameters
| eventName:String — The event name for which the descriptor is required.
|
Returns
public function getDescriptorForMethodByName(methodName:String):IAutomationMethodDescriptor
Returns an IAutomationMethodDescriptorfrom object
from the method's name.
Parameters
| methodName:String — The method name for which the descriptor is required.
|
Returns
public function getPropertyDescriptors(objForInitialization:Object = null, forVerification:Boolean = true, forDescription:Boolean = true):Array
Returns the list of properties this class supports.
Parameters
| objForInitialization:Object (default = null) — Object which can be used to find the
ActionScript type of the properties.
|
| |
| forVerification:Boolean (default = true) — If true, indicates that properties used
for verification should be included in the return value.
|
| |
| forDescription:Boolean (default = true) — If true, indicates that properties used
for object identitication should be included in the return value.
|
Returns
| Array —
Array containing property descriptions.
|
© 2004-2006 Adobe Systems Incorporated. All rights reserved.
Fri Mar 16 2007, 2:46 PM GMT-07:00