Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Multiexcerpt include macro
nameVerifyExistence
pageWebButton Actions

Multiexcerpt include macro
nameVerifyVisibility
pageWebButton Actions

StoreColumnCount

This action verifies stores the existence of column count of the specified table under the specified objectkey. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

existence

Value of this parameter can be true or false.
If True – checks if the object exists
If False – checks if the object does not exist

key

Enter the variable name to store table's column count.

Yes

String

row

Enter the row number whose column count you want to store.

Yes

String

Example:
VerifyExistence StoreColumnCount                            "key"             "True2"

VerifyVisibility

StoreRowCount

This action verifies stores the visibility row count of the specified objecttable under the specified key.  

Input Parameters:

VerifyVisibility

Parameter Name

Parameter Description

Mandatory

Data Type

visibility

Value of this parameter can be true or false.
If True – checks if the object is visible
If False – checks if the object is invisible

Yes

String

Example:

key

Enter the key name under which you want to store table's row count.

Yes

String


Example:
StoreRowCount                             "TrueKey"

On this page:

Table of Contents
maxLevel2
minLevel2
absoluteUrltrue

StoreColumnCount

StoreCellText

This action stores the column count text of the specified table in cell under the specified key. The key value can be retrieved using the key name. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

The variable name

to store the table's column count

in which the cell text is to be stored.

Yes

String

row

Row

The row

number whose column count has to be stored

number of the cell. Row number starts at 1.

Yes

String

Example:
StoreColumnCount      

Column

The column number of the cell. Column number starts at 1.

Yes

String


Example:
StoreCellText             "cellTextKey"                "key1"              "23"

StoreRowCount

ClickLinkAtCell

This action stores the row count of the specified table under the specified key.  clicks the link present in the specified cell.

This is applicable for tables having same number of columns in all the rows.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

The variable name to store the table's row count

Link

Enter the URL to be clicked.

Yes

String

Example:
StoreRowCount    

Row

Enter the row number of the cell in which the link is present. Row number starts at 1

Yes

String

Column

Enter the column number of the cell in which the link is present. Column number starts at 1

Yes

String


Example:
ClickLinkAtCell              "http://www.google.com"             "2"          "Key3"

StoreCellText

This action stores the text of a table cell in a variable. The stored value can be retrieved using the variable name. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

The variable name in which the cell text is to be stored.

Yes

String

Row

The row number of the cell. Row number starts at 1.

Yes

String

Column

The column number of the cell. Column number starts at 1.

Yes

String

Example:
StoreCellText                                              "cellTextKey"         "1"        "3"

ClickLinkAtCell

This action clicks the link present in the specified cell.

This is applicable for tables having same number of columns in all the rows
Note

If Link is an empty data ("" or $NULL$), and there are multiple links in the cell, then the first link in the cell will be clicked. If there is only one link in the cell, then the link will be clicked. However, if there is no link available in the cell, the action will fail with an error message that no link is available in the cell.

StoreRowNoOfCellText

This action stores the row number of the cell having the specified data in a specified column. This comparison is case-sensitive. When multiple cells in the column specified contain the expected data, then the first row number is stored under the specified key. This is also applicable for tables where each row in the table has different number of columns.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Link

Enter the URL to be clicked

Key

The variable in which the row number is to be stored.

Yes

String

Row

The row number of the cell in which the link is present. Row number starts at 1

cellText

Cell data to be searched for in the table.

Yes

String

Column

The column

Column number of the cell

in which the link is present

data to be searched for. Column number starts at 1.

Yes

String

Example:
ClickLinkAtCell StoreRowNoOfCellText                           "http://www.google.com" key"                   "2Testing"      "3"

Note

If Link is an empty data ("" or $NULL$), and there are multiple links in the cell, then the first link in the cell will be click. If there is only one link in the cell, then the link will be click. However, if there is no link available in the cell, the action will fail with an error message that no link is available in the cell.

StoreRowNoOfCellText

This action stores        "2"

Multiexcerpt include macro
nameClick
pageWebButton Actions

Multiexcerpt include macro
nameStorePropertyValue
pageWebButton Actions

ClickImageInCell

This action clicks the image from the specified cell. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

altorindex

