C# 클래스 Microsoft.Test.UIAutomation.Core.Library

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

공개 메소드들

메소드 설명
GetUISpyLook ( AutomationElement le ) : string

Returns a string that resembles output of UISpy tree

IsCriticalException ( Exception exception ) : bool

Checks for critical nonrecoverable errors

StartApplication ( string appPath, string arguments, IntPtr &handle, AutomationElement &element, Process &process ) : void

Start the application and retrieve it's AutomationElement as a member variable.

StartApplicationShellExecute ( string appPath, string caption, string arguments, AutomationElement &element ) : void

Start application with ShellExecute with default timeout

StartApplicationShellExecute ( string appPath, string caption, string arguments, AutomationElement &element, int timeOutMilliSeconds ) : void

Start application with ShellExecute

StopApplication ( Process process, string processName, int sleepTime ) : void
ValidateArgumentNonNull ( object obj, string argName ) : void

메소드 상세

GetUISpyLook() 정적인 공개 메소드

Returns a string that resembles output of UISpy tree
static public GetUISpyLook ( AutomationElement le ) : string
le System.Windows.Automation.AutomationElement
리턴 string

IsCriticalException() 정적인 공개 메소드

Checks for critical nonrecoverable errors
static public IsCriticalException ( Exception exception ) : bool
exception System.Exception
리턴 bool

StartApplication() 정적인 공개 메소드

Start the application and retrieve it's AutomationElement as a member variable.
static public StartApplication ( string appPath, string arguments, IntPtr &handle, AutomationElement &element, Process &process ) : void
appPath string
arguments string
handle System.IntPtr
element System.Windows.Automation.AutomationElement
process System.Diagnostics.Process
리턴 void

StartApplicationShellExecute() 정적인 공개 메소드

Start application with ShellExecute with default timeout
static public StartApplicationShellExecute ( string appPath, string caption, string arguments, AutomationElement &element ) : void
appPath string
caption string
arguments string
element System.Windows.Automation.AutomationElement
리턴 void

StartApplicationShellExecute() 정적인 공개 메소드

Start application with ShellExecute
static public StartApplicationShellExecute ( string appPath, string caption, string arguments, AutomationElement &element, int timeOutMilliSeconds ) : void
appPath string
caption string
arguments string
element System.Windows.Automation.AutomationElement
timeOutMilliSeconds int
리턴 void

StopApplication() 정적인 공개 메소드

static public StopApplication ( Process process, string processName, int sleepTime ) : void
process System.Diagnostics.Process
processName string
sleepTime int
리턴 void

ValidateArgumentNonNull() 정적인 공개 메소드

static public ValidateArgumentNonNull ( object obj, string argName ) : void
obj object
argName string
리턴 void