Extensions

EngineResultExtensions Methods

Methods

Name

Description

Gets the image information of the image instance that was found in IEngineResult.

EnumExtensions Methods

Methods

Name

Description

Returns the display name of an Enum from the Description attribute in the enum.

Returns all flags that are set for a flagged enum value.

ReportExtensions Methods

Methods

Name

Description

Passes or fails the current step depending on the provided criteria..

StringExtensions Methods

Methods

Name

Description

Returns the length leftmost characters of the input string. If the input string is shorter than length, the whole string is returned.

Returns the length rightmost characters of the input string. If the input string is shorter than length, the whole string is returned.

TesterConnectionExtensions Methods

Methods

Name

Description

Gets the color value at the provided position on the system under test.

TesterDebugExtensions

Methods

Name

Description

For debugging with the Visual Designer: Saves the debug images from the last text or image search to the local file system. Can help to determine why an image or a text was not found. This method can easily be called as t.SaveDebugImages() from the Visual Studio Immediate Window.

TesterHelperExtensions Methods

Methods

Name

Description

Performs the specified action and waits for an update on the screen, returns false if no update is registered. This method is similar to WaitUntilScreenUpdate, but ensures the update check is registered before we attempt the action.

Waits until the specified DateTime is reached on the system under test. If the dateTime is already passed, it doesn't wait.

Waits until a relevant screen update is received. Returns false if after the timeout still no update was received. If the expected update happens directly after an interaction with the sut, the update register might happen too late. In this case use PerformActionAndWaitForScreenUpdate instead.

Waits until the screen is stable, meaning no more relevant updates are occuring anymore in the selected area. Returns false if after the specified timeout the screen is not yet stable.

TesterMouseExtensions Members

Methods

Name

Description

Clicks at the specified x, y offset from the current position. Used e.g. to click out of text box.

Performs a double click at the specified target location. Wait time between the individual clicks is controlled by the optional parameter doubleClickDelay.

Performs a drag-and-drop movement from the origin point with the specified distance.

Performs a long click which lasts for delayInMs, instead of the usual t.Properties.MouseClickDelay

Performs a triple click at the specified target location. Wait time between the individual clicks is controlled by the optional parameter doubleClickDelay.

TesterSelectExtensions Methods

Methods

Name

Description

Returns a Select filter that contains the connected region of the same color (floodfill) on the filtered current screen starting from the hotspot (or middle) of the imagesearch with the provided imageName. Throws a TestStepAbortedException, if the image cannot be found on screen.

Returns a Select filter that contains the connected region of the same color (floodfill) on the filtered current screen starting from the provided point.

Returns a Select filter formed by Hotspots (or middle if no hotspot set) of topLeftImage and bottomRightImage. Throws TestStepAbortedException if Images not found.

Last updated