Enter any of the attribute of the image. This can be alt or title. This parameter can also be an index. Index starts from 1. Following will be the preference in which the action will assume the incoming data:
If the data is a number then it will be considered as index, else, the first preference then goes to title. If an image with specified title is found then click, otherwise, search for an image with property. 
Alt = incoming data

Yes

String

Row

Enter the row number of the cell

having the specified data in specified column. This comparison is case-sensitive. When multiple cells in the column specified contain the expected data, then the first row number shall be stored in the variable. This can also be applicable for tables where each row in the table has different number of columns.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

The variable in which the row number is to be stored

in which the image is present. Row number starts at 1.

Yes

String

Column

Enter the column number of the cell in which the image is present.

Yes

String

cellText

Cell data to be searched for in the table.

Yes

String

Column

Column number of the cell data to be searched for. Column number starts at 1.

Yes

String

Example:
StoreRowNoOfCellText Example:
ClickImageInCell                            "key  "2"                   "Testing2"           "23"

Click

StoreRowNoContainingCellText

This action clicks the specified object.

This action does not have any parameter. 

Example:
Click

StorePropertyValue

This action stores the property value of the specified object against a key name. The stored value can be retrieved by using the key name.stores the row number of the cell whose data contains the text specified by the user. This comparison is case-sensitive .When multiple cells in the column specified contain the expected data, then the first row number shall be stored in the variable. This can also be applicable for tables where each row in the table has different number of columns. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

Key

Variable in which the property value

Enter the key name under which the row number will be stored.

Yes

String

Property

Property/attribute name of the object whose value needs to be stored.
This can be any apt attribute of that html object.
This action also supports "text" as the property. "Text" property will retrieve the inner text of an element

cellText

Enter the cell data you want to search in the table.

Yes

String

Column

Enter the column number of the cell in which the data is present.

Yes

String


Example:
StorePropertyValue StoreRowNoContainingCellText                   "key"                              "value"   "word"         "name2"

ClickImageInCell

SetTextinCellEdit

This action clicks sets text in the specified image in cell of the celltable. 

Input Parameters:

Row

The row number

Parameter Name

Parameter Description

Mandatory

Data Type

altorindex

This can be any of the attribute of the image alt or title. This parameter can also be an index[starting from 1].
Following will be the preference in which the action will assume the incoming data:
If the data is a number
Then it will be considered as index
Else
The first preference then goes to title. If an image with specified title is found then click else search for an image with property
Alt = incoming data

Yes

String

Row

Enter the row number of the cell in which you want to enter the data. Row number starts at 1.

Yes

String

Column

Enter the column number of the cell in which

the image is present. Row The column number of the cell in which the image is present

you want to enter the text. Column number starts at 1.

Yes

String

Column

text

Enter the text you want to enter in the cell.

Yes

String

Example:
ClickImageInCell SetTextinCellEdit                                       "2"   "3"             "2"          "3Qualitia"

StoreRowNoContainingCellText

SecureSetTextinCellEdit

This action stores the row number of the cell whose data contains the text specified by the user. This comparison is case-sensitive .When multiple cells in the column specified contain the expected data, then the first row no shall be stored in the variable. This can also be applicable for tables where each row in the table has different number of columns. Input Parameters:sets the specified text in the specified cell of the table. Once you move focus from the cell, Qualitia encrypts the text for security purpose.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

The variable in which the row number is to be stored

Row

Enter the row number of the cell in which you want to enter the text. Row number starts at 1.

Yes

String

cellText

Cell data to be searched for in the table

Column

Enter the column number of the cell in which you want to enter the text. Column number starts at 1.

Yes

String

Column

The column number of

text

Enter the text which you want to add in the cell in

which the data is presentYes

the specified format.

Format: Encrypt(<TEXT TO BE ADDED>)

No

String

Example:
StoreRowNoContainingCellText                     SetTextinCellEdit         "key3"            "word2"        "2Encrypt(Abc)"

SetTextinCellEdit

This action sets text in the specified cell of the table


Note

When the focus is moved away from the parameter, Qualitia will automatically encrypt the data ABC and result in a secured text like "vHpmlfI4R3PQkCN4sZnuqw==þNWE3ZDdkNjE3N2JmNDM2ODgxMzQwYWI1MTA3YWNjMDc="

