Class TextBlockDisplayedTextVerificationDescriptor
Inheritance
System.Object
TextBlockDisplayedTextVerificationDescriptor
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.Silverlight.Descriptors
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
[Sentence("Displayed Text", " displayed text {Comparison} {Value}", false)]
public class TextBlockDisplayedTextVerificationDescriptor : XamlVerificationDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings, IQuickTasks, ISentenceListPreview, IExtendedParamEditorInfo
Constructors
TextBlockDisplayedTextVerificationDescriptor()
Declaration
public TextBlockDisplayedTextVerificationDescriptor()
TextBlockDisplayedTextVerificationDescriptor(IFrameworkElement, String, String)
Declaration
public TextBlockDisplayedTextVerificationDescriptor(IFrameworkElement textBlock, string comparison, string expected)
Parameters
IFrameworkElement
textBlock
|
System.String
comparison
|
System.String
expected
|
Properties
Comparer
Declaration
protected virtual VerificationComparer Comparer { get; set; }
Property Value
VerificationComparer
|
Comparison
Declaration
[SentenceParam("comparison?", AutomationDescriptorType.Extraction | AutomationDescriptorType.Verification | AutomationDescriptorType.Wait, StaticValueListMethod = "PopulateComparisonList", DisableTextBoxEdit = true)]
public virtual string Comparison { get; set; }
Property Value
System.String
|
FriendlyDescription
Declaration
public override string FriendlyDescription { get; }
Property Value
System.String
|
Overrides
Value
Declaration
[DataDriven]
[SentenceParam("value?", AutomationDescriptorType.Extraction, IsExtractedValue = true)]
public object Value { get; set; }
Property Value
System.Object
|
Methods
ExtractData(IApplication, DescriptorValueStore)
Declaration
public override void ExtractData(IApplication hostApp, DescriptorValueStore dataStore)
Parameters
IApplication
hostApp
|
DescriptorValueStore
dataStore
|
Overrides
GeneratePreviewValuesForTarget(DescriptorValueStoreCollection)
Declaration
public void GeneratePreviewValuesForTarget(DescriptorValueStoreCollection valuesCollection)
Parameters
DescriptorValueStoreCollection
valuesCollection
|
Implements
GetCompareType(String)
Declaration
protected virtual XamlStringCompareType GetCompareType(string strValue)
Parameters
System.String
strValue
|
Returns
XamlStringCompareType
|
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)
PopulateComparisonList(SentenceParam)
Declaration
public virtual object PopulateComparisonList(SentenceParam sentenceParam)
Parameters
SentenceParam
sentenceParam
|
Returns
System.Object
|
ToCode()
ValueCompare(DescriptorValueStore, Object)
Declaration
public virtual bool ValueCompare(DescriptorValueStore dataStore, object value)
Parameters
DescriptorValueStore
dataStore
|
System.Object
value
|
Returns
System.Boolean
|
Verify(DescriptorValueStore)
Declaration
public override VerificationResult Verify(DescriptorValueStore dataStore)
Parameters
DescriptorValueStore
dataStore
|
Returns
VerificationResult
|