0

if (Checkbox is Unchecked) { clickImage("Chechbox")

} 
    else 
{
 clickImage("OkButton")
}

2 Answers 2

0

What is the error you are getting?

I use Python in my Sikuli script, and I have something like:

if (name == 'Ente'):
     print('Name is Ente')
elif (name == 'Jamie'):
     print('Name is Jamie')
else:
     print('Name Unknown')
0

Correct code must be:

if (Checkbox is Unchecked):
      clickImage("Chechbox")
else:
      clickImage("OkButton")

Pay attention to the ":".

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.