Table

Keyword: CELLCLICK

Description: This keyword or action instructs ICE to perform click operation on the table cell given in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

cellClick

<row number>; <column number>; <Object_Type_Input (Optional)>; <Index (Optional)>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

Note: Input Syntax-

S. No.

Object Type

Object_Type_Input

1

Button

button

2

Image

img

3

Checkbox

checkbox

4

RadioButton

radiobutton

5

Link

link

6

Textbox

textbox

7

Div

div

8

Span

span

Object_Type_Input: Object type of the cell for which click action is to be performed. Index: Index of the object in the cell. Index starts with 1 (default index).

For example: If there are two buttons in a table cell (2, 3), to perform click operation on the second button, user should provide input in the following format- 2; 3; button; 2

Find the snippet of the keyword below:

In the above example, after the test case debug, it will perform click operation on the table cell given in the input and the execution status “True”/ “False” will be stored in variable {click}.

Keyword: GETCELLVALUE

Description: This keyword or action instructs ICE to fetch the value present in the specified cell of the table and save the result in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getCellValue

<Row>; <Column>

{Variable}; {Status}

  • Text

  • Static Values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, it fetches the value present in the specified cell of the table and saves it in variable {get} and the execution status “True”/ “False” will be stored in variable {getCell}.

Keyword: GETCOLNUMBYTEXT

Description: This keyword or action instructs ICE to fetch column number of the given input text and save the result in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getColNumByText

<Input Text>

{Variable}; {Status}

  • Text

  • Static Values

  • Dynamic Variables

Note:

  1. If multiple matches found, user should display/ use the values using array. For Ex: {Variable[0]};{Variable[1]}

  2. This keyword requires exact match. Due to browser rendering, if the value contains trailing/leading spaces, the keyword will fail.

  3. This keyword will pass only if the input value matches the values present in the application under test.

  4. User can get the row/column number using partial/complete text.

Find the snippet of the keyword below:

In the above example, after the test case debug, it fetches the column number of the given input text and stores it in {ColByText} and the execution status “True”/ “False” will be stored in variable {colbyText_Status}.

Keyword: GETCOLUMNCOUNT

Description: This keyword or action instructs ICE to fetch the count of the total number of columns present in the table and save the result in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getColumnCount

NA

{Variable}; {Status}

NA

Find the snippet of the keyword below:

In the above example, after the test case debug, it gives the total number of column present in the table and stores it in {colCount} and the execution status “True”/ “False” will be stored in variable {column}.

Keyword: GETROWCOUNT

Description: This keyword or action instructs ICE to fetch the count of the total number of rows present in the table and save the result in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getRowCount

NA

{Variable}; {Status}

NA

Find the snippet of the keyword below:

In the above example, after the test case debug, it gives the total number of row present in the table and stores it in {rowCount} and the execution status “True”/ “False” will be stored in variable {row}.

Keyword: GETROWNUMBYTEXT

Description: This keyword or action instructs ICE to fetch row number of the given input text and save the result in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getRowNumByText

<Input Text>

{Variable}; {Status}

  • Text

  • Static Values

  • Dynamic Variables

Note:

  1. If multiple matches found, user should display/ use the values using array. For Ex: {Variable[0]};{Variable[1]}

  2. This keyword requires exact match. Due to browser rendering, if the value contains trailing/leading spaces, the keyword will fail.

  3. This keyword will pass only if the input value matches the values present in the application under test.

  4. User can get the row/column number using partial/complete text.

Find the snippet of the keyword below:

In the above example, after the test case debug, it fetches the row number of the given input text and stores it in {rowbyText} and the execution status “True”/ “False” will be stored in variable {rowbyText_Status}.

Keyword: GETSELECTED

Description: This keyword or action instructs ICE to fetch the selected value from the dropdown/list which is in the table cell.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getSelected

<row_num>; <col_num>; <dropdown/ listbox>; <elementIndex>

{Variable};{Status}

  • Text

  • Static Values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, it fetches the selected value from the dropdown/list which is in the table cell and stores it in variable {getselected} and the execution status “True”/ “False” will be stored in variable {Sel}.

Keyword: GETSTATUS

Description: This keyword or action instructs ICE to fetch the status of the radio button/checkbox which is in the table cell.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getStatus

<row_num>; <col_num>; <object_type>; <elementIndex>

{Variable}

  • Text

  • Static Values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, the operation will fetch the checkbox status and store it in variable {getStatus} and the execution status “True”/ “False” will be stored in variable {Status}.

Keyword: SELECTVALUEBYINDEX

Description: This keyword or action instructs ICE to select the options based on index value specified in input for dropdown/list.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

selectValueByIndex

<row_num>; <col_num>; <dropdown/ listbox>; <elementIndex>; <keywordInput>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

Note: Only numerical values are allowed in input. Index starts with “0” which will be the first value from the dropdown/list.

Find the snippet of the keyword below:

In the above example, after the test case debug, it selects the options based on the index value specified in input for dropdown/list and the execution status “True”/ “False” will be stored in variable {index}.

Keyword: SELECTVALUEBYTEXT

Description: This keyword or action instructs ICE to select the options based on the text provided in input for dropdown/list which is in the table cell.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

selectValueByText

<row_num>; <col_num>; <dropdown/ listbox>; <elementIndex>; <keywordInput>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, it selects the value from the dropdown based on the text provided in input and the execution status “True”/ “False” will be stored in variable {text}.

Keyword: VERIFYCELLVALUE

Description: This keyword or action instructs ICE to verify if the input value is present in the specified table cell.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

verifyCellValue

<Row>; <Column>; <Input Value>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, it verifies if the input value is present in the specified table cell and the execution status “True”/ “False” will be stored in variable {verify}.

Keyword: VERIFYTEXTEXISTS

Description: This keyword or action instructs ICE to verify if the text given in the input is present in the table.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

verifyTextExists

<Input Value>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, it verifies if the given text input is present in the table and the execution status “True”/ “False” will be stored in variable {textExist}.

Keyword: SELECTBYABSOLUTEVALUE

Description: This keyword or action instructs ICE to select the value from the dropdown based on the text provided in the input for dropdown/list which is in the table cell.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

selectByAbsoluteValue

<row_num>; <col_num>; <dropdown/ listbox>; <elementIndex>; <keywordInput (value/ option to be selected, exact text)>

{Variable}; {Status}

  • Text

  • Static Values

  • Dynamic Variables

Note:

  1. This keyword requires exact match. Due to browser rendering, if the value contains trailing/leading spaces, the keyword will fail.

  2. This keyword will pass only if the input value matches the values present in the application under test.

  3. This keyword selects the values given in the input. To see selected values, tester should use “getSelected” keyword after the select keyword.

Find the snippet of the keyword below:

In the above example, after the test case debug, it selects the value from the dropdown based on the text provided in the input which is in the table cell and the execution status “True”/ “False” will be stored in variable {SelText}.

Keyword: GETINNERTABLE

Description: This keyword or action instructs ICE to fetch the xpath of the inner table (dynamic tables) and save it as the reference variable in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getInnerTable

<row_num>; <col_num> (optional)

{Variable}; {Status}

  • Text

  • Static Values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, it saves the xpath of the inner table in the output variable {innerTable}.

Note: This output variable can be further referenced and operations on the inner table can be performed by passing this output variable as the input in @Object keywords.

Last updated