[2.0.4] Mac: App::close(): has problems when app name differs from process name --- to be checked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
In Progress
|
Medium
|
RaiMan |
Bug Description
Using the following Configuration:
- SikulixIDE-
- Robot Framework
I had previously built a script that worked fine with another application which could do a Suite Setup, Suite Teardown, and a Test Case Teardown. I took that same script and edited down to verify I could adopt it to another one of our applications. The intent is to be able to use a skeleton (or template per se) on different applications. I simply copied the working script, edited it so it would work on one of our other Desktop applications, and created a new Suite for it. This script code appears to work and do everything it is intended to do, but it generates an out of bounds error on an array. See below:
FAIL ArrayIndexOutOf
Below is the script.
runScript("""
robot
*** Variables ***
${TESTAPP} "/Applications/
*** Settings ***
Library ./inline/GA4
Suite Setup Suite Setup Actions
Suite Teardown Suite Teardown Actions
Test Teardown Test Case Tear Down
*** Test Cases ***
Test TestCase1
[Documentation] This is just a test case to help me verify Test Teardown gets called
Log TestCase1 has been executed
*** Keywords ***
Suite Setup Actions
Log Suite Setup Actions done below
prepare my application ${TESTAPP}
Suite Teardown Actions
Log Suite Teardown Actions done below
stop my application ${TESTAPP}
Test Case Tear Down
Log Test Teardown Actions done below
prepare test case ${TESTAPP}
""")
class GA4(object):
def prepare_
startedmyapp = App.open(myApp)
def stop_my_
stoppedmyapp = App.close(myApp)
def prepare_
wait(2)
Changed in sikuli: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 2.0.5 |
summary: |
- [1.1.4] Mac: App::close(): has problems when app name differs from - process name + [2.0.4] Mac: App::close(): has problems when app name differs from + process name --- to be checked |