Running with Appium.app = OK, with (node . or appium command line) = KO [SOLVED]

Hi All,

We can run the tutorial example successfully with Appium.app on Mac OS X using:

tutorial/projects/ruby_ios$ rake ios[test]

If instead of using the Appium.app, we use the command line version to run the Appium server with:

  • appium $ node .

or

  • $ appium # for the node installed modules.

The simulator screen stays black. Please see the following logs for details:

We just tried with the 1.2.2 version and the behavior is unchanged.

We have been able to automate some scenarios on our own application using the Appium.app.
Though now we would like to get that automation to run in Jenkins and using Appium.app is not what we want.

What should we try to get that issue resolved and run “node .” or better use the npm installed appium command?

Best regards,

Christophe

So, Appium.app runs the commandline version of appium in the background. If you just want to run appium on your Jenkins server, forget about Appium.app and just use the npm package from the commandline.

Try running a test via your test runner when the appium server is running from commandline, and you’ll see the log output in your console.

Looks like instruments couldn’t start. Just try rebooting your computer, and make sure no other instance of Instruments is running.

Hi jonahss,

So far I had been starting appium in a tmux window. Yesterday I tried again by opening another terminal instead and now the appium server command or running from a local clone of the appium repository. There might be some environment variable differences that causes this.

So not starting from a tmux window solved my issue.

Thank you jonahss for your suggestion. That is greatly appreciated.

Christophe

1 Like