New question #246237 on Sikuli: https://answers.launchpad.net/sikuli/+question/246237
Hi all, I am completely newbie to programming and sikuli so please bare with me! I am learning sikuli testing at the moment and it is going well...however I am completely stuck with repeating an action....So in short, I would like to create kind of a loop so that the programme goes back to a specified line. Is this possible with a GOTO like command in sikuli? I really dont understand functions that well so I am struggling at the moment... This is what I am trying to do: I am trying to automate a roulette game (and trying to implement a martingale strategy). 1) I click on the bet chip 2) then I click on "Red" 3) click on spin 4) if the result is red then goto 1 5) if result is not red (i.e. black) then goto 6 6) click on the bet chip 7) click on red 8) click on red again (to double the bet) 9) click on spin 10) if red then goto 1 11) if black then goto 6.... so on... Any suggestion would be very much appreciated guys.. i am completely stuck :( Thank you! -- 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

