C# Class SePSXUnitTests.FakeWebElement

Description of WebElementFromSelenium.
Inheritance: IWebElement, ISearchContext, IFindsByLinkText, IFindsById, IFindsByName, IFindsByTagName, IFindsByClassName, IFindsByXPath, IFindsByPartialLinkText, IFindsByCssSelector, IWrapsDriver, ILocatable
Afficher le fichier Open project: apetrovskiy/STUPS Class Usage Examples

Private Properties

Свойство Type Description
Init void
SetElementsCollection void

Méthodes publiques

Méthode Description
Clear ( ) : void
Click ( ) : void
FakeWebElement ( ) : OpenQA.Selenium
FakeWebElement ( IWebElement realWebElement ) : OpenQA.Selenium

Like decorator

FakeWebElement ( string tagName, string text ) : OpenQA.Selenium
FakeWebElement ( string tagName, string text, Point location, Size size ) : OpenQA.Selenium
FakeWebElement ( string tagName, string text, bool displayed, bool enabled, bool selected ) : OpenQA.Selenium
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

Méthode Description
Init ( ) : void
SetElementsCollection ( List listOfElements ) : void

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

Click() public méthode

public Click ( ) : void
Résultat void

FakeWebElement() public méthode

public FakeWebElement ( ) : OpenQA.Selenium
Résultat OpenQA.Selenium

FakeWebElement() public méthode

Like decorator
public FakeWebElement ( IWebElement realWebElement ) : OpenQA.Selenium
realWebElement IWebElement
Résultat OpenQA.Selenium

FakeWebElement() public méthode

public FakeWebElement ( string tagName, string text ) : OpenQA.Selenium
tagName string
text string
Résultat OpenQA.Selenium

FakeWebElement() public méthode

public FakeWebElement ( string tagName, string text, Point location, Size size ) : OpenQA.Selenium
tagName string
text string
location System.Drawing.Point
size System.Drawing.Size
Résultat OpenQA.Selenium

FakeWebElement() public méthode

public FakeWebElement ( string tagName, string text, bool displayed, bool enabled, bool selected ) : OpenQA.Selenium
tagName string
text string
displayed bool
enabled bool
selected bool
Résultat OpenQA.Selenium

FindElement() public méthode

public FindElement ( By by ) : IWebElement
by OpenQA.Selenium.By
Résultat IWebElement

FindElementByClassName() public méthode

public FindElementByClassName ( string className ) : IWebElement
className string
Résultat IWebElement

FindElementByCssSelector() public méthode

public FindElementByCssSelector ( string cssSelector ) : IWebElement
cssSelector string
Résultat IWebElement

FindElementById() public méthode

public FindElementById ( string id ) : IWebElement
id string
Résultat IWebElement

FindElementByLinkText() public méthode

public FindElementByLinkText ( string linkText ) : IWebElement
linkText string
Résultat IWebElement

FindElementByName() public méthode

public FindElementByName ( string name ) : IWebElement
name string
Résultat IWebElement

FindElementByPartialLinkText() public méthode

public FindElementByPartialLinkText ( string partialLinkText ) : IWebElement
partialLinkText string
Résultat IWebElement

FindElementByTagName() public méthode

public FindElementByTagName ( string tagName ) : IWebElement
tagName string
Résultat IWebElement

FindElementByXPath() public méthode

public FindElementByXPath ( string xpath ) : IWebElement
xpath string
Résultat IWebElement

FindElements() public méthode

public FindElements ( By by ) : ReadOnlyCollection
by By
Résultat ReadOnlyCollection

FindElementsByClassName() public méthode

public FindElementsByClassName ( string className ) : ReadOnlyCollection
className string
Résultat ReadOnlyCollection

FindElementsByCssSelector() public méthode

public FindElementsByCssSelector ( string cssSelector ) : ReadOnlyCollection
cssSelector string
Résultat ReadOnlyCollection

FindElementsById() public méthode

public FindElementsById ( string id ) : ReadOnlyCollection
id string
Résultat ReadOnlyCollection

FindElementsByLinkText() public méthode

public FindElementsByLinkText ( string linkText ) : ReadOnlyCollection
linkText string
Résultat ReadOnlyCollection

FindElementsByName() public méthode

public FindElementsByName ( string name ) : ReadOnlyCollection
name string
Résultat ReadOnlyCollection

FindElementsByPartialLinkText() public méthode

public FindElementsByPartialLinkText ( string partialLinkText ) : ReadOnlyCollection
partialLinkText string
Résultat ReadOnlyCollection

FindElementsByTagName() public méthode

public FindElementsByTagName ( string tagName ) : ReadOnlyCollection
tagName string
Résultat ReadOnlyCollection

FindElementsByXPath() public méthode

public FindElementsByXPath ( string xpath ) : ReadOnlyCollection
xpath string
Résultat ReadOnlyCollection

GetAttribute() public méthode

public GetAttribute ( string attributeName ) : string
attributeName string
Résultat string

GetCssValue() public méthode

public GetCssValue ( string propertyName ) : string
propertyName string
Résultat string

SendKeys() public méthode

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

Submit() public méthode

public Submit ( ) : void
Résultat void