C# 클래스 Affecto.Testing.UI.Selenium.WebHostDriver

상속: IDisposable
파일 보기 프로젝트 열기: affecto/dotnet-Testing.UI.Selenium 1 사용 예제들

공개 메소드들

메소드 설명
ClickElement ( string elementId ) : void
ClickElementWithWait ( string elementId, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : void
ClickLink ( string linkText ) : void
Dispose ( ) : void
ElementHasAnyText ( string elementId ) : bool
ElementHasAnyTextWithWait ( string elementId, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : bool
ElementHasText ( string elementId, string textToFind ) : bool
ElementHasTextWithWait ( string elementId, string textToFind, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : bool
FindElementByIdWithWait ( string elementId, int maxWaitTimeInMilliseconds = MaxWaitDefaultInMilliseconds ) : IWebElement
GetDropDownListContent ( string elementId ) : List
GetDropDownListContent ( string labelAndDropDownListElementId, string label ) : List
GetDropDownListSelection ( string elementId ) : string
GetDropDownListSelection ( string labelAndDropDownListElementId, string label ) : string
GetDropDownListSelectionWithWait ( string elementId, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : string
InputHasText ( string elementId, string textToFind ) : bool
InputHasTextWithWait ( string elementId, string textToFind, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : bool
IsDropDownListEnabled ( string labelAndDropDownListElementId, string elementLabel ) : bool
IsElementDisplayed ( string elementId ) : bool
IsElementDisplayedWithWait ( string elementId, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : bool
IsElementEnabled ( string elementId ) : bool
IsElementEnabledWithWait ( string elementId, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : bool
IsElementPresent ( string elementId ) : bool
IsElementPresentWithWait ( string elementId, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : bool
IsTableCellLinkPresent ( string tableElementId, string linkText ) : bool
NavigateTo ( string url ) : void
SelectDropDownListItem ( string elementId, string itemText ) : void
SelectDropDownListItem ( string labelAndDropDownListElementId, string elementLabel, string itemText ) : void
SelectDropDownListItemWithWait ( string elementId, string itemText, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : void
TypeText ( string inputElementId, string text ) : void
TypeTextWithWait ( string inputElementId, string text, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : void
WebHostDriver ( string browserName ) : System

비공개 메소드들

메소드 설명
ClearAndTypeText ( string text, IWebElement inputElement ) : void
FindElementAndSleep ( string elementId ) : IWebElement
FindElementsAndSleep ( string elementId ) : ReadOnlyCollection
FindElementsByIdWithWait ( string elementId, int maxWaitTimeInMilliseconds ) : ReadOnlyCollection
GetDropDownListContent ( ISearchContext selectDocumentTypeDropDown ) : List
GetDropDownListElement ( string labelAndDropDownListElementId, string label ) : IWebElement
SelectItem ( IWebElement dropDownElement, string itemText ) : void
VerifyIsSingleElementPresent ( string elementId, ReadOnlyCollection elements ) : bool

메소드 상세

ClickElement() 공개 메소드

public ClickElement ( string elementId ) : void
elementId string
리턴 void

ClickElementWithWait() 공개 메소드

public ClickElementWithWait ( string elementId, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : void
elementId string
maxWaitInMilliseconds int
리턴 void

ClickLink() 공개 메소드

public ClickLink ( string linkText ) : void
linkText string
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

ElementHasAnyText() 공개 메소드

public ElementHasAnyText ( string elementId ) : bool
elementId string
리턴 bool

ElementHasAnyTextWithWait() 공개 메소드

public ElementHasAnyTextWithWait ( string elementId, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : bool
elementId string
maxWaitInMilliseconds int
리턴 bool

ElementHasText() 공개 메소드

public ElementHasText ( string elementId, string textToFind ) : bool
elementId string
textToFind string
리턴 bool

ElementHasTextWithWait() 공개 메소드

public ElementHasTextWithWait ( string elementId, string textToFind, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : bool
elementId string
textToFind string
maxWaitInMilliseconds int
리턴 bool

FindElementByIdWithWait() 공개 메소드

public FindElementByIdWithWait ( string elementId, int maxWaitTimeInMilliseconds = MaxWaitDefaultInMilliseconds ) : IWebElement
elementId string
maxWaitTimeInMilliseconds int
리턴 IWebElement

GetDropDownListContent() 공개 메소드

public GetDropDownListContent ( string elementId ) : List
elementId string
리턴 List

GetDropDownListContent() 공개 메소드

public GetDropDownListContent ( string labelAndDropDownListElementId, string label ) : List
labelAndDropDownListElementId string
label string
리턴 List

GetDropDownListSelection() 공개 메소드

public GetDropDownListSelection ( string elementId ) : string
elementId string
리턴 string

GetDropDownListSelection() 공개 메소드

public GetDropDownListSelection ( string labelAndDropDownListElementId, string label ) : string
labelAndDropDownListElementId string
label string
리턴 string

GetDropDownListSelectionWithWait() 공개 메소드

public GetDropDownListSelectionWithWait ( string elementId, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : string
elementId string
maxWaitInMilliseconds int
리턴 string

InputHasText() 공개 메소드

public InputHasText ( string elementId, string textToFind ) : bool
elementId string
textToFind string
리턴 bool

InputHasTextWithWait() 공개 메소드

public InputHasTextWithWait ( string elementId, string textToFind, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : bool
elementId string
textToFind string
maxWaitInMilliseconds int
리턴 bool

IsDropDownListEnabled() 공개 메소드

public IsDropDownListEnabled ( string labelAndDropDownListElementId, string elementLabel ) : bool
labelAndDropDownListElementId string
elementLabel string
리턴 bool

IsElementDisplayed() 공개 메소드

public IsElementDisplayed ( string elementId ) : bool
elementId string
리턴 bool

IsElementDisplayedWithWait() 공개 메소드

public IsElementDisplayedWithWait ( string elementId, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : bool
elementId string
maxWaitInMilliseconds int
리턴 bool

IsElementEnabled() 공개 메소드

public IsElementEnabled ( string elementId ) : bool
elementId string
리턴 bool

IsElementEnabledWithWait() 공개 메소드

public IsElementEnabledWithWait ( string elementId, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : bool
elementId string
maxWaitInMilliseconds int
리턴 bool

IsElementPresent() 공개 메소드

public IsElementPresent ( string elementId ) : bool
elementId string
리턴 bool

IsElementPresentWithWait() 공개 메소드

public IsElementPresentWithWait ( string elementId, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : bool
elementId string
maxWaitInMilliseconds int
리턴 bool

IsTableCellLinkPresent() 공개 메소드

public IsTableCellLinkPresent ( string tableElementId, string linkText ) : bool
tableElementId string
linkText string
리턴 bool

NavigateTo() 공개 메소드

public NavigateTo ( string url ) : void
url string
리턴 void

SelectDropDownListItem() 공개 메소드

public SelectDropDownListItem ( string elementId, string itemText ) : void
elementId string
itemText string
리턴 void

SelectDropDownListItem() 공개 메소드

public SelectDropDownListItem ( string labelAndDropDownListElementId, string elementLabel, string itemText ) : void
labelAndDropDownListElementId string
elementLabel string
itemText string
리턴 void

SelectDropDownListItemWithWait() 공개 메소드

public SelectDropDownListItemWithWait ( string elementId, string itemText, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : void
elementId string
itemText string
maxWaitInMilliseconds int
리턴 void

TypeText() 공개 메소드

public TypeText ( string inputElementId, string text ) : void
inputElementId string
text string
리턴 void

TypeTextWithWait() 공개 메소드

public TypeTextWithWait ( string inputElementId, string text, int maxWaitInMilliseconds = MaxWaitDefaultInMilliseconds ) : void
inputElementId string
text string
maxWaitInMilliseconds int
리턴 void

WebHostDriver() 공개 메소드

public WebHostDriver ( string browserName ) : System
browserName string
리턴 System