ClassTextBoxSetTextActionDescriptor
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 TextBoxSetTextActionDescriptor : XamlActionDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings, IInterceptTranslation
Inheritance: objectDataBoundObjectAutomationDescriptorActionDescriptorXamlActionDescriptorTextBoxSetTextActionDescriptor
Implements:
Inherited Members
Constructors
TextBoxSetTextActionDescriptor()
Declaration
public TextBoxSetTextActionDescriptor()
TextBoxSetTextActionDescriptor(FrameworkElement, string, string)
Declaration
public TextBoxSetTextActionDescriptor(FrameworkElement target, string typedText, string fullContent)
Parameters
target
typedText
fullContent
Properties
ClearCurrentText
Declaration
[DataMember(Name = "ClearCurrentText", IsRequired = false)]
public bool ClearCurrentText { get; set; }
Property Value
FireKeyEvents
Declaration
[DataMember(Name = "FireKeyEvents", IsRequired = false)]
public bool FireKeyEvents { 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
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
RecordedTextContent
Declaration
[DataDriven]
[DataMember(Name = "RecordedTextContent")]
public string RecordedTextContent { get; set; }
Property Value
SimulateRealUser
Declaration
[PrimaryProperty]
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 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