ClassAutomationStepResult
Represents an automation step results
Definition
Namespace:ArtOfTest.WebAii.Design
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
public class AutomationStepResult : INotifyPropertyChanged
Inheritance: objectAutomationStepResult
Derived Classes:
Implements:
Constructors
AutomationStepResult()
Create an empty result (ResultType=NotRun)
Declaration
public AutomationStepResult()
Properties
Exception
Gets or sets the execution exception. If result type is fail, then this will contain the exception information about the failure.
Declaration
public virtual ExecutionException Exception { get; set; }
Property Value
ParentTestResult
Declaration
public TestResult ParentTestResult { get; set; }
Property Value
ResultType
Gets or sets the result type (Pass/fail/notrun)
Declaration
public virtual ResultType ResultType { get; set; }
Property Value
StepDescription
Gets or sets the description of this step.
TestId
Gets or sets the test unique Id this step result belongs to.
TestName
Gets or sets the test name of this step.
TestPath
Gets or sets the test path within the project.
TestStepIndex
Gets or sets the step index
Methods
LoadBrowserState()
Load the browser state
Declaration
public void LoadBrowserState()
OnPropertyChanged(string)
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyName
OnSerializing(StreamingContext)
Declaration
[OnSerializing]
protected void OnSerializing(StreamingContext context)
Parameters
context
PersistStepFailureResourcesOnDisk(string, string)
Persists the step failure BrowserState (DOM, ImageBytes) resourses on the disk.
StoreHostState(IAutomationHost, List<ITargetElement>, string)
Store the browser state as part of this step
Declaration
public void StoreHostState(IAutomationHost host, List<ITargetElement> elements, string message)
Parameters
host
elements
List<ITargetElement>
message
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements