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
|
StringCompareType
compare
|
FindContentType
tagSegmentType
|
System.String
expectedString
|
Properties
CompareType
Declaration
[SentenceParam("compare?", AutomationDescriptorType.Extraction)]
public StringCompareType CompareType { get; set; }
Property Value
StringCompareType
|
ExpectedString
Declaration
[DataDriven]
[SentenceParam("value?", AutomationDescriptorType.Extraction, IsExtractedValue = true)]
public string ExpectedString { get; set; }
Property Value
System.String
|
FriendlyDescription
Declaration
public override string FriendlyDescription { get; }
Property Value
System.String
|
Overrides
PrimaryTargetKey
Declaration
public override string PrimaryTargetKey { get; }
Property Value
System.String
|
Overrides
TagSegmentType
Declaration
[SentenceParam("content?", AutomationDescriptorType.Extraction)]
public FindContentType TagSegmentType { get; set; }
Property Value
FindContentType
|
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
|