C# Class SePSXUnitTests.FakeRemoteWebElement

Description of FakeRemoteWebElement.
Inheritance: OpenQA.Selenium.Remote.RemoteWebElement
Mostra file Open project: apetrovskiy/STUPS Class Usage Examples

Private Properties

Property Type Description
Init void
SetDipslayed void
SetElementsCollection void
SetEnabled void
SetInternalWebDriver void
SetSelected void
SetTagName void
SetText void

Public Methods

Method Description
Clear ( ) : void
Click ( ) : void
FakeRemoteWebElement ( RemoteWebDriver parentDriver, string id ) : System
FindElement ( By by ) : IWebElement
FindElementByClassName ( string className ) : IWebElement
FindElementByCssSelector ( string cssSelector ) : IWebElement
FindElementById ( string id ) : IWebElement
FindElementByLinkText ( string linkText ) : IWebElement
FindElementByName ( string name ) : IWebElement
FindElementByPartialLinkText ( string partialLinkText ) : IWebElement
FindElementByTagName ( string tagName ) : IWebElement
FindElementByXPath ( string xpath ) : IWebElement
FindElements ( By by ) : ReadOnlyCollection
FindElementsByClassName ( string className ) : ReadOnlyCollection
FindElementsByCssSelector ( string cssSelector ) : ReadOnlyCollection
FindElementsById ( string id ) : ReadOnlyCollection
FindElementsByLinkText ( string linkText ) : ReadOnlyCollection
FindElementsByName ( string name ) : ReadOnlyCollection
FindElementsByPartialLinkText ( string partialLinkText ) : ReadOnlyCollection
FindElementsByTagName ( string tagName ) : ReadOnlyCollection
FindElementsByXPath ( string xpath ) : ReadOnlyCollection
GetAttribute ( string attributeName ) : string
GetCssValue ( string propertyName ) : string
SendKeys ( string text ) : void
Submit ( ) : void

Private Methods

Method Description
Init ( ) : void
SetDipslayed ( bool dipslayed ) : void
SetElementsCollection ( List listOfElements ) : void
SetEnabled ( bool enabled ) : void
SetInternalWebDriver ( string tagName, string text, bool enabled, bool displayed, bool selected ) : void
SetSelected ( bool selected ) : void
SetTagName ( string tagName ) : void
SetText ( string text ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

Click() public method

public Click ( ) : void
return void

FakeRemoteWebElement() public method

public FakeRemoteWebElement ( RemoteWebDriver parentDriver, string id ) : System
parentDriver OpenQA.Selenium.Remote.RemoteWebDriver
id string
return System

FindElement() public method

public FindElement ( By by ) : IWebElement
by OpenQA.Selenium.By
return IWebElement

FindElementByClassName() public method

public FindElementByClassName ( string className ) : IWebElement
className string
return IWebElement

FindElementByCssSelector() public method

public FindElementByCssSelector ( string cssSelector ) : IWebElement
cssSelector string
return IWebElement

FindElementById() public method

public FindElementById ( string id ) : IWebElement
id string
return IWebElement

FindElementByLinkText() public method

public FindElementByLinkText ( string linkText ) : IWebElement
linkText string
return IWebElement

FindElementByName() public method

public FindElementByName ( string name ) : IWebElement
name string
return IWebElement

FindElementByPartialLinkText() public method

public FindElementByPartialLinkText ( string partialLinkText ) : IWebElement
partialLinkText string
return IWebElement

FindElementByTagName() public method

public FindElementByTagName ( string tagName ) : IWebElement
tagName string
return IWebElement

FindElementByXPath() public method

public FindElementByXPath ( string xpath ) : IWebElement
xpath string
return IWebElement

FindElements() public method

public FindElements ( By by ) : ReadOnlyCollection
by OpenQA.Selenium.By
return ReadOnlyCollection

FindElementsByClassName() public method

public FindElementsByClassName ( string className ) : ReadOnlyCollection
className string
return ReadOnlyCollection

FindElementsByCssSelector() public method

public FindElementsByCssSelector ( string cssSelector ) : ReadOnlyCollection
cssSelector string
return ReadOnlyCollection

FindElementsById() public method

public FindElementsById ( string id ) : ReadOnlyCollection
id string
return ReadOnlyCollection

FindElementsByLinkText() public method

public FindElementsByLinkText ( string linkText ) : ReadOnlyCollection
linkText string
return ReadOnlyCollection

FindElementsByName() public method

public FindElementsByName ( string name ) : ReadOnlyCollection
name string
return ReadOnlyCollection

FindElementsByPartialLinkText() public method

public FindElementsByPartialLinkText ( string partialLinkText ) : ReadOnlyCollection
partialLinkText string
return ReadOnlyCollection

FindElementsByTagName() public method

public FindElementsByTagName ( string tagName ) : ReadOnlyCollection
tagName string
return ReadOnlyCollection

FindElementsByXPath() public method

public FindElementsByXPath ( string xpath ) : ReadOnlyCollection
xpath string
return ReadOnlyCollection

GetAttribute() public method

public GetAttribute ( string attributeName ) : string
attributeName string
return string

GetCssValue() public method

public GetCssValue ( string propertyName ) : string
propertyName string
return string

SendKeys() public method

public SendKeys ( string text ) : void
text string
return void

Submit() public method

public Submit ( ) : void
return void