C# Class TestStack.White.Mappings.ControlDictionary

ファイルを表示 Open project: TestStack/White Class Usage Examples

Public Properties

Property Type Description
Instance ControlDictionary

Public Methods

Method Description
GetControlType ( Type testControlType, string frameworkId ) : System.Windows.Automation.ControlType[]
GetTestControlType ( AutomationElement automationElement ) : Type
GetTestControlType ( string className, string name, ControlType controlType, string frameWorkId, bool isNativeControl ) : Type
HasPrimaryChildren ( ControlType controlType ) : bool
IsControlTypeSupported ( ControlType controlType ) : bool
IsEditable ( UIItem uiItem ) : bool
IsExcluded ( ControlType controlType ) : bool
IsPrimaryControl ( ControlType controlType, string className, string name ) : bool
PrimaryControlTypes ( string frameworkId ) : List

Private Methods

Method Description
ControlDictionary ( ) : System
ControlTypeMatches ( ControlType controlType, TestStack.White.Mappings.ControlDictionaryItem controlDictionaryItem ) : bool
FrameworkIdMatches ( string frameWorkId, TestStack.White.Mappings.ControlDictionaryItem controlDictionaryItem ) : bool

Method Details

GetControlType() public method

public GetControlType ( Type testControlType, string frameworkId ) : System.Windows.Automation.ControlType[]
testControlType System.Type
frameworkId string
return System.Windows.Automation.ControlType[]

GetTestControlType() public method

public GetTestControlType ( AutomationElement automationElement ) : Type
automationElement System.Windows.Automation.AutomationElement
return System.Type

GetTestControlType() public method

public GetTestControlType ( string className, string name, ControlType controlType, string frameWorkId, bool isNativeControl ) : Type
className string
name string
controlType System.Windows.Automation.ControlType
frameWorkId string
isNativeControl bool
return System.Type

HasPrimaryChildren() public method

public HasPrimaryChildren ( ControlType controlType ) : bool
controlType System.Windows.Automation.ControlType
return bool

IsControlTypeSupported() public method

public IsControlTypeSupported ( ControlType controlType ) : bool
controlType System.Windows.Automation.ControlType
return bool

IsEditable() public method

public IsEditable ( UIItem uiItem ) : bool
uiItem UIItem
return bool

IsExcluded() public method

public IsExcluded ( ControlType controlType ) : bool
controlType System.Windows.Automation.ControlType
return bool

IsPrimaryControl() public method

public IsPrimaryControl ( ControlType controlType, string className, string name ) : bool
controlType System.Windows.Automation.ControlType
className string
name string
return bool

PrimaryControlTypes() public method

public PrimaryControlTypes ( string frameworkId ) : List
frameworkId string
return List

Property Details

Instance public_oe static_oe property

public static ControlDictionary,TestStack.White.Mappings Instance
return ControlDictionary