C# Class PiroPiro.SpecFlow.Web.SpecFlowExt

ファイルを表示 Open project: benjamine/PiroPiro

Public Methods

Method Description
Browser ( this context ) : Browser

context Browser instance

DisposeBrowser ( this context ) : void

Dispose Browser instance in this context

FillFields ( this element, TechTalk.SpecFlow.Table table ) : void

Fills a set of input fields using a Table object.

Page ( this context ) : Element

Returns the currently focused element on the Page (Element.Within) if exists, otherwise returns the Browser.

ToFieldValuesDictionary ( this table ) : string>.IDictionary

Converts a Table object into a Dictionary using 'Field' column as key, and 'Value' column as value.

Method Details

Browser() public static method

context Browser instance
public static Browser ( this context ) : Browser
context this
return Browser

DisposeBrowser() public static method

Dispose Browser instance in this context
public static DisposeBrowser ( this context ) : void
context this
return void

FillFields() public static method

Fills a set of input fields using a Table object.
public static FillFields ( this element, TechTalk.SpecFlow.Table table ) : void
element this
table TechTalk.SpecFlow.Table
return void

Page() public static method

Returns the currently focused element on the Page (Element.Within) if exists, otherwise returns the Browser.
public static Page ( this context ) : Element
context this
return Element

ToFieldValuesDictionary() public static method

Converts a Table object into a Dictionary using 'Field' column as key, and 'Value' column as value.
public static ToFieldValuesDictionary ( this table ) : string>.IDictionary
table this
return string>.IDictionary