sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #07054
Re: [Question #179495]: onAppear and observe with Robot Framework
Question #179495 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/179495
Status: Open => Answered
RaiMan proposed the following answer:
If it is possible to start a script once at the beginning of the test
run, that contains the observation coding and event handling and keeps
alive parallel to the processing of the test cases, then you only need
it once.
If this is not possible, then each test case needs its own observation
and event handling (which can be put in a general def()).
Another possibility: put all the observation stuff in a totally separate
script, that you run in parallel to your test stuff from a separate
command line. You might use the new hot key feature to control the
observation from your test cases.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.