ClassConnectToApplicationDescriptor
Connect to already running application.
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 ConnectToApplicationDescriptor : DesktopActionDescriptorBase, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject
Inheritance: objectDataBoundObjectAutomationDescriptorActionDescriptorDesktopActionDescriptorBaseConnectToApplicationDescriptor
Implements:
Inherited Members
Constructors
ConnectToApplicationDescriptor()
Create new instance of ConnectToApplicationDescriptor class.
Declaration
public ConnectToApplicationDescriptor()
Properties
AutoClose
Declaration
[DataMember]
[PrimaryProperty]
public bool AutoClose { get; set; }
Property Value
ConnectionTimeout
Declaration
[DataMember]
public int ConnectionTimeout { 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
ProcessIndex
Declaration
[DataMember]
[PrimaryProperty]
public int ProcessIndex { get; set; }
Property Value
ProcessName
Declaration
[DataMember]
[PrimaryProperty]
public string ProcessName { get; set; }
Property Value
SetFocus
Declaration
[DataMember]
[PrimaryProperty]
public bool SetFocus { 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