ClassXamlVerificationDescriptor
Definition
Namespace:ArtOfTest.WebAii.Design.Extensibility
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0")]
public abstract class XamlVerificationDescriptor : VerificationDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings
Inheritance: objectDataBoundObjectAutomationDescriptorVerificationDescriptorXamlVerificationDescriptor
Derived Classes:
Implements:
Inherited Members
Constructors
XamlVerificationDescriptor()
Declaration
protected XamlVerificationDescriptor()
XamlVerificationDescriptor(IFrameworkElement)
Declaration
protected XamlVerificationDescriptor(IFrameworkElement target)
Parameters
target
XamlVerificationDescriptor(string, IFrameworkElement)
Declaration
protected XamlVerificationDescriptor(string name, IFrameworkElement target)
Parameters
name
target
Properties
PrimaryTarget
Declaration
public override ElementDescriptor PrimaryTarget { get; set; }
Property Value
Overrides
SearchByImageFirst
Declaration
[Browsable(false)]
public SearchElementOrderType SearchByImageFirst { get; }
Property Value
SecondaryTarget
Declaration
public override ElementDescriptor SecondaryTarget { get; set; }
Property Value
Overrides
TechnologyType
Gets the technology that this step runs against
Declaration
[DataMember(Name = "TechnologyType")]
public override TechnologyType TechnologyType { get; }
Property Value
Overrides
VirtualizingContainer
Declaration
public virtual ElementDescriptor VirtualizingContainer { get; set; }
Property Value
VirtualizingContainerOffset
Declaration
[DataMember(Name = "VirtualizingContainerOffset", IsRequired = false)]
public virtual double VirtualizingContainerOffset { get; set; }
Property Value
WaitForNoMotion
Declaration
[DataMember(Name = "WaitForNoMotion")]
public virtual bool WaitForNoMotion { get; set; }
Property Value
WaitForNoMotionCheckInterval
Declaration
[DataMember(Name = "WaitForNoMotionCheckInterval")]
public virtual int WaitForNoMotionCheckInterval { get; set; }
Property Value
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
ExtractData(IApplication, DescriptorValueStore)
Declaration
public abstract void ExtractData(IApplication hostApp, DescriptorValueStore dataStore)
Parameters
hostApp
dataStore
ExtractData(IAutomationHost, DescriptorValueStore)
Extract verification data from the live Targets.
Declaration
public override void ExtractData(IAutomationHost targetHost, DescriptorValueStore dataStore)
Parameters
targetHost
dataStore
Overrides
GenerateWaitFor(CodeExpression, CodeExpression, CodeExpression)
Declaration
protected CodeExpression GenerateWaitFor(CodeExpression elementExpr, CodeExpression lambdaExpr, CodeExpression invertExpr)
Parameters
elementExpr
lambdaExpr
invertExpr
Returns
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