ClassVisibleVerificationDescriptor
Definition
Namespace:ArtOfTest.WebAii.Design.IntrinsicTranslators.DesktopAutomation.Descriptors.Verifications
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0")]
[Sentence("Visible", "Verify element IsVisible method returns {IsVisible}.", false)]
[SupportsImageCapture(false)]
[ImageNotApplicableNotification("Visible step does not record image by default.")]
public class VisibleVerificationDescriptor : DesktopVerificationDescriptorBase, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject
Inheritance: objectDataBoundObjectAutomationDescriptorVerificationDescriptorDesktopVerificationDescriptorBaseVisibleVerificationDescriptor
Implements:
Inherited Members
Constructors
VisibleVerificationDescriptor()
Create new instance of VisibleVerificationDescriptor class.>
Declaration
public VisibleVerificationDescriptor()
VisibleVerificationDescriptor(ITargetElement, bool)
Create new instance of VisibleVerificationDescriptor class.>
Declaration
public VisibleVerificationDescriptor(ITargetElement element, bool visible)
Parameters
element
The target element.
visible
Properties
FriendlyDescription
Get a friendly description of this descriptor to show in the scenario explorer.
Declaration
public override string FriendlyDescription { 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
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