Class
AutomationStepBase

Definition

Namespace:ArtOfTest.Common.Design.ProjectModel

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/1.0.0")]
public class AutomationStepBase : INotifyPropertyChanged, IExtensibleDataObject

Inheritance: objectAutomationStepBase

Derived Classes: AutomationStep

Implements: IExtensibleDataObjectINotifyPropertyChanged

Constructors

AutomationStepBase()

Empty Constructor - (For Serialization)

Declaration

cs-api-definition
public AutomationStepBase()

AutomationStepBase(AutomationDescriptor, string, Test)

Constructor

Declaration

cs-api-definition
public AutomationStepBase(AutomationDescriptor autoStep, string description, Test test)

Parameters

autoStep

AutomationDescriptor

description

string

test

Test

AutomationStepBase(AutomationDescriptor, string, Test, string)

Declaration

cs-api-definition
public AutomationStepBase(AutomationDescriptor autoStep, string description, Test test, string imageKey)

Parameters

autoStep

AutomationDescriptor

description

string

test

Test

imageKey

string

Fields

m_invokePropertyChangedEvent

Whether to invoke the property changed event or not

Declaration

cs-api-definition
protected bool m_invokePropertyChangedEvent

Field Value

bool

Properties

AutoStep

Action of this step

Declaration

cs-api-definition
public AutomationDescriptor AutoStep { get; set; }

Property Value

AutomationDescriptor

BreakOnExecution

Whether the execution engine should break when executing this step

Declaration

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

Property Value

bool

ContinueOnFailure

Gets or sets whether the test execution should continue even if this step failed.

Declaration

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

Property Value

bool

CustomDescription

The custom description

Declaration

cs-api-definition
public string CustomDescription { get; set; }

Property Value

string

CustomOrNormalDescription

Gets the custom description if it exists, otherwise the normal one.

Declaration

cs-api-definition
public string CustomOrNormalDescription { get; }

Property Value

string

Description

The step description as displayed to the user.

Declaration

cs-api-definition
public string Description { get; set; }

Property Value

string

Enabled

Determines whether the step is included on test playback.

Declaration

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

Property Value

bool

ExtensionData

Declaration

cs-api-definition
public ExtensionDataObject ExtensionData { get; set; }

Property Value

ExtensionDataObject

Implements IExtensibleDataObject.ExtensionData

Guid

Used by the execution engine to recognize a step

Declaration

cs-api-definition
public Guid Guid { get; set; }

Property Value

Guid

HashCode

Declaration

cs-api-definition
public int HashCode { get; }

Property Value

int

Id

Gets/Sets an id that uniquely identifies this step within the test.

Declaration

cs-api-definition
public string Id { get; set; }

Property Value

string

Order

The step order to display to the user.

Declaration

cs-api-definition
public int Order { get; set; }

Property Value

int

OwnerTest

Steps owner test

Declaration

cs-api-definition
public Test OwnerTest { get; set; }

Property Value

Test

ParsedStepIdx

Declaration

cs-api-definition
public int ParsedStepIdx { get; set; }

Property Value

int

QcId

Declaration

cs-api-definition
public int QcId { get; set; }

Property Value

int

QcVersionStamp

Declaration

cs-api-definition
public int QcVersionStamp { get; set; }

Property Value

int

RunTimeId

Declaration

cs-api-definition
public Guid RunTimeId { get; set; }

Property Value

Guid

StepImageKey

Key for the image stored in the Tests Resources

Declaration

cs-api-definition
public string StepImageKey { get; set; }

Property Value

string

StepState

Gets the automation step state.

Declaration

cs-api-definition
public AutomationStepState StepState { get; set; }

Property Value

AutomationStepState

Methods

IsDescriptionInOldFormat(bool)

If the description is of type "[function] : actualDescription", change the description to "actualDescription".

Declaration

cs-api-definition
public bool IsDescriptionInOldFormat(bool applyFix)

Parameters

applyFix

bool

Returns

bool

NotifyElementNameChange(ElementDescriptor)

Notifies this testcase that an element name has changed in the element explorer. This will force the test to update all its string references of that name.

Declaration

cs-api-definition
public void NotifyElementNameChange(ElementDescriptor newDescriptor)

Parameters

newDescriptor

ElementDescriptor

OnPropertyChanged(string)

Invoke the property changed event.

Declaration

cs-api-definition
protected void OnPropertyChanged(string propertyName)

Parameters

propertyName

string

The property name that changed.

RefreshDescription()

Update the description of this step

Declaration

cs-api-definition
public void RefreshDescription()

Events

PropertyChanged

Occurs when a property of the step changes

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged

Extension Methods