1

When using robot frame work with Sikuli library the comparison of images is black and white based. How can the script fail if the text is correct but its color is wrong ?

Screen Should Contain ${Stop_red_screenshot}

PS : the test pass even if stop is black

Here are two images :

enter image description here

enter image description here

Emna Ayadi
  • 2,430
  • 8
  • 37
  • 77

1 Answers1

2

I solve this problem by adding this line :

Set Min Similarity    0.99

before comparing images.

Thanks @A.Kootstra

Emna Ayadi
  • 2,430
  • 8
  • 37
  • 77