C# 클래스 Objectivity.Test.Automation.Common.DriverContext

파일 보기 프로젝트 열기: ObjectivityBSS/Test.Automation 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CurrentProxy Proxy
Start void

공개 메소드들

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

비공개 메소드들

메소드 설명
CurrentProxy ( ) : Proxy
Start ( ) : void

메소드 상세

SavePageSource() 공개 메소드

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

SaveScreenshot() 공개 메소드

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.
리턴 void

SetCapabilities() 공개 메소드

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

Stop() 공개 메소드

Stop browser instance.
public Stop ( ) : void
리턴 void

TakeAndSaveScreenshot() 공개 메소드

Takes and saves screen shot
public TakeAndSaveScreenshot ( ) : void
리턴 void

TakeScreenshot() 공개 메소드

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