C# Class NPageObject.Scenario

Provides your test with a default test context, plus the ability to add additional test contexts for tests simulating multiple users. Specflow scenarios should inherit from this type.
Inheritance: IDisposable
显示文件 Open project: benaston/NPageObject

Public Methods

Method Description
AddContextWithName ( string name ) : void

Useful for "multiple user" tests. Each context corresponds to a browser session.

Dispose ( ) : void

Private Methods

Method Description
Scenario ( ) : System

Method Details

AddContextWithName() public static method

Useful for "multiple user" tests. Each context corresponds to a browser session.
public static AddContextWithName ( string name ) : void
name string
return void

Dispose() public method

public Dispose ( ) : void
return void