DeSelectCheckBoxInCell

This action deselects the check box from the specified table cell. This can also be applicable for tables where each row in the table have different number of columns.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Row

The

Enter the row number

of the cell in which the text is to be entered

from where you want to select the check box. Row number starts at 1.

Yes

String

Integer

Column

The

Enter the column number

of the cell in which the text is to be entered. Column

text

The text data to be entered in the cell.

Yes

String

from where you want to select the check box. Row number starts at 1.

Yes

String

Integer

Example:
SetTextinCellEdit DeSelectCheckBoxInTableCell                                    "32"       "2"    "Qualitia5"

SecureSetTextinCellEdit


This action sets secured text in the specified cell of the table.Input Parameterswill deselect the check box present in the second row and the fifth column cell in the table. If the check box is already deselected then the action will pass.

CompareRowData

This action compares the entire record in the specified row with the expected array data.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Row

The

Enter the row number

of the cell in which the text is to be entered

from which you want to compare the data. Row number starts

at

from 1.

Yes

String

Integer

Column

The column number of the cell in which the text is to be entered. Column number starts at 1

rowData

Enter the entire row data expected to be present in a specified row. Separate multiple items with carat (^) operator.

Yes

String

Array.

text

Needs to use Encrypt to enclose the Text that needs to be secured

NO

String

Example:
SetTextinCellEdit Example:
Consider a table containing the data India, Australia, England in row 2. If this data needs to be verified, the action can be used as follows.

CompareTableRowData           "32"             "2"        "Encrypt(Abc)"India^Australia^ England"

note

CompareColumnData

When the focus is moved away from the parameter Qualitia will automatically encrypt the data ABC and result in a secured text like "vHpmlfI4R3PQkCN4sZnuqw==þNWE3ZDdkNjE3N2JmNDM2ODgxMzQwYWI1MTA3YWNjMDc="

DeSelectCheckBoxInCell

This action deselects the check box in the specified table cell. This can also be applicable for tables where each row in the table have different number of columnsThis action compares the entire record in the specified column with the expected array data.

This is only applicable for tables having the same number of columns in all the rows.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Row

The row number to refer to a particular cell of table where a checkbox is expected to be present. Row number starts at

Column

Enter the column number of table from which you want to compare the data. Column starts from 1.

Yes

Integer

Column

colData

The column number to refer to a particular cell of table where a checkbox is

Enter the entire column data expected to be present

. Column number starts at 1.

in a specified column. Separate multiple items with carat (^) operator. 

Yes

Integer

Array

Example:
DeSelectCheckBoxInTableCell                     Consider a table containing the data India, Australia, England in Column 4. If this data needs to be verified, the action can be used as follows:
CompareColumnData                        "24"                  "5India^Australia^ England"

VerifyDataExistenceInColumn

This will deselect the checkbox present in the second row and the fifth column cell action verifies the existence of the expected data in the specified column. The expected data can be a sub-list of the actual column data in the table. If the checkbox is already deselected, then the action will pass.

CompareRowData

This action compares the entire record in the specified row with the expected array data

This is only applicable for tables having the same number of columns in all the rows.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Row

Column

Row number in which data will be compared. Row number starts from

Enter the column number table where you want to verify the data. Column number starts at 1.

Yes

Integer

rowData

The entire row data expected

data

Enter the data to be

present

searched in a

specified row.
This is an array data hence it will be de markated by ^

column. Separate multiple items with carat (^) operator. 

Yes

Array

existence

Value of this parameter can be either true or false.

  • Set True if you want to check the existence.
  • Set False if you want to check the non-existence.

Yes

Array.

String

Example:
Consider a table containing the data India, Australia, England in row 2. If this data needs to be verified, the action can be used as follows. CompareTableRowData VerifyDataExistenceInColumn       "2"         "India^Australia^ England"

CompareColumnData

This action compares the actual data from the specified column in a table with the specified array data. This is only applicable for tables having same number of columns in all the rows.

   "Test"          "True" 

This will verify if the data Test is present in the column 2 of the table.

VerifyDataExistenceInColumn        "2"            "Test"       "False"

