New to Telerik Test StudioStart a free 30-day trial

Desktop

Class

Definition

Namespace:ArtOfTest.WebAii.Core

Assembly:ArtOfTest.WebAii.dll

Syntax:

C#
public class Desktop : IDisposable

Inheritance: objectDesktop

Implements: IDisposable

Constructors

C#
public Desktop()

Properties

C#
public Annotator Annotator { get; }
C#
public KeyBoard KeyBoard { get; }
C#
public Mouse Mouse { get; }
C#
public bool ValidateMouseActionsWithinBrowserContent { get; set; }

Methods

C#
public void DisableAutoDomRefresh()
C#
public void Dispose()

Implements: IDisposable.Dispose()

C#
public void EnableAutoDomRefresh(IAutomationHost targetBrowser)
Parameters:targetBrowserIAutomationHost
C#
public Rectangle ImageMatch(Image image, double score, int index = 0)
Parameters:imageImagescoredoubleindexintReturns:

Rectangle

C#
public ReadOnlyCollection<Rectangle> ImageMatches(Image image, double score)
Parameters:imageImagescoredoubleReturns:

ReadOnlyCollection<Rectangle>