← Back to team overview

sikuli-driver team mailing list archive

[Question #204840]: sleep(2940) kills test

 

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

Hi there,

I'm experiencing an issue with one of my tests. It tests the playback of several youtube videos (up to 1hour each).

code:

wait(Pattern("Youtube1.png").similar(0.80))
click(Pattern("Youtube1.png").similar(0.80))
#sleep video length
#sleep(2940)
sleep(400)

It clicks on the youtube image from the bookmarks list and opens the native youtube app on iOS. I intent to make sikuli sleep until the video playback is finished, e.g. 2940 seconds. But the following code does not get executed unfortunately. I changed the value to 400 seconds and it works fine.

Any help is on this issue is highly appreciated. Thanks in advance for sharing your experience.

regards,

Felix



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