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

Hello All,

I want to find an image inside another image on window based UI. I am using 
WIN7/8 64 bit PC.

Here is my problem:

1. I have one GUI window. This window is divided in to multiple sections.
2. Each section has some title (unique).
3. In each section we have some texts which are common in all the section. For 
Example  "click" , "edit" etc.
4. I want to go in each section one by one and click on "edit" text.

Here is the code:

hover(Pattern("1404391924018.png").exact()) # Section 1 image
wait(2)
f = Finder("1404391924018.png") # Section 1 image
img ="1404391991766.png"  # Text to be clicked (this text is available in all 
the section)
hover(img)
wait(2)
if f.find(img):
    click(img)
    wait(2)
    
f.destroy()

But in this code, it is clicking randomly not in the specified text in the 
specified section. 

Please help me out.

Thanks in advance.

Regards,
Brijesh

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to