Skip to content

Instantly share code, notes, and snippets.

@shreyanshp
Created October 8, 2019 07:02
Show Gist options
  • Save shreyanshp/54a6cd53d0bd7ba54a7b7be329f009af to your computer and use it in GitHub Desktop.
Save shreyanshp/54a6cd53d0bd7ba54a7b7be329f009af to your computer and use it in GitHub Desktop.
The server is running
[Appium] Welcome to Appium v1.15.0
[Appium] Non-default server args:
[Appium] allowInsecure: {
[Appium] }
[Appium] denyInsecure: {
[Appium] }
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"app":"/Users/shreyansh.pandey/git/qa-automate-mobileqa/Apps/PaypayAppStg-InHouse-con1.ipa","noReset":false,"bundleId":"","deviceName":"iPhone X","fullReset":true,"launchTimeout":720000,"newCommandTimeout":720,"platformVersion":"11.1.2","automationName":"XCUITest","platformName":"iOS","udid":"0e1f4ee953974af241421817fbfc17d4c1fc7715","autoAcceptAlerts":false},"capabilities":{"firstMatch":[{"appium:app":"/Users/shreyansh.pandey/git/qa-automate-mobileqa/Apps/PaypayAppStg-InHouse-con1.ipa","appium:autoAcceptAlerts":false,"appium:automationName":"XCUITest","appium:bundleId":"","appium:deviceName":"iPhone X","appium:fullReset":true,"appium:launchTimeout":720000,"appium:newCommandTimeout":720,"appium:noReset":false,"platformName":"ios","appium:platformVersion":"11.1.2","appium:udid":"0e1f4ee953974af241421817fbfc17d4c1fc7715"}]}}
[W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/shreyansh.pandey/git/qa-automate-mobileqa/Apps/PaypayAppStg-InHouse-con1.ipa","noReset":false,"bundleId":"","deviceName":"iPhone X","fullReset":true,"launchTimeout":720000,"newCommandTimeout":720,"platformVersion":"11.1.2","automationName":"XCUITest","platformName":"iOS","udid":"0e1f4ee953974af241421817fbfc17d4c1fc7715","autoAcceptAlerts":false},null,{"firstMatch":[{"appium:app":"/Users/shreyansh.pandey/git/qa-automate-mobileqa/Apps/PaypayAppStg-InHouse-con1.ipa","appium:autoAcceptAlerts":false,"appium:automationName":"XCUITest","appium:bundleId":"","appium:deviceName":"iPhone X","appium:fullReset":true,"appium:launchTimeout":720000,"appium:newCommandTimeout":720,"appium:noReset":false,"platformName":"ios","appium:platformVersion":"11.1.2","appium:udid":"0e1f4ee953974af241421817fbfc17d4c1fc7715"}]}]
[BaseDriver] Event 'newSessionRequested' logged at 1570517195510 (15:46:35 GMT+0900 (JST))
[Appium] Appium v1.15.0 creating new XCUITestDriver (v2.133.1) session
[BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[BaseDriver] Creating session with W3C capabilities: {
[BaseDriver] "alwaysMatch": {
[BaseDriver] "platformName": "ios",
[BaseDriver] "appium:app": "/Users/shreyansh.pandey/git/qa-automate-mobileqa/Apps/PaypayAppStg-InHouse-con1.ipa",
[BaseDriver] "appium:autoAcceptAlerts": false,
[BaseDriver] "appium:automationName": "XCUITest",
[BaseDriver] "appium:bundleId": "",
[BaseDriver] "appium:deviceName": "iPhone X",
[BaseDriver] "appium:fullReset": true,
[BaseDriver] "appium:launchTimeout": 720000,
[BaseDriver] "appium:newCommandTimeout": 720,
[BaseDriver] "appium:noReset": false,
[BaseDriver] "appium:platformVersion": "11.1.2",
[BaseDriver] "appium:udid": "0e1f4ee953974af241421817fbfc17d4c1fc7715"
[BaseDriver] },
[BaseDriver] "firstMatch": [
[BaseDriver] {}
[BaseDriver] ]
[BaseDriver] }
[BaseDriver] Session created with session id: bde8e967-0690-4b4a-a749-448da0cf570b
[XCUITest] Current user: 'shreyansh.pandey'
[XCUITest] Available devices: 0e1f4ee953974af241421817fbfc17d4c1fc7715
[XCUITest] Creating iDevice object with udid '0e1f4ee953974af241421817fbfc17d4c1fc7715'
[XCUITest] Determining device to run tests on: udid: '0e1f4ee953974af241421817fbfc17d4c1fc7715', real device: true
[XCUITest] Normalized platformVersion capability value '11.1.2' to '11.1'
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1570517196042 (15:46:36 GMT+0900 (JST))
[BaseDriver] Using local app '/Users/shreyansh.pandey/git/qa-automate-mobileqa/Apps/PaypayAppStg-InHouse-con1.ipa'
[BaseDriver] Unzipping '/Users/shreyansh.pandey/git/qa-automate-mobileqa/Apps/PaypayAppStg-InHouse-con1.ipa'
[BaseDriver] Extracted 1202 item(s) from '/Users/shreyansh.pandey/git/qa-automate-mobileqa/Apps/PaypayAppStg-InHouse-con1.ipa'
[BaseDriver] Matched 1201 item(s) in the extracted archive. Assuming 'Payload/PaypayApp.app' is the correct bundle
[BaseDriver] Unzipped local app to '/var/folders/n8/s88q52hx56bb3_k3bd99gbr40000gp/T/201998-9381-cv6nip.yhlnp/Payload/PaypayApp.app'
[BaseDriver] Event 'appConfigured' logged at 1570517199088 (15:46:39 GMT+0900 (JST))
[XCUITest] Checking whether app '/var/folders/n8/s88q52hx56bb3_k3bd99gbr40000gp/T/201998-9381-cv6nip.yhlnp/Payload/PaypayApp.app' is actually present on file system
[XCUITest] App is present
[iOS] Getting bundle ID from app '/var/folders/n8/s88q52hx56bb3_k3bd99gbr40000gp/T/201998-9381-cv6nip.yhlnp/Payload/PaypayApp.app': 'jp.pay2.app.ios.inhouse'
[BaseDriver] Event 'resetStarted' logged at 1570517199093 (15:46:39 GMT+0900 (JST))
[XCUITest] Reset: running ios real device reset flow
[XCUITest] Reset: fullReset requested. Will try to uninstall the app 'jp.pay2.app.ios.inhouse'.
[XCUITest] Reset: app not installed. No need to uninstall
[BaseDriver] Event 'resetComplete' logged at 1570517199326 (15:46:39 GMT+0900 (JST))
[XCUITest] Crash reports root '/Users/shreyansh.pandey/Library/Logs/CrashReporter/MobileDevice/PayPay iPhoneSE' does not exist. Got nothing to gather.
[BaseDriver] Event 'logCaptureStarted' logged at 1570517199563 (15:46:39 GMT+0900 (JST))
[XCUITest] Setting up real device
[XCUITest] Verifying application platform
[XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
[XCUITest] Installing '/var/folders/n8/s88q52hx56bb3_k3bd99gbr40000gp/T/201998-9381-cv6nip.yhlnp/Payload/PaypayApp.app' on device with UUID '0e1f4ee953974af241421817fbfc17d4c1fc7715'...
[XCUITest] Error was thrown during the installation process
[XCUITest] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
[XCUITest] at assertPath (path.js:39:11)
[XCUITest] at Object.join (path.js:1157:7)
[XCUITest] at Object.join [as walkDir] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/fs.js:76:29)
[XCUITest] Error: Could not install app: 'The "path" argument must be of type string. Received type undefined'
[XCUITest] at IOSDeploy.install (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:41:13)
[DevCon Factory] Releasing connections for 0e1f4ee953974af241421817fbfc17d4c1fc7715 device on any port number
[DevCon Factory] No cached connections have been found
[BaseDriver] Event 'newSessionStarted' logged at 1570517199991 (15:46:39 GMT+0900 (JST))
[W3C] Encountered internal error running command: Error: Could not install app: 'The "path" argument must be of type string. Received type undefined'
[W3C] at IOSDeploy.install (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:41:13)
[HTTP] <-- POST /wd/hub/session 500 4496 ms - 818
[HTTP]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment