0

I am new to SikuliX.

I would like to use it to automate testing of dialogs. To do this, I will have SikuliX find() for a dialog on screen, and compare it to a known good image captured of that dialog.

This is my code, and it basically works:

try:
    dialog_region = find("1738866435466.png")
    print("Main dialog found on the screen")
except FindFailed:
    print("Main dialog not found on the screen")

However, I have changed some text values in some of the fields in the dialog, and find() is still saying that the dialog was found.

Is there a way to control the precision of match for find()?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.