C# Class FluentSharp.WatiN.Extra_Watin__Extension_Methods

Afficher le fichier Open project: TeamMentor/Master

Méthodes publiques

Méthode Description
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

Method Details

click() public static méthode

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
Résultat WatiN_IE

open() public static méthode

public static open ( this watinIe, Uri uri ) : WatiN_IE
watinIe this
uri System.Uri
Résultat WatiN_IE

to_Button() public static méthode

public static to_Button ( this element ) : Button
element this
Résultat Button

to_Field() public static méthode

public static to_Field ( this element ) : TextField
element this
Résultat TextField

to_Link() public static méthode

public static to_Link ( this element ) : Link
element this
Résultat Link

wait_For_Element_InnerHtml() public static méthode

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
Résultat WatiN_IE

wait_For_Element_InnerText() public static méthode

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
Résultat WatiN_IE

wait_For_Link() public static méthode

public static wait_For_Link ( this watinIe, string nameOrId ) : WatiN_IE
watinIe this
nameOrId string
Résultat WatiN_IE

wait_For_Uri() public static méthode

public static wait_For_Uri ( this watinIe, Uri expectedUri, int maxWait = 1000 ) : WatiN_IE
watinIe this
expectedUri System.Uri
maxWait int
Résultat WatiN_IE

wait_For_Url() public static méthode

public static wait_For_Url ( this watinIe, string expectedUrl, int maxWait = 1000 ) : WatiN_IE
watinIe this
expectedUrl string
maxWait int
Résultat WatiN_IE