ClassUpdateEditTextDescriptor
Update value of edit element.
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 UpdateEditTextDescriptor : DesktopActionDescriptorBase, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInterceptTranslation
Inheritance: objectDataBoundObjectAutomationDescriptorActionDescriptorDesktopActionDescriptorBaseUpdateEditTextDescriptor
Implements:
Inherited Members
Constructors
UpdateEditTextDescriptor()
Create new instance of UpdateEditTextDescriptor class.
Declaration
public UpdateEditTextDescriptor()
Properties
FriendlyDescription
Get a friendly description of this descriptor to show in the scenario explorer.
Declaration
public override string FriendlyDescription { get; }
Property Value
Overrides
SimulateRealTyping
Declaration
[DataMember]
public bool SimulateRealTyping { get; set; }
Property Value
Text
Declaration
[DataDriven]
[DataMember]
[PrimaryProperty]
public string Text { get; set; }
Property Value
Methods
Execute(IAutomationHost)
Abstract method implemented by action descriptors
Declaration
public override void Execute(IAutomationHost 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