TestResults.io
  • What is TestResults.io
  • System Architecture
  • Regulated Markets
    • Health Care Industry
    • Financial Services Industry
  • What's new?
    • Update Instruction
      • Update of the Designer extension in Visual Studio
      • Update the Execution Engine
      • Update the Base- and Environment Models
    • Migration to new project file
  • Designer
    • Overview
    • First Steps
    • Installation
    • TestResults.io solution
    • The development environment
      • Tool Window Overview
        • Test Environments
          • Steps to configure a SUT VM
          • How to access files on the system under test
        • Remote Viewer
          • Control Mode
          • Capture Mode
          • Screen Editor
          • Capture Single Image
        • Screen Explorer
        • Test Case Designer
        • Image Explorer
        • API Testing
        • TestResults.io options
          • Engines
          • Servers
    • Test Cases
      • Adding Test Cases
      • Test Case structure
      • Simple Test Case (Example)
      • Executing your Test Case
      • Generating Test Containers
      • Publishing Test Cases
      • Execution Variables
    • Software Models
      • Adding SW Models
      • Referencing the Model in the Test Case
      • Generating Test Containers
      • Publishing SW Models
      • Screens and Screen Elements
        • Tables
        • Visual Sense
        • Custom Screen Elements
    • Installers
      • Adding Installers
      • Generating Test Containers
      • Publishing Installers
    • Automation Framework Reference
      • Attributes
      • Enumerations
      • Filters
        • IImageFilter Interface
        • Select
        • Resize
      • GlobalEngineParameters
      • ImageDetectionParameters
      • ImageReference
      • Interfaces
        • ITester Interface
          • ITester Methods
          • ITester Properties
        • ITestee Interface
          • ITestee Methods
        • IConnections Interface
          • IConnections Methods
          • IConnections Properties
        • IDebug Interface
        • IEngineResult
        • IHelpers Interface
        • IImageHelper Interface
          • IImageHelper Methods
        • IKeyboard Interface
          • IKeyboard Methods
        • IMouse Interface
          • IMouse Methods
          • IMouse Properties
        • IReport Interface
          • IReport Methods
        • ISUTConnection Interface
      • OcrEngineParameters
        • Best practise
        • IronOcrEngineParameters
        • LEADOcrEngineParameters
        • OcrEngineRelatedCharacters
        • OcrPreprocessingParameters
      • ResultRectangle
      • SutNotReadyException
      • TestStepAbortedException
    • FAQ
      • Two-factor authentication (2FA) and One Time Passwords (OTP)
      • Receive and verify Emails
      • Using Excel as test data source
      • Verify PDF Content
  • Portal
    • Overview
    • First Steps
    • User's Guide
      • Login
      • Projects
      • Dashboard
      • Test Cases
      • Software & Environments
      • Test Sets
      • Job Queue
      • Management
      • Notifications Summary
    • Automation Engineer's Guide
      • Test Automation Workflow
      • Automating a test case
      • Enabling Software & Environments
    • REST API Reference
      • Authentication
      • Projects
      • Test Sets
      • Test Cases
      • Test Plans
      • Test Reports
      • Files
      • Software
      • Environments
      • Untitled
      • Executions
      • Favorites
      • Statistics
      • User Management
      • Customer Management
      • Notifications
      • Configurations
      • Invoicing
  • Models
    • Overview
    • Base Model
      • BaseScreen
        • BaseScreen Properties
        • BaseScreen Methods
      • OnScreenElement
        • OnScreenElement Methods
        • OnScreenElement Properties
      • Primitives
        • Button
          • Button Methods
          • Button Properties
        • Checkbox
          • Checkbox Methods
        • ContextMenu
          • ContextMenu Methods
          • ContextMenu Properties
        • Dropdown
          • Dropdown Methods
          • Dropdown Properties
        • DropdownMenu
          • DropdownMenu Methods
          • DropdownMenu Properties
        • GenericScroller
          • GenericScroller Methods
          • GenericScroller Properties
        • HorizontalScroller
        • IconButton
          • IconButton Properties
        • Label
        • LabelWithButton
          • LabelWithButton Properties
        • LabelWithCheckbox
          • LabelWithCheckbox Properties
        • LabelWithValue
          • LabelWithValue Methods
          • LabelWithValue Properties
        • PwTextBox
          • PwTextBox Methods
        • TextBox
          • TextBox Methods
          • TextBox Properties
        • Tables and lists
          • Column
            • Column Methods
            • Column Properties
          • ItemList
            • ItemList Methods
            • ItemList Properties
          • Row
            • Row Methods
            • Row Properties
          • TableBase
            • TableBase Methods
            • TableBase Properties
        • LabelWithElementBase
          • LabelWithElementBase Properties
      • Enumerations
      • Extensions
        • EngineResultExtensions Methods
        • EnumExtensions Methods
        • ReportExtensions Methods
        • StringExtensions Methods
        • TesterConnectionExtensions Methods
        • TesterDebugExtensions Methods
        • TesterHelperExtensions Methods
        • TesterMouseExtensions Methods
        • TesterOnScreenElementExtensions
        • TesterSelectExtensions Methods
      • Helper Classes
        • BaseModelHelpers
          • BaseModelHelpers Methods
          • BaseModelHelpers Properties
        • Attributes for Designer
        • ListHelpers
      • Exceptions
        • ElementNotFoundException
        • InteractionFailedException
        • ScreenNotFoundException
      • Interfaces
        • IAppBasics Interface
          • IAppBasics Methods
          • IAppBasics Properties
        • IBrowser
        • ICommandLineWindow
        • IScroller Interface
          • IScroller Methods
          • IScroller Properties
        • ISutLocale Interface
          • ISutLocale Methods
          • ISutLocale Properties
        • ISystemHelpers
        • ISystemInteractions
        • IWindow
    • Environment Model
      • Windows
        • Screens
          • CmdWindow
            • CmdWindow Methods
            • CmdWindow Properties
          • FileDialog
            • FileDialog Methods
            • FileDialog Properties
          • FileExplorer
            • FileExplorer Properties
          • RunWindow
            • RunWindow Methods
            • RunWindow Properties
          • Window
            • Window Methods
            • Window Properties
        • SutLocale
          • SutLocale Methods
          • SutLocale Properties
        • SystemHelpers
          • SystemHelpers Methods
          • SystemHelpers Properties
        • SystemInteractions
        • WebBrowser
          • Browser
            • Browser Methods
            • Browser Properties
          • BrowserScroller
            • BrowserScroller Methods
            • BrowserScroller Properties
          • AuthenticationDialog
            • AuthenticationDialog Methods
            • AuthenticationDialog Properties
          • DownloadDialog
            • DownloadDialog Methods
            • DownloadDialog Properties
        • EnvironmentModel Enumerations
        • Interfaces
          • IWebAppBasics
            • IWebAppBasics Property
