Class AttributeVerificationDescriptor
Inheritance
System.Object
AttributeVerificationDescriptor
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.Descriptors
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
[Sentence("Attributes", "Verify {AttributeName} {CompareType} {AttributeValue}", false)]
[SupportsImageCapture(true)]
public class AttributeVerificationDescriptor : HtmlVerificationDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings, IQuickTasks, IExtendedParamEditorInfo, ISentenceListPreview
Constructors
AttributeVerificationDescriptor()
Declaration
public AttributeVerificationDescriptor()
AttributeVerificationDescriptor(Element, iAttribute, StringCompareType)
Declaration
public AttributeVerificationDescriptor(Element target, iAttribute attribute, StringCompareType compareType)
Parameters
Element
target
|
iAttribute
attribute
|
StringCompareType
compareType
|
Properties
AttributeName
Declaration
[DataDriven]
[SentenceParam("name?")]
public string AttributeName { get; set; }
Property Value
System.String
|
AttributeValue
Declaration
[DataDriven]
[SentenceParam("value?", AutomationDescriptorType.Extraction, IsExtractedValue = true)]
public string AttributeValue { get; set; }
Property Value
System.String
|
CompareType
Declaration
[SentenceParam("compare?", AutomationDescriptorType.Extraction)]
public StringCompareType CompareType { get; set; }
Property Value
StringCompareType
|
FriendlyDescription
Declaration
public override string FriendlyDescription { get; }
Property Value
System.String
|
Overrides
PrimaryTargetKey
Declaration
public override string PrimaryTargetKey { get; }
Property Value
System.String
|
Overrides
Methods
ExtractData(IAutomationHost, DescriptorValueStore)
Declaration
public override void ExtractData(IAutomationHost targetBrowser, DescriptorValueStore dataStore)
Parameters
IAutomationHost
targetBrowser
|
DescriptorValueStore
dataStore
|
Overrides
GeneratePreviewValuesForTarget(DescriptorValueStoreCollection)
Declaration
public void GeneratePreviewValuesForTarget(DescriptorValueStoreCollection valuesCollection)
Parameters
DescriptorValueStoreCollection
valuesCollection
|
Implements
GetExtendedEditorInfo(DescriptorValueStore)
Declaration
public void GetExtendedEditorInfo(DescriptorValueStore valueStore)
Parameters
DescriptorValueStore
valueStore
|
Implements
GetQuickTasks()
OnParameterChanged(SentenceParam, Sentence)
Declaration
public void OnParameterChanged(SentenceParam param, Sentence context)
Parameters
SentenceParam
param
|
Sentence
context
|
Implements
OnSentenceLoad(Sentence)
ToCode()
Verify(DescriptorValueStore)
Declaration
public override VerificationResult Verify(DescriptorValueStore dataStore)
Parameters
DescriptorValueStore
dataStore
|
Returns
VerificationResult
|