Jubula - Referenced Parameter - Ignore case sensitivity and spacing [message #1842208] |
Fri, 11 June 2021 16:42 |
Jac Jeffery Messages: 1 Registered: June 2021 |
Junior Member |
|
|
Hi there,
I am new to Jubula and automation and I have a query please re case sensitivity when checking text.
I have created a test case to check text on a component using ub_ctx_checkText action, I have given it a referenced parameter of =CUSTOMER_NAME.
The value in the AUT for this field is a mixture of upper and lowercase characters and also contains spacing after the name i.e. "Mr John Smith ". I would like to do a check on the value, but to ignore whether any of the characters are in upper or lowercase and ignore any spacing after the value.
I understand that I maybe able to use a regular expression, so have set the operator to 'matches' but I am not sure how I make the referred parameter ignore case sensitivity? I have tried using \\(?i)=CUSTOMER_NAME to try to start by ignoring case sensitivity, but as soon as I input a ? the parameter becomes invalid.
Thank you in advance for any advice.
Kindest Regards,
J
|
|
|
Powered by
FUDForum. Page generated in 0.03595 seconds