ClassGenericSetTextActionDescriptor
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 GenericSetTextActionDescriptor : XamlActionDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings, IInterceptTranslation
Inheritance: objectDataBoundObjectAutomationDescriptorActionDescriptorXamlActionDescriptorGenericSetTextActionDescriptor
Implements:
Inherited Members
Constructors
GenericSetTextActionDescriptor(FrameworkElement, string)
Declaration
public GenericSetTextActionDescriptor(FrameworkElement target, string typedText)
Parameters
target
typedText
Properties
FriendlyDescription
Get a friendly description of this descriptor to show in the scenario explorer.
Declaration
public override string FriendlyDescription { get; }
Property Value
Overrides
KeyHoldTime
Declaration
[DataMember(Name = "KeyHoldTime", IsRequired = false)]
public int KeyHoldTime { get; set; }
Property Value
PrimaryTargetKey
Gets the primary target key
Declaration
public override string PrimaryTargetKey { get; }
Property Value
Overrides
SimulateRealUser
Declaration
[Browsable(false)]
public override bool SimulateRealUser { get; set; }
Property Value
Overrides
TimeBetweenKeypresses
Declaration
[DataMember(IsRequired = false)]
public int TimeBetweenKeypresses { get; set; }
Property Value
Methods
Execute(IApplication)
Declaration
public override void Execute(IApplication autoHost)
Parameters
autoHost
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