Powered by GitBook
On this page
  • GetCell
  • GetRow
  • Overload List
  • GetRow(TColumn, ImageReference, bool, ImageDetectionParameters)
  • GetRow(TColumn, string, bool, ImageDetectionParameters)
  • GetRowWithDuplicates
  • VerifyCellContent Method

Was this helpful?

  1. Models
  2. Base Model
  3. Primitives
  4. Tables and lists
  5. TableBase

TableBase Methods

GetCell

Returns a Select filter of the particular cell in the provided column and row.

Syntax:

public Select GetCell(
	TColumn targetColumn,
	TRow targetRow
)

Parameters:

Parameter

Description

targetColumn

The column containing the cell that we are looking for.

targetRow

The row containing the cell that we are looking for.

Return Value:

A Select filter of the particular cell in the provided column and row.

GetRow

Overload List

Name

Description

Searches a specific row based on an image search in the provided searchColum (includes scrolling). By default, method throws an exception if it cannot find the expected row. If returnNullInsteadOfFail is true, it returns null instead of throwing the exception.

Searches a specific row based on a text search in the provided searchColumn (includes scrolling). By default, method throws an exception if it cannot find the expected row. If returnNullInsteadOfFail is true, it returns null instead of throwing the exception.

GetRow(TColumn, ImageReference, bool, ImageDetectionParameters)

Searches a specific row based on an image search in the provided searchColumn (includes scrolling). By default, method throws an exception if it cannot find the expected row. If returnNullInsteadOfFail is true, it returns null instead of throwing the exception.

Syntax:

