sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #50634
[Question #678689]: Mojave : SikuliX IDE : Suite Setup works but Suite Teardown fails in this example
New question #678689 on Sikuli:
https://answers.launchpad.net/sikuli/+question/678689
- Running SikuliXIDE - 1.1.4-SNAPSHOT
- Python 2.7.10
I don't seem to be able to make the Suite Teardown work in this script. I have gotten the individual class "def" to work for "start_my_application" and "stop_my_application". This is the script I'm trying to run which should do the following:
-- invoke my app
-- run the test case
-- close my app
runScript("""
robot
*** Variables ***
${TESTAPP} "/Applications/Viewer.app"
${APPTITLE} "LabQuest"
*** Settings ***
Library ./inline/LabQuestViewer
Suite Setup start my application ${TESTAPP}
Suite Teardown stop my application ${APPTITLE}
*** Test Cases ***
Test Robot Framework Logging 1
[Setup] Setup Actions
Log Test Logging 1
[Teardown] Teardown Actions
*** Keywords ***
Setup Actions
Log Setup Actions done here
Teardown Actions
Log Teardown Actions done here
""")
class LabQuestViewer(object):
def start_my_application(self, myApp):
someApp = App.open(myApp)
def stop_my_application(self, lqApp):
someApp = switchApp(lqApp)
someApp = App.close(lqApp)
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.