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

Afficher le fichier Open project: ObjectivityBSS/Test.Automation Class Usage Examples

Private Properties

Свойство Type Description
CurrentProxy Proxy
Start void

Méthodes publiques

Méthode 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

Méthode Description
CurrentProxy ( ) : Proxy
Start ( ) : void

Method Details

SavePageSource() public méthode

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

SaveScreenshot() public méthode

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.
Résultat void

SetCapabilities() public méthode

Set web driver capabilities.
public SetCapabilities ( ) : DesiredCapabilities
Résultat OpenQA.Selenium.Remote.DesiredCapabilities

Stop() public méthode

Stop browser instance.
public Stop ( ) : void
Résultat void

TakeAndSaveScreenshot() public méthode

Takes and saves screen shot
public TakeAndSaveScreenshot ( ) : void
Résultat void

TakeScreenshot() public méthode

Takes the screenshot.
public TakeScreenshot ( ) : Screenshot
Résultat OpenQA.Selenium.Screenshot