sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #18015
Re: [Question #228913]: stopObserver() where to put in the class (Screen)
Question #228913 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/228913
Status: Open => Solved
Bunnings confirmed that the question is solved:
1) On further testing, putting the stopObserver() in __del__(self)
definition doesn't seem to work.
2) Having the stop oberver in a method and calling explicitly from
tearDownClass def works well
3) My statements regarding events are being raised even after the test
has finished is because the test run is finished but the eclipse IDE has
not terminated the test run process and hence observe(FOREVER,
background = true) is still running in background. Terminating the test
run stops Observe. Calling the stopObserve from tearDownClass resolves
this issue.
Hope this helps someone.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.