Class
VisualDebugger

Visual Debugger that handles UI display during execution and the Stop/Go/Auto-Pause aspect of execution. This object is exposed to users so they can call it from the code behind. Execution engine communicates directly with this object.

Definition

Namespace:ArtOfTest.WebAii.Design.Execution

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class VisualDebugger

Inheritance: objectVisualDebugger

Constructors

VisualDebugger(ExecutionContext, DebuggerOptions, TestType)

Create the visual debugger

Declaration

cs-api-definition
public VisualDebugger(ExecutionContext context, DebuggerOptions options, TestType testType)

Parameters

context

ExecutionContext

options

DebuggerOptions

testType

TestType

Properties

ContainsFailedStep

Declaration

cs-api-definition
public bool ContainsFailedStep { get; }

Property Value

bool

ExecutionContext

Declaration

cs-api-definition
public ExecutionContext ExecutionContext { get; }

Property Value

ExecutionContext

InBreakpoint

Declaration

cs-api-definition
public bool InBreakpoint { get; }

Property Value

bool

IsDebugging

Whether the Debugger is enabled or not.

Declaration

cs-api-definition
public bool IsDebugging { get; }

Property Value

bool

IsProfilingExecution

Declaration

cs-api-definition
public bool IsProfilingExecution { get; }

Property Value

bool

IsReRunRequested

Declaration

cs-api-definition
public bool IsReRunRequested { get; }

Property Value

bool

IsResumeRequested

Declaration

cs-api-definition
public bool IsResumeRequested { get; }

Property Value

bool

IsStepMode

Declaration

cs-api-definition
public bool IsStepMode { get; set; }

Property Value

bool

IsStopRequested

Declaration

cs-api-definition
public bool IsStopRequested { get; }

Property Value

bool

ResetSignal

Declaration

cs-api-definition
public AutoResetEvent ResetSignal { get; set; }

Property Value

AutoResetEvent

Methods

CaptureState()

Declaration

cs-api-definition
public void CaptureState()

ReRun()

Declaration

cs-api-definition
public void ReRun()

RequestResume()

Declaration

cs-api-definition
public void RequestResume()

RequestStop()

Declaration

cs-api-definition
public void RequestStop()

RequestStop(string)

Declaration

cs-api-definition
public void RequestStop(string pauseMessage)

Parameters

pauseMessage

string

SetDetail(string)

Declaration

cs-api-definition
public void SetDetail(string detail)

Parameters

detail

string

SetFocus()

Declaration

cs-api-definition
public void SetFocus()

SetMessage(string)

Declaration

cs-api-definition
public void SetMessage(string message)

Parameters

message

string

SetProgress(int, int)

Declaration

cs-api-definition
public void SetProgress(int current, int max)

Parameters

current

int

max

int

ShowDiagnosticsUI()

Show the disgnose UI for a failure.

Declaration

cs-api-definition
public void ShowDiagnosticsUI()

ShowDomExplorer()

Show the DOM Explorer

Declaration

cs-api-definition
public void ShowDomExplorer()

ShowTestLog()

Show the test log

Declaration

cs-api-definition
public void ShowTestLog()

Step()

Declaration

cs-api-definition
public void Step()

SubmitBug()

Declaration

cs-api-definition
public void SubmitBug()

UpdateTimer(int)

Declaration

cs-api-definition
public void UpdateTimer(int second)

Parameters

second

int