Forum Discussion
Hi,
As per the screenshot, the actual text contains some special non-printing characters to bold a text. I am not sure these characters can be stored in a project variable. So I would suggest to store the actual text into some variable and try to clean-up the actual text by removing all non-printing characters from it and only then compare the content of the actual and expected variables.
How would I go about cleaning up the text if I'm taking it directly from a Property Checkpoint? My variable has the text without the bolded text. I tried to use '*not*' in my variable with the wildcards and it was still not able to compare them properly.
- AlexKaras3 years ago
Champion Level 2
Hi,
Store actual value into local variable and clean it (the value).
Then compare the cleaned value of the local variable with the expected value from the project variable. (I.e., in fact, do comparison of two variables.)