TestResults.io
Product
Search…
⌃K
Links
What is TestResults.io
System Architecture
Regulated Markets
What's new?
Portal
Overview
First Steps
User's Guide
Automation Engineer's Guide
REST API Reference
Designer
Overview
First Steps
Installation
Getting started
Interacting with the SUT
Test Cases
Software Models
Installers
Automation Framework Reference
FAQ
Models
Overview
Base Model
BaseScreen
OnScreenElement
Primitives
Enumerations
Extensions
EngineResultExtensions Methods
EnumExtensions Methods
ReportExtensions Methods
StringExtensions Methods
TesterConnectionExtensions Methods
TesterDebugExtensions Methods
TesterHelperExtensions Methods
TesterMouseExtensions Methods
TesterOnScreenElementExtensions
TesterSelectExtensions Methods
Helper Classes
Exceptions
Interfaces
Environment Model
Powered By GitBook

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.
Previous
StringExtensions Methods
Next
TesterDebugExtensions Methods
Last modified 2yr ago
Copy link