public TRow GetRow(
	TColumn searchColumn,
	ImageReference imageReference,
	bool returnNullInsteadOfFail = false,
	ImageDetectionParameters imageParameters = null
)

Parameters:

Parameter

Description

searchColumn

The column containing the cell that we are looking for.

imageReference

[returnNullInsteadOfFail]

Whether null or an exception shall be returned when the row cannot be found. Default false, so exception will be thrown.

[imageParameters]

Type: ImageDetectionParameters

The parameters that shall be used for the imagesearch.

Return Value:

Exceptions:

Exception

Condition

When the row could not be found in the table and returnNullInsteadOfFail is false.

GetRow(TColumn, string, bool, ImageDetectionParameters)

Searches a specific row based on a text search in the provided searchColumn (includes scrolling). By default, method throws an exception if it cannot find the expected row. If returnNullInsteadOfFail is true, it returns null instead of throwing the exception.

Syntax:

public TRow GetRow(
	TColumn searchColumn,
	string searchText,
	bool returnNullInsteadOfFail = false,
	OcrEngineParameters ocrEngineParameters = null,
)

Parameters:

Parameter

Description

searchColumn

The column containing the cell that we are looking for.

searchText

[returnNullInsteadOfFail]

Whether null or an exception shall be returned when the row cannot be found. Default false, so exception will be thrown.

[ocrEngineParameters]

Type: OcrEngineParameters

The parameters that shall be used for the textsearch.

Return Value:

Exceptions:

Exception

Condition

When the row could not be found in the table and returnNullInsteadOfFail is false.

GetRowWithDuplicates

Syntax:

public TRow GetRowWithDuplicates(
	TColumn[] searchColumns,
	string[] searchTexts,
	bool returnNullInsteadOfFail = false,
	OcrEngineParameters ocrEngineParameters = null
)

Parameters:

Parameter

Description

searchColumns

Array of Columns in which shall be searched. First entry is used for search, other columns are used to check if all values match the searchTexts.

searchTexts

[returnNullInsteadOfFail]

Whether null or an exception shall be returned when the row cannot be found. Default false, so exception will be thrown.

[ocrEngineParameters]

Type: OcrEngineParameters

The parameters that shall be used for the textsearch.

Return Value:

Exceptions:

Exception

Condition

When the row could not be found in the table and returnNullInsteadOfFail is false.

VerifyCellContent Method

Verifies the text in a particular cell, defined by the provided column and row, matches the contentToVerify

Syntax:

public bool VerifyCellContent(
	TColumn targetColumn,
	TRow targetRow,
	string contentToVerify,
	OcrEngineParameters ocrEngineParameters = null
)

Parameters:

Parameter

Description

targetColumn

The column containing the cell that we are looking for.

targetRow

The row containing the cell that we are looking for.

contentToVerify

[returnNullInsteadOfFail]

Whether null or an exception shall be returned when the row cannot be found. Default false, so exception will be thrown.

[ocrEngineParameters]

Type: OcrEngineParameters

The parameters that shall be used for the textsearch.

Return Value:

True if the cell content matches the contentToVerify, false otherwise.

PreviousTableBaseNextTableBase Properties

Last updated 4 years ago

Was this helpful?

Type:

Type:

Type:

Type: The image reference that will be used to find the row in the table.

Type:

Returns a Row of the same type that was defined when the table was created.

Type:

Type: The search text that will be used to find the row in the table.

Type:

Returns a Row of the same type that was defined when the table was created.

Similar to , but checks that additional values are as expected in additional columns. Useful when main search column contains multiple rows with same value, that can be distinguished by values in other columns.

Type: [ ]

Type: [] Array of searchTexts. First entry is used to search in first entry of searchColumns, remaining entries are checked in the corresponding entry of searchColumns Array.

Type:

Returns a Row of the same type that was defined when the table was created.

Type:

Type:

Type: The text that shall be verified in the cell.

Type:

GetRow
ImageReference
Boolean
TestStepAbortedException
String
Boolean
TestStepAbortedException
String
Boolean
TestStepAbortedException
String
Boolean
GetRow(TColumn, ImageReference, bool, ImageDetectionParameters)
GetRow(TColumn, string, bool, OcrEngineParameters)
TRow
TRow
TRow
TColumn
TRow
TColumn
TColumn
TColumn
TColumn
TRow