← Back to team overview

sikuli-driver team mailing list archive

[Bug 1556195] [NEW] [1.1.0] Can't open app directly from IDE on OS X

 

Public bug reported:

Environment:
OS X 10.11.3
SikuliX IDE 1.1.0 Build 2015-10-05_17:07
JDK 8u73

When I run .sikuli script directly from SikuliX IDE opened app immediately exits
For example, script contains:

myApp = App("Firefox")
myApp.open()

When I try to run the script from IDE I can see Firefox app's icon
blinks for a second in Dock and then disappears. The same happens with
openApp("Firefox") or switchApp("Firefox") commands.

If I run this .sikuli file directly from command line
"/Applications/SikuliX.app/run -r
~/Applications/SikuliX/scripts/firefox.sikuli/" - it works correctly.

The issue doesn't reproduce with common OS X apps (I tried Safari, TextEdit, Terminal, Calculator etc.).
But it reproduces with non-common OS X apps (I tried FireFox, TextWrangler, Microsoft Word etc.)

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1556195

Title:
  [1.1.0] Can't open app directly from IDE on OS X

Status in Sikuli:
  New

Bug description:
  Environment:
  OS X 10.11.3
  SikuliX IDE 1.1.0 Build 2015-10-05_17:07
  JDK 8u73

  When I run .sikuli script directly from SikuliX IDE opened app immediately exits
  For example, script contains:

  myApp = App("Firefox")
  myApp.open()

  When I try to run the script from IDE I can see Firefox app's icon
  blinks for a second in Dock and then disappears. The same happens with
  openApp("Firefox") or switchApp("Firefox") commands.

  If I run this .sikuli file directly from command line
  "/Applications/SikuliX.app/run -r
  ~/Applications/SikuliX/scripts/firefox.sikuli/" - it works correctly.

  The issue doesn't reproduce with common OS X apps (I tried Safari, TextEdit, Terminal, Calculator etc.).
  But it reproduces with non-common OS X apps (I tried FireFox, TextWrangler, Microsoft Word etc.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1556195/+subscriptions


Follow ups