C# Class VisualUIAVerify.Controls.TreeHelper

Mostra file Open project: TestStack/UIAVerify

Public Methods

Method Description
CreateNodeForAutomationElement ( AutomationElement element, AutomationElementTreeControl parentControl ) : TreeNode

Creates TreeNode for the AutomationElement

GetAutomationElementTreeNodeText ( AutomationElement element ) : string

creates name for AutomationElement

GetNodeElement ( TreeNode node ) : AutomationElement

Returns AutomationElement for TreeNode

Method Details

CreateNodeForAutomationElement() public static method

Creates TreeNode for the AutomationElement
public static CreateNodeForAutomationElement ( AutomationElement element, AutomationElementTreeControl parentControl ) : TreeNode
element System.Windows.Automation.AutomationElement
parentControl AutomationElementTreeControl
return System.Windows.Forms.TreeNode

GetAutomationElementTreeNodeText() public static method

creates name for AutomationElement
public static GetAutomationElementTreeNodeText ( AutomationElement element ) : string
element System.Windows.Automation.AutomationElement
return string

GetNodeElement() public static method

Returns AutomationElement for TreeNode
public static GetNodeElement ( TreeNode node ) : AutomationElement
node System.Windows.Forms.TreeNode
return System.Windows.Automation.AutomationElement