C# 클래스 UITests.Extensions

파일 보기 프로젝트 열기: xamarin/mini-hacks

공개 메소드들

메소드 설명
EnterText ( this app, AppQuery>.Func lambda, string text, string screenshot ) : void
GetHeightWidth ( this app, AppQuery>.Func query, int &outX, int &outY ) : bool
IsItThere ( this app, AppQuery>.Func lambda ) : bool
IsItThere ( this app, AppQuery>.Func lambda, string screenShotText ) : void
IsTextDifferent ( string oldText, string newText ) : bool
Screenshot ( this app, string screenShotText ) : void
ScrollDownAndTap ( this app, AppQuery>.Func lambda = null, string screenshot = null ) : void
ScrollDownAndTap ( this app, string screenshot, AppQuery>.Func lambda = null ) : void
ScrollDownEnough ( this app, AppQuery>.Func lambda, string screenshot = null ) : AppResult[]

Incrementally scrolls down until the desired elements are found

Tap ( this app, AppQuery>.Func lambda, string screenshot ) : void
Tap ( this app, string screenshot, AppQuery>.Func lambda ) : void
ToString ( this result, bool repl ) : string
WaitFor ( this app, AppQuery>.Func lambda ) : void
WaitForThenClearText ( this app, AppQuery>.Func lambda ) : void
WaitForThenEnterText ( this app, AppQuery>.Func lambda, string text, string screenShotText ) : void
WaitForThenGetTextOfIndexAndCompare ( this app, AppQuery>.Func lambda, int index, string sExpected, string screenShotText ) : void
WaitForThenTap ( this app, AppQuery>.Func lambda, string screenShotText = null ) : void
WaitThenEnterText ( this app, AppQuery>.Func lambda, string text, string screenshot = null ) : void
WaitThenTap ( this app, AppQuery>.Func lambda, string screenshot = null, int seconds = 20 ) : void
WaitThenTap ( this app, string screenshot, AppQuery>.Func lambda, int seconds = 20 ) : void
WaitThenTapIfExists ( this app, AppQuery>.Func lambda, int timeout = 5, string screenshot = null ) : void

비공개 메소드들

메소드 설명
CompareText ( string sExpected, string sActual ) : void

메소드 상세

EnterText() 공개 정적인 메소드

public static EnterText ( this app, AppQuery>.Func lambda, string text, string screenshot ) : void
app this
lambda AppQuery>.Func
text string
screenshot string
리턴 void

GetHeightWidth() 공개 정적인 메소드

public static GetHeightWidth ( this app, AppQuery>.Func query, int &outX, int &outY ) : bool
app this
query AppQuery>.Func
outX int
outY int
리턴 bool

IsItThere() 공개 정적인 메소드

public static IsItThere ( this app, AppQuery>.Func lambda ) : bool
app this
lambda AppQuery>.Func
리턴 bool

IsItThere() 공개 정적인 메소드

public static IsItThere ( this app, AppQuery>.Func lambda, string screenShotText ) : void
app this
lambda AppQuery>.Func
screenShotText string
리턴 void

IsTextDifferent() 공개 정적인 메소드

public static IsTextDifferent ( string oldText, string newText ) : bool
oldText string
newText string
리턴 bool

Screenshot() 공개 정적인 메소드

public static Screenshot ( this app, string screenShotText ) : void
app this
screenShotText string
리턴 void

ScrollDownAndTap() 공개 정적인 메소드

public static ScrollDownAndTap ( this app, AppQuery>.Func lambda = null, string screenshot = null ) : void
app this
lambda AppQuery>.Func
screenshot string
리턴 void

ScrollDownAndTap() 공개 정적인 메소드

public static ScrollDownAndTap ( this app, string screenshot, AppQuery>.Func lambda = null ) : void
app this
screenshot string
lambda AppQuery>.Func
리턴 void

ScrollDownEnough() 공개 정적인 메소드

Incrementally scrolls down until the desired elements are found
public static ScrollDownEnough ( this app, AppQuery>.Func lambda, string screenshot = null ) : AppResult[]
app this
lambda AppQuery>.Func
screenshot string
리턴 AppResult[]

Tap() 공개 정적인 메소드

public static Tap ( this app, AppQuery>.Func lambda, string screenshot ) : void
app this
lambda AppQuery>.Func
screenshot string
리턴 void

Tap() 공개 정적인 메소드

public static Tap ( this app, string screenshot, AppQuery>.Func lambda ) : void
app this
screenshot string
lambda AppQuery>.Func
리턴 void

ToString() 공개 정적인 메소드

public static ToString ( this result, bool repl ) : string
result this
repl bool
리턴 string

WaitFor() 공개 정적인 메소드

public static WaitFor ( this app, AppQuery>.Func lambda ) : void
app this
lambda AppQuery>.Func
리턴 void

WaitForThenClearText() 공개 정적인 메소드

public static WaitForThenClearText ( this app, AppQuery>.Func lambda ) : void
app this
lambda AppQuery>.Func
리턴 void

WaitForThenEnterText() 공개 정적인 메소드

public static WaitForThenEnterText ( this app, AppQuery>.Func lambda, string text, string screenShotText ) : void
app this
lambda AppQuery>.Func
text string
screenShotText string
리턴 void

WaitForThenGetTextOfIndexAndCompare() 공개 정적인 메소드

public static WaitForThenGetTextOfIndexAndCompare ( this app, AppQuery>.Func lambda, int index, string sExpected, string screenShotText ) : void
app this
lambda AppQuery>.Func
index int
sExpected string
screenShotText string
리턴 void

WaitForThenTap() 공개 정적인 메소드

public static WaitForThenTap ( this app, AppQuery>.Func lambda, string screenShotText = null ) : void
app this
lambda AppQuery>.Func
screenShotText string
리턴 void

WaitThenEnterText() 공개 정적인 메소드

public static WaitThenEnterText ( this app, AppQuery>.Func lambda, string text, string screenshot = null ) : void
app this
lambda AppQuery>.Func
text string
screenshot string
리턴 void

WaitThenTap() 공개 정적인 메소드

public static WaitThenTap ( this app, AppQuery>.Func lambda, string screenshot = null, int seconds = 20 ) : void
app this
lambda AppQuery>.Func
screenshot string
seconds int
리턴 void

WaitThenTap() 공개 정적인 메소드

public static WaitThenTap ( this app, string screenshot, AppQuery>.Func lambda, int seconds = 20 ) : void
app this
screenshot string
lambda AppQuery>.Func
seconds int
리턴 void

WaitThenTapIfExists() 공개 정적인 메소드

public static WaitThenTapIfExists ( this app, AppQuery>.Func lambda, int timeout = 5, string screenshot = null ) : void
app this
lambda AppQuery>.Func
timeout int
screenshot string
리턴 void