← Back to team overview

sikuli-driver team mailing list archive

[Question #244515]: click images in a loop (checkbox inside the image)

 

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

Hi,

In the following code asrS.png and asr34.png are unique small images, the images with checkbox in it.
How can I find a checkbox inside these images? Thanks for your help.

Following code does not work.


tasks_off = ['"asrS.png"', '"asr34.png"']
#x = find("asrS.png")
        
for i in range(len(tasks_off)):
   x = find(tasks_off[i])
   click(x.inside().find("1393256406284.png"))
   wait(1)
   click("Edit.png")
   x = find("ActiveJ.png")
   if x:
      click(x.inside().find("I.png"))
      click("ISave.png")


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