This will verify if the data Test is not present in the column 2 of the table.

StoreInstanceOfDataFromColumn

This action stores the number of occurrences of the specified data in columns. The data comparison is case-sensitive.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

Column

Column number of table in which the data will be compared. Column starts from

Enter the key name under which you want to store the occurrences.

Yes

String 

Column

Enter the column number where you want to search the data. Column number starts at 1.

Yes

Integer

colData

The entire column data expected to be present in a

Data

Enter the data you want to search in the specified column.

This is an array data hence it will be demarcated by ^.

Yes

Array

String

Example:
Consider a table containing the data
India, Australia, England in Column 4. If this data needs to be verified, the action can be used as follows
CompareColumnData StoreInstanceOfDataFromColumn          "result"                          "4   "3"         "India^Australia^ EnglandQualitia"

VerifyDataExistenceInColumn

StoreRowNumWithRowData

This action verifies whether the expected data exists in the specified column. The expected data can be sub-list of the actual column data in the table.This is only applicable for tables having same number of columns in all the rowsstores the row number of the table which contains the specified data.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Column

The column number to refer to a particular cell of table where the data is to be searched. Column number starts at 1

rowData

Enter the entire row data expected to be present in a specified row.
Separate multiple items with carat (^) operator.

Yes

Integer

Array

data

Data to be searched in a column. Multiple items can be separated with the (^).

Yes

Array

existence

Data type of this parameter can be true or false.
If True – checks if the data exists.
If False – checks if the data does not exist.

Yes

String

Example:
VerifyDataExistenceInColumn       "2"

Key

Enter the key name under which the row number will be stored.

Yes

String

Example:
Consider a table containing the following data:

  • India is in column 1 of a row,
  • Australia is in column 3 of the same row,
  • England is in column 6 of the same row,

If the row number for this entry is to be retrieved, the action can be used as follows:

StoreRowNumWithRowData                  "Test1^India^3^Australia^6^ England"          "TrueRowNumber" 

This Thus it will verify if check the data Test is present "India" in the first column 2 of the table.

VerifyDataExistenceInColumn        "2"            "Test"       "False"

This will verify if the data Test is not present in the column 2 of the table.

StoreInstanceOfDataFromColumn

This action stores the number of occurrences of the specified data in columns. The data comparison is case-sensitive, "Australia" in the third column and "England" in the 6th column in a particular row. Thus, the data needs to be present in the same row.

SelectCheckboxInCell

This action selects a check box from the specified cell of the table. This can also be applicable for tables where each row in the table have different number of columns.

This step will pass if the check box is already selected.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

The variable in which the number of occurrences will be stored.

Yes

String 

Column

The column number to refer to a particular cell of table where the data is to be searched. Column

Row

Enter the row number of the cell from which you want to select the checkbox. Row number starts at 1.

Yes

Integer

String

Data

Data to be searched in a column

column

Enter the column number of the cell from which you want to select the checkbox. Column number starts at 1.

Yes

String

Example:
StoreInstanceOfDataFromColumn SelectCheckboxInCell          "result"       "3" 2"         "Qualitia3"

StoreRowNumWithRowData

VerifyImageInCell

This action stores the row number of the table which contains the specified row dataverifies that the image present in the specified cell is having the specified scr/title attribute.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

rowData

Row

The entire row data expected to be present in a specified row.
The data needs to be separated using Caret (^)

Enter the row number of the cell from which you want to verify the image. Row number starts at 1.

Yes

Array

String

Key

The variable in which the row number is to be stored

column

Enter the column number of the cell from which you want to verify the image. Column number starts at 1.

Yes

String

Example:
Consider a table containing the data
India is in column 1 of a row,
Australia is in column 3 of the same row,
England is in column 6 of the same row,
If the row number for this entry is to be retrieved, the action can be used as follows

StoreRowNumWithRowData

ScrTitle

Enter either the scr or title data of the image.
First the source property will be compared with the actual source and if not present then the title property will be verified.

Yes

String

Example:
VerifyImageIncell              "4"                       "6"         "1^India^3^Australia^6^ England"    "rowNo"

Thus it will check the data "India" in the first column of the table, "Australia" in the third column and "England" in the 6th column in a particular row. Thus, the data needs to be present in the same row.

