Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.automation 
IAutomationEnvironment 
Packagemx.automation
Interfacepublic interface IAutomationEnvironment

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

The IAutomationEnvironment interface provides information about the objects and properties of automatable components needed for communicating with agents.

See also



Public Methods
 MethodDefined By
  
Returns the automation class corresponding to the given object.
IAutomationEnvironment
  
Returns the automation class for the given name.
IAutomationEnvironment
Method Detail

getAutomationClassByInstance

()method
public function getAutomationClassByInstance(obj:IAutomationObject):IAutomationClass

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

Returns the automation class corresponding to the given object.

Parameters

obj:IAutomationObject — Instance of the delegate of a testable object.

Returns
IAutomationClass — Automation class for obj.

getAutomationClassByName

()method 
public function getAutomationClassByName(automationClass:String):IAutomationClass

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

Returns the automation class for the given name.

Parameters

automationClass:String — A class name that corresponds to the value of the AutomationClass.name property.

Returns
IAutomationClass — Automation class corresponding to the given name, or null if none was found.