C# 클래스 SePSXUnitTests.FakeWebElement

Description of WebElementFromSelenium.
상속: IWebElement, ISearchContext, IFindsByLinkText, IFindsById, IFindsByName, IFindsByTagName, IFindsByClassName, IFindsByXPath, IFindsByPartialLinkText, IFindsByCssSelector, IWrapsDriver, ILocatable
파일 보기 프로젝트 열기: apetrovskiy/STUPS 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Init void
SetElementsCollection void

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
Init ( ) : void
SetElementsCollection ( List listOfElements ) : void

메소드 상세

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Click() 공개 메소드

public Click ( ) : void
리턴 void

FakeWebElement() 공개 메소드

public FakeWebElement ( ) : OpenQA.Selenium
리턴 OpenQA.Selenium

FakeWebElement() 공개 메소드

Like decorator
public FakeWebElement ( IWebElement realWebElement ) : OpenQA.Selenium
realWebElement IWebElement
리턴 OpenQA.Selenium

FakeWebElement() 공개 메소드

public FakeWebElement ( string tagName, string text ) : OpenQA.Selenium
tagName string
text string
리턴 OpenQA.Selenium

FakeWebElement() 공개 메소드

public FakeWebElement ( string tagName, string text, Point location, Size size ) : OpenQA.Selenium
tagName string
text string
location System.Drawing.Point
size System.Drawing.Size
리턴 OpenQA.Selenium

FakeWebElement() 공개 메소드

public FakeWebElement ( string tagName, string text, bool displayed, bool enabled, bool selected ) : OpenQA.Selenium
tagName string
text string
displayed bool
enabled bool
selected bool
리턴 OpenQA.Selenium

FindElement() 공개 메소드

public FindElement ( By by ) : IWebElement
by OpenQA.Selenium.By
리턴 IWebElement

FindElementByClassName() 공개 메소드

public FindElementByClassName ( string className ) : IWebElement
className string
리턴 IWebElement

FindElementByCssSelector() 공개 메소드

public FindElementByCssSelector ( string cssSelector ) : IWebElement
cssSelector string
리턴 IWebElement

FindElementById() 공개 메소드

public FindElementById ( string id ) : IWebElement
id string
리턴 IWebElement

FindElementByLinkText() 공개 메소드

public FindElementByLinkText ( string linkText ) : IWebElement
linkText string
리턴 IWebElement

FindElementByName() 공개 메소드

public FindElementByName ( string name ) : IWebElement
name string
리턴 IWebElement

FindElementByPartialLinkText() 공개 메소드

public FindElementByPartialLinkText ( string partialLinkText ) : IWebElement
partialLinkText string
리턴 IWebElement

FindElementByTagName() 공개 메소드

public FindElementByTagName ( string tagName ) : IWebElement
tagName string
리턴 IWebElement

FindElementByXPath() 공개 메소드

public FindElementByXPath ( string xpath ) : IWebElement
xpath string
리턴 IWebElement

FindElements() 공개 메소드

public FindElements ( By by ) : ReadOnlyCollection
by By
리턴 ReadOnlyCollection

FindElementsByClassName() 공개 메소드

public FindElementsByClassName ( string className ) : ReadOnlyCollection
className string
리턴 ReadOnlyCollection

FindElementsByCssSelector() 공개 메소드

public FindElementsByCssSelector ( string cssSelector ) : ReadOnlyCollection
cssSelector string
리턴 ReadOnlyCollection

FindElementsById() 공개 메소드

public FindElementsById ( string id ) : ReadOnlyCollection
id string
리턴 ReadOnlyCollection

FindElementsByLinkText() 공개 메소드

public FindElementsByLinkText ( string linkText ) : ReadOnlyCollection
linkText string
리턴 ReadOnlyCollection

FindElementsByName() 공개 메소드

public FindElementsByName ( string name ) : ReadOnlyCollection
name string
리턴 ReadOnlyCollection

FindElementsByPartialLinkText() 공개 메소드

public FindElementsByPartialLinkText ( string partialLinkText ) : ReadOnlyCollection
partialLinkText string
리턴 ReadOnlyCollection

FindElementsByTagName() 공개 메소드

public FindElementsByTagName ( string tagName ) : ReadOnlyCollection
tagName string
리턴 ReadOnlyCollection

FindElementsByXPath() 공개 메소드

public FindElementsByXPath ( string xpath ) : ReadOnlyCollection
xpath string
리턴 ReadOnlyCollection

GetAttribute() 공개 메소드

public GetAttribute ( string attributeName ) : string
attributeName string
리턴 string

GetCssValue() 공개 메소드

public GetCssValue ( string propertyName ) : string
propertyName string
리턴 string

SendKeys() 공개 메소드

public SendKeys ( string text ) : void
text string
리턴 void

Submit() 공개 메소드

public Submit ( ) : void
리턴 void