SelectCheckboxInCell

This action selects a checkbox from the specified cell of the table. This can also be applicable for tables where each row in the table have different number of columnsReview"

Multiexcerpt include macro
nameClickAt
pageWebButton Actions

VerifyLinkTitleAtCell

This action verifies title of link in the given cell. It does not perform an exact match. It performs a contain match.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Row

The

link

Enter the title data of the link.

Yes

String

row

Enter the row number of the cell in which

the checkbox to be clicked is present

you want to verify the link. Row number starts at 1.

Yes

String

column

The

Enter the column number of the cell in which

the checkbox to be clicked is present. Column

you want to verify the link. Column number starts at 1.

Yes

String

Example:
SelectCheckboxInCell
VerifyLinkTitleAtCell                     "2ClickHere"        "3"

If the check box is already selected, the action will pass.

VerifyImageInCell

This action verifies that the image present in the specified cell is having the specified scr/title attribute      "5"      "10"

ClickCell

This action clicks the specified cell from the table.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Row

row

The

Enter the row number of the cell

in

which

the image is to be verified

you want to click. Row number starts at 1.

Yes

String

column

The

Enter the column number of the cell

in

which

the image is to be verified. Column

you want to click. Column number starts at 1.

Yes

String

ScrTitle

Either the scr/title data of the image.
The order of precedence is, first verify the source property with the actual source, if not present then verify the title property.

Yes

String

Example:
VerifyImageIncell          
ClickCell                  "45"            "6"        "Review10"

ClickAt

ClickRadioButtonInCell

This action clicks at the particular point on the object.
Input a radio button in the specified cell of the table. This can also be applicable for tables where each row in the table has different number of columns.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

X

The X-coordinate of the click.

row

Enter the row number of the cell from which you want to click the radio button. Row number starts at 1.

Yes

String

Y

The Y-coordinate of the click

column

Enter the column number of the cell from which you want to click the radio button. Column number starts at 1.

Yes

String

Example:
ClickAt ClickRadioButtonInCell                "52"            "103"

VerifyLinkTitleAtCell

StoreTableData

This action verifies title of link in the given cell. It does not perform an exact match. It performs a contains matchstores the data of multiple columns of the table into the specified file.

You may use the parameter "noOfPageNext"  if you want to store the data laid out in the table across multiple pages.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

link

locatorOfPageNext

Title data of the link

Yes

String

row

The row number of the cell in which the link title is to be verified. Row number starts at 1.

Enter the locator of the object which is used to navigate to the next page. If the table is not to be navigated, then this parameter can be "". The locator has to be only an XPATH

Yes

String

column

The column number of the cell in which the link title is to be verified. Column number starts at 1.

Yes

String

Example
VerifyLinkTitleAtCell ClickHere                                "5"      "10"

ClickCell

This action clicks at the specified cell in the table.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

row

The row number of the cell that is to be clicked. Row number starts at 1.

Yes

String

column

The column number of the cell that is to be clicked. Column number starts at 1.

Yes

String

Example
ClickCell   "5"      "10"

ClickRadioButtonInCell

This action clicks a radio in the specified cell of the table. This can also be applicable for tables where each row in the table has different number of columns.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

row

The row number of the cell in which the radio button to be clicked is present. Row number starts at 1.

Yes

String

column

The column number of the cell in which the radio button to be clicked is present. Column number starts at 1.

Yes

String

Example:
ClickRadioButtonInCell                "2"            "3"

StoreTableData

This action stores the data of multiple columns in a table into a file. To store the data laid out in the table across multiple pages, the parameter "noOfPageNext" can be used.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

locatorOfPageNext

The locator of the object which is used to navigate to the next page. If the table is not to be navigated, then this parameter can be "". The locator has to be only an XPATH

Yes

String

columsToStore

The index of columns whose data needs to be stored in the file. If multiple columns need to be stored, then separate the column index with the carat operator

Yes

Array

noOfPageNext

To store the data laid out in a table across multiple pages, set the no of times page next needs to be clicked. If only the current page table data needs to be stored, this parameter should be set to "0".

Yes

String

fileToStore

