ClassSilverlightKeyPressActionDescriptor
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 SilverlightKeyPressActionDescriptor : XamlActionDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings, IInterceptTranslation
Inheritance: objectDataBoundObjectAutomationDescriptorActionDescriptorXamlActionDescriptorSilverlightKeyPressActionDescriptor
Implements:
Inherited Members
Constructors
SilverlightKeyPressActionDescriptor()
Declaration
public SilverlightKeyPressActionDescriptor()
SilverlightKeyPressActionDescriptor(FrameworkElement, Keys)
Declaration
public SilverlightKeyPressActionDescriptor(FrameworkElement target, Keys key)
Parameters
target
key
SilverlightKeyPressActionDescriptor(FrameworkElement, Keys, int)
Declaration
public SilverlightKeyPressActionDescriptor(FrameworkElement target, Keys key, int repeatCount)
Parameters
target
key
repeatCount
Properties
DelayBetweenRepetitions
Declaration
[DataMember(Name = "DelayBetweenRepitions")]
[PrimaryProperty]
public int DelayBetweenRepetitions { get; set; }
Property Value
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
[DataMember(Name = "HoldTime")]
[PrimaryProperty]
public int HoldTime { get; set; }
Property Value
Key
Declaration
[Browsable(false)]
[DataMember(Name = "Key", IsRequired = false, EmitDefaultValue = false)]
[PrimaryProperty]
public Keys Key { get; set; }
Property Value
KeyData
Declaration
[PrimaryProperty]
public Keys KeyData { get; set; }
Property Value
RepeatCount
Declaration
[DataMember(Name = "RepeatCount")]
[PrimaryProperty]
public int RepeatCount { get; set; }
Property Value
RequiredAssemblyReferences
Any addition assembly references to be added to the project on code gen.
Declaration
public override string[] RequiredAssemblyReferences { get; }
Property Value
string[]
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
InterceptTranslation(AutomationDescriptor, out bool)
Declaration
public void InterceptTranslation(AutomationDescriptor existingDescriptor, out bool stopTranslation)
Parameters
existingDescriptor
stopTranslation
Implements
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