Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message Omnis quit unexpectedly at the and of a testrun #4

Open
Frogli opened this issue Mar 28, 2018 · 1 comment
Open

Message Omnis quit unexpectedly at the and of a testrun #4

Frogli opened this issue Mar 28, 2018 · 1 comment

Comments

@Frogli
Copy link

Frogli commented Mar 28, 2018

I am pretty close now to run my OmnisTAP test with Jenkins, the only thing I can not get around is the error message 'Omnis quit unexpectedly'. I get this message at the end of the test run. As far as I can see this is caused by the shell script omniscli. The last line in the console is:
/Applications/OmnisStudio8RT.app/Contents/MacOS/bin/omniscli: line 145: 46327 Abort trap: 6 "${lcOmnisBin}" 2> >(cleanOmnisStdErr)

Because of the message 'Omnis quit unexpectedly' at the next start of the testrun I get the message 'The last time you opened Omnis, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?' You have to click one of the buttons 'Don't Reopen' or 'Reopen' to start the testrun.

The test library is in the startup folder of the Run time.
I tested it in Omnis Studio 8.0.3.5 and 8.1.5 with both the same result
Used both my own test library as the omnistap_example library

What am I doing wrong? How can I fix this?

@barkingfoodog
Copy link
Contributor

When run from the CLI, OmnisTAP kills the Omnis executable by sending a SIGTERM signal to the Omnis process. This works around issues where Omnis hangs trying to close. The message you're seeing in the OmnisCLI output is the script trapping that termination.

You can disable the Mac's prompt to re-open windows by going to System Preferences -> General and checking Close windows when quitting an app.

close windows when quitting an app

This should prevent that message from appearing. It's a system-wide setting, and I don't know if there's a way to make it application specific. But, we use a dedicated machine for running tests and no one needs this behavior enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants