Core Keywords
5.3.1. Extract Text By Regex
Extract given text by regex .
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
text | Given text |
regex | Regex format |
group | group number |
- Data Output : Create or call a variable. Then result will return as shown in report below
5.3.2. Get All Node Attribute Values from Xml String
Get all attributes values of node from xml string.
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
xmlString | given xml string |
xpath | xpath of node |
attributeName | attribute name |
- Data Output : Create or call a variable. Then result will return as shown in report below
5.3.3. Get All Node Text Contents From Xml String
Get all text contents of node from xml string.
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
xmlString | given xml string |
xpath | xpath of node |
5.3.4. Get All Values From Json String
Get all values from Json String by path.
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
jsonString | given json string |
jsonPath | path of json |
- Data Output : Create or call a variable. Then result will return as shown in report below
5.3.5. Get Cell Values By Column Index
Get the cell values by column index and row index from test data object.
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
dataTable | Test Data Object |
columnIndex | Column's index |
rowIndex | Row's index |
- Data Output : Create or call a variable. Then result will return as shown in report below
5.3.6. Get Cell Values By Column Name
Get the cell value by column name and row index from test data object.
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
dataTable | Test Data Object |
columnName | Column's name |
rowIndex | Row's index |
- Data Output : Create or call a variable. Then result will return as shown in report below
5.3.7. Get Current Date Time
Get current date time by format.
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
dateTimeFormat | String format of datetime |
- Data Output : Create or call a variable. Then result will return as shown in report below
5.3.8. Get Index Of String
Get index of character/string by given string.
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
text | Given string |
toFindIndex | character/string want to find out the index |
- Data Output : Create or call a variable. Then result will return as shown in report below
5.3.9. Get Node Attribute Value From Xml String
Get attribute value of node from xml string.
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
xmlString | given xml string |
xpath | xpath of node |
attributeNam | attribute name |
- Data Output : Create or call a variable. Then result will return as shown in report below
5.3.10. Get Node Text Content From Xml String
Get text value from xml string.
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
xmlString | given xml string |
xpath | xpath of node |
- Data Output : Create or call a variable. Then result will return as shown in report below
5.3.11. Get Number Of Column
Get number of columns from test data source.
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
dataTable | Test Data Object |
- Data Output : Create or call a variable . Then result will return as shown in report below
5.3.12. Get Number Of Row
Get number of rows from test data source.
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
value | Test Data Object |
- Data Output : Create or call a variable . Then result will return as shown in report below
5.3.13. Get Value From Json String
Get the value from JSON string by json path.
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
jsonString | given json string |
jsonPath | path of json |
- Data Output : Create or call a variable. Then result will return as shown in report below
5.3.14. Reset Find Windows Id Cache
When you open a window and it have a window id, then another window will open, then the first window id will be change. This keyword can be used to reset the previous windows.
- Object Repository: No Object Repository is required.
- Example
5.3.15. Set Variable Value
Set value into the variable.
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
value | string type |
- Data Output : Input the variable want to set value on. Then the value will be assigned to the desired variable at the output's column.
5.3.16. Substring
Cut substring from given string
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
text | string type |
beginIndex | the begin index of substring |
endIndex | the end index of substring |
- Data Output : Create or call a variable . Then result will return as shown in report below
5.3.17. Verify Number Comparison
Verify that the comparison between two numbers is true.
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
number | number type |
compareOperator | comparison operators (<=; >=; ==; >; <; !=) |
anotherNumber | number type |
5.3.18. Verify Text Equal
Verify that the text equals with the expected text.
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
text | expected text or expected variable |
anotherText | actual text or expected variable |
5.3.19. Verify Text Match Regex
Verify that the text exist in the given text by regex matching
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
text | Given text |
regex | Regex format |
5.3.20. Verify Text Not Equal
Verify that the text is not equal with the expected text
- Object Repository: No Object Repository is required.
- Data Input
Field | Description |
---|---|
text | expected text or expected variable |
anotherText | actual text or expected variable |
5.3.21. Wait
Wait with the given timeout (in seconds)
- Object Repository: No Object Repository is required.
- Data Input : Integer number