StoreCellText
This action stores the
text of the specified table
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 |
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.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
key
Link | Enter the URL to be clicked. | Yes | String |
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" "
3"
On this page:
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
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
StoreCellText
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 |
---|---|---|---|
Key | The variable in which the row number is to be stored. | 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 "key" "cellTextKeyTesting" "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.2"
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
ClickImageInCell
This action clicks the image from the specified cell.
Input Parameters:
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 columnParameter Name | Parameter Description | Mandatory | Data Type |
---|
altorindex | Enter |
Yes
String
Row
The row number of the cell in which the link is present. Row number starts at 1
Yes
String
Column
The column number of the cell in which the link is present. Column number starts at 1
Yes
String
ClickLinkAtCell "http://www.google.com" "2" "3"
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: | Yes | String | |
Row | Enter the row number of the cell 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 |
Example:
ClickImageInCell "2" "2" "3"
StoreRowNoContainingCellText
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 number is 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 |
Enter the key name under which the row number |
will be stored. | Yes | String |
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:
StoreRowNoOfCellText StoreRowNoContainingCellText "key" "Testingword" "2"
SetTextinCellEdit
This action clicks sets text in 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.
Input Parameters:
Parameter Name
Parameter Description
Mandatory
Data Type
key
cell of the table.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
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 you want to enter the text. Column number starts at 1. | Yes | String |
Property
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.
text | Enter the text you want to enter in the cell. | Yes | String |
Example:
StorePropertyValue SetTextinCellEdit "3" "value2" "nameQualitia"
SecureSetTextinCellEdit
This action clicks sets the specified image 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 |
---|
altorindex
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
Row | Enter the row number of the cell in which you want to enter the text. Row number starts at 1. | Yes | String |
Column | Enter the column number of the cell in which you want to enter the text. Column number starts at 1. | Yes | String |
Row
text | Enter the text which you want to add in the cell in |
the |
Yes
String
Column
The column number of the cell in which the image is present
Yes
specified format. Format: Encrypt(<TEXT TO BE ADDED>) | No | String |
Example:
ClickImageInCell SetTextinCellEdit "2" "3" "2" "3Encrypt(Abc)"
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 has have different number of columns.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
Key
Row | Enter the row number |
Yes
String
cellText
Cell data to be searched for in the table
Yes
String
Column
The column number of the cell in which the data is present
Yes
String
StoreRowNoContainingCellText
from where you want to select the check box. Row number starts at 1. | Yes | Integer | |
Column | Enter the column number from where you want to select the check box. Row number starts at 1. | Yes | Integer |
Example:
DeSelectCheckBoxInTableCell "key" "word2" "25"
SetTextinCellEdit
This action sets text in the specified cell of the table.
This will 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 |
Enter the row number |
from which you want to compare the data. Row number starts |
from 1. | Yes |
Integer |
Column
rowData | Enter the entire row data expected to be present in a specified row. Separate multiple items with carat (^) operator. | Yes |
Array. |
text
The text data to be entered in the cell.
Yes
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 "2" "3" "2" "Qualitia"
SecureSetTextinCellEditIndia^Australia^ England"
CompareColumnData
This action sets secured text compares the entire record in the specified cell of the tablecolumn 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 | Enter the column number of table from which you want to compare the data. Column starts from 1. | Yes |
Integer |
colData |
The column number of the cell in which the text is to be entered. Column number starts at 1.
Yes
String
text
Needs to use Encrypt to enclose the Text that needs to be secured
NO
String
SetTextinCellEdit "3"
Enter the entire column data expected to be present in a specified column. Separate multiple items with carat (^) operator. | Yes | Array |
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 "24" "Encrypt(Abc) "India^Australia^ England"
VerifyDataExistenceInColumn
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 columns.This 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.
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 | Enter the column number table where you want to verify the data. Column number starts at 1. | Yes | Integer |
Column
The column number to refer to a particular cell of table where a checkbox is expected to be present. Column number starts at 1.
Yes
Integer
DeSelectCheckBoxInTableCell
data | Enter the data to be searched in a column. Separate multiple items with carat (^) operator. | Yes | Array |
existence | Value of this parameter can be either true or false.
| Yes | String |
Example:
VerifyDataExistenceInColumn "2" "2Test" "5True"
This will deselect the checkbox verify if the data Test is present in the second row and the fifth column cell in 2 of 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
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 |
---|
Row
Key | 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 |
rowData
This is an array data hence it will be de markated by ^
Data | Enter the data you want to search in the specified column. | Yes |
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 "2StoreInstanceOfDataFromColumn "result" "3" "India^Australia^ EnglandQualitia"
StoreRowNumWithRowData
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 rowsstores the row number of the table which contains the specified data.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
Column
rowData | Enter the entire row data expected to be present in a specified row. | Yes |
Array |
colData
This is an array data hence it will be demarcated by ^
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
CompareColumnData :
StoreRowNumWithRowData "41^India^3^Australia^6^ England" "India^Australia^ EnglandRowNumber"
VerifyDataExistenceInColumn
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 rowsThus 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 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 |
---|
Column
Row | Enter the row number of the cell from which you want to select the checkbox. Row number starts at 1. | Yes |
String |
data
column | Enter the column number of the cell from which you want to select the checkbox. Column number starts at 1. | Yes |
String |
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" "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 ParametersExample:
SelectCheckboxInCell "2" "3"
VerifyImageInCell
This action verifies that the image present in the specified cell is having the specified scr/title attribute.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
Key
Row | Enter the row number of the cell from which you want to verify the image. Row number starts at 1. | Yes |
String |
column |
Enter the column number |
of |
the cell from which you want to verify the image. Column number starts at 1. | Yes |
String |
Data
Data to be searched in a column.
Yes
String
StoreInstanceOfDataFromColumn
ScrTitle | Enter either the scr or title data of the image. | Yes | String |
Example:
VerifyImageIncell "result4" "36" "Qualitia"
Review"
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
VerifyLinkTitleAtCell
This action stores the row number of the table which contains the specified row data.
Input Parameters:
Parameter Name
Parameter Description
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 |
---|
rowData
The data needs to be separated using Caret (^)
link | Enter the title data of the link. | Yes |
String |
Key
row | Enter the row number |
of the cell in which you want to verify the link. Row 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
column | Enter the column number of the cell in which you want to verify the link. Column number starts at 1. | Yes | String |
Example
VerifyLinkTitleAtCell "ClickHere" "1^India^3^Australia^6^ England5" "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 columns.
Input Parameters:
10"
ClickCell
This action clicks the specified cell from the table.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
row |
Enter the row number of the cell |
which |
you want to click. Row number starts at 1. | Yes | String |
column |
Enter the column number of the cell |
which |
you want to click. Column number starts at 1. | Yes | String |
Example:
SelectCheckboxInCell ClickCell "25" "310"
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
ClickRadioButtonInCell
This action clicks 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 |
---|
row |
Enter the row number of the cell |
from which |
you want to click the radio button. Row number starts at 1. | Yes | String |
column |
Enter the column number of the cell |
from which |
you want to click the radio button. 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 Example:
ClickRadioButtonInCell "42" "6" "Review3"
StoreTableData
This action clicks at the particular point on the object.
stores 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 |
---|
X
locatorOfPageNext | 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 |
Y
The Y-coordinate of the click.
Yes
String
Example
ClickAt "5" "10"
VerifyLinkTitleAtCell
This action verifies title of link in the given cell. It does not perform an exact match. It performs a contains match.
Input Parameters:
Parameter Name
Parameter Description
Mandatory
Data Type
link
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.
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
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) windowcolumsToStore | 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
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 | ||||
---|---|---|---|---|
|
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 |
Enter the key name under which you want to store the column number |
. | Yes | String |
column |
Enter the column number of the cell whose data |
you want to |
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 |
Enter the key name under which you want to store data from row. | Yes | String |
row |
Enter the row number of the cell whose data |
you want to |
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 |
Enter the row number |
of the table where |
Row number starts at
you want to verify the existence. Row number starts from 1. | Yes | Integer |
rowData |
Enter the data to be searched in a |
row. |
Separate multiple data |
with the caret (^) operator. | Yes | Array |
existence |
Value of this parameter can be either True or |
False. |
|
|
If False – checks if the data does not exist
NO
TRUE
VerifyDataExistenceInRow "2" "Test" "True"
This shall verify if the data Test is present in the row 2 of the table
| 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 | ||||
---|---|---|---|---|
|
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 |
Enter the key name under which you want to store the row number |
. | Yes | String |
Col |
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 |
Enter the key name under which you want to store the row number |
. | Yes | String |
Col |
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 |
Enter the expected row count |
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 |
Enter the data |
which |
you want to |
verify in the table cell. | Yes | String |
Row |
Enter the row number of the cell. Row number starts at 1 | Yes | String |
Col |
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 |
Enter the URL to click. | Yes | String |
Row |
Enter the row number of the cell |
where the link is present. Row number starts at 1. | Yes | String |
Column |
Enter the column number of the cell |
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
, 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 | ||||
---|---|---|---|---|
|
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 |
Enter the key name under which you want to store the row number |
. | Yes | String |
cellText |
Enter the text combination which |
you want to |
check in the columns. | Yes | Array |
Col | The column number of the cell in which you want to search the combination of data |
. 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 |
Enter the key name under which you want to store the maximum generated |
value. | Yes | String |
Col |
Enter the column number of the cell |
from which you want to find the maximum data |
. Column number starts at 1. | Yes | String |
incr |
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 | 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 |
Enter the link |
The data type is alphanumeric
to click. | No | String |
Row |
Enter the row number of the cell |
from the link is |
to be clicked. Row number starts at 1. | Yes |
String | |
Col | The column number of the cell |
from which the link is |
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 |
Enter the link title which you want to |
click. | Yes | String |
Row |
Enter the row number of the cell |
from the link is |
to be clicked. Row number starts at 1. | Yes | String |
Col | The column number of the cell |
from which the link is |
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 |
Enter the \row number of the cell |
from which the checkbox is to be clicked |
. Row number starts at 1. | Yes | String |
Column |
Enter the column number of the cell |
from which the checkbox to be clicked |
. 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 |
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 |
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
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 | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|