Is running headlessly possible?
Is running headlessly possible?--
http://appium.io
---
You received this message because you are subscribed to the Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss.
For more options, visit https://groups.google.com/groups/opt_out.
We have a bunch of virtual jenkins slaves with no graphical output capability. As far as I know this falls under both "headless" and "without a monitor"?What is the major difference between headless and without a monitor?
So Appium automation can run with the emulator in -no-window mode?
So Appium automation can run with the emulator in -no-window mode?
+ /usr/local/bin/appium
env: node: No such file or directory
+ appium [36minfo [39m: Welcome to Appium v0.15.0 (REV a7b47d73a27074cc928cc5b325e5d4de1b6e5594) [36minfo [39m: Appium REST http interface listener started on 0.0.0.0:4723 [36minfo - [39m socket.io started [36minfo [39m: Spawning instruments force-quitting watcher process [36minfo [39m: [FQInstruments STDERR] Force quit unresponsive instruments v0.0.1 [36minfo [39m: [FQInstruments STDERR] _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
[36minfo [39m: Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments [36minfo [39m: [90m[INSTSERVER] Instruments socket server started at /tmp/instruments_sock [39m [36minfo [39m: Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate /Users/Shared/Jenkins/Home/jobs/One-Test/workspace/./app/MyApp.app -e UIASCRIPT /usr/local/lib/node_modules/appium/lib/devices/ios/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments/ [36minfo [39m: And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/usr/local/lib/node_modules/appium/build/iwd/InstrumentsShim.dylib","LIB_PATH":"/usr/local/lib/node_modules/appium/build/iwd"} [36minfo [39m: And launch timeout: 90000ms [36minfo [39m: [33m[INST STDERR] _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL. [39m [36minfo [39m: [33m[INST STDERR] 2014-02-20 12:59:50.284 instruments[1243:507] Recording cancelled : At least one target failed to launch; aborting run Instruments Trace Error : Error Domain=com.apple.instruments Code=1 "Error Starting Recording" UserInfo=0x7fec04af8da0 {NSLocalizedDescription=Error Starting Recording, NSLocalizedRecoverySuggestion=At least one target failed to launch; aborting run} Instruments Trace Error : Failed to start trace. [39m [36minfo [39m: [90m[INSTSERVER] Instruments exited with code 253 [39m
[31merror [39m: Instruments crashed on startup [36minfo [39m: Killall instruments [36minfo [39m: Stopping iOS log capture [31merror [39m: uncaughtException: Cannot call method 'kill' of null date=Thu Feb 20 2014 12:59:50 GMT-0500 (EST), pid=1194, uid=236, gid=1, cwd=/Users/Shared/Jenkins/Home/jobs/One-Test/workspace, execPath=/usr/local/bin/node, version=v0.10.23, argv=[node, /usr/local/bin/appium], rss=47648768, heapTotal=34235136, heapUsed=18380088, loadavg=[0.38427734375, 0.5771484375, 0.6640625], uptime=7103, trace=[column=13, file=/usr/local/lib/node_modules/appium/lib/devices/ios/ios-log.js, function=IosLog.stopCapture, line=108, method=stopCapture, native=false, column=26, file=/usr/local/lib/node_modules/appium/lib/devices/ios/ios.js, function=, line=235, method=null, native=false, column=10, file=/usr/local/lib/node_modules/appium/lib/devices/ios/instruments.js, function=Instruments.launchHandler, line=114, method=launchHandler, native=false, column=17, file=/usr/local/lib/node_modules/appium/lib/devices/ios/instruments.js, function=Instruments.onInstrumentsExit, line=309, method=onInstrumentsExit, native=false, column=12, file=/usr/local/lib/node_modules/appium/lib/devices/ios/instruments.js, function=, line=260, method=null, native=false, column=17, file=events.js, function=ChildProcess.EventEmitter.emit, line=98, method=EventEmitter.emit, native=false, column=12, file=child_process.js, function=Process.ChildProcess._handle.onexit, line=789, method=ChildProcess._handle.onexit, native=false], stack=[TypeError: Cannot call method 'kill' of null, at IosLog.stopCapture (/usr/local/lib/node_modules/appium/lib/devices/ios/ios-log.js:108:13), at null.<anonymous> (/usr/local/lib/node_modules/appium/lib/devices/ios/ios.js:235:26), at Instruments.launchHandler (/usr/local/lib/node_modules/appium/lib/devices/ios/instruments.js:114:10), at Instruments.onInstrumentsExit (/usr/local/lib/node_modules/appium/lib/devices/ios/instruments.js:309:17), at null.<anonymous> (/usr/local/lib/node_modules/appium/lib/devices/ios/instruments.js:260:12), at ChildProcess.EventEmitter.emit (events.js:98:17), at Process.ChildProcess._handle.onexit (child_process.js:789:12)]