The complete path of the file which in which the data needs to be stored. The file types supported are xml, xmls and txt. The valid extensions are
For text file - .txt
For xml file- .xml
For excel file- .xls

Yes

String

Example
StoreTableData                                            "//[@id=":cf"]"        "1^2^3 2"                "0"      "C:\DBResults\Excel\ORACLE\Result.xls"

StoreColumnNumber

This action stores the column number with the specified column name. This is only applicable for tables having same number of columns in all the rows.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

The variable in which the column number is to be stored

Yes

String

columnName

The name of the column whose number is to be stored

No

String

Example:
StoreColumnNumber            "key"         "Column 1"

WaitForObject

This action waits for the object to exist or not exist for the maximum no of seconds specified.

If the object is found or not found before the maximum time specified, the action shall stop waiting.

If the wait time is "" then the wait time shall be the "Sync Time" time set on the Qualitia Configuration (Execution) window

columsToStore

Enter the index of columns whose data you want to store in the file. In you want to store multiple columns, separate the column index with the carat (^) operator.

Yes

Array

noOfPageNext

Set the number of times page next needs to be clicked to store the data laid out in a table across multiple pages. If only the current page table data needs to be stored, this parameter should be set as "0".

Yes

String

fileToStore

Enter the complete path of the file in which you want to store the data. The file types supported are .xml, .xls, and .txt.

Yes

String


Example
StoreTableData                                            "//[@id=":cf"]"        "1^2^3 2"                "0"      "C:\DBResults\Excel\ORACLE\Result.xls"

StoreColumnNumber

This action stores the column number with the specified column name. This is only applicable for tables having same number of columns in all the rows.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

waitTime

The maximum no of seconds to wait for the object to exist or not exist 
This has to be 0 ,"",or a positive integer valueYes

key

Enter the key name under which you want to store the column name.

Yes

String

existence

Boolean value to specify if the object should exist or not.

columnName

Enter the column name whose number you want to store. 

No

String

Example:
WaitForObject           "10" StoreColumnNumber              "true"
The action shall wait for maximum 10 seconds for the object to exist. If the object exists before 10 seconds elapses, the wait shall be over.
WaitForObject         "15"   "key"         "False"
The action shall wait for maximum 15 seconds for the object not to exist. If the object does not exist before 15 seconds elapses, the wait shall be over.Column 1"

Multiexcerpt include macro
nameWaitForObject
pageWebButton Actions

StoreColumnData

This action stores the column data of the specified column number. This is only applicable for tables having same number of columns in all the rows.

The data is separated by caret (^). 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

The variable in which

Enter the key name under which you want to store the column number

is to be stored

.

Yes

String

column

The

Enter the column number of the cell whose data

need

you want to

be stored

store. Column number starts at 1.

Yes

String

Example:
StoreColumnData        "key"         "2"

StoreRowData

This action stores the row data of the column for from the specified row number.

The data is separated by caret (^). 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

The variable in which the row data is to be stored

Enter the key name under which you want to store data from row. 

Yes

String

row

The

Enter the row number of the cell whose data

need

you want to

be stored

store. Row number starts at 1.

Yes

String

Example:
StoreRowData                           "key"     "2"

VerifyDataExistenceInRow

This action verifies whether the existence of the expected specified data exists in the specified row. The expected data can be a sublist sub-list of the actual column data in the table.

This is only applicable for tables having same number of columns in all the rows.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Row

The

Enter the row number

to refer to a particular cell

of the table where

the data is to be searched.
Row number starts at

you want to verify the existence. Row number starts from 1.

Yes

Integer

rowData

Data

Enter the data to be searched in a

column

row.

Multiple

Separate multiple data

can be separated

with the caret (^) operator.

Yes

Array

existence

Data type

Value of this parameter can be either True or

false

False.

If
  • Set True
– checks
  • if
the data exists
If False – checks if the data does not exist

NO

TRUE

Example:
VerifyDataExistenceInRow             "2"        "Test"       "True"
This shall verify if the data Test is present in the row 2 of the table
  • you want to check for the existence. 
  • Set False if you want to check for the non-existence. 

No

String

Example:
VerifyDataExistenceInRow             "2"        "Test"       "FalseTrue"
This shall verify if the data Test is not present in the row 2 of the table

