New question #160813 on Sikuli:
https://answers.launchpad.net/sikuli/+question/160813

Hello, I'm Vaibhav.First of all, thanks for this,I was search for a Sikuli 
forum everywhere. Found this finally :)

So I'm writing program which visits a webpage do specific jobs. But there are 
errors in the webpage which I want sikuli to skip.
It Like, 

if find( Error1): #Error In a webpage
   click( ) #Skip
elif: 
   find(TASK ) # then the main job
   click( ) # clicks on the task.

So I am getting this error
"[error] Stopped [error] An error occurs at line 19 [error] Error message: 
SyntaxError: ("no viable alternative at input ':'", 
('C:\\DOCUME~1\\Vaibhav\\LOCALS~1\\Temp\\sikuli-tmp5011379315393630617.py', 19, 
4, 'elif: \n'))"

Also, Like I want to skip two/or more types of errors how do I it?
if find(error1):
   click(skip):
if find(error2):
  click(skip)
elif:
  find(normal task button)
  Click(normal task button)
  something like that.


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to