ArtOfTest, Inc. - WebAii 1.1 Automation Infrastructure reference library
TestRegion class
Class representing a TestRegion Object defined in the document as: <testregion id="foo"> ... </testregion> or <!--testregion id="foo"--> ... <!--/testregion>
Syntax
C#
public class TestRegion
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
AllChildRegions
Gets a list of all sub regions contained in this region regardless of their depth relative to this region.
ChildRegions
Gets a list of all direct sub regions of this region.
ContainsElement(Element, Boolean)
Checks if a certain element is contained in this region or not.
Element
Gets the element object that represents this region in the Dom tree.
Equals(Object)
Defined how two TestRegions should be compared.
(Overrides Object.Equals(Object).)
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Find
Gets the Find object associated with this test region. All searchs from this object will be scoped to this region.
static memberGetContainerRegion(Element)
This static methods can test whether an element falls within a Test Region. If it does, it will return the region that contains it. If the Element passed in is a test region then the function will return that element's test region. Otherwise will return null.
GetHashCode()
Get the hash code for this testregion.
(Overrides Object.GetHashCode().)
GetType()
Gets the Type of the current instance.
(Inherited from Object.)
Id
Gets the region id.
MemberwiseClone()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Parent
Gets the parent Region that this region is within. Else will return null.
Refresh()
Refresh this test region.
Refresh(Boolean)
Refresh the test region.
ToString()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
TestRegion

Assembly: ArtOfTest.WebAii (Module: ArtOfTest.WebAii)