C# Класс FluentSharp.WatiN.Extra_Watin__Extension_Methods

Показать файл Открыть проект

Открытые методы

Метод Описание
click ( this watinIe, string linkOrButtonRef ) : WatiN_IE

tries to find a link or button using the provided identified (linkOrButtonRef) and click on it Returns the original watinIe object so that multiple clicks can be chained Returns null if the link or button was not found

open ( this watinIe, Uri uri ) : WatiN_IE
to_Button ( this element ) : Button
to_Field ( this element ) : TextField
to_Link ( this element ) : Link
wait_For_Element_InnerHtml ( this watinIe, string elementName, int maxWait = 1000 ) : WatiN_IE

Wait for an element to have a value in its InnerHtml Returns null if the element was not found

wait_For_Element_InnerText ( this watinIe, string elementName, string expectedValue, int maxWait = 1000 ) : WatiN_IE

Wait for an element innerText to match the expectedValue value Note: the comparison is not CaseSensitive and trim is applied to the search values Returns null if the element was not found or if it was found but the values didn't match

wait_For_Link ( this watinIe, string nameOrId ) : WatiN_IE
wait_For_Uri ( this watinIe, Uri expectedUri, int maxWait = 1000 ) : WatiN_IE
wait_For_Url ( this watinIe, string expectedUrl, int maxWait = 1000 ) : WatiN_IE

Описание методов

click() публичный статический Метод

tries to find a link or button using the provided identified (linkOrButtonRef) and click on it Returns the original watinIe object so that multiple clicks can be chained Returns null if the link or button was not found
public static click ( this watinIe, string linkOrButtonRef ) : WatiN_IE
watinIe this
linkOrButtonRef string
Результат WatiN_IE

open() публичный статический Метод

public static open ( this watinIe, Uri uri ) : WatiN_IE
watinIe this
uri System.Uri
Результат WatiN_IE

to_Button() публичный статический Метод

public static to_Button ( this element ) : Button
element this
Результат Button

to_Field() публичный статический Метод

public static to_Field ( this element ) : TextField
element this
Результат TextField

to_Link() публичный статический Метод

public static to_Link ( this element ) : Link
element this
Результат Link

wait_For_Element_InnerHtml() публичный статический Метод

Wait for an element to have a value in its InnerHtml Returns null if the element was not found
public static wait_For_Element_InnerHtml ( this watinIe, string elementName, int maxWait = 1000 ) : WatiN_IE
watinIe this
elementName string
maxWait int
Результат WatiN_IE

wait_For_Element_InnerText() публичный статический Метод

Wait for an element innerText to match the expectedValue value Note: the comparison is not CaseSensitive and trim is applied to the search values Returns null if the element was not found or if it was found but the values didn't match
public static wait_For_Element_InnerText ( this watinIe, string elementName, string expectedValue, int maxWait = 1000 ) : WatiN_IE
watinIe this
elementName string
expectedValue string
maxWait int
Результат WatiN_IE

wait_For_Link() публичный статический Метод

public static wait_For_Link ( this watinIe, string nameOrId ) : WatiN_IE
watinIe this
nameOrId string
Результат WatiN_IE

wait_For_Uri() публичный статический Метод

public static wait_For_Uri ( this watinIe, Uri expectedUri, int maxWait = 1000 ) : WatiN_IE
watinIe this
expectedUri System.Uri
maxWait int
Результат WatiN_IE

wait_For_Url() публичный статический Метод

public static wait_For_Url ( this watinIe, string expectedUrl, int maxWait = 1000 ) : WatiN_IE
watinIe this
expectedUrl string
maxWait int
Результат WatiN_IE