RightClick

This action right clicks the specified object. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

option

The context menu option number that needs to be clicked.

Yes

String

Example:
RightClick                         "3"

This will select the third option in the right click menu.

Multiexcerpt include macro
nameRightClick
pageWebElement Actions

StoreRowNumberHavingMinCellDataincolumn

This action stores the row number of the table which contains the minimum value of integer data in from the specified column specified by user.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

The variable in which

Enter the key name under which you want to store the row number

will be stored

.

Yes

String

Col

The column number to refer to a particular cell of table

Enter the column number where search for the minimum value. Column number starts at 1.

Yes

Integer

Example:
StoreRowNumberHavingMinCellDataincolumn                        "rowNorowNumber"              "4"

StoreRowNumberContainsMaximumValue

This action stores the row number of the table which contains the maximum value of integer data in the column specified by user.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

The variable in which

Enter the key name under which you want to store the row number

will be stored

.

Yes

String

Col

The column number to refer to a particular cell of table

Enter the column number where search for the maxmum value. Column number starts at 1.

Yes

String


Example:
StoreRowNumberContainsMaximumValue                 "rowNorowNumber"                 "2"

VerifyTableRowCount

This action verifies the actual row count of the specified table with the expected row count.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

rowCount

The

Enter the expected row count

that will be compared

which you want to compare with the actual row count. 

Yes

Integer


Example:
VerifyTableRowCount          "6"

VerifyCellText

This action verifies the actual data of the specified cell with the expected cell data.

This comparison is case-sensitive.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

data

The

Enter the data

or text

which

is

you want to

be verified

verify in the table cell.

Yes

String

Row

The

Enter the row number of the cell. Row number starts at 1

Yes

String

Col

The

Enter the column number of the cell. Column number starts at 1.

Yes

String

Example:
VerifyCellText          "Good Morning"         "2"        "3"

ClickLinkAtCellandchooseOkOnConfirmation

This action clicks a link in the specific cell of the table. This is applicable for tables having same number of columns in all the rows. After clicking the link, if an alert or confirmation comes up appears, this action will accept it by clicking on OK. If

This step fails if the link is clicked and no alert or confirmation comes up the action will failappears

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Link

The link url to be clicked

Enter the URL to click.

Yes

String

Row

The

Enter the row number of the cell

in which

where the link is present. Row number starts at 1.

Yes

String

Column

The

Enter the column number of the cell

in which

where the link is present. Column number starts at 1.

Yes

String


Example:
ClickLinkAtCellandchooseOkOnConfirmation ClickLinkAtCellandchooseOkOnConfirmation                                     "http://www.google.com"       "2"     "3"
Note: If Link is an empty data ("" or $NULL$), and there are multiple links in the cell, then the first link in the cell will be click. If there are multiple links in the cell with the same text, then the first link will be clicked. However, if there is no link available in the cell, the action will fail with an error message that no link is available in the cell.

ClickAndWait

This action clicks the specified object and waits.

Example:
ClickAndWait

NoteIn Webdriver we wait for the document to come in ready state. If it is in ready state it is assumed that the page is loaded completely and Webdriver will stop waiting. The condition to wait till the document is in ready state and assume that the page is loaded could however not work as expected at all times.

, if there is no link available in the cell, the action will fail with an error message that no link is available in the cell.

Multiexcerpt include macro
nameClickAndWait
pageWebButton Actions

StoreRowNoContainingTextInArray

This action stores the row number which contains the combination of specified text given.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

The variable in which

Enter the key name under which you want to store the row number

will be stored

. 

Yes

String

cellText

The

Enter the text combination which

needs

you want to

be checked

check in the columns.

Yes

Array

Col

The column number of the cell in which you want to search the combination of data

combination is to be searched

. Column number starts at 1

Yes

String


Example:
StoreRowNoContainingTextInArray                             "rowNo"        "John^Smith"       "3"
This will search for the combination of John and Smith in the column 3 of the table for all the rows.The row which contains this combination will be stored in the key "rowNo"

GenerateAndStoreMaximumValue

This action fetches the column data having the maximum value. It then adds an increment value to it and stores it in a under the specified key.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

