← Back to team overview

sikuli-driver team mailing list archive

[Question #245664]: Stable tests, Exist() + Click()

 

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

The application under test sometimes has longer loading times, and if I use the simple click() the loading time is longer then the time sikuli takes to look for the image.
So I have ended up writing 
exist(img1, 10), click(img1) 
This works as sikuli will wait 10 seconds for the img1 to appear and then click it.
But having large tests this takes a long time to write and Im wondering if theres an easier way?
I noticed click() can have a [modifier] but didn´t find any solution. Im thinking of having a developer here write a code for a new function otherwise to save time ;)

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