C# 클래스 Microsoft.Test.UIAutomation.TestRuns

파일 보기 프로젝트 열기: geeksree/cSharpGeeks

공개 메소드들

메소드 설명
RunAllControlTests ( AutomationElement element, bool testEvents, TestPriorities priority, TestCaseType testCaseType, bool testChildren, bool normalize, IApplicationCommands commands ) : bool

Run all control tests, pattern tests, and automation element tests

RunAllPatternTests ( AutomationElement element, bool testEvents, TestPriorities priority, TestCaseType testCaseType, bool testChildren, bool normalize, IApplicationCommands commands ) : bool

Run all the supported pattern tests associated with the element and that meet the criteria as supplied as arguments

RunAllTests ( AutomationElement element, bool testEvents, TestPriorities priority, TestCaseType testCaseType, bool testChildren, bool normalize, IApplicationCommands commands ) : bool

Run all the tests for patterns, control type, and AutomationElement that meet the criteria as supplied as arguments

RunAutomationElementTest ( AutomationElement element, bool testEvents, string test, bool testChildren, object arguments, bool normalize, IApplicationCommands commands ) : bool

Run the Automation test as defined by test

RunAutomationElementTests ( AutomationElement element, bool testEvents, TestPriorities priority, TestCaseType testCaseType, bool testChildren, bool normalize, IApplicationCommands commands ) : bool

Run all the AutomationElement tests on the element that meet the criteria as supplied as arguments

RunControlTest ( AutomationElement element, bool testEvents, string testSuite, string test, object arguments, IApplicationCommands commands ) : bool

Run the specified control test by name

RunControlTests ( AutomationElement element, bool testEvents, bool testChildren, TestPriorities priority, TestCaseType testCaseType, IApplicationCommands commands ) : bool

RunPatternTest ( AutomationElement element, bool testEvents, bool testChildren, string testSuite, string test, object arguments, IApplicationCommands commands ) : bool

Run the specified pattern test

RunPatternTests ( AutomationElement element, bool testEvents, TestPriorities priority, TestCaseType testCaseType, string testSuite, IApplicationCommands commands ) : bool

Run all the tests associated with the defined pattern and that meet the criteria as supplied as arguments

RunPatternTests ( AutomationElement element, bool testEvents, bool testChildren, string testSuite, TestCaseType testCaseType, IApplicationCommands commands ) : bool

Run all the tests associated with the pattern as defiend by testSuite

RunScenarioTest ( AutomationElement element, string testSuite, string testName, object arguments, bool testEvents, IApplicationCommands commands ) : bool

Run the specified pattern test

RunScenarioTest ( string testSuite, string testName, object arguments, bool testEvents, IApplicationCommands commands ) : bool

Run the specified scenario test

StopRunningTests ( ) : void
UnRegisterProviderCallback ( ) : void

Calls UiaRegisterProviderCallback(IntPtr.Zero) which unregisters the client side providers.

비공개 메소드들

메소드 설명
GetHashedElements ( AutomationElement element ) : Hashtable

Generates a hash table. The key is the localized control type. The element is an ArrayList of the actual elements that correspond to the control type.

RunAllControlTestOnDescendants ( AutomationElement element, bool testEvents, bool testChildren, TestPriorities priority, bool normalize, TestCaseType testCaseType, IApplicationCommands commands ) : bool

RunAllPatternTestsOnDescendants ( AutomationElement element, bool testEvents, bool testChildren, TestPriorities priority, bool normalize, TestCaseType testCaseType, IApplicationCommands commands ) : bool

RunAutomationElementTestOnDescendants ( AutomationElement element, bool testEvents, string test, bool testChildren, object arguments, bool normalize, IApplicationCommands commands ) : bool

Recursively tests the children Logical Elements

RunAutomationElementTestsOnDescendants ( AutomationElement element, bool testEvents, bool testChildren, TestPriorities priority, bool normalize, TestCaseType testCaseType, IApplicationCommands commands ) : bool

Recursively tests the children Logical Elements

RunControlTestsOnDescendants ( AutomationElement element, bool testEvents, bool testChildren, TestPriorities priority, TestCaseType testCaseType, IApplicationCommands commands ) : bool
RunPatternTestOnDescendants ( AutomationElement element, bool testEvents, bool testChildren, string testSuite, string test, object arguments, IApplicationCommands commands ) : bool

RunPatternTestsOnDescendants ( AutomationElement element, bool testEvents, bool testChildren, string testSuite, TestCaseType testCaseType, IApplicationCommands commands ) : bool

TestRuns ( ) : System

Defined so it would pass FxCop rules.

UiaRegisterProviderCallback ( IntPtr callback ) : void

메소드 상세

RunAllControlTests() 공개 정적인 메소드

Run all control tests, pattern tests, and automation element tests
public static RunAllControlTests ( AutomationElement element, bool testEvents, TestPriorities priority, TestCaseType testCaseType, bool testChildren, bool normalize, IApplicationCommands commands ) : bool
element AutomationElement
testEvents bool
priority TestPriorities
testCaseType TestCaseType
testChildren bool
normalize bool
commands IApplicationCommands
리턴 bool

