Class VisibleVerificationDescriptor
Inheritance
System.Object
VisibleVerificationDescriptor
Inherited Members
AutomationDescriptor.InvokeMethod(CodeExpression, Boolean, String, CodeGenerationLanguage, Object[])
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Design.IntrinsicTranslators.DesktopAutomation.Descriptors.Verifications
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
[Sentence("Visible", "Verify element IsVisible method returns {IsVisible}.", false)]
[SupportsImageCapture(false)]
[ImageNotApplicableNottifcation("Visible step does not record image by default.")]
public class VisibleVerificationDescriptor : DesktopVerificationDescriptorBase, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject
Constructors
VisibleVerificationDescriptor()
Declaration
public VisibleVerificationDescriptor()
VisibleVerificationDescriptor(ITargetElement, Boolean)
Declaration
public VisibleVerificationDescriptor(ITargetElement element, bool visible)
Parameters
ITargetElement
element
|
System.Boolean
visible
|
Properties
FriendlyDescription
Declaration
public override string FriendlyDescription { get; }
Property Value
System.String
|
Overrides
IsVisible
Declaration
[PrimaryProperty]
[SentenceParam("visible?", AutomationDescriptorType.Extraction, IsExtractedValue = true)]
[DataDriven]
public bool IsVisible { get; set; }
Property Value
System.Boolean
|
Methods
ExtractData(IAutomationHost, DescriptorValueStore)
Declaration
public override void ExtractData(IAutomationHost targetHost, DescriptorValueStore dataStore)
Parameters
IAutomationHost
targetHost
|
DescriptorValueStore
dataStore
|
Overrides
ToCode()
Verify(DescriptorValueStore)
Declaration
public override VerificationResult Verify(DescriptorValueStore dataStore)
Parameters
DescriptorValueStore
dataStore
|
Returns
VerificationResult
|