ClassHtmlTreeBuilder
Definition
Namespace:ArtOfTest.WebAii.ObjectModel
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class HtmlTreeBuilder : BaseTreeBuilder<Element>
Inheritance: objectBaseTreeBuilder<Element>HtmlTreeBuilder
Inherited Members
Constructors
HtmlTreeBuilder()
Declaration
public HtmlTreeBuilder()
HtmlTreeBuilder(IAutomationHost)
Declaration
public HtmlTreeBuilder(IAutomationHost browser)
Parameters
browser
Properties
RecursiveContainerTags
Gets a list of tags for elements that can contain a host of the same type as the host containing the element.
Declaration
protected override IEnumerable<string> RecursiveContainerTags { get; }
Property Value
Overrides
TestRegions
Declaration
public TestRegionCollection TestRegions { get; }
Property Value
Methods
CreateNewElement(ParsedElement, IAutomationHost)
Called by the builder when a new element of type T needs to be created.
Declaration
public override Element CreateNewElement(ParsedElement parsedElement, IAutomationHost host)
Parameters
parsedElement
The parsed element object.
host
The automation host object
Returns
The elmenet of Type T
Overrides
StartTagCloses(string, string)
Determines whether to close an open tag with an optional closing tag based on the new tag we're parsing
Declaration
protected override bool StartTagCloses(string startTag, string stackTag)
Parameters
startTag
The start tag we've just started parsing
stackTag
The optional-closing tag on top of the stack
Returns
True/False whether or not this startTag automatically closes the the currently open tag.
Overrides
TestRegionDetected(Element)
Called by the builder when a TestRegion is detected.
Declaration
public override void TestRegionDetected(Element regionElement)
Parameters
regionElement
The test region element.
Overrides
TrackRecursiveContainer(Element)
Track recursive container.
Declaration
protected override void TrackRecursiveContainer(Element element)
Parameters
element
Overrides