(Flex Data Visualization only)
Packagemx.automation
Interfacepublic interface IAutomationEnvironment

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



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

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

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.