selenium webdriver - Unable to run TestScripts on safari browser on iOS devices[iOS 8] using appium -
i not able run testscripts on safari browser on ios devices[ios 8].
appium version: 1.3.1 xcode: xcode 6.0 ios sdk: 8.0 ipad device ios version: 8.0 installed ios-web-kit proxy installed safarilauncherapp in devices. could`t succeed. please help me resolve this. blocked. appium logs: welcome appium v1.3.1 (rev 1160ce02bb89c354cb99317985123acf39f0e7d3) info: appium rest http interface listener started on 0.0.0.0:4723 info: console loglevel: debug info: --> post /wd/hub/session {"desiredcapabilities":{"safariignorefraudwarning":"true","app":"safarilauncher.app","platformname":"ios","devicename":"ipad","browsername":"ios","safariallowpopups":false,"udid":"b331d45d209fd3b2e118fbfd68965c5f7e472b49","version":"8.0"}} info: client user-agent string: undefined warn: converting cap safariignorefraudwarning string boolean. might cause unexpected behavior. info: [debug] next desired capabilities provided, not recognized appium. passed on other services running on server. : version info: [debug] app ios bundle, effort run pre-existing info: [debug] creating new appium session 12c663a4-5b60-4998-baee-ffa78bd80a09 info: [debug] removing remaining instruments sockets info: [debug] cleaned instruments socket /tmp/instruments_sock info: [debug] setting xcode folder info: [debug] setting xcode version info: [debug] setting ios sdk version info: [debug] getting sdk version xcrun timeout info: [debug] ios sdk version set 8.0 info: [debug] not checking whether simulator available since we're on real device info: [debug] detecting automation tracetemplate info: [debug] not auto-detecting udid, running on sim info: [debug] not parse plist file (as binary) @ /usr/local/lib/node_modules/appium/safarilauncher.app/en.lproj/localizable.strings info: seek parse plist file xml parsefilesync() deprecated. utilize parsestringsync() instead. info: [debug] not parse plist file (as xml) @ /usr/local/lib/node_modules/appium/safarilauncher.app/en.lproj/localizable.strings warn: not parse app localizable.strings; assuming doesn't exist info: [debug] creating instruments info: on xcode 6 platforms, instruments-without-delay not work. if experience this, need re-run appium --native-instruments-lib flag info: [debug] preparing uiauto bootstrap info: [debug] dynamic bootstrap dir: /users/valtech/library/application support/appium/bootstrap info: [debug] dynamic env: {"nodepath":"/usr/local/bin/node","commandproxyclientpath":"/usr/local/lib/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js","instrumentssock":"/tmp/instruments_sock","interkeydelay":null,"justloopinfinitely":false,"autoacceptalerts":false} info: [debug] dynamic bootstrap code: // file automatically generated. not manually mod...! info: [debug] dynamic bootstrap path: /users/valtech/library/application support/appium/bootstrap/bootstrap-596362050ad3c71e.js info: [debug] reusing dynamic bootstrap: /users/valtech/library/application support/appium/bootstrap/bootstrap-596362050ad3c71e.js info: [debug] getting device string opts: {"forceiphone":false,"forceipad":false,"xcodeversion":"6.0","iossdkversion":"8.0","devicename":"ipad","platformversion":null} info: [debug] fixdevice on info: [debug] final device string is: 'ipad (8.0 simulator)' info: [debug] not setting device type since we're on real device info: [debug] checking whether need set app preferences info: [debug] not setting ios , app preferences since we're on real device info: [debug] running ios sim reset flow info: [debug] killing simulator process info: [debug] killall ios simulator info: [debug] killing other simulator daemons info: [debug] on real device; cannot clean device state info: [debug] not setting locale because we're using real device info: [debug] no ios / app preferences set info: [debug] starting ios device log capture via deviceconsole info: [debug] not pre-launching simulator info: [debug] creating idevice object udid b331d45d209fd3b2e118fbfd68965c5f7e472b49 info: [debug] couldn't find ideviceinstaller, trying built-in @ /usr/local/lib/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller info: [debug] checking app install status using: /usr/local/lib/node_modules/appium/build/fruitstrap/fruitstrap isinstalled --id b331d45d209fd3b2e118fbfd68965c5f7e472b49 --bundle safarilauncher.app info: [debug] app not installed. seek install app. info: [debug] installing app using cmd: /usr/local/lib/node_modules/appium/build/fruitstrap/fruitstrap install --id b331d45d209fd3b2e118fbfd68965c5f7e472b49 --bundle "safarilauncher.app" info: [debug] cleaning appium session error: failed start appium session, err was: error: unable install [safarilauncher.app] device id [b331d45d209fd3b2e118fbfd68965c5f7e472b49]. error [error: command failed: assertion failed: (access(app_path, f_ok) == 0), function main, file fruitstrap.c, line 718. ] info: [debug] error: unable install [safarilauncher.app] device id [b331d45d209fd3b2e118fbfd68965c5f7e472b49]. error [error: command failed: assertion failed: (access(app_path, f_ok) == 0), function main, file fruitstrap.c, line 718. ] @ /usr/local/lib/node_modules/appium/lib/devices/common.js:147:10 @ childprocess.exithandler (child_process.js:641:7) @ childprocess.eventemitter.emit (events.js:98:17) @ maybeclose (child_process.js:743:16) @ socket. (child_process.js:956:11) @ socket.eventemitter.emit (events.js:95:17) @ pipe.close (net.js:466:12) info: [debug] responding client error: {"status":33,"value":{"message":"a new session not created. (original error: unable install [safarilauncher.app] device id [b331d45d209fd3b2e118fbfd68965c5f7e472b49]. error [error: command failed: assertion failed: (access(app_path, f_ok) == 0), function main, file fruitstrap.c, line 718.\n])","origvalue":"unable install [safarilauncher.app] device id [b331d45d209fd3b2e118fbfd68965c5f7e472b49]. error [error: command failed: assertion failed: (access(app_path, f_ok) == 0), function main, file fruitstrap.c, line 718.\n]"},"sessionid":null} info: <-- post /wd/hub/session 500 3527.806 ms - 574
ios-web-kit-proxy console:
connected :9227 ipad (b331d45d209fd3b2e118fbfd68965c5f7e472b49) invalid message rpcapplicationupdated: wirapplicationbundleidentifierkey com.apple.mobilesafari wirapplicationnamekey safari wirisapplicationproxykey wirisapplicationactivekey 0 wirapplicationidentifierkey pid:245 disconnected :9227 ipad (b331d45d209fd3b2e118fbfd68965c5f7e472b49)
thanks, rashmi
selenium-webdriver appium
No comments:
Post a Comment