← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #172560]: selection structure question

 

Question #172560 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/172560

    Status: Open => Answered

RaiMan proposed the following answer:
If it is covered by the other popup, it cannot be found by Sikuli.

Sikuli works WYSIWYCS (What You See Is What You Can Search).

try another sequence:


 for i in range(n):
 
  if exists ( img [ Warning Window: Internal Error] ) :
     exit()) #Exit Script and stop count

  openApp("C:\...\test.exe")

  if exists ( img [ Warning Window: Program Already Running] , 10) :
        click( img [Yes] ) #Continue loop
        wait(1)

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