New to Telerik Test StudioStart a free 30-day trial

Control

Class

Definition

Namespace:ArtOfTest.WebAii.Controls

Assembly:ArtOfTest.WebAii.dll

Syntax:

C#
public abstract class Control

Inheritance: objectControl

Derived Classes: HtmlControl

Constructors

C#
public Control()
C#
public Control(Element element)
Parameters:elementElement

Properties

C#
public Element BaseElement { get; }
C#
public bool IsRefresh { get; }
C#
public virtual FindParam Locator { get; }
C#
public virtual IFindExpression LocatorExpression { get; }
C#
public Browser OwnerBrowser { get; }
C#
protected TelerikComponentsVersion TelerikComponentsVersion { get; }
C#
protected bool ThrowOnInvalidAssignment { get; }

Methods

C#
public virtual void AssignElement(Element e)
Parameters:eElement
C#
protected void AssignFailed(Exception exceptionToThrow)
Parameters:exceptionToThrowException
C#
public static Element GetFamilyElement(int level, Element e)
Parameters:levelinteElementReturns:

Element

C#
public static bool MatchControl(Element element, FindParam paramToMatch)
Parameters:elementElementparamToMatchFindParamReturns:

bool

C#
public virtual void Refresh()
C#
protected virtual void SetTelerikComponentsVersion(TelerikComponentsVersion? newTelerikComponentsVersion)
Parameters:newTelerikComponentsVersionTelerikComponentsVersion?