← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #251515]: sikuli doesn't recognize an image on list in a loop

 

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

aorior posted a new comment:
In fact, the code is not so complex.
The first time, list_menu is empty, so verify=0
So the programm goes to the last else. 
Here I click on this menu, an scrolling menu appears, I add the current menu in list_menu (not the scrolling menu but the first...), I click on the first triangle i find, doesn't matter because it's first time I click on this menu. This menu permits to scroll squares).
I click on one of this squares. I click on ok to close the menu window. 
Here I click on an other buttom which open the same window with the same menus, all of this menus have the same scrolling menus, which have the same squares. I can't click on the same square that the first time. 
So for this, I can click on the same menu, because it has several scrolling menus. I can click on the same scrolling menu too, because it has several squares. 
Here I look if I ever click on the square, if Yes I don't click because I've not the right to do this. so I look another square. 
If all squares on the current scrolling menu have always been clicking, I click on another scrolling menu.
If all squares of all scrolling menus have always been clicking too, I click on another menu.
The problem seems to come of recognition of images. Because the progamm always go the last else.
I can't put images of the windows because of the confidentiality of the program i automatize

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