Skip to content

Instantly share code, notes, and snippets.

View shridharkalagi's full-sized avatar

Shridhar Kalagi shridharkalagi

  • Thoughtworks Technologies
  • Bangalore
View GitHub Profile
@shridharkalagi
shridharkalagi / gist:4a5c094cd004ea95ed0c45f1f76e372b
Created February 20, 2018 06:12
Progress bar is moved 50% irrespective of the progressBar.setValue() param - Server logs
[HTTP] --> POST /wd/hub/session/2d90a9fc-8274-4d11-affc-5c0f8cd4930b/appium/element/3/value {"id":"3","value":"20"}
[debug] [MJSONWP] Calling AppiumDriver.setValueImmediate() with args: ["20","3","2d90a9fc-8274-4d11-affc-5c0f8cd4930b"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
02-20 12:55:31.549 881 896 I memtrack_graphic: graphic_memtrack_get_memory match 4: ion_mm_heap 1780 8912896 10 ffffffc020feef00 ffffffc00884d8c0.
02-20 12:55:31.549 881 896 I memtrack_graphic: : 1780 1780 8912896 10 891289
02-20 12:55:31.711 881 906 D AutoBrightnessLenovo.LightSensorSample: onSensorChanged: lux = 72.413795
02-20 12:55:31.711 881 906 D AutoBrightnessLenovo: updateAmbientLux: Scheduling ambient lux update for 309432040309432040 (in 1500 ms)
02-20 12:55:31.719 881 881 E WifiTrafficPoller: TRAFFIC_STATS_POLL true Token 2166 num clients 10
02-20 12:55:31.720 881 881 E WifiTrafficPoller: packet count Tx=550053 Rx=2460213
02-20 12:55:32.038 1900 1906 I PerfService: PerfServiceNative_getPackName
02-20 12:55:32.038 881 2821 I libPerfService: perfGetLastBoostPid 2506
02-20 12:55:32.039 881 2821 D PerfServiceManager: [PerfService] getLastBoostPid 2506
02-20 12:55:32.039 881 2821 I libPerfService: perfGetLastBoostPid 2506
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"82557701-5e00-436a-a0ac-ea10614626c8","status":0,"value":"Created Session"}
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.vodqareactnative/com.vodqareactnative.MainActivity'. Starting it ourselves
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/shridhk/GitHub/Documents/VodQAAppium/Tools/SDK/platform-tools/adb' with args: ["-P",5037,"-s","SW85KVJRWS6TDQT4","shell","am","start","-W","-n","com.vodqareactnative/com.vodqareactnative.MainActivity","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/shridhk/GitHub/AppiumSample/VodQA.apk","automationName":"UIAutomator2","deviceName":"Test","platformName":"Android"},"capabilities":{"desiredCapabilities":{"app":"/Users/shridhk/GitHub/AppiumSample/VodQA.apk","au
[HTTP] --> POST /wd/hub/session/f71fadf9-ea13-4147-ad89-df10df553693/touch/perform {"actions":[{"action":"press","options":{"x":0,"y":23,"element":"e5d720a1-2b3f-4f75-acc1-382e4136dac5"}},{"action":"wait","options":{"ms":3000}},{"action":"moveTo","options":{"x":394,"y":23,"element":"e5d720a1-2b3f-4f75-acc1-382e4136dac5"}},{"action":"release","options":{}}]}
[HTTP] <-- POST /wd/hub/session/f71fadf9-ea13-4147-ad89-df10df553693/touch/perform 404 2 ms - 131
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/shridhk/GitHub/AppiumSample/VodQA.apk","automationName":"UIAutomator2","deviceName":"Test","platformName":"Android"},"capabilities":{"desiredCapabilities":{"app":"/Users/shridhk/GitHub/AppiumSample/VodQA.apk","automationName":"UIAutomator2","deviceName":"Test","platformName":"Android"},"firstMatch":[{"appium:app":"/Users/shridhk/GitHub/AppiumSample/VodQA.apk","appium:automationName":"UIAutomator2","appium:deviceName":"Test","platformName":"android"}]}}
[debug] [MJSONWP] Calling AppiumDriver.
2018-03-14 09:45:34:088 - info: [Appium] Welcome to Appium v1.7.2
2018-03-14 09:45:34:090 - info: [Appium] Non-default server args:
2018-03-14 09:45:34:091 - info: [Appium] address: 127.0.0.1
2018-03-14 09:45:34:091 - info: [Appium] port: 10580
2018-03-14 09:45:34:091 - info: [Appium] log: /Users/shridhk/GitHub/aa/target/appiumlogs/appium_logs.txt
2018-03-14 09:45:34:092 - info: [Appium] loglevel: info
2018-03-14 09:45:34:122 - info: [Appium] Appium REST http interface listener started on 127.0.0.1:10580
2018-03-14 09:45:34:306 - info: [HTTP] --> GET /wd/hub/status {}
2018-03-14 09:45:34:337 - info: [HTTP] <-- GET /wd/hub/status 200 27 ms - 72
2018-03-14 09:45:34:730 - info: [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"automationName":"UIAutomator2","browserName":"chrome","chromeDriverPort":52834,"deviceName":"android","platformName":"Android","platformVersion":"7.0","systemPort":52774,"takesScreenshot":true,"udid":"SW85KVJRWS6TDQT4"},"capabilities":{"desiredCapabilities":{"automationName
org.openqa.selenium.WebDriverException: unknown error: call function result missing 'value'
(Session info: chrome=65.0.3325.109)
(Driver info: chromedriver=2.33.506106 (8a06c39c4582fbfbab6966dbb1c38a9173bfb1a2),platform=Mac OS X 10.12.6 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: '3.9.1', revision: '63f7b50', time: '2018-02-07T22:25:02.294Z'
System info: host: 'ttl001107.thetrainline.com', ip: 'fe80:0:0:0:ce7:6b8f:395d:6d72%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.6', java.version: '1.8.0_65'
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {automationName: UIAutomator2, browserName: chrome, chromeDriverPort: 51888, deviceName: android, javascriptEnabled: true, platform: ANDROID, platformName: ANDROID, platformVersion: 7.0, systemPort: 51845, takesScreenshot: true, udid: SW85KVJRWS6TDQT4}
Session ID: 3a2ab739-e4f2-4d12-81b1-380d24b8838f
at sun.reflect.NativeConstructo
org.openqa.selenium.WebDriverException: org.openqa.selenium.WebDriverException: Returned value cannot be converted to WebElement: {message=no such element: Unable to locate element: {"method":"id","selector":"loggedInStatus"}
(Session info: chrome=65.0.3325.109)
(Driver info: chromedriver=2.36.540469 (1881fd7f8641508feb5166b7cae561d87723cfa8),platform=Mac OS X 10.12.6 x86_64)}
Build info: version: '3.9.1', revision: '63f7b50', time: '2018-02-07T22:25:02.294Z'
System info: host: 'ttl001107.thetrainline.com', ip: 'fe80:0:0:0:ce7:6b8f:395d:6d72%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.6', java.version: '1.8.0_65'
Driver info: driver.version: AndroidDriver
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:191)
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:1)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
at io.appium.java_client.pagefactory.Ap
2018-03-14 10:11:27:162 - error: uncaughtException: write EPIPE date=Wed Mar 14 2018 15:41:27 GMT+0530 (IST), pid=7378, uid=502, gid=20, cwd=/Users/shridhk/GitHub/test, execPath=/usr/local/Cellar/node@6/6.12.2/bin/node, version=v6.12.2, argv=[/usr/local/Cellar/node@6/6.12.2/bin/node, /usr/local/lib/node_modules/appium/build/lib/main.js, --port, 1581, --address, 127.0.0.1, --log, /Users/shridhk/GitHub/BuyNowMobileTest/target/appiumlogs/appium_logs.txt, --log-level, info], rss=195588096, heapTotal=158519296, heapUsed=119882072, external=2132108, loadavg=[2.15771484375, 2.88818359375, 2.9814453125], uptime=6560, trace=[column=11, file=util.js, function=exports._errnoException, line=1020, method=_errnoException, native=false, column=14, file=net.js, function=WriteWrap.afterWrite, line=800, method=afterWrite, native=false], stack=[Error: write EPIPE, at exports._errnoException (util.js:1020:11), at WriteWrap.afterWrite (net.js:800:14)]
2018-03-15 06:56:29:966 - info: [Appium] Welcome to Appium v1.8.0-beta3
2018-03-15 06:56:29:969 - info: [Appium] Non-default server args:
2018-03-15 06:56:29:970 - info: [Appium] address: 127.0.0.1
2018-03-15 06:56:29:970 - info: [Appium] port: 7370
2018-03-15 06:56:29:970 - info: [Appium] log: /Users/shridhk/GitHub/test/target/appiumlogs/appium_logs.txt
2018-03-15 06:56:29:971 - info: [Appium] loglevel: info
2018-03-15 06:56:30:000 - info: [Appium] Appium REST http interface listener started on 127.0.0.1:7370
2018-03-15 06:56:30:090 - info: [HTTP] --> GET /wd/hub/status {}
2018-03-15 06:56:30:104 - info: [HTTP] <-- GET /wd/hub/status 200 12 ms - 78
2018-03-15 06:56:30:440 - info: [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"automationName":"UIAutomator2","browserName":"chrome","chromeDriverPort":63009,"deviceName":"android","platformName":"Android","platformVersion":"7.0","systemPort":62993,"takesScreenshot":true,"udid":"FA66VBN01980"},"capabilities":{"desiredCapabilities":{"automationNa
2018-04-03 11:09:35:447 - info: [Appium] Welcome to Appium v1.8.0-beta3
2018-04-03 11:09:35:449 - info: [Appium] Non-default server args:
2018-04-03 11:09:35:450 - info: [Appium] address: 127.0.0.1
2018-04-03 11:09:35:450 - info: [Appium] port: 24753
2018-04-03 11:09:35:450 - info: [Appium] log: /Users/shridhk/GitHub/Test/target/appiumlogs/appium_logs.txt
2018-04-03 11:09:35:450 - info: [Appium] loglevel: info
2018-04-03 11:09:35:479 - info: [Appium] Appium REST http interface listener started on 127.0.0.1:24753
2018-04-03 11:09:35:768 - info: [HTTP] --> GET /wd/hub/status {}
2018-04-03 11:09:35:785 - info: [HTTP] <-- GET /wd/hub/status 200 15 ms - 78
2018-04-03 11:09:36:096 - info: [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"automationName":"XCuiTest","browserName":"Safari","clearSystemFiles":true,"deviceName":"iPhone","maxTypingFrequency":10,"platformName":"iOS","preventWDAAttachments":true,"shouldUseSingletonTestManager":false,"simpleIsVisibleCheck":true,"udid":"4586d76aed06a1740e8e7e