ClassHtmlActionDescriptor
Definition
Namespace:ArtOfTest.WebAii.Design.Extensibility
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[DataContract]
public abstract class HtmlActionDescriptor : ActionDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings
Inheritance: objectDataBoundObjectAutomationDescriptorActionDescriptorHtmlActionDescriptor
Implements:
Inherited Members
Constructors
HtmlActionDescriptor()
Create new action descriptor.
Declaration
public HtmlActionDescriptor()
HtmlActionDescriptor(Element)
Create a new action descriptor
HtmlActionDescriptor(string, Element)
Create a new action descriptor
Properties
AjaxTimeout
Declaration
[DataMember(Name = "AjaxTimeout")]
public virtual int AjaxTimeout { get; set; }
Property Value
ClosesBrowser
Declaration
[DataMember(Name = "ClosesBrowser")]
public bool ClosesBrowser { get; set; }
Property Value
PrimaryTarget
Declaration
public override ElementDescriptor PrimaryTarget { get; set; }
Property Value
Overrides
SecondaryTarget
Declaration
public override ElementDescriptor SecondaryTarget { get; set; }
Property Value
Overrides
TechnologyType
Gets the technology that this step runs against
Declaration
public override TechnologyType TechnologyType { get; }
Property Value
Overrides
Methods
CreateElementFindExpression(string)
Creates a CodeDOM expression for the element's terminal FindExpression
Declaration
protected override CodeExpression CreateElementFindExpression(string elementKey)
Parameters
elementKey
Key into this descriptors collection of element descriptors for the desired element
Returns
A CodeDOM expression that constructs a new FindExpression specifying the desired element
Overrides
Execute(Browser)
Declaration
public abstract void Execute(Browser browser)
Parameters
browser
Execute(IAutomationHost)
Abstract method implemented by action descriptors
Declaration
public override void Execute(IAutomationHost autoHost)
Parameters
autoHost
Overrides
InspectWebSettings(UserSettings)
Called before the descriptor is recorded into the project in case the descriptor needs to modify its properties according to the project settings
Declaration
public virtual void InspectWebSettings(UserSettings settings)
Parameters
settings
The current project settings
Implements