Sikuli should ignore changing parts of image when searching --- not supported yet

Asked by Krishna

Hi,

   I am working with Sikuli in java. I want how to make a part of image exists or not. Suppose say i have taken a screenshot of some text box with label and with some text in it. I need to add different text to the same text box every time, means when i have taken screeshot there is some text present already, so i am getting failure as image not found. Please help me on this

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

This cannot be solved with current version of Sikuli. It is not possible to tell Sikuli to ignore parts of a captured image, when searching for it.

So when capturing images, that will be used for a find operation like exists, you have to restrict the capture to the parts of the image, that are fixed.

Revision history for this message
Krishna (krishnamurthy-k) said :
#2

Thanks RaiMan, that solved my question.