C# Class Objectivity.Test.Automation.Common.DriverContext

Datei anzeigen Open project: ObjectivityBSS/Test.Automation Class Usage Examples

Private Properties

Property Type Description
CurrentProxy Proxy
Start void

Public Methods

Method Description
SavePageSource ( string fileName ) : void

Saves the page source.

SaveScreenshot ( ErrorDetail errorDetail, string folder, string title ) : void

Saves the screenshot.

SetCapabilities ( ) : DesiredCapabilities

Set web driver capabilities.

Stop ( ) : void

Stop browser instance.

TakeAndSaveScreenshot ( ) : void

Takes and saves screen shot

TakeScreenshot ( ) : Screenshot

Takes the screenshot.

Private Methods

Method Description
CurrentProxy ( ) : Proxy
Start ( ) : void

Method Details

SavePageSource() public method

Saves the page source.
public SavePageSource ( string fileName ) : void
fileName string Name of the file.
return void

SaveScreenshot() public method

Saves the screenshot.
public SaveScreenshot ( ErrorDetail errorDetail, string folder, string title ) : void
errorDetail Objectivity.Test.Automation.Common.Types.ErrorDetail The error detail.
folder string The folder.
title string The title.
return void

SetCapabilities() public method

Set web driver capabilities.
public SetCapabilities ( ) : DesiredCapabilities
return OpenQA.Selenium.Remote.DesiredCapabilities

Stop() public method

Stop browser instance.
public Stop ( ) : void
return void

TakeAndSaveScreenshot() public method

Takes and saves screen shot
public TakeAndSaveScreenshot ( ) : void
return void

TakeScreenshot() public method

Takes the screenshot.
public TakeScreenshot ( ) : Screenshot
return OpenQA.Selenium.Screenshot