Find gives wrong results for text search

Asked by Hasham

Hi,

I've a label on the flex page named as "Password" when I do find or exists for "Passwords" Sikuli says it exists or finds the match which is not true.

How can I restrict Sikuli to find the exacy word and if not found it should fail?

Question information

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

see bug 710586
check, wether your font can be read reliably at all.

check what is found:
m = exists("Passwords")
m.highlight(3)

try to restrict the region as much as possible to the area, where Sikuli should find the text.

Revision history for this message
Hasham (shaikhasham) said :
#2

It does highlight the "Password" label though "Passwords" is specified.

Revision history for this message
Hasham (shaikhasham) said :
#3

Also above the Password label there is a "User name" label which Sikuli says not found though specified as "User name" as it is.

Revision history for this message
RaiMan (raimund-hocke) said :
#4

Ok, then you cannot use the text find feature - see bug.

Can you help with this problem?

Provide an answer of your own, or ask Hasham for more information if necessary.

To post a message you must log in.