ClassTypeTextDescriptor
Type text by simulating key presses.
Definition
Namespace:ArtOfTest.WebAii.Design.IntrinsicTranslators.DesktopAutomation.Descriptors.Actions
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0")]
public class TypeTextDescriptor : DesktopActionDescriptorBase, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject
Inheritance: objectDataBoundObjectAutomationDescriptorActionDescriptorDesktopActionDescriptorBaseTypeTextDescriptor
Implements:
Inherited Members
Constructors
TypeTextDescriptor()
Create new instance of TypeTextDescriptor class.
Declaration
public TypeTextDescriptor()
Properties
FriendlyDescription
Get a friendly description of this descriptor to show in the scenario explorer.
Declaration
public override string FriendlyDescription { get; }
Property Value
Overrides
Text
Declaration
[DataDriven]
[PrimaryProperty]
public string Text { get; set; }
Property Value
UseStepWaitOnElementsTimout
Declaration
[Browsable(false)]
public override bool UseStepWaitOnElementsTimout { get; set; }
Property Value
Overrides
WaitOnElementsTimeout
Declaration
[Browsable(false)]
public override int WaitOnElementsTimeout { get; set; }
Property Value
Overrides
Methods
Execute(IAutomationHost)
Abstract method implemented by action descriptors
Declaration
public override void Execute(IAutomationHost autoHost)
Parameters
autoHost
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