About the click function of region class

Asked by 皇甫春峰

Hi Dear RaiMan:
    I'm working as software testing engineer from China, glad to ask you questions. : )
I've met a problem when i use the Sikuli, I open the IE browser and I want to maxium the browser first. I use the click function on the maximize button on the browser with the png picture , but I found that the browser just enter the full-screen mode, just like pressing 'Alt+Enter' key. I think it is strange.

from org.sikuli.script import *
app=App("IE")
app.open("C:/Program Files/Internet Explorer/iexplore.exe")
#app.close()
s=Screen()
s.click("C:/Users/huangc11/Desktop/JAVA/SikuliTest1.sikuli/ill.png")

Version:X-1.0rc3
Jython:2.5.3
IE version: *

Thanks,

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
皇甫春峰
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

When you are sure, you are hitting the correct button (run in slow motion, to see), then the behaviour should be the same as when you do it manually.

If it does not: not a Sikuli problem.

Revision history for this message
皇甫春峰 (xpnsau) said :
#2

The problem runs normally today, also i don't know why is this. Thanks RailMan a lot~~