sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #50649
Re: [Question #678689]: Mojave : SikuliX IDE : Suite Setup works but Suite Teardown fails in this example
Question #678689 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678689
Status: Answered => Open
Melvin Raymond is still having a problem:
OK, that does work. I guess I don't understand how the "Suite" setup
and teardown works. My goal has been reached for:
- start my app. (my application starts in a predefined state)
- run a test (I can add more test cases here)
- stop my app. (my application will be in a specific state when I close it)
But my intent is to setup the app at the end of each test (before
starting the next test). So my application starts in a specific state,
then I can run some tests, then close my application in a specific
state. But the question I have (using this technique) is how can I set
up the state of the opened application at the end of every test case? So
this is my goal below:
- start my app (it will be in the proper state if I had quit the app properly)
- run a test (I do something to verify a test worked, eventual SikuliX scripts maybe)
- put the opened app into a known starting state for the next test. (this part is what I need setup at end of test)
- Run a test
- put the already opened app into a known starting state as before
- stop my app (if I've done the proper setup at end of test, it should be in required state to work)
RaiMan, should I set this to "Problem Solved" and post another question?
It did solve my problem with getting the script to run.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.