Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
StoreColumnCount
This action stores the column count of the specified table under the specified key.
Input Parameters:
Parameter Name
Parameter Description
Mandatory
Data Type
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:
StoreColumnCount "key" "2"
StoreRowCount
This action stores the row count of the specified table under the specified keyClickRadioButtonInCell
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 |
Example: ClickRadioButtonInCell "2" "3"
CompareColumnData
This 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 |
---|---|---|---|
Column | Enter the column number of table from which you want to compare the data. Column starts from 1. | Yes | Integer |
colData | 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 "4" "India^Australia^ England"
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 |
rowData | Enter the entire row data expected to be present in a specified row. Separate multiple items with carat (^) operator. | Yes | Array. |
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" "India^Australia^ England"
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 | Enter the row number 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 "2" "5"
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.
DoubleClick
This action double-clicks the specified web element.
This action does not have any parameter.
Example:
DoubleClick
DragAndDropToOffset
This action drags and drops the specified web element at the specified location.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
offsetX | Enter the offset in pixels from the current location to which the element should be moved. The offset parameter can be as +100,100 , -100, 10, and so on. | Yes | String |
offsetY | Enter the offset in pixels from the current location to which the element should be moved. The offset parameter can be as -100,100 , +100, and so on. | Yes | String |
Example:
DragAndDropOffset "100" "500"
MouseDown
This action simulates left-click at the specified location on the screen.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
X | The x-coordinate of the click. | Yes | String |
Y | The y-coordinate of the click. | Yes | String |
Example:
MouseDown "5" "10"
MouseOver
This action simulates a mouse hovering over the specified object.
This action does not have any parameter.
Example:
MouseOver
MouseUp
This action simulates the event that occurs when the user releases the mouse button.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
X | The x-coordinate of the click. | Yes | String |
Y | The y-coordinate of the click. | Yes | String |
Example
MouseUp "5" "10"
RightClick
This action right-clicks the specified web element.
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 from the context-menu.
ScrollIntoView
This action scrolls to view the specified object.
This action does not have any parameter.
Example:
ScrollIntoView
SecureSetTextinCellEdit
This action 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 |
---|---|---|---|
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 |
text | Enter the text which you want to add in the cell in the specified format. | No | String |
Example:
SecureSetTextinCellEdit "3" "2" "Encrypt(Abc)"
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="
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 |
---|---|---|---|
Row | Enter the row number of the cell from which you want to select the checkbox. Row number starts at 1. | Yes | String |
column | Enter the column number of the cell from which you want to select the checkbox. Column number starts at 1. | Yes | String |
Example:
SelectCheckboxInCell "2" "3"
Multiexcerpt include macro name SendKeySequence page WebEdit Actions
SetFocus
This action sets the focus on the specified object.
This action does not have any parameter.
Example:
SetFocus
SetTextinCellEdit
This action sets text in the specified 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 |
text | Enter the text you want to enter in the cell. | Yes | String |
Example:
SetTextinCellEdit "3" "2" "Qualitia"
SetTextinCellEdit
This action sets the specified text in the cell specified table cell.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
row | Enter the row number of the cell where you want to add the text. | Yes | String |
column | Enter the column number of the cell where you want to add the text. | Yes | String |
strText | Enter the text you want to add inside the cell. | Yes | String |
Example:
SetTextinCellEdit "3" "3" "Qualitia"
SetValueAttribute
This action sets the data specified in the 'value' attribute of the object.
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
value | Enter the value to be added for the Value attribute. | Yes | String |
Example:
SetValueAttribute "#ff0990"
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"
StoreChildCount
This action stores the child count of the specified 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 key name under which the child count will be saved. | Yes | String |
Example:
StoreChildCount "Key"
StoreColumnCount
This action stores the column count of the specified table under the specified key.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
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:
StoreColumnCount "key" "2"
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"
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 | Enter the key name under which you want to store the column name. | Yes | String |
columnName | Enter the column name whose number you want to store. | No | String |
Example:
StoreColumnNumber "key" "Column 1"
StoreCSSProperty
This action stores the CSS property value of the object under the specified key. Key value can be retrieved using the key name.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
property | Enter the property name whose value you want to store. | Yes | String |
keyProperty | Enter the key name under which the property value will be stored. | Yes | String |
Example:
StoreCSSProperty "display" "Key"
StoreExistence
This action stores existence of the 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 key name under which the existence's Boolean value will be stored.
| Yes | String |
Example:
StoreExistence "Key"
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 | 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 |
Data | Enter the data you want to search in the specified column. | Yes | String |
Example:
StoreInstanceOfDataFromColumn "result" "3" "Qualitia"
StoreLocation
This action stores the current location of the object under the specified keys. The key values can be retrieved using the key names.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
keyHeight | Enter the key name to store the height of the location of the object. | Yes | String |
keyWidth | Enter the key name to store the width of the location of the object. | Yes | String |
Example:
StoreLocation "Height" "Width"
StorePropertyValue
This action stores the property of the specified object under the key name. The stored key value can be retrieved using the key name.
Some Android and iOS properties are not accessible.
List of accessible properties for Android: "name", "contentDescription", "className", "resourceId", "text", "enabled", "checkable", "checked", "clickable", "focusable", "focused", "longClickable", "scrollable", "selected", "displayed"
List of accessible properties for iOS: "name", "value", "label", "hint"
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Key | Enter the key name under which the property value will be stored. | Yes | String |
Property | Property/attribute name whose value needs to be stored under the specified key. This can be any accessible property of Android/iOS native object mentioned above. | Yes | String |
Example:
StorePropertyValue "key" "text"
StoreRowCount
This action stores the row count of the specified table under the specified key.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
key | Enter the key name under which you want to store table's row count. | Yes | String |
Example:
StoreRowCount "Key"
StoreRowData
This action stores the data 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"
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 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:
StoreRowNoContainingCellText "key" "word" "2"
StoreRowNoContainingTextInArray
This action stores the row number which contains the combination of specified text.
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"
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" "Testing" "2"
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 "rowNumber" "2"
StoreRowNumberHavingMinCellDataincolumn
This action stores the row number of the table which contains the minimum value of integer data from the specified column.
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 "rowNumber" "4"
StoreRowNumWithRowData
This action stores the row number of the table which contains the specified data.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
rowData | Enter the entire row data expected to be present in a specified row. Separate multiple items with carat (^) operator. | Yes | Array |
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 "1^India^3^Australia^6^ England" "RowNumber"
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.
StoreSize
This action stores the size of the specified object under keys. The key values can be retrieved using key names.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
keyXPosition | Enter the key name under which you want to store the height of the object. | Yes | String |
keyYPosition | Enter the key name under which you want to store the width of the object. | Yes | String |
Example:
StoreSize "Height" "Width"
StoreTableData
This action 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 |
---|---|---|---|
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 |
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"
StoreText
This action stores the text existing inside the specified object under the specified keys. The key values can be retrieved using the key names.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
keyText | Enter the key name to store the text from the specified object. | Yes | String |
Example:
StoreText "Key"
StoreValueAttribute
This action stores the data present in the 'value' attribute of the object.
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
key | Enter the key name under which the value will be stored. Enter the value to be added for the Value attribute.Key value can be retried using the key name. | Yes | String |
Example:
StoreValueAttribute "Key"
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"
VerifyDataExistenceInColumn
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 |
---|---|---|---|
Column | Enter the column number table where you want to verify the data. Column number starts at 1. | Yes | Integer |
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" "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.
VerifyDataExistenceInRow
This action verifies the existence of the specified data in the specified row. The expected data can be a 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 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.
| No | String |
Example:
VerifyDataExistenceInRow "2" "Test" "True"
This shall verify if the data Test is present in the row 2 of the table.
VerifyEnability
This action verifies the enability of the specified object.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
key
enability | Value for this parameters can be true or false.
| Yes | String |
Example:
VerifyEnability
On this page:
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
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 "True"
VerifyExistence
This action verifies the existence of the specified object.
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
existence | Value for this parameters can be true or false.
| Yes | String |
Example:
StoreCellText VerifyExistence "cellTextKey" "1" "3"True"
ClickLinkAtCellVerifyImageInCell
This action clicks verifies that the link image present in the specified cell .This is applicable for tables having same number of columns in all the rowsthe specified scr/title attribute.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
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 |
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:
ClickLinkAtCell VerifyImageIncell "http://www.google.com4" "26" "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. 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 columnsReview"
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 |
---|---|---|---|
link | Enter the title data of the link. | Yes | String |
row | Enter the row number of the cell in which you want to verify the link. Row number starts at 1. | Yes | String |
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" "5" "10"
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"
VerifyVisibility
This action verifies the visibility of the specified object.
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 1visibility | Value for this parameters can be true or false.
| Yes | String |
Example:
StoreRowNoOfCellText VerifyVisibility "key" "Testing" "2"
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
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 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 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
True"
WaitForAttributeContains
This action waits till the value of the specified attribute changes to the expected partial value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
attributeName | Enter the attribute name whose value you want to check. | Yes | String |
attributeValue | Enter the partial expected partial attribute value. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the expected value. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. | No | String |
keyAttributeValueContains | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForAttributeContains "id" "we323es" "5" "500" "Key" "Defect"
WaitForAttributeNotContains
This action waits until the specified attribute's value of the object changes to other than the partial parameterized value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
attributeName | Enter the attribute name whose value you want to check. | Yes | String |
attributeValue | Enter the value which should not be there in the attribute value. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the value to change. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for existence of the unexpected value before exhausting timeout. | No | String |
keyAttributeValue | Enter the key name under which the |
status of this step will be stored. |
Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the |
status of the step you want to |
show in the |
Yes
String
Column
Enter the column number of the cell in which the data is present.
report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
StoreRowNoContainingCellText WaitForAttributeValueContains "id" "key" 232waf" "5" "500" "wordKey" "2Defect"
SetTextinCellEditWaitForAttributeNotToBe
This action sets text in waits until the specified cell of the table.attribute's value of the object changes to other than the exact parameterized value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.
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
attributeName | Enter the attribute name whose value you want to check. | Yes | String |
attributeValue | Enter the |
value which should not be there in the |
Parameter Name
Parameter Description
Mandatory
Data Type
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
text
Enter the text which you want to add in the cell in the specified format.
Format: Encrypt(<TEXT TO BE ADDED>)
attribute value. | Yes | String |
Example:
SetTextinCellEdit "3" "2" "Qualitia"
SecureSetTextinCellEdit
This action 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:
timeOut | Enter the timeout (in seconds) to wait for the value to change. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. | No | String |
keyAttributeValueNotToBe | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
SetTextinCellEdit WaitForAttributeNotToBe "id" "3232waf" "5" "2500" "Encrypt(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 have different number of columnsKey" "Defect"
WaitForAttributeNotToBeEmpty
This action waits until the specified attribute's value of the object gets filled with some value. You may specify the timeout and polling interval, if required.
Input Parameters:
DeSelectCheckBoxInTableCellParameter Name | Parameter |
---|
Mandatory
Data Type
Row
Enter the row number 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
Description | Mandatory | Data Type | |
---|---|---|---|
attributeName | Enter the attribute name whose value you want to check. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the attribute value. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the attribute value before exhausting timeout. | No | String |
keyAttributeValue | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForAttributeNotToBeEmpty "id" "5" "500" "2Key" "5Defect"
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
rowData
Enter the entire row data expected to be present in a specified row. Separate multiple items with carat (^) operator.
Yes
Array.
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" "India^Australia^ England"
CompareColumnData
This 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.
WaitForAttributeToBe
This action waits till the value of the specified attribute changes to the exact expected value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
attributeName | Enter the attribute name whose value you want to check. | Yes | String |
attributeValue | Enter the exact expected value. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the expected value. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. | No | String |
keyAttributeValue | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForAttributeToBe "id" "232waf" "5" "500" "Key" "Defect"
WaitForAttributeToBeEmpty
This action waits until the specified attribute's value of the object gets empty. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory |
---|
Data Type
Column
Enter the column number of table from which you want to compare the data. Column starts from 1.
Yes
Integer
colData
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 "4" "India^Australia^ England"
VerifyDataExistenceInColumn
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 rowsData Type | |||
---|---|---|---|
attributeName | Enter the attribute name whose value you want to check. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the attribute value to be empty. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the attribute value before exhausting timeout. | No | String |
keyAttributeValue | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForAttributeToBeEmpty "id" "5" "500" "Key" "Defect"
WaitForChildElement
This action waits for the child elements of the specified object to appear. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
childLocatorType | Enter |
the locator type of the object whose child you want to |
check. | Yes | String |
childLocatorValue | Enter the locator value of the child you want to check. | Yes |
String |
timeOut | Enter the |
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.
timeout (in seconds) to wait for the elements to appear. | No | String | |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. | No | String |
keyExistence | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
VerifyDataExistenceInColumn WaitForChildElement "2id" "Test2" "True5"
This will verify if the data Test is present in the column 2 of the table.
VerifyDataExistenceInColumn "2500" "TestKey" "FalseDefect"
This will verify if the data Test is not present in the column 2 of the table.
StoreInstanceOfDataFromColumnWaitForClickability
This action stores the number of occurrences of the specified data in columns. The data comparison is case-sensitive.waits for the specified object to be clickable. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
Key
timeOut | Enter the timeout (in seconds) to wait for the object to be clickable. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to |
Yes
String
Column
Enter the column number where you want to search the data. Column number starts at 1.
Yes
Integer
Data
Enter the data you want to search in the specified column.
check for the object clickability before exhausting timeout. | No | String | |
keyClickability | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
StoreInstanceOfDataFromColumn WaitForClickability "5" "result500" "3Key" "QualitiaDefect"
WaitForExistence
This action stores waits for the row number existence of the table which contains the specified data.specified object. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name
Parameter Description
Mandatory
Data Type
rowData
Enter the entire row data expected to be present in a specified row.
Separate multiple items with carat (^) operator.
Yes
Array
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
timeOut | Enter the timeout (in seconds) to wait for the existence of the object. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the existence of the object before exhausting timeout. | No | String |
keyExistence | Enter the key name under which the |
status of this step 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 "1^India^3^Australia^6^ England" "RowNumber"
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 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.Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String | |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForExistence "5" "500" "Key" "Defect"
WaitForInnerTextContains
This action waits for the object to contain the expected partial text. The comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
Row
Enter the row number of the cell from which you want to select the checkbox. Row number starts at 1.
Yes
String
column
Enter the column number of the cell from which you want to select the checkbox. Column number starts at 1.
Yes
String
SelectCheckboxInCell "2
innerText | Enter the expected text you want to wait for. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the expected text. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. | No | String |
keyInnerTextContains | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForInnerTextContains "Connect" "5" "500" "Key" "3Defect"
VerifyImageInCellWaitForInnerTextMatchesPattern
This action verifies that the image present in the specified cell is having the specified scr/title attribute.waits for inner text from the specified object to match the expected text regular expression pattern. The comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
Row
innerTextRegXPattern | Enter the expected pattern for the inner text. Pattern should be regular expression. Step fails in case the pattern is invalid. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the expected text. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to |
check for the expected text before exhausting timeout. | No | String |
keyInnerText | Enter the |
Yes
String
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.
key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String | |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
VerifyImageIncell WaitForInnerTextMatchesPattern ".[My]text." "45" "500" "6Key" "ReviewDefect"
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
VerifyLinkTitleAtCell
This action verifies title of link in the given cell. It does not perform an exact match. It performs a contain match.WaitForInnerTextNotContains
This action waits until the specified attribute's value of the object changes to other than the parameterized value. The comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
This action clicks the specified cell from the table.Parameter Name | Parameter Description | Mandatory | Data Type |
---|
innerText | Enter the |
text which should not be there in the attribute value. | Yes | String |
timeOut | Enter the |
Yes
String
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" "5" "10"
ClickCell
timeout (in seconds) to wait for the inner text to disappear. | No | String | |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the expected text to be disappeared before exhausting timeout. | No | String |
keyInnerTextNotContains | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForInnerTextNotContains "Connect" "5" "500" "Key" "Defect"
WaitForInnerTextNotToBe
This action waits till the inner text of the object changes from the specified text. The comparison is case-sensitive. You may specify the timeout and polling interval, if required.
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
ClickCell
innerText | Enter the text which should not be there in the object. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the text to change. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. | No | String |
keyInnerTextNotToBe | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForInnerTextNotToBe "Connect" "5" "500" "Key" "10Defect"
WaitForInnerTextToBe
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.waits for the object to contain the expected exact text. The comparison is case-sensitive. You may specify the timeout and polling interval, if required.
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.
innerText | Enter the expected text you want to wait for. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the expected text. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. | No | String |
keyInnerText | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
ClickRadioButtonInCell WaitForInnerTextToBe "Connect" "5" "2500" "Key" "3Defect"
StoreTableDataWaitForInvisibility
This action 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
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
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
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.waits for the object to invisible. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
timeOut | Enter the timeout (in seconds) to wait for the object to go invisible. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the invisibility before exhausting timeout. | No | String |
keyInvisibility | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForInvisibility "5" "500" "Key" "Defect"
WaitForNonClickability
This object waits for the object to become non clickable. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
key
Enter the key name under which you want to store the column name.
Yes
String
columnName
timeOut | Enter the timeout (in seconds) to wait for the object to become non clickable. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the clickability before exhausting timeout. | No | String |
keyNonClickability | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
StoreColumnNumber WaitForNonClickability "5" "500" "keyKey" "Column 1Defect"
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 (^)WaitForNonExistence
This action waits for the non existence of the specified object. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
timeOut | Enter the timeout (in seconds) to wait for the non existence of the object. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for non existence of the object before exhausting timeout. | No | String |
keyNonExistence | Enter the key name under which |
the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the |
status of the |
step you want to |
show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
StoreColumnData WaitForNonExistence "5" "key"500" "Key" "2Defect"
StoreRowDataWaitForNumberOfElementsToBe
This action stores the data from the specified row number.The data is separated by caret (^). waits for the number of elements of the specified object locator on the page to be same as the expected number. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
number | Enter the expected number of elements to wait for. | Yes |
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.
Integer | |||
timeOut | Enter the timeout (in seconds) to wait for the number elements to appear. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. | No | String |
keyNumberOfElements | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
StoreRowData WaitForNumberOfElementsToBe "2" "5" "500" "keyKey" "2Defect"
VerifyDataExistenceInRowWaitForNumberOfElementsToBeLessThan
This action verifies the existence waits for the number of elements of the specified data in object locator on the page to be less than the specified row. The expected data can be a 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.number. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description |
---|
Mandatory
Data Type
Row
Enter the row number of the table where 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.
Mandatory | Data Type | ||
---|---|---|---|
expectedNumOfElements | Enter the expected number of elements to wait for. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the number elements to appear. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. | No | Integer |
keyNumOfElementsLessThan | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example: VerifyDataExistenceInRow
WaitForNumberOfElementsToBeLessThan "2" "25" "Test "500" "Key" "TrueDefect"
WaitForNumberOfElementsToBeMoreThan
This shall verify if the data Test is present in the row 2 of the table.
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
StoreRowNumberHavingMinCellDataincolumn
This action stores the row number of the table which contains the minimum value of integer data from the specified column.
Input Parameters:
Parameter Name
Parameter Description
Mandatory
Data Type
action waits for the number of elements of the specified object locator on the page to be more than the specified number. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
expectedNumOfElements | Enter the expected number of elements to wait for. | Yes | Integer |
timeOut | Enter the timeout (in seconds) to wait for the number elements to appear. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. | No | String |
keyNumOfElementsLessThan | Enter the key name under which |
the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the |
Yes
status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
StoreRowNumberHavingMinCellDataincolumn WaitForNumberOfElementsToBeMoreThan "2" "5" "rowNumber500" "Key" "4Defect"
WaitForStaleness
This action stores the row number of the table which contains the maximum value of integer data in the column specified by user.waits until the element gets detached from the DOM.
Input Parameters:
Parameter Name |
---|
Parameter Description
Mandatory
Data Type
Parameter Description | Mandatory | Data Type | |
---|---|---|---|
timeOut | Enter the timeout (in seconds) to wait for the value to be detached. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for existence of the element before exhausting timeout. | No | String |
keyStatus | Enter the key name under which |
the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter |
the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
StoreRowNumberContainsMaximumValue WaitForStaleness "5" "rowNumber500" "Key" "2Defect"
VerifyTableRowCountWaitForVisibility
This action verifies the actual row count of the specified table with the expected row count.waits for the object to be visible. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
timeOut | Enter the |
Yes
Integer
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
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
VerifyCellText
timeout (in seconds) to wait for the object visibility. | No | String | |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the object visibility before exhausting timeout. | No | String |
keyVisibility | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForVisibility "5" "Good Morning500" "2Key" "3Defect"
ClickLinkAtCellandchooseOkOnConfirmationWaitForObject (Deprecated)
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 appears, this action will accept it by clicking OK.This step fails if the link is clicked and no alert or confirmation appears. waits for the object to appear or disappear for the maximum number of seconds specified.
If the object is found or not found before the maximum time specified, execution continues to the next steps.
If the wait time is "" then the wait time shall be the "Sync Time" set under the Configuration Settings (Execution) window.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type | |
---|---|---|---|---|
LinkwaitTime | Enter the URL to clicknumber of seconds to wait for the object to appear or disappear. This has to be 0 or any positive number. | Yes | Column | String |
Row | Enter the row number of the cell where the link is present. Row number starts at 1. | Yes | String | |
Enter the column number of the cell where the link is present. Column number starts at 1. | ||||
existence | Value for this parameter can be true or false.
| Yes | String |
Example:
ClickLinkAtCellandchooseOkOnConfirmation WaitForObject "http://www.google.com10" "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.
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
StoreRowNoContainingTextInArray
This action stores the row number which contains the combination of specified texttrue"
The action waits for maximum 10 seconds for the object to appear. If the object appears before 10 seconds elapses, execution continues to the next steps.
WaitForObject "15" "False"
The action shall wait for maximum 15 seconds for the object to disappear. If the object disappears before 15 seconds elapses,execution continues to the next steps.
ClickCheckboxInCellTH (Deprecated)
This action selects the 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 |
Yes
Array
Col
column number of the cell |
from which |
the checkbox to be clicked. Column number starts at 1. | Yes | String |
Example:
StoreRowNoContainingTextInArray SelectCheckboxInCell "rowNo2" "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 under the specified key.ClickAndWait (Deprecated)
This action clicks the specified object and waits for the seconds specified in Sync Time under the Configuration Settings (Execution) window.
Default value is 20 seconds. If the page loads before reaching the maximum sync time execution continues to the next steps.
This action does not have any parameter.
Example:
ClickAndWait
Webdriver waits 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 stops waiting. The condition to wait till the document to load in ready state and assume that the page is loaded could however not work as expected at all times.
ClickImageInCellTH (Deprecated)
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. 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 = incoming data | Yes | String |
Row | 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. |
If this value is "" empty string, then the default increment is 0.
No
| Yes | String |
Example:
GenerateAndStoreMaximumNumberClickImageInCellTH "key2" "32" "23"
ClickLinkAtCellTH
This action clicks a link from the specific cell of the table header. This is applicable for tables having same number of columns in all the rows.
ClickLinkAtCellandchooseOkOnConfirmation (Deprecated)
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 appears, this action will accept it by clicking OK.
This step fails if the link is clicked and no alert or confirmation appears.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Link | Enter the link URL to click. | No Yes | String |
Row | Enter the row number of the cell from where the link is to be clickedpresent. Row number starts at 1. | Yes | String |
ColColumn | The Enter the column number of the cell from which where the link is to be clickedpresent. Column number starts at 1. | Yes | string String |
Example:
ClickLinkAtCellTH ClickLinkAtCellandchooseOkOnConfirmation "http://www.google.com" "2" "3"
Note: If Link is an empty data ("" or $NULL$)$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.
ClickLinkTitleAtCellClickLinkAtCellTH (Deprecated)
This action clicks a link based on the title 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 title which you want to click. | Yes 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 string |
Example:
ClickLinkTitleAtCell ClickLinkAtCellTH "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 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 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"
ClickImageInCellTH
This action clicks the image in the specified cell of the table. 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.
GenerateAndStoreMaximumValue (Deprecated)
This action fetches the column data having the maximum value. It then adds an increment value to it and stores it 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. | No | String |
Example:
ClickImageInCellTH GenerateAndStoreMaximumNumber "2key" "23" "3"
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro