C# Class WebDriverWrapper.SeleniumWebControls

Inheritance: IControl
Afficher le fichier Open project: geeksree/cSharpGeeks Class Usage Examples

Méthodes publiques

Méthode Description
Click ( ) : void
DesktopMouseClick ( ) : void
DesktopMouseClick ( int offsetX, int offsetY ) : void
DesktopMouseDrag ( int offsetX, int offsetY ) : void
ExecuteJavaScript ( Browser aBrowser, string JavaScript ) : object
GetAttributeFromNode ( string Attribute ) : string
GetChildren ( string Locator, LocatorType aLocatorType, ControlType aControlType ) : List
GetChildren ( string Locator, LocatorType aLocatorType, ControlType aControlType, ControlAccess access ) : List
HasChildren ( ) : bool
HasChildrenWithXpath ( string xpath ) : bool
Highlight ( Browser aBrowser ) : void
InjectJSInBrowser ( Browser aBrowser, string JavaScript ) : object
InnerHtml ( Browser aBrowser ) : string
OuterHtml ( Browser aBrowser ) : string
ScrollToElement ( ) : Point
SendKeys ( string text ) : void
Submit ( ) : void
WaitForChildren ( int maxTimeout ) : List
WaitForChildren ( string xpath, int maxTimeout ) : List

Private Methods

Méthode Description
SeleniumWebControls ( IWebElement aWebElement, ControlType aControlType ) : System
SeleniumWebControls ( IWebElement aWebElement, ControlType aControlType, ControlAccess access ) : System
WaitForVisible ( ) : void

Method Details

Click() public méthode

public Click ( ) : void
Résultat void

DesktopMouseClick() public méthode

public DesktopMouseClick ( ) : void
Résultat void

DesktopMouseClick() public méthode

public DesktopMouseClick ( int offsetX, int offsetY ) : void
offsetX int
offsetY int
Résultat void

DesktopMouseDrag() public méthode

public DesktopMouseDrag ( int offsetX, int offsetY ) : void
offsetX int
offsetY int
Résultat void

ExecuteJavaScript() public méthode

public ExecuteJavaScript ( Browser aBrowser, string JavaScript ) : object
aBrowser Browser
JavaScript string
Résultat object

GetAttributeFromNode() public méthode

public GetAttributeFromNode ( string Attribute ) : string
Attribute string
Résultat string

GetChildren() public méthode

public GetChildren ( string Locator, LocatorType aLocatorType, ControlType aControlType ) : List
Locator string
aLocatorType LocatorType
aControlType ControlType
Résultat List

GetChildren() public méthode

public GetChildren ( string Locator, LocatorType aLocatorType, ControlType aControlType, ControlAccess access ) : List
Locator string
aLocatorType LocatorType
aControlType ControlType
access ControlAccess
Résultat List

HasChildren() public méthode

public HasChildren ( ) : bool
Résultat bool

HasChildrenWithXpath() public méthode

public HasChildrenWithXpath ( string xpath ) : bool
xpath string
Résultat bool

Highlight() public méthode

public Highlight ( Browser aBrowser ) : void
aBrowser Browser
Résultat void

InjectJSInBrowser() public méthode

public InjectJSInBrowser ( Browser aBrowser, string JavaScript ) : object
aBrowser Browser
JavaScript string
Résultat object

InnerHtml() public méthode

public InnerHtml ( Browser aBrowser ) : string
aBrowser Browser
Résultat string

OuterHtml() public méthode

public OuterHtml ( Browser aBrowser ) : string
aBrowser Browser
Résultat string

ScrollToElement() public méthode

public ScrollToElement ( ) : Point
Résultat Point

SendKeys() public méthode

public SendKeys ( string text ) : void
text string
Résultat void

Submit() public méthode

public Submit ( ) : void
Résultat void

WaitForChildren() public méthode

public WaitForChildren ( int maxTimeout ) : List
maxTimeout int
Résultat List

WaitForChildren() public méthode

public WaitForChildren ( string xpath, int maxTimeout ) : List
xpath string
maxTimeout int
Résultat List