ClassRepeatButtonPressActionDescriptor
Definition
Namespace:ArtOfTest.WebAii.Design.IntrinsicTranslators.Silverlight.Descriptors
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0")]
public class RepeatButtonPressActionDescriptor : XamlActionDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings
Inheritance: objectDataBoundObjectAutomationDescriptorActionDescriptorXamlActionDescriptorRepeatButtonPressActionDescriptor
Implements:
Inherited Members
Constructors
RepeatButtonPressActionDescriptor()
Declaration
public RepeatButtonPressActionDescriptor()
RepeatButtonPressActionDescriptor(FrameworkElement, int, DateTime?)
Declaration
public RepeatButtonPressActionDescriptor(FrameworkElement target, int holdTime, DateTime? mouseDownTime)
Parameters
target
holdTime
mouseDownTime
Properties
FriendlyDescription
Get a friendly description of this descriptor to show in the scenario explorer.
Declaration
public override string FriendlyDescription { get; }
Property Value
Overrides
HoldTime
Declaration
[DataDriven]
[DataMember(Name = "HoldTime")]
public int HoldTime { get; set; }
Property Value
PrimaryTargetKey
Gets the primary target key
Declaration
public override string PrimaryTargetKey { get; }
Property Value
Overrides
SimulateRealUser
Declaration
[Browsable(false)]
[DataMember(Name = "SimulateRealUser", IsRequired = false)]
public override bool SimulateRealUser { get; set; }
Property Value
Overrides
Methods
Execute(IApplication)
Declaration
public override void Execute(IApplication hostApp)
Parameters
hostApp
Overrides
OnBeforeConfirmRecording(object)
This method is called before an automation descriptor is recorded into the Test Explorer and allows the descriptor to perform any processing it may need to before it is recorded.
Declaration
public override void OnBeforeConfirmRecording(object data)
Parameters
data
Unused. Will be null.
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