I am hitting sporadic problems with findText in v2.0.5

Asked by TestMechanic

Case is simple

1. region.text() -> region text is recognized ok
2. then region.findText("existing word form search in 1") - > cannot be found

The problem is sporadic. The word is "Virus" - I noticed that sometime it is found as "Vius". It hapens with other words as well
Note that there are 10 more words that are always OK

Is there any way to handles such problem? I tried to use "Vius" instead of Virus but it does not always work.

Since the words in text are quite different can i use something like similarity

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

Sorry, no solution for that currently.

But finding text is on the list to be improved.

Revision history for this message
TestMechanic (ndinev) said :
#2

Thanks RaiMan, that solved my question.