How to remove hidden characters from a string read from excel file in Robot Framework -
i have written robot ui test extracting data excel file , compares them got ui. problem in cases, script reads excel file has hidden characters cause fail in comparison. example have these tow strings (which have printed repr
), first obtained ui elements , second derived excel file:
1- 'u\\'please fill date...\\'' 2- 'u\\'please fill date\\u2026\\''
those hidden characters @ end of second string fails test case. how can avoid it? should mention have tried strip
, didn't help.
the "hidden" characters mention ascii representation of unicode horizontal ellipsis. microsoft products (and perhaps non-microsoft products) autocorrect ...
character.
Comments
Post a Comment