ClassNoMotionDesktopVerificationDescriptor
Verify element has not moved for a while.
Definition
Namespace:ArtOfTest.WebAii.Design.IntrinsicTranslators.DesktopAutomation.Descriptors.Verifications
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[Sentence("NoMotion", "Wait for element to be stationary", false)]
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0")]
public class NoMotionDesktopVerificationDescriptor : DesktopVerificationDescriptorBase, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject
Inheritance: objectDataBoundObjectAutomationDescriptorVerificationDescriptorDesktopVerificationDescriptorBaseNoMotionDesktopVerificationDescriptor
Implements:
Inherited Members
Constructors
NoMotionDesktopVerificationDescriptor()
Declaration
public NoMotionDesktopVerificationDescriptor()
NoMotionDesktopVerificationDescriptor(ITargetElement)
Declaration
public NoMotionDesktopVerificationDescriptor(ITargetElement target)
Parameters
target
Properties
FriendlyDescription
Get a friendly description of this descriptor to show in the scenario explorer.
Declaration
public override string FriendlyDescription { get; }
Property Value
Overrides
IsWaitOnly
Gets whether this descriptor can only be used for sync.
Declaration
public override bool IsWaitOnly { get; }
Property Value
Overrides
Methods
ExtractData(IAutomationHost, DescriptorValueStore)
Extract verification data from the live Targets.
Declaration
public override void ExtractData(IAutomationHost targetHost, DescriptorValueStore dataStore)
Parameters
targetHost
dataStore
Overrides
PerformWait(IAutomationHost)
Helper routine that can perform a wait until the verification defined by this descriptor passes or the this.Timeout is reached.
Declaration
public override VerificationWaitResult PerformWait(IAutomationHost host)
Parameters
host
The host object
Returns
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
Verify(DescriptorValueStore)
Given a value store, verify against the constraints defined by this descriptor
Declaration
public override VerificationResult Verify(DescriptorValueStore dataStore)
Parameters
dataStore
The data store were values are captured
Returns
The verification result.
Overrides