How to use loop
Below is my script, please help for a specified method below:
from __future__ import with_statement
from sikuli.Sikuli import *
addImagePath(
class trydoc(object):
def startApp(self):
while not exists(
def signIn(self):
wait(5)
while not exists(
wait(2)
while not exists(
def checking(self):
----- In this method i want to implement loop like wherever sikuli finds image say (image.png) it clicks on (image2.png) & where it finds (image3.png) it clicks on (image4.png) also, this loop must run until sikuli finds (image5.png)
def runTest(self):
if __name__ == "__main__":
tryIt= trydoc()
tryIt.runTest()
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: