ClassLogicalDescriptor
Base logical descriptor to describe a conditional operation
Definition
Namespace:ArtOfTest.Common.Design.Extensibility.Descriptors
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/1.0.0")]
public abstract class LogicalDescriptor : AutomationDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject
Inheritance: objectDataBoundObjectAutomationDescriptorLogicalDescriptor
Derived Classes:
Implements:
Inherited Members
Constructors
LogicalDescriptor()
Declaration
public LogicalDescriptor()
LogicalDescriptor(VerificationDescriptor)
Declaration
public LogicalDescriptor(VerificationDescriptor verification)
Parameters
verification
Properties
Data
Gets or sets the data row used for expanding the data binding expressions
Declaration
[Browsable(false)]
public override DataRow Data { get; set; }
Property Value
Overrides
DontUseDomState
Flag to indicate whether descriptor uses a DOM state
Declaration
[Browsable(false)]
public override bool DontUseDomState { get; }
Property Value
Overrides
IsLoop
Set this property true if this descriptor should execute until it fails its verification
Declaration
[Browsable(false)]
public abstract bool IsLoop { get; }
Property Value
LoopCurrent
Declaration
[Browsable(false)]
public virtual int LoopCurrent { get; set; }
Property Value
NumberOfBranches
The number of different execution paths this descriptor has
Declaration
[Browsable(false)]
public abstract int NumberOfBranches { get; }
Property Value
SearchByImageFirst
Declaration
[Browsable(false)]
public SearchElementOrderType SearchByImageFirst { get; }
Property Value
SupportsConvertToCode
Whether the descriptor supports convert to code or not.
Declaration
[Browsable(false)]
public override bool SupportsConvertToCode { get; }
Property Value
Overrides
TechnologyType
Gets the technology that this step runs against
Declaration
public override TechnologyType TechnologyType { get; }
Property Value
Overrides
UseStepWaitOnElementsTimout
Declaration
[Browsable(false)]
public override bool UseStepWaitOnElementsTimout { get; }
Property Value
Overrides
UserEditableVerification
Declaration
[Browsable(false)]
public virtual bool UserEditableVerification { get; }
Property Value
Verification
Declaration
[DataMember(Name = "Verification")]
[TypeConverter(typeof(ExpandableObjectConverter))]
public VerificationDescriptor Verification { get; set; }
Property Value
WaitOnElements
Declaration
[Browsable(false)]
public override bool WaitOnElements { get; }
Property Value
Overrides
WaitOnElementsTimeout
Declaration
[Browsable(false)]
public override int WaitOnElementsTimeout { get; }
Property Value
Overrides
Methods
AddStepsForBranch(int, AutomationStepList, string, int)
Adds a group of AutomationSteps to a branch of this LogicalDescriptor
Declaration
public bool AddStepsForBranch(int branch, AutomationStepList steps, string description, int order)
Parameters
branch
The index of the branch
steps
The steps to add
description
The description displayed for the branch
order
The order in which this step should be displayed
Returns
GetBranchDescription(int)
Get the description for a specific branch.
GetNextSteps(IVerificationResult, DescriptorValueStore, out int)
Returns the list of descriptors to be executed after this descriptor.
Declaration
public abstract AutomationStepList GetNextSteps(IVerificationResult result, DescriptorValueStore dataStore, out int branchTaken)
Parameters
result
dataStore
branchTaken
Returns
GetStepsForBranch(int)
Returns the steps at a given branch
Declaration
public AutomationStepList GetStepsForBranch(int branch)
Parameters
branch
Returns
RemoveStepsForBranch(int)
Remove the steps at a given index