TesterConnectionExtensions Methods

GetRGB

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

Syntax:

public static Color GetRGB(
	this ITester t,
	Point target
)

Parameters:

Parameter

Description

t

Type: ITester The ITester interface on which the extension is called.

target

Type: Point The location on the SUT screen for which the rgb value shall be returned.

Return Value:

The Color of the pixel at the target position. If the target position is invalid, Color.Black is returned.

Last updated