ClassCapturedCommand
Definition
Namespace:ArtOfTest.Common.Design.Translation
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
public abstract class CapturedCommand
Inheritance: objectCapturedCommand
Derived Classes:
Constructors
CapturedCommand(CommandTypeBase, ITargetElement, ActionPoint, ITargetElement, ActionPoint, Graphics, object)
Create a new captured command
Declaration
protected CapturedCommand(CommandTypeBase commandType, ITargetElement element, ActionPoint xyOffset, ITargetElement element2, ActionPoint xyOffset2, Graphics graphics, object data)
Parameters
commandType
element
The target element of this command.
xyOffset
element2
xyOffset2
graphics
The graphics object of the drawing surface clipped at the Rectangle
data
Any data associated with this command.
Properties
CommandType
The captured command type from the recording surface.
Declaration
public CommandTypeBase CommandType { get; set; }
Property Value
Data
Any custom data to associate with this captured command.
Element
The target element of this captured command.(Else null)
Declaration
public ITargetElement Element { get; set; }
Property Value
Element2
The second target element of this command (Else null)
Declaration
public ITargetElement Element2 { get; set; }
Property Value
ElementRect
Gets the element rectangle relative to the parent browser window.
ElementScreenRect
Gets the element rectangle in screen coordinates.
Declaration
public Rectangle ElementScreenRect { get; set; }
Property Value
Graphics
Graphic object of Element
RequiresConfirmation
Gets or sets whether the recording host waits for confirmation before adding this captured command to the list of recorded automation descriptors
TechnologyType
Declaration
public abstract TechnologyType TechnologyType { get; }
Property Value
Timestamp
The time when the command was captured in UTC
XYOffset
XY Cordinates of action on the target element
XYOffset2
XY Coordinates of action on element2