String manipulation on local variables [message #723004] |
Wed, 07 September 2011 08:11  |
Eclipse User |
|
|
|
Hi,
I'm searching for a method to manipulate variables that I use in my test.
I read strings from a table and save them in variables during my test. Theese strings contain a numeric values and a unit (0.750 kg flour, 500ml milk...) and I want to use checkNumericValues on this variables. This means I have to remove letters spaces from the stored string.
I there a way to do this with the Jubula build-in methods?
Thanks,
Niels
|
|
|
|
|
|
Re: String manipulation on local variables [message #843578 is a reply to message #843533] |
Fri, 13 April 2012 03:01  |
Eclipse User |
|
|
|
This would also be high on my wishlist. Although I am happy to be able to calculate now (btw: why is '?mult(2,3)' = '6.0' not '6'?), many thanks for implementing that, I would really appreciate to use string functions like strpos(), substr(), trim() and replace(). (Unfortunately I am not quite firm in Java ATM - so writing by myself would make noone happy...)
|
|
|
Powered by
FUDForum. Page generated in 0.67948 seconds