sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #12409
Re: [Question #205157]: unit test
Question #205157 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/205157
Status: Open => Answered
RaiMan proposed the following answer:
This kind of test setup has to be run in the Sikuli IDE using the unit test feature (but look faq 1804).
At least the calculator app should open then.
--- but does nothing
... so what exactly does that mean?
--- more comments
- from guide import * should do nothing, since I guess you do not have it
- App.close("C://Windows/system32/calc.exe") should not work: for already opened apps, you need a text from the window's title like App.close("Calculator")
- assertExist("resultado-1.PNG") is no longer supported, use
assert exists("resultado-1.PNG") instead
- assert must be the last statement in a test function, since it ends the function in any case with an assertion exception
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.