← Back to team overview

sikuli-driver team mailing list archive

[Bug 1485975] [NEW] Mac OS 10.10.5 + Java+maven+1.1.0 sikuli : Safari gets terminated & Test suite stops abruptly

 

Public bug reported:

Below is the error log:
I am using java+maven+1.1.0 sikuli version.
In my code, before every test case, i start the safari browser, do something & close the browser.
When i run the test cases individually, i am facing no issues.
But when i run it as a suite, safari is getting terminated & tests are unable to proceed further.

Below is the log:

[debug] Runner: AppleScript:
#!/usr/bin/osascript
tell application "System Events"
set found to "NotFound"
try
set found to first item of (processes whose name is "safari")
end try
end tell
if not found is equal to "NotFound" then
set windowName to ""
try
set windowName to name of first window of application (name of found)
end try
set found to {name of found, «class idux» of found, windowName}
end if
found

returned:
*****error*****
/var/folders/qc/n91t7_111l5580skmd5yp2j4xkn478/T/Sikulix_254249466/sikuli-3506921394778364787.script:297:347: execution error: System Events got an error: Can’t get application process "Safari". (-1728)

** 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/1485975

Title:
  Mac OS 10.10.5 + Java+maven+1.1.0 sikuli : Safari gets terminated &
  Test suite stops abruptly

Status in Sikuli:
  New

Bug description:
  Below is the error log:
  I am using java+maven+1.1.0 sikuli version.
  In my code, before every test case, i start the safari browser, do something & close the browser.
  When i run the test cases individually, i am facing no issues.
  But when i run it as a suite, safari is getting terminated & tests are unable to proceed further.

  Below is the log:

  [debug] Runner: AppleScript:
  #!/usr/bin/osascript
  tell application "System Events"
  set found to "NotFound"
  try
  set found to first item of (processes whose name is "safari")
  end try
  end tell
  if not found is equal to "NotFound" then
  set windowName to ""
  try
  set windowName to name of first window of application (name of found)
  end try
  set found to {name of found, «class idux» of found, windowName}
  end if
  found

  returned:
  *****error*****
  /var/folders/qc/n91t7_111l5580skmd5yp2j4xkn478/T/Sikulix_254249466/sikuli-3506921394778364787.script:297:347: execution error: System Events got an error: Can’t get application process "Safari". (-1728)

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


Follow ups