ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
mx.automation 

IAutomationEnvironment  - AS3 Flex

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.

Learn more



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.