The variable in which

Enter the key name under which you want to store the maximum generated

data will be stored

value.

Yes

String

Col

The

Enter the column number of the cell

in

from which you want to find the maximum data

is to be found

. Column number starts at 1.

Yes

String

incr

The

Enter the value by which the maximum data found in the column is to be incremented/decremented.

If this value is "" empty string, then the default increment is 0.

NO

No

String

Example:
GenerateAndStoreMaximumNumber               "key"      "key"       "3"              "2"

ClickLinkAtCellTH

This action clicks a link in from the specific cell of the table header. This is applicable for tables having same number of columns in all the rows.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Link

The

Enter the link

url to be clicked
The data type is alphanumeric

to click.

No

String

Row

The

Enter the row number of the cell

in which

from the link is

present

to be clicked. Row number starts at 1.

Yes

-

String

Col

The column number of the cell

in

from which the link is

present

to be clicked. Column number starts at 1

Yes

-

string


Example:
ClickLinkAtCellTH                                    "http://www.google.com"                   "2"                "3"
Note: If Link is an empty data ("" or $NULL$), then the first link in the cell will be click. If there are multiple links with the same text then the first link will be clicked. However, if there is no link available in the cell, the action will fail with an error message that no link is available in the cell.

ClickLinkTitleAtCell

This action clicks a link based on the title in the specific cell of the table. This is applicable for tables having same number of columns in all the rows.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Link

The

Enter the link title which you want to

be clicked

click.

Yes

String

Row

The

Enter the row number of the cell

in which

from the link is

present

to be clicked. Row number starts at 1.

Yes

String

Col

The column number of the cell

in

from which the link is

present

to be clicked. Column number starts at 1.

Yes

String


Example:
ClickLinkTitleAtCell         "google"       "2"      "3"
Note: If Link is an empty data ("" or $NULL$), and there are multiple links in the cell, then the first link in the cell will be clicked. However, if there is no link available in the cell, the action will fail with an error message that no link is available in the cell.

ClickCheckboxInCellTH

This action selects the checkbox in check box from the specified header of the table.

This step will pass if the check box is already selected.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Row

The

Enter the \row number of the cell

in

from which the checkbox is to be clicked

is present

. Row number starts at 1.

Yes

String

Column

The

Enter the column number of the cell

in

from which the checkbox to be clicked

is present

. Column number starts at 1.

Yes

String

Example:
SelectCheckboxInCell             "2"              "3" If the check box is already selected, the action shall pass.

ClickImageInCellTH

This action clicks the image in the specified cell of the table. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

alt_title

This can be any of

Enter the attribute of the image alt or title.


Following will be the preference in which the action will assume the incoming data:
First

 First preference then goes to title

. If

and if an image with specified title is found then click, else, search for an image with property


Alt

. Alt = incoming data

Yes

String

Row

The row number of the cell in which the image is present. Row number starts at 1

Yes

String

Col

The column number of the cell in which the image is present

Yes

String

Example:

ClickImageInCellTH                     "2"        "2"       "3"

StoreExistence

This action stores the existence of an object under the specified key. The key value can be retrieved using the key name.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

The variable in which the existence (true/false) of the object is stored.

Enter the row number of the cell from which the image is to be clicked. Row number starts at 1.

Yes

String

Col

Enter the column number of the cell from which the which the image is to be clicked. 

Yes

String

Example:

StoreExistence ClickImageInCellTH          "2"        "2"             "Key3"

StoreChildCount

This action stores the child count of the specified object under the key name. The key value can be retrieved using the key name.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

The variable in which the child count will be saved.

Yes

String

Example:

StoreChildCount                               "Key"

ScrollIntoView

This action scrolls to view the specified object. 

This action does not have any parameters. 

Example:

ScrollIntoView

Multiexcerpt include macro
nameStoreExistence
pageWebButton Actions

Multiexcerpt include macro
nameStoreChildCount-withoutlocator
pageWebButton Actions

Multiexcerpt include macro
nameScrollIntoView
pageWebButton Actions

Multiexcerpt include macro
nameActionClick
pageWebButton Actions

Multiexcerpt include macro
nameClickJS
pageWebButton Actions