Element
Class
Definition
Namespace:ArtOfTest.WebAii.ObjectModel
Assembly:ArtOfTest.WebAii.dll
Syntax:
C#
public class Element : ITargetElement
Inheritance: objectElement
Implements:
Constructors
C#
public Element(HtmlFindExpression findExpr, Find findObj, Browser ownerBrowser)
Properties
C#
public int AbsoluteSiblingTagIndex { get; set; }
C#
public int AbsoluteTagIndex { get; }
C#
public ReadOnlyCollection<iAttribute> Attributes { get; }
C#
public ReadOnlyCollection<Element> ChildNodes { get; }
C#
public ReadOnlyCollection<Element> Children { get; }
C#
public string CssClassAttributeValue { get; }
C#
public ElementType ElementType { get; }
C#
[Browsable(false)]
public HtmlFindExpression FindExpressionUsed { get; }
C#
[Browsable(false)]
public Find FindObjectUsed { get; }
C#
public Element FrameElement { get; set; }
C#
public bool HasIdOrName { get; }
C#
public IAutomationHost Host { get; }
Implements:
C#
public string IdAttributeValue { get; }
C#
public string InnerMarkup { get; }
C#
public InputElementType InputElementType { get; }
C#
public bool IsBeginTag { get; }
C#
public bool IsSelfClosing { get; }
C#
public bool IsTestRegion { get; }
Implements:
C#
public Element MatchingClosingTag { get; set; }
C#
public string NameAttributeValue { get; }
C#
public string OuterMarkup { get; }
C#
[Browsable(false)]
public Browser OwnerBrowser { get; }
C#
public ParsedElement ParsedElement { get; }
Implements:
C#
public ParsedElementType ParsingType { get; }
C#
public int TagNameIndex { get; }
C#
public TechnologyType TechnologyType { get; }
Implements:
C#
public string TextContent { get; }
Methods
C#
public TControl As<TControl>() where TControl : Control, new()
TControl
C#
public TControl CastIncludingAncestors<TControl>(int depth = 5) where TControl : Control, new()
TControl
C#
public bool ContainsAttribute(iAttribute attribute, bool usePartialAttributeValue, StringComparison comparison, bool matchQuotes)
C#
public void Focus()
C#
public virtual T GetValue<T>(string propertyName, T defaultValue)
T
C#
public bool Match(IFindExpression findExpr)
Implements:
C#
public virtual void Refresh()
Implements:
C#
public void SetClosingTag(ITargetElement closingElement)
Implements:
C#
public virtual void SetValue<T>(string propertyName, T value)