RunAllPatternTests() 공개 정적인 메소드

Run all the supported pattern tests associated with the element and that meet the criteria as supplied as arguments
public static RunAllPatternTests ( AutomationElement element, bool testEvents, TestPriorities priority, TestCaseType testCaseType, bool testChildren, bool normalize, IApplicationCommands commands ) : bool
element AutomationElement
testEvents bool
priority TestPriorities
testCaseType TestCaseType
testChildren bool
normalize bool
commands IApplicationCommands
리턴 bool

RunAllTests() 공개 정적인 메소드

Run all the tests for patterns, control type, and AutomationElement that meet the criteria as supplied as arguments
public static RunAllTests ( AutomationElement element, bool testEvents, TestPriorities priority, TestCaseType testCaseType, bool testChildren, bool normalize, IApplicationCommands commands ) : bool
element AutomationElement
testEvents bool
priority TestPriorities
testCaseType TestCaseType
testChildren bool
normalize bool
commands IApplicationCommands
리턴 bool

RunAutomationElementTest() 공개 정적인 메소드

Run the Automation test as defined by test
public static RunAutomationElementTest ( AutomationElement element, bool testEvents, string test, bool testChildren, object arguments, bool normalize, IApplicationCommands commands ) : bool
element AutomationElement
testEvents bool
test string
testChildren bool
arguments object
normalize bool
commands IApplicationCommands
리턴 bool

RunAutomationElementTests() 공개 정적인 메소드

Run all the AutomationElement tests on the element that meet the criteria as supplied as arguments
public static RunAutomationElementTests ( AutomationElement element, bool testEvents, TestPriorities priority, TestCaseType testCaseType, bool testChildren, bool normalize, IApplicationCommands commands ) : bool
element AutomationElement
testEvents bool
priority TestPriorities
testCaseType TestCaseType
testChildren bool
normalize bool
commands IApplicationCommands
리턴 bool

RunControlTest() 공개 정적인 메소드

Run the specified control test by name
public static RunControlTest ( AutomationElement element, bool testEvents, string testSuite, string test, object arguments, IApplicationCommands commands ) : bool
element AutomationElement
testEvents bool
testSuite string
test string
arguments object
commands IApplicationCommands
리턴 bool

RunControlTests() 공개 정적인 메소드

public static RunControlTests ( AutomationElement element, bool testEvents, bool testChildren, TestPriorities priority, TestCaseType testCaseType, IApplicationCommands commands ) : bool
element AutomationElement
testEvents bool
testChildren bool
priority TestPriorities
testCaseType TestCaseType
commands IApplicationCommands
리턴 bool

RunPatternTest() 공개 정적인 메소드

Run the specified pattern test
public static RunPatternTest ( AutomationElement element, bool testEvents, bool testChildren, string testSuite, string test, object arguments, IApplicationCommands commands ) : bool
element AutomationElement
testEvents bool
testChildren bool
testSuite string
test string
arguments object
commands IApplicationCommands
리턴 bool

RunPatternTests() 공개 정적인 메소드

Run all the tests associated with the defined pattern and that meet the criteria as supplied as arguments
public static RunPatternTests ( AutomationElement element, bool testEvents, TestPriorities priority, TestCaseType testCaseType, string testSuite, IApplicationCommands commands ) : bool
element AutomationElement
testEvents bool
priority TestPriorities
testCaseType TestCaseType
testSuite string
commands IApplicationCommands
리턴 bool

RunPatternTests() 공개 정적인 메소드

Run all the tests associated with the pattern as defiend by testSuite
public static RunPatternTests ( AutomationElement element, bool testEvents, bool testChildren, string testSuite, TestCaseType testCaseType, IApplicationCommands commands ) : bool
element AutomationElement
testEvents bool
testChildren bool
testSuite string
testCaseType TestCaseType
commands IApplicationCommands
리턴 bool

RunScenarioTest() 공개 정적인 메소드

Run the specified pattern test
public static RunScenarioTest ( AutomationElement element, string testSuite, string testName, object arguments, bool testEvents, IApplicationCommands commands ) : bool
element AutomationElement
testSuite string
testName string
arguments object
testEvents bool
commands IApplicationCommands
리턴 bool

RunScenarioTest() 공개 정적인 메소드

Run the specified scenario test
public static RunScenarioTest ( string testSuite, string testName, object arguments, bool testEvents, IApplicationCommands commands ) : bool
testSuite string
testName string
arguments object
testEvents bool
commands IApplicationCommands
리턴 bool

StopRunningTests() 공개 정적인 메소드

public static StopRunningTests ( ) : void
리턴 void

UnRegisterProviderCallback() 공개 정적인 메소드

Calls UiaRegisterProviderCallback(IntPtr.Zero) which unregisters the client side providers.
public static UnRegisterProviderCallback ( ) : void
리턴 void