ClassElementHoverOverDescriptor
Click on desktop element.
Definition
Namespace:ArtOfTest.WebAii.Design.IntrinsicTranslators.DesktopAutomation.Descriptors.Actions
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0")]
public class ElementHoverOverDescriptor : DesktopActionDescriptorBase, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject
Inheritance: objectDataBoundObjectAutomationDescriptorActionDescriptorDesktopActionDescriptorBaseElementHoverOverDescriptor
Implements:
Inherited Members
Constructors
ElementHoverOverDescriptor()
Create new instance of ElementHoverOverDescriptor class.
Declaration
public ElementHoverOverDescriptor()
ElementHoverOverDescriptor(int, int, OffsetReference, ActionPointUnitType)
Create new instance of ElementHoverOverDescriptor class.
Declaration
public ElementHoverOverDescriptor(int xOffset, int yOffset, OffsetReference offsetType, ActionPointUnitType unitType)
Parameters
xOffset
X offset from top left corner as percentage of element width.
yOffset
Y offset from top left corner as percentage of element height.
offsetType
Offset reference.
unitType
Offset unit type.
Properties
FriendlyDescription
Get a friendly description of this descriptor to show in the scenario explorer.
Declaration
public override string FriendlyDescription { get; }
Property Value
Overrides
OffsetType
Declaration
[DataMember]
[PrimaryProperty]
public OffsetReference OffsetType { get; set; }
Property Value
UnitType
Declaration
[DataMember]
[PrimaryProperty]
public ActionPointUnitType UnitType { get; set; }
Property Value
XOffset
Declaration
[DataMember]
[PrimaryProperty]
public int XOffset { get; set; }
Property Value
Methods
Execute(IAutomationHost)
Abstract method implemented by action descriptors
Declaration
public override void Execute(IAutomationHost autoHost)
Parameters
autoHost
Overrides
ToCode()
This method is called when the user requests code generation. The framework initializes the TestMethod property of this object with a new instance that this method simply needs to add its custom codegen to it.
Declaration
public override void ToCode()
Overrides