Skip to content

Instantly share code, notes, and snippets.

@saikrishna321
Created February 27, 2016 01:54
Show Gist options
  • Save saikrishna321/f1e5c68c33e2253a2fb2 to your computer and use it in GitHub Desktop.
Save saikrishna321/f1e5c68c33e2253a2fb2 to your computer and use it in GitHub Desktop.
~/Documents/workspace/TestNGParallel (ios_fix ✘)✹✭ ᐅ mvn clean -Dtest=Runner test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building TestDistribution 2.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ TestDistribution ---
[INFO] Deleting /Users/saikrisv/Documents/workspace/TestNGParallel/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ TestDistribution ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ TestDistribution ---
[INFO] Compiling 16 source files to /Users/saikrisv/Documents/workspace/TestNGParallel/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ TestDistribution ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ TestDistribution ---
[INFO] Compiling 23 source files to /Users/saikrisv/Documents/workspace/TestNGParallel/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ TestDistribution ---
[INFO] Surefire report directory: /Users/saikrisv/Documents/workspace/TestNGParallel/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.test.site.Runner
Configuring TestNG with: TestNG652Configurator
adb service already started
creating directory: Logs
DIR created
creating directory: ADBLogs
DIR created
adb service already started
Following device is connected
192.168.56.104:5555 generic GoogleNexus4-5.0.0-API21-768x1280 5.0
Following device is connected
192.168.56.102:5555 generic SamsungGalaxyNote3-4.4.4-API19-1080x1920 4.4.4
Total Number of devices detected::2
starting running tests in threads
forEach: true
forEach: true
forEach: true
forEach: true
forEach: true
forEach: true
forEach: true
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite thread-count="2" verbose="2" name="TestNG Forum" parallel="classes">
<test name="TestNG Test">
<classes>
<class name="com.test.site.HomePageTest3"/>
<class name="com.test.site.HomePageTest2"/>
<class name="com.test.site.HomePageTest1"/>
<class name="com.test.site.HomePageTest6"/>
<class name="com.test.site.HomePageTest5"/>
<class name="com.test.site.HomePageTest4"/>
</classes>
</test> <!-- TestNG Test -->
</suite> <!-- TestNG Forum -->
...
... TestNG 6.9.10 by Cédric Beust (cedric@beust.com)
...
[TestNG] Running:
Command line suite
[TestRunner] Starting executor for test TestNG Test with time out:2147483647 milliseconds.
Before Class called11
Before Class called12
com.test.site.HomePageTest2
com.test.site.HomePageTest1
SamsungGalaxyNote3444API191080x1920192_168_56_102_5555
/Users/saikrisv/Documents/workspace/TestNGParallel
GoogleNexus4500API21768x1280192_168_56_104_5555
Starting Appium Server
192.168.56.102:5555
Starting Appium Server
192.168.56.104:5555
[[Appium] Welcome toAppium] Welcome to Appium v1.5.0 (REV 683e2843e8a0c9d673bade89ddff8d581fde321f)
Appium v1.5.0 (REV 683e2843e8a0c9d673bade89ddff8d581fde321f)
[Appium] Non-default[Appium] server argNs:
on-default server args:
[Appium] [port:Appium] 49616
[Appium] bootstrapPort: 49619
port: 49617
[Appium] bo[Appium] sessionOverride: true
otstrapPort: 49622
[Appium] sessionOverride: true
[Appium] log: '/Users/saikrisv/Documents/workspace/TestNGParallel/target/appiumlogs/192.168.56.1[Appium] log: '/Users/saikrisv/Documents/workspace/TestNGP04aral:5555lel/target/appiumlog__HomePags/192.168.5eTest2.txt'
6.102:5555_[Appium] log_HomePageTest1.txlevel: t'
[Appium] loglevel: ''ininfo'
[Appium]fo'
[ selAppium] en selendroidPort: 49623
droid[APortppium] : 49620
[Appium] chrom chromeDriverPort: 49621
[AppiumeDriverP] suort: 49618
[Appiumpp] suppressAdbKillSressAdbKerver:illServer: true
[Appium] udid: '192.168.56.104:5555'
[Appium] Deprecated server args:
[Appium] -U,--udid => --default-capabilities '{"udid":"192.168.56.104:5555"}'
true
[Appium] udid: '192.168.56.102:5555'
[Appium] Deprecate[Appium] Default capabilities, whicd server arh will be addegs:
[Ad to each request unless overridden by desired capabilities:
ppium] -U,--udid => --default-capabilities '{"udid":"192.168.56.102:5555"}'
[Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:
[Appium] udid: '192.168.56.102:[Appium] 55ud55'
id: '192.168.56.104:5555'
[Appium] Appium REST http interface listener started on 0.0.0.0:49617
[Appium] Appium REST http interface listener started on 0.0.0.0:49616
[HTTP] --> GET /wd/hub/s[HTtatusTP] -->
GET /wd/hub/status
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[[MJSONWP] Responding tMJSONWP] Ro client wesith driver.getStpondingatus() res to clult: {ie"build":{nt "version":with dr"1.iver.getSta5.tus0"() r,"resevult:ision" {:"6"build":{"version":"1.5.0","revision":"683e2843e8a0c9d673ba83e2843e8a0c9d673bade89ddffde89ddff8d581fde321f"}}
8d581fde321f"}}
[HTTP] <--[HTTP] <-- GET /wd/hub/status 200 19 ms - 121
GET /wd/hub/status 200 19 ms - 121
[[HTTP]HTTP] --> GET / --> GET /wd/hub/statwd/hub/stus atus
[MJSONWP] Calling AppiumD[MJSONriver.getStatus() with arWP] Cgs: []
alling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with dri[MveJSONWP] Respr.getonding tStatus() o client wresult: {"builith driver.getStd":{"vatus() result: {"build":{"version":"1.5.0","revision":"683e2843e8a0c9d673bade89ddff8d581fde321f"}}
ersion":"1.5.0","revision":"683e2843e8a0c9d673bade89ddff8d581fde321f"}}
true
true
io.appium.java_client.service.local.AppiumServiceBuilder@26bb2ea4
io.appium.java_client.service.local.AppiumServiceBuilder@4b584046
[HTTP] <-- GET /wd/hub/stat[HTTP] <-- GET /wd/hub/status 200 11 ms - 121
us 200 11 ms - 121
[HTTP] --> POST /wd/hub/session
[HTTP] --> POST /wd/hub/session
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/saikrisv/Documents/workspace/workspace1/TestNGParallelThreadBeforeClass/build/AndroidCalculator.apk","appPackage":"com.android2.cal...
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/saikrisv/Documents/workspace/workspace1/TestNGParallelThreadBeforeClass/build/AndroidCalculator.apk","appPackage":"com.android2.cal...
[Appium] Creating new AndroidDriver session
[Appium] Capabilities:
[Appium] Creating new AndroidDriver session
[Appium] Capabil[Appiitiumes] :
app: '/Users/saikrisv/Documents/workspace/workspace1/TestNGParallelThreadBeforeClass/build/Androi[Appium] app: 'dC/Usalcers/ulator.apk'
saikrisv/Documents/workspace/workspace1/TestNGParallelThreadBeforeC[Appium] appPackage: 'class/build/om.android2.caAnlcudroidCallator3'
[Appiumculator.apk'
] [A appActivity: 'com.android2.calculator3.Calculator'
ppium] [Appium] platformVerappPackage: 'com.ansidroid2.con: '5.X'
[Appalculatium] or3'
[Appium] app brActivity: 'comowse.android2rName: ''
.[Appium] platforcalcumName: 'Android'lator3.Calculator'
[Ap[Appiumpi] platformVersium] deon: '5.X'
[viceName: 'AndAppium] roid'
[Appium] udid: '192. browserName168: .56.1''
0[Ap2:5555'
pium] platformName: 'Android'
[Appium] deviceName: 'Android'
[Appium] udid: '192.168.56.104:5555'
[BaseDriver] Session created with session id: 22fcde5d-19df-4217-a4ec-fe51ecc0c148
[BaseDriver] Session created with session id: 71507173-a2fb-4c90-8c6e-0db712d10f01
[AndroidDriv[Aner] JavadroidD verriver] Java version is: 1si.8.0on_51
is: 1.8.0_51
[A[DBADB] C] heChecking whether adckb is present
ing whether adb is present
[ADB] Using adb from /Users/saikr[Aisv/Library/Android/sdk/platformDB-tools/adb
] Using adb from /Users/saikrisv/Library/Andr[Android/oidDriversdk/] Retrieving device list
platform-tools/adb
[AndroidDriver] Retrieving device list
[Andr[AndroidDroiiver] UsingdDriver] Using device: 192.168.56.102:5555
device: 192.168.56.104:5555
[ADB] Checking whether adb is present
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/saikrisv/Library/Android/sdk/platform-tools/adb
[ADB] Using adb from /Users/saikrisv/Library/Android/sdk/platform-tools/adb
[BaseDriver] Using local app '/Users/saikrisv/Documents/workspace/workspace1/TestNGParallelThreadBeforeClass/build/AndroidCalculator.apk'
[BaseDriver] Using local app '/Users/saikrisv/Documents/workspace/workspace1/TestNGParallelThreadBeforeClass/build/AndroidCalculator.apk'
[AndroidDriver] Starting Android session
[AndroidDriver] Starting Android session
[ADB] Getting device platform version
[ADB] Getting device platform version
[ADB] App was uninstalled
[ADB] App was uninstalled
[AndroidDriver] Remote apk path is /data/local/tmp/0b1791da498ba0fdd9cb6c3981a4b783.apk
[AndroidDriver] Remote apk path is /data/local/tmp/0b1791da498ba0fdd9cb6c3981a4b783.apk
[AndroidDriver] Apk is not yet installed
[AndroidDriver] installing apk from remote
[AndroidDriver] Clearing out any existing remote apks with the same hash
[AndroidDriver] Apk is not yet installed
[AndroidDriver] installing apk from remote
[AndroidDriver] Clearing out any existing remote apks with the same hash
[ADB] App was not uninstalled, maybe it wasn't on device?
[ADB] App was not uninstalled, maybe it wasn't on device?
[ADB] No uiautomator process found to kill, continuing...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] Android bootstrap socket is now connected
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[AndroidDriver] Screen already unlocked, doing nothing
[ADB] No uiautomator process found to kill, continuing...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Loading json...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] Android bootstrap socket is now connected
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[AndroidDriver] Screen already unlocked, doing nothing
[Appium] New AndroidDriver session created successfully, session 71507173-a2fb-4c90-8c6e-0db712d10f01 added to master session list
[MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":tr...
[HTTP] <-- POST /wd/hub/session 200 5712 ms - 941
[Appium] New AndroidDriver session created successfully, session 22fcde5d-19df-4217-a4ec-fe51ecc0c148 added to master session list
[MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":tr...
[HTTP] <-- POST /wd/hub/session 200 5736 ms - 943
[HTTP] --> POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/log
[HTTP] --> POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/log
[MJSONWP] Calling AppiumDriver.getLog() with args: ["logcat","71507173-a2fb-4c90-8c6e-0db712d10f01"]
[MJSONWP] Calling AppiumDriver.getLog() with args: ["logcat","22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
[MJSONWP] Responding to client with driver.getLog() result: [{"timestamp":1456537982108,"level":"ALL","message":"--------- beginning of /dev/log/system"},{"timestamp":1456537982111,"level":"ALL","message":"0...
[MJSONWP] Responding to client with driver.getLog() result: [{"timestamp":1456537982113,"level":"ALL","message":"--------- beginning of crash"},{"timestamp":1456537982113,"level":"ALL","message":"02-26 12:37...
[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/log 200 55 ms - 868833
[HTTP] <-- POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/log 200 61 ms - 981481
192.168.56.104:5555
ThreadName: pool-1-thread-2com.test.site.HomePageTest2
192.168.56.102:5555
ThreadName: pool-1-thread-1com.test.site.HomePageTest1
[HTTP] --> POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android2.calculator3:id/cling_dismiss","71507173-a2fb-4c90-8c6e-0db712d10f01"]
[HTTP] --> POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android2.calculator3:id/cling_dismiss","22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android2.calculator3:id/cling_dismiss","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding com.android2.calculator3:id/cling_dismiss using ID with the contextId: multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android2.calculator3:id/cling_dismiss]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android2.calculator3:id/cling_dismiss","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding com.android2.calculator3:id/cling_dismiss using ID with the contextId: multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android2.calculator3:id/cling_dismiss]
[AndroidBootstrap] [BO[AndOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
roidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"ELEMENT":"1"},"status":0}
[MJSONWP] Respon[MJSONWP] Responding to client with dding to client with driver.findElement() result: {"ELEMENT":"1"}
river.findElement() result: {"ELEMENT":"1"}
[HTTP] <-- POST /wd/[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element 200 18 ms - 87
hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element 200 22 ms - 87
[HTTP] --> POST /wd[/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element/1/click
HTTP] --> POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element/1/click
[MJSONWP] Calling AppiumDriv[MJSONWP] Caler.clickling Appiu() with args: ["1","22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
mDriver.click() with args: ["1","71507173-a2fb-4c90-8c6e-0db712d10f01"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element/1/click 200 158 ms - 76
[HTTP] --> POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android2.calculator3:id/digit3","71507173-a2fb-4c90-8c6e-0db712d10f01"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android2.calculator3:id/digit3","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding com.android2.calculator3:id/digit3 using ID with the contextId: multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android2.calculator3:id/digit3]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"2"}
[HTTP] <-- POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element 200 706 ms - 87
[HTTP] --> POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element/2/click
[MJSONWP] Calling AppiumDriver.click() with args: ["2","71507173-a2fb-4c90-8c6e-0db712d10f01"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"2"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element/2/click 200 660 ms - 76
[HTTP] --> POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android2.calculator3:id/minus","71507173-a2fb-4c90-8c6e-0db712d10f01"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android2.calculator3:id/minus","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding com.android2.calculator3:id/minus using ID with the contextId: multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android2.calculator3:id/minus]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"3"}}
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"3"}
[HTTP] <-- POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element 200 566 ms - 87
[HTTP] --> POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element/3/click
[MJSONWP] Calling AppiumDriver.click() with args: ["3","71507173-a2fb-4c90-8c6e-0db712d10f01"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element/3/click 200 173 ms - 76
[HTTP] --> POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android2.calculator3:id/digit9","71507173-a2fb-4c90-8c6e-0db712d10f01"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android2.calculator3:id/digit9","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding com.android2.calculator3:id/digit9 using ID with the contextId: multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android2.calculator3:id/digit9]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"4"}}
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"4"}
[HTTP] <-- POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element 200 570 ms - 87
[HTTP] --> POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element/4/click
[MJSONWP] Calling AppiumDriver.click() with args: ["4","71507173-a2fb-4c90-8c6e-0db712d10f01"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"4"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element/4/click 200 174 ms - 76
[HTTP] --> POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android2.calculator3:id/equal","71507173-a2fb-4c90-8c6e-0db712d10f01"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android2.calculator3:id/equal","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding com.android2.calculator3:id/equal using ID with the contextId: multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android2.calculator3:id/equal]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":true,"status":0}
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element/1/click 200 3212 ms - 76
[HTTP] --> POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android2.calculator3:id/digit2","22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android2.calculator3:id/digit2","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding com.android2.calculator3:id/digit2 using ID with the contextId: multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android2.calculator3:id/digit2]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"ELEMENT":"2"},"status":0}
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"2"}
[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element 200 14 ms - 87
[HTTP] --> POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element/2/click
[MJSONWP] Calling AppiumDriver.click() with args: ["2","22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"2"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":true,"status":0}
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element/2/click 200 186 ms - 76
[HTTP] --> POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android2.calculator3:id/plus","22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android2.calculator3:id/plus","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding com.android2.calculator3:id/plus using ID with the contextId: multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android2.calculator3:id/plus]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"5"}}
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"5"}
[HTTP] <-- POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element 200 563 ms - 87
[HTTP] --> GET /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element/5/location
[MJSONWP] Calling AppiumDriver.getLocation() with args: ["5","71507173-a2fb-4c90-8c6e-0db712d10f01"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"5"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getLocation
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"x":384,"y":980}}
[MJSONWP] Responding to client with driver.getLocation() result: {"x":384,"y":980}
[HTTP] <-- GET /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element/5/location 200 11 ms - 89
[HTTP] --> GET /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element/5/size
[MJSONWP] Calling AppiumDriver.getSize() with args: ["5","71507173-a2fb-4c90-8c6e-0db712d10f01"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"5"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getSize
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"width":192,"height":204}}
[MJSONWP] Responding to client with driver.getSize() result: {"width":192,"height":204}
[HTTP] <-- GET /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element/5/size 200 8 ms - 98
[HTTP] --> GET /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element/5/location
[MJSONWP] Calling AppiumDriver.getLocation() with args: ["5","71507173-a2fb-4c90-8c6e-0db712d10f01"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"5"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getLocation
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"x":384,"y":980}}
[MJSONWP] Responding to client with driver.getLocation() result: {"x":384,"y":980}
[HTTP] <-- GET /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element/5/location 200 10 ms - 89
[HTTP] --> GET /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element/5/size
[MJSONWP] Calling AppiumDriver.getSize() with args: ["5","71507173-a2fb-4c90-8c6e-0db712d10f01"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"5"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getSize
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"width":192,"height":204}}
[MJSONWP] Responding to client with driver.getSize() result: {"width":192,"height":204}
[HTTP] <-- GET /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/element/5/size 200 10 ms - 98
[HTTP] --> POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/touch/perform
[MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":576,"y":1082}},{"action":"wait","options":{"ms":10000}},{"action":"moveTo","options":{"x":384,"y":1082}},{"actio...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"swipe","params":{"startX":576,"startY":1082,"endX":384,"endY":1082,"steps":280}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: swipe
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][768,1184]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][768,1184]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Swiping from [x=576.0, y=1082.0] to [x=384.0, y=1082.0] with steps: 280
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"ELEMENT":"3"},"status":0}
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"3"}
[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element 200 602 ms - 87
[HTTP] --> POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element/3/click
[MJSONWP] Calling AppiumDriver.click() with args: ["3","22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":true,"status":0}
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element/3/click 200 172 ms - 76
[HTTP] --> POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android2.calculator3:id/digit9","22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android2.calculator3:id/digit9","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding com.android2.calculator3:id/digit9 using ID with the contextId: multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android2.calculator3:id/digit9]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"ELEMENT":"4"},"status":0}
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"4"}
[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element 200 592 ms - 87
[HTTP] --> POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element/4/click
[MJSONWP] Calling AppiumDriver.click() with args: ["4","22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"4"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":true,"status":0}
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element/4/click 200 185 ms - 76
[HTTP] --> POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android2.calculator3:id/equal","22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android2.calculator3:id/equal","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding com.android2.calculator3:id/equal using ID with the contextId: multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android2.calculator3:id/equal]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"ELEMENT":"5"},"status":0}
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"5"}
[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element 200 568 ms - 87
[HTTP] --> POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element/5/click
[MJSONWP] Calling AppiumDriver.click() with args: ["5","22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"5"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":true,"status":0}
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element/5/click 200 189 ms - 76
[HTTP] --> POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android2.calculator3:id/plus","22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android2.calculator3:id/plus","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding com.android2.calculator3:id/plus using ID with the contextId: multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android2.calculator3:id/plus]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"ELEMENT":"6"},"status":0}
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"6"}
[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element 200 628 ms - 87
[HTTP] --> POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element/6/click
[MJSONWP] Calling AppiumDriver.click() with args: ["6","22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"6"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":true,"status":0}
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element/6/click 200 678 ms - 76
[HTTP] --> POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android2.calculator3:id/digit9","22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android2.calculator3:id/digit9","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding com.android2.calculator3:id/digit9 using ID with the contextId: multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android2.calculator3:id/digit9]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"ELEMENT":"7"},"status":0}
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"7"}
[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element 200 584 ms - 87
[HTTP] --> POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element/7/click
[MJSONWP] Calling AppiumDriver.click() with args: ["7","22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"7"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":true,"status":0}
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element/7/click 200 165 ms - 76
[HTTP] --> POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android2.calculator3:id/equal","22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android2.calculator3:id/equal","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding com.android2.calculator3:id/equal using ID with the contextId: multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android2.calculator3:id/equal]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[MJSONWP] Responding to client with driver.performTouch() result: true
[HTTP] <-- POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/touch/perform 200 4705 ms - 76
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"ELEMENT":"8"},"status":0}
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"8"}
[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element 200 594 ms - 87
[HTTP] --> POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element/8/click
[MJSONWP] Calling AppiumDriver.click() with args: ["8","22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"8"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
71507173-a2fb-4c90-8c6e-0db712d10f01: Saving device log - Done.
[HTTP] --> POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/appium/app/reset
[MJSONWP] Calling AppiumDriver.reset() with args: ["71507173-a2fb-4c90-8c6e-0db712d10f01"]
[AndroidDriver] Running old fashion reset (reinstall)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":true,"status":0}
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/element/8/click 200 155 ms - 76
22fcde5d-19df-4217-a4ec-fe51ecc0c148: Saving device log - Done.
[HTTP] --> POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/appium/app/reset
[MJSONWP] Calling AppiumDriver.reset() with args: ["22fcde5d-19df-4217-a4ec-fe51ecc0c148"]
[AndroidDriver] Running old fashion reset (reinstall)
[ADB] App was uninstalled
[ADB] App was uninstalled
[AndroidDriver] Remote apk path is /data/local/tmp/0b1791da498ba0fdd9cb6c3981a4b783.apk
[AndroidDriver] Remote apk path is /data/local/tmp/0b1791da498ba0fdd9cb6c3981a4b783.apk
[AndroidDriver] Apk is not yet installed
[AndroidDriver] installing apk from remote
[AndroidDriver] Clearing out any existing remote apks with the same hash
[AndroidDriver] Apk is not yet installed
[AndroidDriver] installing apk from remote
[AndroidDriver] Clearing out any existing remote apks with the same hash
[ADB] App was not uninstalled, maybe it wasn't on device?
[ADB] App was not uninstalled, maybe it wasn't on device?
[MJSONWP] Responding to client with driver.reset() result: null
[HTTP] <-- POST /wd/hub/session/71507173-a2fb-4c90-8c6e-0db712d10f01/appium/app/reset 200 5119 ms - 76
After Class12
**************ClosingAppiumSession****************
[MJSONWP] Responding to client with driver.reset() result: null
[HTTP] <-- POST /wd/hub/session/22fcde5d-19df-4217-a4ec-fe51ecc0c148/appium/app/reset 200 5069 ms - 76
******************kill -9 null
Before Class called12
com.test.site.HomePageTest3
GoogleNexus4500API21768x1280192_168_56_104_5555
Starting Appium Server
192.168.56.104:5555
[Appium] Welcome to Appium v1.5.0 (REV 683e2843e8a0c9d673bade89ddff8d581fde321f)
[Appium] Non-default server args:
[Appium] port: 52143
[Appium] bootstrapPort: 52145
[Appium] sessionOverride: true
[Appium] log: '/Users/saikrisv/Documents/workspace/TestNGParallel/target/appiumlogs/192.168.56.104:5555__HomePageTest3.txt'
[Appium] loglevel: 'info'
[Appium] selendroidPort: 52146
[Appium] chromeDriverPort: 52144
[Appium] suppressAdbKillServer: true
[Appium] udid: '192.168.56.104:5555'
[Appium] Deprecated server args:
[Appium] -U,--udid => --default-capabilities '{"udid":"192.168.56.104:5555"}'
[Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:
[Appium] udid: '192.168.56.104:5555'
[Appium] Appium REST http interface listener started on 0.0.0.0:52143
[HTTP] --> GET /wd/hub/status
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.0","revision":"683e2843e8a0c9d673bade89ddff8d581fde321f"}}
[HTTP] <-- GET /wd/hub/status 200 20 ms - 121
[HTTP] --> GET /wd/hub/status
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.0","revision":"683e2843e8a0c9d673bade89ddff8d581fde321f"}}
true
io.appium.java_client.service.local.AppiumServiceBuilder@5397b5ce
[HTTP] <-- GET /wd/hub/status 200 10 ms - 121
[HTTP] --> POST /wd/hub/session
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/saikrisv/Documents/workspace/workspace1/TestNGParallelThreadBeforeClass/build/AndroidCalculator.apk","appPackage":"com.android2.cal...
[Appium] Creating new AndroidDriver session
[Appium] Capabilities:
[Appium] app: '/Users/saikrisv/Documents/workspace/workspace1/TestNGParallelThreadBeforeClass/build/AndroidCalculator.apk'
[Appium] appPackage: 'com.android2.calculator3'
[Appium] appActivity: 'com.android2.calculator3.Calculator'
[Appium] platformVersion: '5.X'
[Appium] browserName: ''
[Appium] platformName: 'Android'
[Appium] deviceName: 'Android'
[Appium] udid: '192.168.56.102:5555'
[HTTP] <-- POST /wd/hub/session 500 9 ms - 193
[HTTP] --> POST /wd/hub/session
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/saikrisv/Documents/workspace/workspace1/TestNGParallelThreadBeforeClass/build/AndroidCalculator.apk","appPackage":"com.android2.cal...
[Appium] Creating new AndroidDriver session
[Appium] Capabilities:
[Appium] app: '/Users/saikrisv/Documents/workspace/workspace1/TestNGParallelThreadBeforeClass/build/AndroidCalculator.apk'
[Appium] appPackage: 'com.android2.calculator3'
[Appium] appActivity: 'com.android2.calculator3.Calculator'
[Appium] platformVersion: '5.X'
[Appium] browserName: ''
[Appium] platformName: 'Android'
[Appium] deviceName: 'Android'
[Appium] udid: '192.168.56.104:5555'
[BaseDriver] Session created with session id: b741ab8b-8c45-4561-a042-ac419ca4071d
[AndroidDriver] Java version is: 1.8.0_51
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/saikrisv/Library/Android/sdk/platform-tools/adb
[AndroidDriver] Retrieving device list
[AndroidDriver] Using device: 192.168.56.104:5555
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/saikrisv/Library/Android/sdk/platform-tools/adb
[BaseDriver] Using local app '/Users/saikrisv/Documents/workspace/workspace1/TestNGParallelThreadBeforeClass/build/AndroidCalculator.apk'
[AndroidDriver] Starting Android session
[ADB] Getting device platform version
[ADB] App was uninstalled
[AndroidDriver] Remote apk path is /data/local/tmp/0b1791da498ba0fdd9cb6c3981a4b783.apk
[AndroidDriver] Apk is not yet installed
[AndroidDriver] installing apk from remote
[AndroidDriver] Clearing out any existing remote apks with the same hash
[ADB] App was not uninstalled, maybe it wasn't on device?
[ADB] No uiautomator process found to kill, continuing...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Loading json...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] Android bootstrap socket is now connected
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[AndroidDriver] Screen already unlocked, doing nothing
[Appium] New AndroidDriver session created successfully, session b741ab8b-8c45-4561-a042-ac419ca4071d added to master session list
[MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":tr...
[HTTP] <-- POST /wd/hub/session 200 5563 ms - 941
[HTTP] --> POST /wd/hub/session/b741ab8b-8c45-4561-a042-ac419ca4071d/log
[MJSONWP] Calling AppiumDriver.getLog() with args: ["logcat","b741ab8b-8c45-4561-a042-ac419ca4071d"]
[MJSONWP] Responding to client with driver.getLog() result: [{"timestamp":1456538012055,"level":"ALL","message":"--------- beginning of crash"},{"timestamp":1456538012056,"level":"ALL","message":"02-26 12:37...
[HTTP] <-- POST /wd/hub/session/b741ab8b-8c45-4561-a042-ac419ca4071d/log 200 53 ms - 1006501
192.168.56.104:5555
FAILED CONFIGURATION: @BeforeMethod startApp(public void com.test.site.HomePageTest1.testMethodOne_10() throws java.lang.Exception)
org.openqa.selenium.SessionNotCreatedException: A new session could not be created. Details: Problem getting session data for driver type AndroidDriver; does it implement 'get driverData'? (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 15 milliseconds
Build info: version: '2.48.2', revision: '41bccdd10cf2c0560f637404c2d96164b67d9d67', time: '2015-10-09 13:08:06'
System info: host: 'INsaikrisv.local', ip: '192.168.0.100', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.3', java.version: '1.8.0_51'
Driver info: io.appium.java_client.android.AndroidDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:647)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:247)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:129)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:142)
at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:37)
at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:161)
at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:170)
at io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:82)
at com.appium.manager.AppiumParallelTest.startAppiumServerInParallel(AppiumParallelTest.java:138)
at com.test.site.UserBaseTest.startApp(UserBaseTest.java:19)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:589)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
SKIPPED CONFIGURATION: @AfterMethod killServer
SKIPPED CONFIGURATION: @BeforeMethod startApp
SKIPPED CONFIGURATION: @AfterMethod killServer
SKIPPED CONFIGURATION: @BeforeMethod startApp
SKIPPED CONFIGURATION: @AfterMethod killServer
SKIPPED CONFIGURATION: @BeforeMethod startApp
SKIPPED CONFIGURATION: @AfterMethod killServer
SKIPPED CONFIGURATION: @BeforeMethod startApp
SKIPPED CONFIGURATION: @AfterMethod killServer
SKIPPED CONFIGURATION: @BeforeMethod startApp
SKIPPED CONFIGURATION: @AfterMethod killServer
SKIPPED CONFIGURATION: @AfterClass afterClass
SKIPPED CONFIGURATION: @BeforeClass beforeClass
SKIPPED CONFIGURATION: @BeforeMethod startApp
SKIPPED CONFIGURATION: @AfterMethod killServer
SKIPPED CONFIGURATION: @AfterClass afterClass
SKIPPED CONFIGURATION: @BeforeClass beforeClass
SKIPPED CONFIGURATION: @BeforeMethod startApp
SKIPPED CONFIGURATION: @AfterMethod killServer
SKIPPED CONFIGURATION: @AfterClass afterClass
SKIPPED CONFIGURATION: @BeforeClass beforeClass
SKIPPED CONFIGURATION: @BeforeMethod startApp
SKIPPED CONFIGURATION: @AfterMethod killServer
SKIPPED CONFIGURATION: @AfterClass afterClass
SKIPPED CONFIGURATION: @AfterMethod killServer
SKIPPED CONFIGURATION: @AfterClass afterClass
PASSED: testMethodOne_2 on [HomePageTest2 passed=0 failed=0 skipped=0]
PASSED: testMethodOne_1 on [HomePageTest1 passed=0 failed=0 skipped=0]
SKIPPED: testMethodOne_10 on [HomePageTest1 passed=0 failed=0 skipped=0]
SKIPPED: testMethodOne_11 on [HomePageTest1 passed=0 failed=0 skipped=0]
SKIPPED: testMethodOne_6 on [HomePageTest1 passed=0 failed=0 skipped=0]
SKIPPED: testMethodOne_7 on [HomePageTest1 passed=0 failed=0 skipped=0]
SKIPPED: testMethodOne_8 on [HomePageTest1 passed=0 failed=0 skipped=0]
SKIPPED: testMethodOne_9 on [HomePageTest1 passed=0 failed=0 skipped=0]
SKIPPED: testMethodFour_4 on [HomePageTest4 passed=0 failed=0 skipped=0]
SKIPPED: testMethodFive_5 on [HomePageTest5 passed=0 failed=0 skipped=0]
SKIPPED: testMethodTwelve_12 on [HomePageTest6 passed=0 failed=0 skipped=0]
SKIPPED: testMethodOne_3 on [HomePageTest3 passed=0 failed=0 skipped=0]
===============================================
TestNG Test
Tests run: 12, Failures: 0, Skips: 10
Configuration Failures: 1, Skips: 26
===============================================
===============================================
TestNG Forum
Total tests run: 12, Failures: 0, Skips: 10
Configuration Failures: 1, Skips: 26
===============================================
[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@6b26e945: 27 ms
[TestNG] Time taken by org.testng.reporters.XMLReporter@25d250c6: 13 ms
[TestNG] Time taken by org.testng.reporters.EmailableReporter2@4df50bcc: 4 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 8 ms
[TestNG] Time taken by org.testng.reporters.jq.Main@4445629: 79 ms
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@18ce0030: 9 ms
Finally complete
[TestNG] Time taken by org.testng.reporters.jq.Main@5fe5c6f: 5 ms
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@67117f44: 5 ms
[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@2ac1fdc4: 1 ms
[TestNG] Time taken by org.testng.reporters.XMLReporter@22a71081: 0 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 1 ms
[TestNG] Time taken by org.testng.reporters.EmailableReporter2@224aed64: 0 ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.545 sec - in com.test.site.Runner
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47.842 s
[INFO] Finished at: 2016-02-27T07:23:38+05:30
[INFO] Final Memory: 31M/342M
[INFO] ------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment