Interface
IRecorderHostEventCallbacks

Definition

Namespace:ArtOfTest.WebAii.Design.UI.RecordingSurface

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
[ServiceKnownType("GetKnownTypes", typeof(Loader))]
public interface IRecorderHostEventCallbacks

Methods

AddElementsForMapping(List<INodeData>)

Add elements to the recorder launched in mapping mode.

Declaration

cs-api-definition
[OperationContract(IsOneWay = true)]
void AddElementsForMapping(List<INodeData> dummyElements)

Parameters

dummyElements

List<INodeData>

EnableHighlighting(bool)

Allow the Orchestrator to enable/disable highlighting for the recording remotely.

Declaration

cs-api-definition
[OperationContract(IsOneWay = true)]
void EnableHighlighting(bool enable)

Parameters

enable

bool

HighlightElementOnSurface(string[], TechnologyType)

HighlightOnSurface request from Host

Declaration

cs-api-definition
[OperationContract(IsOneWay = true)]
void HighlightElementOnSurface(string[] findClauses, TechnologyType elementTechType)

Parameters

findClauses

string[]

elementTechType

TechnologyType

HighlightOnSurface(ElementDescriptor)

HighlightOnSurface request from Host

Declaration

cs-api-definition
[OperationContract(IsOneWay = true)]
void HighlightOnSurface(ElementDescriptor element)

Parameters

element

ElementDescriptor

IsMapping()

Determines whether this instance is recording.

Declaration

cs-api-definition
[OperationContract]
bool IsMapping()

Returns

bool

IsRecording()

Determines whether this instance is recording.

Declaration

cs-api-definition
[OperationContract]
bool IsRecording()

Returns

bool

LocateElementByImage(ElementImageData)

Validate image on recorder in image mode.

Declaration

cs-api-definition
[OperationContract(IsOneWay = true)]
void LocateElementByImage(ElementImageData data)

Parameters

data

ElementImageData

Element image data.

LocateInDom(ElementDescriptor, bool)

LocateInDOM request from Host

Declaration

cs-api-definition
[OperationContract(IsOneWay = true)]
void LocateInDom(ElementDescriptor element, bool forceDomVisible)

Parameters

element

ElementDescriptor

forceDomVisible

bool

RemoveMappedElement(INodeData)

Remove already mapped dummy elements.

Declaration

cs-api-definition
[OperationContract(IsOneWay = true)]
void RemoveMappedElement(INodeData dummyElement)

Parameters

dummyElement

INodeData

ShowRecorderWindow(RecorderMode)

Allow the Orchestrator to force show the Recorder window

Declaration

cs-api-definition
[OperationContract]
void ShowRecorderWindow(RecorderMode mode)

Parameters

mode

RecorderMode

Recorder mode.

StartImageRecording(ElementImageData)

Start recorder in image recording mode.

Declaration

cs-api-definition
[OperationContract(IsOneWay = true)]
void StartImageRecording(ElementImageData data)

Parameters

data

ElementImageData

Element image data.

StartMapping(List<INodeData>)

Start recorder in mapping mode.

Declaration

cs-api-definition
[OperationContract(IsOneWay = true)]
void StartMapping(List<INodeData> dummyElements)

Parameters

dummyElements

List<INodeData>

TechType()

Gets the tech type.

Declaration

cs-api-definition
[OperationContract]
TechnologyType TechType()

Returns

TechnologyType

ToggleRecording(bool)

Allow the Orchestrator to show mapping state of the recorder with dummy elements.

Declaration

cs-api-definition
[OperationContract(IsOneWay = true)]
void ToggleRecording(bool enable)

Parameters

enable

bool

TranslatorGroupEnabledChanged(string)

Translator group enabled changed notification.

Declaration

cs-api-definition
[OperationContract(IsOneWay = true)]
void TranslatorGroupEnabledChanged(string groupName)

Parameters

groupName

string

The name of the translator group which enabled state has been changed.

UserSettingsChanged(UserSettings)

UserSettings changed notification

Declaration

cs-api-definition
[OperationContract(IsOneWay = true)]
void UserSettingsChanged(UserSettings settings)

Parameters

settings

UserSettings