ClassElementDescriptor
Class used to describe an element used for automation and persist it.
Definition
Namespace:ArtOfTest.Common.Design.Extensibility.Descriptors
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0")]
[KnownType(typeof(Type))]
public class ElementDescriptor : IExtensibleDataObject
Inheritance: objectElementDescriptor
Implements:
Constructors
ElementDescriptor()
Create an empty element descriptor
Declaration
public ElementDescriptor()
ElementDescriptor(string, INodeData, INodeData, FindExpressionElement, Type)
Declaration
public ElementDescriptor(string name, INodeData page, INodeData frame, FindExpressionElement findExprElement, Type customType)
Parameters
name
page
frame
findExprElement
customType
ElementDescriptor(string, INodeData, INodeData, INodeData, FindExpressionElement, Type, string)
Create the ElementDescriptor with its values
Declaration
public ElementDescriptor(string name, INodeData page, INodeData frame, INodeData region, FindExpressionElement findExprElement, Type controlType, string domStateKey)
Parameters
name
page
The Page
frame
The Frame
region
The Region
findExprElement
The Find logic
controlType
domStateKey
Properties
DomStateKey
Gets or sets the DOM State Key
Declaration
[DataMember(Name = "DomStateKey")]
public string DomStateKey { get; set; }
Property Value
ExtensionData
Declaration
public ExtensionDataObject ExtensionData { get; set; }
Property Value
Implements
FindExpressionInfo
Declaration
[DataMember(Name = "FindExpression")]
[Browsable(false)]
public FindExpressionElement FindExpressionInfo { get; set; }
Property Value
Frame
The frame info that contains this element.
Declaration
[DataMember(Name = "Frame")]
public INodeData Frame { get; set; }
Property Value
HasFrame
Gets whether the descriptor defines a frame or not.
HasRegion
Gets whether the descriptor defines a test region or not
HtmlControlType
Gets the HtmlControlType
HtmlControlTypeString
Get or sets the HtmlControl type string.
Declaration
[DataMember(Name = "HtmlControlType")]
public string HtmlControlTypeString { get; set; }
Property Value
IsIndependent
Gets whether this descriptor is independent of a test.
Declaration
[DataMember(Name = "IsIndependent")]
public bool IsIndependent { get; set; }
Property Value
Name
Gets/Sets the name of this element descriptor as used by its action/verification descriptor
Declaration
[DataMember(Name = "Name")]
public string Name { get; set; }
Property Value
OwnerStep
Gets or sets the owner automation step.
Declaration
public AutomationStepBase OwnerStep { get; set; }
Property Value
OwnerStepDescription
Declaration
public string OwnerStepDescription { get; set; }
Property Value
PageUri
The PageUri that contains this element.
Declaration
[DataMember(Name = "Page")]
public INodeData PageUri { get; set; }
Property Value
Region
The region id of this element (if any).
Declaration
[DataMember(Name = "Region")]
public INodeData Region { get; set; }
Property Value
TechnologyType
Gets the technology type of the element descriptor
Declaration
[DataMember(Name = "TechnologyType")]
public TechnologyType TechnologyType { get; }
Property Value
Methods
ToString()
String representation of this element descriptor
Declaration
public override string ToString()
Returns
The string of that represents this ElementDescriptor
Overrides