sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #31922
[Bug 1447096] Re: OSX 10.10 Yosemite, works for 16 loops then get realy slow
ok, this is my test:
switchApp("Safari")
btnEdit = "btnEdit.png"
r1 = Region(0,0,100,100)
r2 = Region(0,700,100,100)
Settings.MoveMouseDelay = 0
for i in range(50):
r1.highlight(1)
start = time.time()
click(btnEdit)
click("close.png")
click(btnEdit)
click("close.png")
print i, time.time()-start
r2.highlight(1)
the output:
2.63800001144
1 2.6130001545
2 2.60300016403
3 2.61199998856
4 2.6220002174
5 1.57100009918
6 2.8599998951
7 2.5039999485
8 2.54499983788
9 2.56699991226
10 2.52699995041
11 2.51999998093
12 1.54600000381
13 3.0
14 2.55900001526
15 1.60700011253
...
35 2.51200008392
36 1.56399989128
37 3.0
38 2.5569999218
39 2.56699991226
40 1.58899998665
41 1.58599996567
42 2.57099986076
43 2.57699990273
44 1.62299990654
45 2.55599999428
46 2.5039999485
47 2.5569999218
48 2.52699995041
49 2.52800011635
as you can see: constant speed for 50 loop turns
what it does:
at the top of this page it clicks the edit button for the title and then the close button
now I will try without the move mouse delay set to 0
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1447096
Title:
OSX 10.10 Yosemite, works for 16 loops then get realy slow
Status in Sikuli:
New
Bug description:
on OSX 10.10.3
With nightly build 1.1.0 22-04-2015 and earlier versions
i Get a error when i stop a simple loop script as it gets slow.
for x in range(100):
App.focus("dild")
click(1)
click(2)
click(3)
click(4)
print("at " + str(x))
i get to about 16 loops and its then get realy slow and finds the
click´s every 10-20 sec...
when i stop the script it promtes me that:
Possible cause in case you did not touch the mouse while script was running:
mouse actions are blocked generally or by formost application
anybody have any ideas?
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1447096/+subscriptions
References