sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #04748
[Question #168727]: Find an image below another
New question #168727 on Sikuli:
https://answers.launchpad.net/sikuli/+question/168727
Hi Guys,
I need to find an image under an image, following is my code
there are a lot of same images on page1, so we just need to choose 1 and click on it
reg=find(first_image)
reg.click(getLastMatch(),0)
when i click the image, it opens another option and i need to fill out forms and then go back to page1, on page 1 i need to click "Complete" button under the first_image
by clicking that button i get different ajax messages and the position of the button are moved lower, so how can i figureout the new position of the same first_image as there are lot of them.
right now i am just adding some value to it the first_image to reach Complete but sometimes it doesnt works as the messages are different
reg2 = Region(reg.x,reg.y+25,21,9)
reg2.click(reg2,0)
Any solution to this?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.