ClassAutomationStepBase
Definition
Namespace:ArtOfTest.Common.Design.ProjectModel
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/1.0.0")]
public class AutomationStepBase : INotifyPropertyChanged, IExtensibleDataObject
Inheritance: objectAutomationStepBase
Derived Classes:
Implements:
Constructors
AutomationStepBase()
Empty Constructor - (For Serialization)
Declaration
public AutomationStepBase()
AutomationStepBase(AutomationDescriptor, string, Test)
Constructor
Declaration
public AutomationStepBase(AutomationDescriptor autoStep, string description, Test test)
Parameters
autoStep
description
test
AutomationStepBase(AutomationDescriptor, string, Test, string)
Declaration
public AutomationStepBase(AutomationDescriptor autoStep, string description, Test test, string imageKey)
Parameters
autoStep
description
test
imageKey
Fields
m_invokePropertyChangedEvent
Whether to invoke the property changed event or not
Properties
AutoStep
Action of this step
Declaration
public AutomationDescriptor AutoStep { get; set; }
Property Value
BreakOnExecution
Whether the execution engine should break when executing this step
ContinueOnFailure
Gets or sets whether the test execution should continue even if this step failed.
CustomDescription
The custom description
CustomOrNormalDescription
Gets the custom description if it exists, otherwise the normal one.
Declaration
public string CustomOrNormalDescription { get; }
Property Value
Description
The step description as displayed to the user.
Enabled
Determines whether the step is included on test playback.
ExtensionData
Declaration
public ExtensionDataObject ExtensionData { get; set; }
Property Value
Implements
Guid
Used by the execution engine to recognize a step
Id
Gets/Sets an id that uniquely identifies this step within the test.
Order
The step order to display to the user.
OwnerTest
Steps owner test
StepImageKey
Key for the image stored in the Tests Resources
StepState
Gets the automation step state.
Declaration
public AutomationStepState StepState { get; set; }
Property Value
Methods
IsDescriptionInOldFormat(bool)
If the description is of type "[function] : actualDescription", change the description to "actualDescription".
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
public void NotifyElementNameChange(ElementDescriptor newDescriptor)
Parameters
newDescriptor
OnPropertyChanged(string)
Invoke the property changed event.
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
propertyName
The property name that changed.
RefreshDescription()
Update the description of this step
Declaration
public void RefreshDescription()
Events
PropertyChanged
Occurs when a property of the step changes
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements