Class ContentVerificationDescriptor
Inheritance
System.Object
ContentVerificationDescriptor
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("Content", "Verify {TagSegmentType} {CompareType} {ExpectedString}", false)]
[SupportsImageCapture(true)]
public class ContentVerificationDescriptor : HtmlVerificationDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings, IQuickTasks, IExtendedParamEditorInfo, ISentenceListPreview
Constructors
ContentVerificationDescriptor()
Declaration
public ContentVerificationDescriptor()
ContentVerificationDescriptor(Element, StringCompareType, FindContentType, String)
Declaration
public ContentVerificationDescriptor(Element target, StringCompareType compare, FindContentType tagSegmentType, string expectedString)
Parameters
Element
target
|
String
|
Find
|
System.
|
Properties
CompareType
Declaration
[SentenceParam("compare?", AutomationDescriptorType.Extraction)]
public StringCompareType CompareType { get; set; }
Property Value
ExpectedString
Declaration
[DataDriven]
[SentenceParam("value?", AutomationDescriptorType.Extraction, IsExtractedValue = true)]
public string ExpectedString { get; set; }
Property Value
System.
|
FriendlyDescription
Declaration
public override string FriendlyDescription { get; }
Property Value
System.
|
Overrides
PrimaryTargetKey
Declaration
public override string PrimaryTargetKey { get; }
Property Value
System.
|
Overrides
TagSegmentType
Declaration
[SentenceParam("content?", AutomationDescriptorType.Extraction)]
public FindContentType TagSegmentType { get; set; }
Property Value
Methods
ExtractData(IAutomationHost, DescriptorValueStore)
Declaration
public override void ExtractData(IAutomationHost targetBrowser, DescriptorValueStore dataStore)
Parameters
IAutomation
|
Descriptor
|
Overrides
GeneratePreviewValuesForTarget(DescriptorValueStoreCollection)
Declaration
public void GeneratePreviewValuesForTarget(DescriptorValueStoreCollection valuesCollection)
Parameters
Descriptor
|
Implements
GetExtendedEditorInfo(DescriptorValueStore)
Declaration
public void GetExtendedEditorInfo(DescriptorValueStore valueStore)
Parameters
Descriptor
|
Implements
GetQuickTasks()
Declaration
public virtual IQuickTask[] GetQuickTasks()
Returns
Implements
OnParameterChanged(SentenceParam, Sentence)
Declaration
public void OnParameterChanged(SentenceParam param, Sentence context)
Parameters
Sentence
|
Sentence
context
|
Implements
OnSentenceLoad(Sentence)
ToCode()
Verify(DescriptorValueStore)
Declaration
public override VerificationResult Verify(DescriptorValueStore dataStore)
Parameters
Descriptor
|