Created
June 8, 2017 18:27
-
-
Save maesiva/6ea8be8fba3d3fdc6bc7efe9b6ffe202 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test Code: | |
import io.appium.java_client.android.AndroidDriver; | |
import java.io.IOException; | |
import java.net.MalformedURLException; | |
import java.net.URL; | |
import java.util.Set; | |
import java.util.concurrent.TimeUnit; | |
import org.openqa.selenium.By; | |
import org.openqa.selenium.WebElement; | |
import org.openqa.selenium.remote.DesiredCapabilities; | |
import org.testng.annotations.Test; | |
public class testAndroidApp { | |
private AndroidDriver driver; | |
@Test | |
public void test01() throws MalformedURLException, InterruptedException, IOException{ | |
DesiredCapabilities capabilities = new DesiredCapabilities(); | |
String nativeContext=""; | |
String webContext=""; | |
capabilities.setCapability("device", "Android"); | |
capabilities.setCapability("deviceName", "Android"); | |
capabilities.setCapability("platformName", "Android"); | |
capabilities.setCapability("platformVersion", "6.0.1"); | |
capabilities.setCapability("appPackage", "com.company.application"); | |
capabilities.setCapability("appActivity", "com.company.application.MainActivity"); | |
capabilities.setCapability("orientation", "LANDSCAPE"); | |
capabilities.setCapability("autoWebView", "true"); | |
capabilities.setCapability("fullReset", "false"); | |
capabilities.setCapability("noReset", "true"); | |
driver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities); | |
driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS); | |
Thread.sleep(8000); | |
Set<String> contextNames = driver.getContextHandles(); | |
for (String contextName : contextNames) { | |
System.out.println("contextName: " + contextName); | |
if (contextName.contains("WEBVIEW")) | |
webContext=contextName; | |
else if (contextName.contains("NATIVE")) | |
nativeContext=contextName; | |
} | |
driver.context(nativeContext); | |
driver.findElement(By.id("btnlogin")).click(); | |
Thread.sleep(6000); | |
driver.findElement(By.id("cred_userid_inputtext")).sendKeys("<email_id>"); | |
driver.findElement(By.id("cred_password_inputtext")).sendKeys("<password>"); | |
driver.findElement(By.id("cred_sign_in_button")).click(); | |
Thread.sleep(30000); | |
WebElement el_01 = driver.findElement(By.xpath("//android.view.View[contains(@content-desc,'Item NumberItem_001')]")); | |
System.out.println("el_01 co-ordinates" + el_01.getLocation().toString()); | |
el_01.click(); | |
WebElement el_02 = driver.findElement(By.xpath("//android.view.View[contains(@content-desc,'Item NumberItem_002')]")); | |
System.out.println("el_02 co-ordinates before scroll" + el_02.getLocation().toString()); | |
Thread.sleep(2000); | |
System.out.println("Scroll..."); | |
driver.swipe(170, 650, 170, 290, 1000); | |
Thread.sleep(2000); | |
el_02 = driver.findElement(By.xpath("//android.view.View[contains(@content-desc,'Item NumberItem_002')]")); | |
System.out.println("el_02 co-ordinates after scroll" + el_02.getLocation().toString()); | |
el_02.click(); //doesn't click on el_02 | |
driver.runAppInBackground(0); | |
driver.currentActivity(); | |
Thread.sleep(2000); | |
el_02 = driver.findElement(By.xpath("//android.view.View[contains(@content-desc,'Item NumberItem_002')]")); | |
System.out.println("el_02 co-ordinates after scroll, after foreground" + el_02.getLocation().toString()); | |
el_02.click(); //clicked worked ! | |
Thread.sleep(2000); | |
//Sign Out | |
driver.findElement(By.id("btnusermenu")).click(); | |
driver.findElement(By.xpath("//android.view.View[contains(@content-desc,'Sign out')]")).click(); | |
Thread.sleep(2000); | |
driver.runAppInBackground(0); | |
driver.currentActivity(); | |
Thread.sleep(2000); | |
driver.findElement(By.xpath("//android.view.View[contains(@content-desc,'Yes')]")).click(); | |
} | |
} | |
====================================================================================================================================== | |
Test Logs: | |
------------------------------------------------------- | |
T E S T S | |
------------------------------------------------------- | |
Running testAndroidApp | |
Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@48cf768c | |
contextName: NATIVE_APP | |
contextName: WEBVIEW_com.company.application | |
el_01 co-ordinates(110, 344) | |
el_02 co-ordinates before scroll(110, 1462) | |
Scroll... | |
el_02 co-ordinates after scroll(110, 1462) | |
el_02 co-ordinates after scroll, after foreground(110, 740) | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 90.642 sec | |
====================================================================================================================================== | |
Appium Logs: | |
Microsoft Windows [Version 6.1.7601] | |
Copyright (c) 2009 Microsoft Corporation. All rights reserved. | |
C:\Windows\system32>appium --address=127.0.0.1 | |
[Appium] Welcome to Appium v1.6.5 | |
[Appium] Non-default server args: | |
[Appium] address: 127.0.0.1 | |
[Appium] Appium REST http interface listener started on 127.0.0.1:4723 | |
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"appPackage":"com.company.application","appActivity":"com.company.application.MainActivity","orientation":"LANDSCAPE","noReset":"true","platformVersion":"6.0.1","autoWebView":"true","platformName":"Android","device":"Android","deviceName":"Android","fullReset":"false"}} | |
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appPackage":"com.company.application","appActivity":"com.company.application.MainActivity","orientation":"LANDSCAPE","noReset":"true","platformVersion":"6.0.1","autoWebView":"true","platformName":"Android","device":"Android","deviceName":"Android","fullReset":"false"},null,null] | |
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1496945670355 (11:14:30 GMT-0700 (Pacific Daylight Time)) | |
[Appium] Creating new AndroidDriver (v1.20.0) session | |
[Appium] Capabilities: | |
[Appium] appPackage: 'com.company.application' | |
[Appium] appActivity: 'com.company.application.MainActivity' | |
[Appium] orientation: 'LANDSCAPE' | |
[Appium] noReset: 'true' | |
[Appium] platformVersion: '6.0.1' | |
[Appium] autoWebView: 'true' | |
[Appium] platformName: 'Android' | |
[Appium] device: 'Android' | |
[Appium] deviceName: 'Android' | |
[Appium] fullReset: 'false' | |
[debug] [AndroidDriver] AndroidDriver version: 1.20.0 | |
[BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior | |
[BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior | |
[BaseDriver] The following capabilities were provided, but are not recognized by appium: autoWebView, device. | |
[BaseDriver] Session created with session id: fb5af62b-94cb-4af2-8a7a-9b2304c87a5a | |
[debug] [AndroidDriver] Getting Java version | |
[AndroidDriver] Java version is: 1.8.0_121 | |
[ADB] Checking whether adb is present | |
[ADB] Using adb.exe from C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe | |
[AndroidDriver] Retrieving device list | |
[debug] [ADB] Trying to find a connected android device | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[AndroidDriver] Looking for a device with Android '6.0.1' | |
[debug] [ADB] Setting device id to <device_id> | |
[ADB] Getting device platform version | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","getprop","ro.build.version.release"] | |
[AndroidDriver] Using device: <device_id> | |
[ADB] Checking whether adb is present | |
[ADB] Using adb.exe from C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe | |
[debug] [ADB] Setting device id to <device_id> | |
[AndroidDriver] App file was not listed, instead we're going to run com.company.application directly on the device | |
[debug] [AndroidDriver] Checking whether package is present on the device | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","pm","list","packages","com.company.application"] | |
[AndroidDriver] Starting Android session | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","wait-for-device"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","echo","ping"] | |
[debug] [Logcat] Starting logcat capture | |
[debug] [AndroidDriver] Pushing settings apk to device... | |
[debug] [ADB] Getting install status for io.appium.settings | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","pm","list","packages","io.appium.settings"] | |
[debug] [ADB] App is installed | |
[debug] [ADB] Getting package info for io.appium.settings | |
[debug] [ADB] Getting connected devices... | |
[ADB] Checking whether aapt is present | |
[ADB] Using aapt.exe from C:\Users\User\AppData\Local\Android\sdk\build-tools\23.0.2\aapt.exe | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","dumpsys","package","io.appium.settings"] | |
[ADB] Cannot read version codes of C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\app\build\outputs\apk\settings_apk-debug.apk and/or io.appium.settings. Assuming correct app version is already installed | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","getprop","ro.build.version.sdk"] | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","dumpsys","package","io.appium.settings"] | |
[debug] [AndroidDriver] Pushing unlock helper app to device... | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","install","C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-unlock\\bin\\unlock_apk-debug.apk"] | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","appops","set","io.appium.settings","android:mock_location","allow"] | |
[ADB] Getting device platform version | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","getprop","ro.build.version.release"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","wm","size"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","getprop","ro.product.model"] | |
[debug] [ADB] Current device property 'ro.product.model': SM-T713 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","getprop","ro.product.manufacturer"] | |
[debug] [ADB] Current device property 'ro.product.manufacturer': samsung | |
[AndroidDriver] No app sent in, not parsing package/activity | |
[debug] [AndroidDriver] No app capability. Assuming it is already on the device | |
[debug] [AndroidBootstrap] Watching for bootstrap disconnect | |
[debug] [ADB] Forwarding system: 4724 to device: 4724 | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","forward","tcp:4724","tcp:4724"] | |
[debug] [UiAutomator] Starting UiAutomator | |
[debug] [UiAutomator] Moving to state 'starting' | |
[debug] [UiAutomator] Parsing uiautomator jar | |
[debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar' | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","push","C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-android-bootstrap\\bootstrap\\bin\\AppiumBootstrap.jar","/data/local/tmp/"] | |
[debug] [ADB] Attempting to kill all uiautomator processes | |
[debug] [ADB] Getting all processes with uiautomator | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","ps"] | |
[ADB] No uiautomator process found to kill, continuing... | |
[debug] [UiAutomator] Starting UIAutomator | |
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","<device_id>","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.company.application","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false] | |
[debug] [UiAutomator] Moving to state 'online' | |
[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 | |
[debug] [ADB] Getting connected devices... | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","dumpsys","window"] | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","am","start","-W","-n","com.company.application/com.company.application.MainActivity","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] | |
[Appium] New AndroidDriver session created successfully, session fb5af62b-94cb-4af2-8a7a-9b2304c87a5a added to master session list | |
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1496945678165 (11:14:38 GMT-0700 (Pacific Daylight Time)) | |
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.company.application","appActivity":"com.company.application.MainActivity","orientation":"LANDSCAPE","noReset":true,"platformVersion":"6.0.1","autoWebView":"true","platformName":"Android","device":"Android","deviceName":"Android","fullReset":false},"appPackage":"com.company.application","appActivity":"com.company.application.MainActivity","orientation":"LANDSCAPE","noReset":true,"platformVersion":"6.0.1","autoWebView":"true","platformName":"Android","device":"Android","deviceName":"<device_id>","fullReset":false,"deviceUDID":"<device_id>","deviceScreenSize":"1536x2048","deviceModel":"SM-T713","deviceManufacturer":"samsung"} | |
[HTTP] <-- POST /wd/hub/session 200 7821 ms - 924 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/timeouts {"type":"implicit","ms":20000} | |
[debug] [MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",20000,"fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [BaseDriver] Set implicit wait to 20000ms | |
[debug] [MJSONWP] Responding to client with driver.timeouts() result: null | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/timeouts 200 12 ms - 76 | |
[HTTP] --> GET /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/contexts {} | |
[debug] [MJSONWP] Calling AppiumDriver.getContexts() with args: ["fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [AndroidDriver] Getting a list of available webviews | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","cat","/proc/net/unix"] | |
[debug] [AndroidDriver] WEBVIEW_26968 mapped to pid 26968 | |
[debug] [AndroidDriver] Getting process name for webview | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","ps"] | |
[debug] [AndroidDriver] Parsed pid: 26968 pkg: com.company.application! | |
[debug] [AndroidDriver] from: u0_a152,26968,563,2612116,213404,0000000000,S,com.company.application | |
[debug] [AndroidDriver] returning process name: com.company.application | |
[debug] [AndroidDriver] Found webviews: ["WEBVIEW_com.company.application"] | |
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.company.application"] | |
[debug] [MJSONWP] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.company.application"] | |
[HTTP] <-- GET /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/contexts 200 285 ms - 117 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/context {"name":"NATIVE_APP"} | |
[debug] [MJSONWP] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [AndroidDriver] Getting a list of available webviews | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","cat","/proc/net/unix"] | |
[debug] [AndroidDriver] WEBVIEW_26968 mapped to pid 26968 | |
[debug] [AndroidDriver] Getting process name for webview | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","ps"] | |
[debug] [AndroidDriver] Parsed pid: 26968 pkg: com.company.application! | |
[debug] [AndroidDriver] from: u0_a152,26968,563,2612116,213404,SyS_epoll_,0000000000,S,com.company.application | |
[debug] [AndroidDriver] returning process name: com.company.application | |
[debug] [AndroidDriver] Found webviews: ["WEBVIEW_com.company.application"] | |
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.company.application"] | |
[debug] [MJSONWP] Responding to client with driver.setContext() result: null | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/context 200 271 ms - 76 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element {"using":"id","value":"btnlogin"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","btnlogin","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 20000 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"btnlogin","context":"","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"btnlogin","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 'btnlogin' using 'ID' with the contextId: '' multiple: false | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.company.application:id/btnlogin] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=android:id/btnlogin] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=btnlogin] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"1"} | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element 200 233 ms - 87 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/1/click {"id":"1"} | |
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["1","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"1"}} | |
[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} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.click() result: true | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/1/click 200 310 ms - 76 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element {"using":"id","value":"cred_userid_inputtext"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","cred_userid_inputtext","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 20000 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"cred_userid_inputtext","context":"","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"cred_userid_inputtext","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 'cred_userid_inputtext' using 'ID' with the contextId: '' multiple: false | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.company.application:id/cred_userid_inputtext] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=android:id/cred_userid_inputtext] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=cred_userid_inputtext] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"2"} | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element 200 113 ms - 87 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/2/value {"id":"2","value":["<email_id>"]} | |
[debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [["<email_id>"],"2","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:setText","params":{"elementId":"2","text":"<email_id>","replace":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"2","text":"<email_id>","replace":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: setText | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using element passed in: 2 | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Attempting to clear using UiObject.clearText(). | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Text remains after clearing, but it appears to be hint text. | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Text not cleared. Assuming remainder is hint text. | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Sending plain text to element: <email_id> | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.setValue() result: true | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/2/value 200 7177 ms - 76 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element {"using":"id","value":"cred_password_inputtext"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","cred_password_inputtext","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 20000 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"cred_password_inputtext","context":"","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"cred_password_inputtext","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 'cred_password_inputtext' using 'ID' with the contextId: '' multiple: false | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.company.application:id/cred_password_inputtext] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=android:id/cred_password_inputtext] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=cred_password_inputtext] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"3"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"3"} | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element 200 624 ms - 87 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/3/value {"id":"3","value":["<password>"]} | |
[debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [["<password>"],"3","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:setText","params":{"elementId":"3","text":"<password>","replace":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"3","text":"<password>","replace":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: setText | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using element passed in: 3 | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Attempting to clear using UiObject.clearText(). | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Text remains after clearing, but it appears to be hint text. | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Text not cleared. Assuming remainder is hint text. | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Sending plain text to element: <password> | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.setValue() result: true | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/3/value 200 5956 ms - 76 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element {"using":"id","value":"cred_sign_in_button"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","cred_sign_in_button","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 20000 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"cred_sign_in_button","context":"","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"cred_sign_in_button","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 'cred_sign_in_button' using 'ID' with the contextId: '' multiple: false | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.company.application:id/cred_sign_in_button] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=android:id/cred_sign_in_button] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=cred_sign_in_button] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"4"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"4"} | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element 200 609 ms - 87 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/4/click {"id":"4"} | |
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["4","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"4"}} | |
[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} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.click() result: true | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/4/click 200 422 ms - 76 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element {"using":"xpath","value":"//android.view.View[contains(@content-desc,'Item NumberItem_001')]"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["xpath","//android.view.View[contains(@content-desc,'Item NumberItem_001')]","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 20000 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.view.View[contains(@content-desc,'Item NumberItem_001')]","context":"","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.view.View[contains(@content-desc,'Item NumberItem_001')]","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 '//android.view.View[contains(@content-desc,'Item NumberItem_001')]' using 'XPATH' with the contextId: '' multiple: false | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.view.View, INSTANCE=55] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"5"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"5"} | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element 200 276 ms - 87 | |
[HTTP] --> GET /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/5/location {} | |
[debug] [MJSONWP] Calling AppiumDriver.getLocation() with args: ["5","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"5"}} | |
[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":110,"y":344}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.getLocation() result: {"x":110,"y":344} | |
[HTTP] <-- GET /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/5/location 200 88 ms - 89 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/5/click {"id":"5"} | |
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["5","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"5"}} | |
[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: {"status":0,"value":true} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.click() result: true | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/5/click 200 443 ms - 76 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element {"using":"xpath","value":"//android.view.View[contains(@content-desc,'Item NumberItem_002')]"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["xpath","//android.view.View[contains(@content-desc,'Item NumberItem_002')]","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 20000 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.view.View[contains(@content-desc,'Item NumberItem_002')]","context":"","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.view.View[contains(@content-desc,'Item NumberItem_002')]","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 '//android.view.View[contains(@content-desc,'Item NumberItem_002')]' using 'XPATH' with the contextId: '' multiple: false | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.view.View, INSTANCE=86] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"6"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"6"} | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element 200 621 ms - 87 | |
[HTTP] --> GET /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/6/location {} | |
[debug] [MJSONWP] Calling AppiumDriver.getLocation() with args: ["6","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"6"}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"6"}} | |
[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":110,"y":1462}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.getLocation() result: {"x":110,"y":1462} | |
[HTTP] <-- GET /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/6/location 200 29 ms - 90 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/touch/perform {"actions":[{"action":"press","options":{"x":170,"y":650}},{"action":"wait","options":{"ms":1000}},{"action":"moveTo","options":{"x":170,"y":290}},{"action":"release","options":{}}]} | |
[debug] [MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":170,"y":650}},{"action":"wait","options":{"ms":1000}},{"action":"moveTo","options":{"x":170,"y":290}},{"action":"release","options":{}}],"fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"swipe","params":{"startX":170,"startY":650,"endX":170,"endY":290,"steps":28}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"swipe","params":{"startX":170,"startY":650,"endX":170,"endY":290,"steps":28}} | |
[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][2048,1536] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][2048,1536] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Swiping from [x=170.0, y=650.0] to [x=170.0, y=290.0] with steps: 28 | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.performTouch() result: true | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/touch/perform 200 578 ms - 76 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element {"using":"xpath","value":"//android.view.View[contains(@content-desc,'Item NumberItem_002')]"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["xpath","//android.view.View[contains(@content-desc,'Item NumberItem_002')]","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 20000 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.view.View[contains(@content-desc,'Item NumberItem_002')]","context":"","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.view.View[contains(@content-desc,'Item NumberItem_002')]","context":"","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] [APPIUM-UIAUTO] [debug] Finding '//android.view.View[contains(@content-desc,'Item NumberItem_002')]' using 'XPATH' with the | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] contextId: '' multiple: false[/APPIUM-UIAUTO] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.view.View, INSTANCE=86] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"7"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"7"} | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element 200 253 ms - 87 | |
[HTTP] --> GET /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/7/location {} | |
[debug] [MJSONWP] Calling AppiumDriver.getLocation() with args: ["7","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"7"}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"7"}} | |
[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":110,"y":1462}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.getLocation() result: {"x":110,"y":1462} | |
[HTTP] <-- GET /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/7/location 200 55 ms - 90 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/7/click {"id":"7"} | |
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["7","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"7"}} | |
[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: {"status":0,"value":true} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.click() result: true | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/7/click 200 296 ms - 76 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/appium/app/background {"seconds":0} | |
[debug] [MJSONWP] Calling AppiumDriver.background() with args: [0,"fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","dumpsys","window","windows"] | |
[debug] [ADB] Pressing the HOME button | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","input","keyevent",3] | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","am","start","-W","-n","com.company.application/com.company.application.MainActivity","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] | |
[debug] [ADB] Waiting for activity matching pkg: 'com.company.application' and activity: '.MainActivity' to be focused | |
[debug] [ADB] Possible activities, to be checked: com.company.application.MainActivity | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.company.application' and fully qualified activity name : 'com.company.application.MainActivity' | |
[debug] [MJSONWP] Responding to client with driver.background() result: null | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/appium/app/background 200 2118 ms - 76 | |
[HTTP] --> GET /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/appium/device/current_activity {} | |
[debug] [MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","dumpsys","window","windows"] | |
[debug] [MJSONWP] Responding to client with driver.getCurrentActivity() result: ".MainActivity" | |
[HTTP] <-- GET /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/appium/device/current_activity 200 102 ms - 87 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element {"using":"xpath","value":"//android.view.View[contains(@content-desc,'Item NumberItem_002')]"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["xpath","//android.view.View[contains(@content-desc,'Item NumberItem_002')]","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 20000 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.view.View[contains(@content-desc,'Item NumberItem_002')]","context":"","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.view.View[contains(@content-desc,'Item NumberItem_002')]","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 '//android.view.View[contains(@content-desc,'Item NumberItem_002')]' using 'XPATH' with the contextId: '' multiple: false | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.view.View, INSTANCE=86] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"8"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"8"} | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element 200 193 ms - 87 | |
[HTTP] --> GET /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/8/location {} | |
[debug] [MJSONWP] Calling AppiumDriver.getLocation() with args: ["8","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"8"}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"8"}} | |
[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":110,"y":740}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.getLocation() result: {"x":110,"y":740} | |
[HTTP] <-- GET /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/8/location 200 48 ms - 89 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/8/click {"id":"8"} | |
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["8","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"8"}} | |
[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 | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.click() result: true | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/8/click 200 364 ms - 76 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element {"using":"id","value":"btnusermenu"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","btnusermenu","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 20000 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"btnusermenu","context":"","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"btnusermenu","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 'btnusermenu' using 'ID' with the contextId: '' multiple: false | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.company.application:id/btnusermenu] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=android:id/btnusermenu] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=btnusermenu] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"9"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"9"} | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element 200 101 ms - 87 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/9/click {"id":"9"} | |
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["9","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"9"}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"9"}} | |
[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} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.click() result: true | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/9/click 200 470 ms - 76 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element {"using":"xpath","value":"//android.view.View[contains(@content-desc,'Sign out')]"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["xpath","//android.view.View[contains(@content-desc,'Sign out')]","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 20000 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.view.View[contains(@content-desc,'Sign out')]","context":"","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.view.View[contains(@content-desc,'Sign out')]","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 '//android.view.View[contains(@content-desc,'Sign out')]' using 'XPATH' with the contextId: '' multiple: false | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.view.View, INSTANCE=40] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"10"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"10"} | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element 200 596 ms - 88 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/10/click {"id":"10"} | |
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["10","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"10"}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"10"}} | |
[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} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.click() result: true | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/10/click 200 349 ms - 76 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/appium/app/background {"seconds":0} | |
[debug] [MJSONWP] Calling AppiumDriver.background() with args: [0,"fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","dumpsys","window","windows"] | |
[debug] [ADB] Pressing the HOME button | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","input","keyevent",3] | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","am","start","-W","-n","com.company.application/com.company.application.MainActivity","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] | |
[debug] [ADB] Waiting for activity matching pkg: 'com.company.application' and activity: '.MainActivity' to be focused | |
[debug] [ADB] Possible activities, to be checked: com.company.application.MainActivity | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.company.application' and fully qualified activity name : 'com.company.application.MainActivity' | |
[debug] [MJSONWP] Responding to client with driver.background() result: null | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/appium/app/background 200 1784 ms - 76 | |
[HTTP] --> GET /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/appium/device/current_activity {} | |
[debug] [MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","dumpsys","window","windows"] | |
[debug] [MJSONWP] Responding to client with driver.getCurrentActivity() result: ".MainActivity" | |
[HTTP] <-- GET /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/appium/device/current_activity 200 108 ms - 87 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element {"using":"xpath","value":"//android.view.View[contains(@content-desc,'Yes')]"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["xpath","//android.view.View[contains(@content-desc,'Yes')]","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 20000 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.view.View[contains(@content-desc,'Yes')]","context":"","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.view.View[contains(@content-desc,'Yes')]","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 '//android.view.View[contains(@content-desc,'Yes')]' using 'XPATH' with the contextId: '' multiple: false | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.view.View, INSTANCE=18] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"11"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"11"} | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element 200 235 ms - 88 | |
[HTTP] --> POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/11/click {"id":"11"} | |
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["11","fb5af62b-94cb-4af2-8a7a-9b2304c87a5a"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"11"}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"11"}} | |
[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} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.click() result: true | |
[HTTP] <-- POST /wd/hub/session/fb5af62b-94cb-4af2-8a7a-9b2304c87a5a/element/11/click 200 266 ms - 76 | |
[Appium] Received SIGINT - shutting down | |
[UiAutomator] UiAutomator exited unexpectedly with code 3221225786, signal null | |
[debug] [UiAutomator] Moving to state 'stopped' | |
[Logcat] Logcat terminated with code 3221225786, signal null | |
[debug] [AndroidDriver] Shutting down Android driver | |
[Appium] Closing session, cause was 'UiAUtomator shut down unexpectedly' | |
[Appium] Removing session fb5af62b-94cb-4af2-8a7a-9b2304c87a5a from our master session list | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","am","force-stop","com.company.application"] | |
[debug] [ADB] Pressing the HOME button | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","input","keyevent",3] | |
[AndroidBootstrap] Cannot shut down Android bootstrap; it has already shut down | |
[debug] [Logcat] Stopping logcat capture | |
[debug] [Logcat] Logcat already stopped | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Users\User\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","<device_id>","shell","am","force-stop","io.appium.unlock"] | |
[debug] [AndroidDriver] Not cleaning generated files. Add `clearSystemFiles` capability if wanted. | |
Terminate batch job (Y/N)? y | |
C:\Windows\system32> | |
====================================================================================================================================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment