FPSpreadFunctions

Last Updated:

Functions and Actions for FarPoint Spread objects.

This is not supported by Rational Robot out-of-the-box. You need a proxy from one of IBM's 3rd party partners for this to work. This proxy requires at least version 2003.06.15 of Robot.

[How To Read This Reference]
CaptureRangeToFile
RC
Capture the grid data to the specified file. For now, it can only be used to capture all of the grid data.
ClickCell
RC
Attempts to perform a single click on a table cell.
CtrlClickCell
RC
Attempts to perform a single Ctrl+Click on a table cell.
DoubleClickCell
RC
Attempts to perform a double click on a table cell.
FindRowNumber
RC
Search specified columns for the specified text. Assign the matching row number to the given variable.
RightClickCell
RC
Attempts to perform a single right click on a table cell.
ShiftClickCell
RC
Attempts to perform a single SHIFT+Click on a table cell.
VerifyCellText
RC
Verify a specific cell's text.

FPSpreadFunctions::CaptureRangeToFile
RC

Capture the grid data to the specified file. For now, it can only be used to capture all of the grid data.



Fields: [ ]=Optional with Default Value
  1. CapturedFile
    The name of the file used to save the captured data.

    Typically, the captured file is stored in the Datapool\Test directory. Captured files will be TAB delimited files. This action only captures the data, it does not verify it against a benchmark file.

Examples:
[How To Read This Reference]

FPSpreadFunctions::ClickCell
RC

Attempts to perform a single click on a table cell.

The cell to click is provided in separate row and col parameters. Missing parameters indicate index=1. The indexes are 1-based. That is, the first row is row 1. The first col is col 1.

The row headers, whether visible or not, are considered column 0. The column headers, whether visible or not, are considered row 0.



Fields: [ ]=Optional with Default Value
  1. [ row = ]
    The 1-based logical row to click.

    If no row is provided then row=1 is assumed. Row=0 is used for column headers.

  2. [ col = ]
    The 1-based logical col to click.

    If no col is provided then col=1 is assumed. Col=0 is used for row headers.

Examples:
[How To Read This Reference]

FPSpreadFunctions::CtrlClickCell
RC

Attempts to perform a single Ctrl+Click on a table cell.

The cell to click is provided in separate row and col parameters. Missing parameters indicate index=1. The indexes are 1-based. That is, the first row is row 1. The first col is col 1.

The row headers, whether visible or not, are considered column 0. The column headers, whether visible or not, are considered row 0.



Fields: [ ]=Optional with Default Value
  1. [ row = ]
    The 1-based logical row to Ctrl+Click.

    If no row is provided then row=1 is assumed. Row=0 is used for column headers.

  2. [ col = ]
    The 1-based logical col to Ctrl+Click.

    If no col is provided then col=1 is assumed. Col=0 is used for row headers.

Examples:
[How To Read This Reference]

FPSpreadFunctions::DoubleClickCell
RC

Attempts to perform a double click on a table cell.

The cell to double click is provided in separate row and col parameters. Missing parameters indicate index=1. The indexes are 1-based. That is, the first row is row 1. The first col is col 1.

The row headers, whether visible or not, are considered column 0. The column headers, whether visible or not, are considered row 0.



Fields: [ ]=Optional with Default Value
  1. [ row = ]
    The 1-based logical row to double click.

    If no row is provided then row=1 is assumed. Row=0 is used for column headers.

  2. [ col = ]
    The 1-based logical col to double click.

    If no col is provided then col=1 is assumed. Col=0 is used for row headers.

Examples:
[How To Read This Reference]

FPSpreadFunctions::FindRowNumber
RC

Search specified columns for the specified text. Assign the matching row number to the given variable.

Multiple (column, search text) pairs can be used as parameters to find the matching row. The search column and the search text parameters should have the same number of parameters and are expected to work in parallel (the first search text is looked for in the first column listed). The column name and search text parameters, if more than one, use the delimiter specified to show the separation in the string.

Fields: [ ]=Optional with Default Value
  1. rowVarName
    The name of the variable to store the row number into.



  2. startingRow
    The row to use to begin the search. Defaults to row 1.



  3. searchColumns
    The string of column names where you want to search.

    You can have just a single column name, or multiple column names separated by the specified delimiter.

  4. [ searchText = ]
    The string of search strings used to search in each specified column names.

    The number of search strings you have should be equal to the number of search columns that you have.

  5. DELIMITER
    Delimiter used by the search columns and search text to separate the different columns/text.



Examples:
[How To Read This Reference]

FPSpreadFunctions::RightClickCell
RC

Attempts to perform a single right click on a table cell.

The cell to click is provided in separate row and col parameters. Missing parameters indicate index=1. The indexes are 1-based. That is, the first row is row 1. The first col is col 1.

The row headers, whether visible or not, are considered column 0. The column headers, whether visible or not, are considered row 0.



Fields: [ ]=Optional with Default Value
  1. [ row = ]
    The 1-based logical row to right click.

    If no row is provided then row=1 is assumed. Row=0 is used for column headers.

  2. [ col = ]
    The 1-based logical col to right click.

    If no col is provided then col=1 is assumed. Col=0 is used for row headers.

Examples:
[How To Read This Reference]

FPSpreadFunctions::ShiftClickCell
RC

Attempts to perform a single SHIFT+Click on a table cell.

The cell to click is provided in separate row and col parameters. Missing parameters indicate index=1. The indexes are 1-based. That is, the first row is row 1. The first col is col 1.

The row headers, whether visible or not, are considered column 0. The column headers, whether visible or not, are considered row 0.



Fields: [ ]=Optional with Default Value
  1. [ row = ]
    The 1-based logical row to SHIFT+Click.

    If no row is provided then row=1 is assumed. Row=0 is used for column headers.

  2. [ col = ]
    The 1-based logical col to SHIFT+Click.

    If no col is provided then col=1 is assumed. Col=0 is used for row headers.

Examples:
[How To Read This Reference]

FPSpreadFunctions::VerifyCellText
RC

Verify a specific cell's text.



Fields: [ ]=Optional with Default Value
  1. ExpectedCellText
    The expected text value of the specified cell.



  2. [ row = ]
    The 1-based logical row to verify.

    If no row is provided then row=1 is assumed. Row=0 is used for column headers.

  3. [ col = ]
    The 1-based logical col to verify.

    If no col is provided then col=1 is assumed. Col=0 is used for row headers.

Examples:
[How To Read This Reference]