How to trim a value coming from getValue
Posted: Tue Aug 23, 2016 12:10 pm
Hi,
i have a recording in which I use getValue from an element, store it in a variable and then compare this with the text of a later component.
Unfortunately the value contains spaces like, and the final component to validate has only
Currently I use AttributeRegEx as comparison, which works, but I would rather trim the value I receive.
Can someone explain me step by step how to trim a value when receiving it via getValue in a recording module ?
Thanks
i have a recording in which I use getValue from an element, store it in a variable and then compare this with the text of a later component.
Unfortunately the value contains spaces like
Code: Select all
" text "
Code: Select all
"text"
Can someone explain me step by step how to trim a value when receiving it via getValue in a recording module ?
Thanks