← Back to team overview

sikuli-driver team mailing list archive

[Question #245250]: contiously checking for error message while running test

 

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

While running a test on a application there is a risk that a specific warning will popup at many different places.
Im wondering if it possible to continously check for this warning so sikuli will click "ok" button when it appears.

Currently I need to call a Check() function after almost every action/line of code in sikuli just to be safe. (as the test is inteded to be running over night)

Check():
    if exists(warningpic):
        click(okpic)

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