← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #143114]: goto or continue execution from other line

 

Question #143114 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/143114

hemanth gave more information on the question:
I think i need to make myself clear.

Example:

openApp("C:\\Program Files (x86)\\Opera 11.00 alpha\\opera.exe")
if exists(something):
       click("button")
else:
       click(something-2)
       click(something-3)

But after processing something, i want it to continue to something-3
skipping something 2 in the "else".

So with the elif would the code be:

openApp("C:\\Program Files (x86)\\Opera 11.00 alpha\\opera.exe")
if exists(something):
       click("button")
elif:
       click(something-2)
else:
       click(something-3)

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