ClassJsConsoleErrorsVerificationDescriptor
Definition
Namespace:ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/1.0.0")]
[Sentence("JSConsoleErrors", "Verify that there are no JS errors except for ones containing {ExcludedErrors}", false)]
public class JsConsoleErrorsVerificationDescriptor : HtmlVerificationDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings
Inheritance: objectDataBoundObjectAutomationDescriptorVerificationDescriptorHtmlVerificationDescriptorJsConsoleErrorsVerificationDescriptor
Implements:
Inherited Members
Constructors
JsConsoleErrorsVerificationDescriptor()
Create new JsConsoleErrorsVerificationDescriptor
Declaration
public JsConsoleErrorsVerificationDescriptor()
Properties
ExcludedErrors
Declaration
[DataDriven]
[DataMember(Name = "ExcludedErrors")]
[SentenceParam("excluded?", AutomationDescriptorType.Extraction, IsExtractedValue = true)]
public string ExcludedErrors { get; set; }
Property Value
FriendlyDescription
Get a friendly description of this descriptor to show in the scenario explorer.
Declaration
public override string FriendlyDescription { get; }
Property Value
Overrides
SearchByImageFirst
Declaration
[Browsable(false)]
public SearchElementOrderType SearchByImageFirst { get; }
Property Value
SupportsWait
Gets whether this verification descriptor supports syncs.
Declaration
[Browsable(false)]
public override bool SupportsWait { get; }
Property Value
Overrides
UseStepWaitOnElementsTimout
Declaration
[Browsable(false)]
public override bool UseStepWaitOnElementsTimout { get; }
Property Value
Overrides
WaitOnElements
Declaration
[Browsable(false)]
public override bool WaitOnElements { get; }
Property Value
Overrides
WaitOnElementsTimeout
Declaration
[Browsable(false)]
public override int WaitOnElementsTimeout { get; }
Property Value
Overrides
Methods
ExtractData(IAutomationHost, DescriptorValueStore)
Extract verification data from the live Targets.
Declaration
public override void ExtractData(IAutomationHost targetBrowser, DescriptorValueStore dataStore)
Parameters
targetBrowser
The target browser.
dataStore
Overrides
ToCode()
This method is called when the user requests code generation. The framework initializes the TestMethod property of this object with a new instance that this method simply needs to add its custom codegen to it.
Declaration
public override void ToCode()
Overrides
Verify(DescriptorValueStore)
Given a value store, verify against the constraints defined by this descriptor
Declaration
public override VerificationResult Verify(DescriptorValueStore dataStore)
Parameters
dataStore
The data store were values are captured
Returns
The verification result.
Overrides