Extraction Rules
When working with UI elements we have to get data from UI screens. Text we get of an UI element is not always as expected. To extract or change the text we can use extraction rules.
This prop only applies to UI Elements.
Prop Name: prop.extraction.operation
Extraction Options
Rule | Rule Desc | Example |
---|---|---|
trim.remove.text | Remove text chars in the String | |
trim.remove.spaces | Removes all Spaces in the string | |
trim.remove.invisiblechars | Removes chars newline, return etc which are not visible | |
trim.remove.allspecial | Removes all special chars (chars not an alphabet or number) | |
trim.to.numbers | Removes all the chars that are numbers | |
trim.to.alphanumeric | ||
left:[number or text] | Gets left chars of specified number or text to the left of given phrase | |
right:[number or text] | Gets right chars of specified number or text to the right of given phrase | |
replace:[original text]:[new text] | Find original text and replace with new text phrase | Example: replace:[%20]:[ ] |
substring:[start]-[end] | Extracts string that's in between start index and end index | start/end can be either a number or a phrase |
Last updated