Skip to main content

SeeTest Client - GetCoordinateColor

info

Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .

int GetCoordinateColor**(X, Y)**

Description

Get the integer representation in the RGB color model for coordinate (X,Y)

Parameters

  • X: X coordinate of the target pixel.
  • Y: Y coordinate of the target pixel.

Usage

Some objects, it is possible to know whether they are enabled/disabled only by their color and not by any property. 

Buttons, for example, in subject to clickCoordinate command, it is possible to know whether they are clicked or not by their coordinate color.

Code Examples

Java Example

1int color = client.getCoordinateColor(``50``, 1600``);