Formatting values read into a variable [message #1809200] |
Thu, 11 July 2019 06:49  |
Eclipse User |
|
|
|
Hi Jubula team,
First of all, great work on Jubula, I'm loving it and it is the only tool that I have found that can work with Swing applications with ease!
I have a problem where I need to check if the values read from a table are within correct range, but the table I'm reading them from also contains letters, i.e. "24.3 V".
Is there a way to strip the Non-numbers from the value read before comparing it? Something like: ${VAL_READ}.replaceAll("[^0-9.-]", "")
For the comparison I tried using ub_app_checkNumericValues but this obviously wont work because of the letters in the string.
Best regards, Milos
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03989 seconds