sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #31615
[Question #264927]: Another '__exit__' problem
New question #264927 on Sikuli:
https://answers.launchpad.net/sikuli/+question/264927
Hello,
I just don't get any further than the following problem:
[error] AttributeError ( 'org.sikuli.script.Finder' object has no attribute '__exit__' )
The code is very easy:
setAutoWaitTimeout(15)
iTunes = App("iTunes")
iTunes.focus()
iTunesRegion = Region(iTunes.window()) # I read in one of the postings here, that casting it to a Region object could circumvent the problem.
iTunesRegion.click("Devices.png")
iTunesRegion.wait("Apps.png")
iTunesRegion.click("Apps.png")
iTunesRegion.wait("Entfernen.png") # Here the program stops with the above cited error.
The picture is there and it finds it. It even marks it red.
I use the latest nightly build.
Thanks for any help.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.