← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #350303]: I am using the Click function n sikuli and when I click on the png image and select Matching Preview, it displays whatever I have on my desktop. Isn't the Matching Preview supposed to display the button that I'm trying to click?

 

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

    Status: Answered => Open

Cam is still having a problem:
Thank you very much for responding:)
Pls look at my script below.

I don't see any areas covered in red. When I click on Find(Setup)->Matching Preview..it shows me my desktop. It doesn't show me the Setup button.
When I click on Target Offset..it shows me the Setup button.
I noticed that the png in Find(Setup) is different than the png in Click(Setup)

What am I doing wrong?  Thank you.

find(Pattern("1471447653278.png").similar(0.76))
wait(5)
click(Pattern("1471448707420.png").similar(0.86))


find(Pattern("1471457295602.png").targetOffset(4,0))    ---->I'm finding the Setup button here

click("1471457321576.png")           ------>I'm clicking the Setup
button here

wait(1)

find(Pattern("1471524359924.png").targetOffset(9,1))

click(Pattern("1471374949255.png").targetOffset(-31,15))

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.