I used readText with multiline and depending on which parameter I use I get different results. I have turned Contrast, Trim on, separately and together
When Trim is on V become U
When Contrast is on S becomes 5
and sometimes some underscores “_” are converted to “^”
The way the OCR works, different settings will work better for different kids of strings, colors, etc. My recommendation is to work with it until you find the setting that works best for your scenario. If you haven’t tried using ValidCharacters you may consider that. Setting a SearchRectangle is also really helpful. Visit this post on the Knowledge Base for descriptions of these if you haven’t already and don’t know how they work: http://www.testplant.com/support/2012/02/working-with-ocr/
Als the return is just one line with and
separators for tabs and newlines. How do I parse the information out into chunks I can work with?
For this, you can use the “replace” command, documented here: http://docs.testplant.com/?q=content/working-text
So, say your variable Foo contains “ItemA ItemB ItemC
put "ItemA ItemB ItemC
IdemE" into foo
…and you want to parse it out into a list. You can use code like this:
replace every occurrence of "
" in Foo with comma
replace every occurrence of " " in Foo with comma
insert foo as list into fooList
Hope that helps!