Appium appium 两台安卓机并行测试,第二个测试用例运行时只启动一台手机

milky · 2017年12月05日 · 最后由 Wensau 回复于 2017年12月08日 · 1289 次阅读

现在打算 appium+Python 项目运行时支持多台安卓手机。
问题:运行第一个测试用例的时候,可以两台手机并行测试。但第一个测试用例执行完成关闭 APP 后,开始运行第二个测试用例的时候就只在一部手机上运行。
并且那部手机刚启动 APP,就被关闭,重新启动 APP。
下面是我的代码:

创建线程运行测试用例:testRunner.py


import unittest

import common.report as report
from common.myServer import myServer
from test_01 import test_01 as testcase1
from test_02 import test_02 as testcase2
from test_03 import test_03 as testcase3
import threading
import xlrd  #excel驱动程序
from xlrd import open_workbook
import page.basePage as basePage

createReport = report.report()
import os
import sys
import time
from common.log import logger
reload(sys)
sys.setdefaultencoding('utf8')


class runTest():
    def __init__(self):
        pass

    def run(self,config, device, *casename):
        # ms = myServer(device)
        # config = ms.run()
        time.sleep(8)
        # driver = ms.isServerStart()
        # if driver:
        basePage.setconfig(config, device)
        suite = unittest.TestSuite()
        for case in casename:
            suite.addTest(testcase1(case))
        # suite.addTest(testcase2("test_passenger"))
        # suite.addTest(testcase3("test_passenger"))
        runner = createReport.getReportConfig()
        runner.run(suite)
        ms.quit()
       # else:
           #  print "appium is not start"

    def getDriver(self, driver):
        return driver


class myThread(threading.Thread):
    def __init__(self, device, config):
        threading.Thread.__init__(self)
        self.device = device
        self.config = config

    def __generateTestCases(self):
        # parent_path = os.path.abspath(os.path.dirname(os.path.realpath(__file__)))
        caselist_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'caselist')
        data = open_workbook(caselist_path + "\\" + 'login.xlsx')  # 打开文件
        table = data.sheet_by_index(0)  # 遍历所有数据
        # datas = table.row_values(0) # 获取整列数据
        nrows = table.nrows  # 获得行数
        list = []
        for i in range(1, nrows):  # 忽略表头 ,开始遍历
            datas = table.row_values(i)  # 获得每行的数据
            list.append(datas)  # 加载到list中

        print(list)
        casename = []
        for args in list:
            print(args)
            setattr(testcase1, 'test_func_%s' % args[3],
                    testcase1.getTestFunc(*args))  # 通过setattr自动为TestCase类添加成员方法,方法以“test_func_”开头
            casename.append('test_func_%s' % args[3])
        return casename

    def run(self):
        if __name__ == '__main__':
            casename = self.__generateTestCases()
            test = runTest()
            test.run(self.config, self.device, *casename)
            # test.driverquit()
            createReport.getfp().close()
            log = logger(report.today_report_path).getlog()
            log.info("test over")

if __name__ == '__main__':
    try:
        devices = ["8885dc17", "33fd33df"]
        theading_pool = []
        for device in devices:
            ms = myServer(device)
            config = ms.run()
            t = myThread(device, config)
            theading_pool.append(t)
        for t in theading_pool:
            t.start()
            time.sleep(5)
        for t in theading_pool:

            t.join()
    except:
        print "线程运行失败"


server.py

# -*- coding: utf-8 -*-

import os
import unittest
from time import sleep
from driver import driver
from selenium.common.exceptions import WebDriverException
import subprocess
import time
import urllib2
import random
import socket
from log import logger
import report


# 启动appium
class myServer(object):
    def __init__(self, device):
        # self.appiumPath = "D:\Appium"
        self.appiumPath = "F:\\Appium"
        self.device = device
        self.log = logger(report.today_report_path).getlog()

    def isOpen(self, ip, port):
        s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        try:
            s.connect((ip, int(port)))
            s.shutdown(2)  # shutdown参数表示后续可否读写
            # print '%d is ok' % port
            return True
        except Exception, e:
            print e
            return False

    def getport(self):
        port = random.randint(4700, 4900)
        # 判断端口是否被占用
        while self.isOpen('127.0.0.1', port):
            port = random.randint(4700, 4900)
        return port

    def run(self):
        """
        启动appium服务
        :return: null
        """
        aport = self.getport()
        bport = self.getport()
        print "--------appium server start----------"
        # startCMD = "node D:\\Appium\\node_modules\\appium\\bin\\appium.js"
        # startCMD = "node Appium\\node_modules\\appium\\bin\\appium.js"
        cmd = 'appium' + ' -p ' + str(aport) + ' --bootstrap-port ' + str(bport) + ' -U ' + str(self.device) + " --session-override"
        rootDirection = self.appiumPath[:2]
        # 启动appium
        # os.system(rootDirection + "&" + "cd" + self.appiumPath + "&" + startCMD)
        try:
            subprocess.Popen(rootDirection + "&" + "cd" + self.appiumPath + "&" + cmd, shell=True)
            return aport
        except Exception, msg:
            self.log.error(msg)
            raise

    def isServerStart(self):
        try:
            if self.dr:
                return self.dr
            else:
                return None
        except WebDriverException as e:
            raise

    def quit(self):
        """
        退出appium服务
        :return:
        """
        os.system('taskkill /f /im node.exe')
        print "over"

if __name__ == '__main__':
    myserver = myServer()
    myserver.run()
    time.sleep(5)
    if myserver.isServerStart():
        print "ok"
    else:
        print "no"
    myserver.quit()


运行 log:

C:\Python27\python.exe G:/gitwork/gitwork/python-appium/testSet/testRunner.py
G:\gitwork\gitwork\python-appium\result
G:\gitwork\gitwork\python-appium\result
[Errno 10061] 
[Errno 10061] 
--------appium server start----------
�ļ�����Ŀ¼�����������ȷ��
[Errno 10061] 
(node:11024) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
[Errno 10061] 
--------appium server start----------
�ļ�����Ŀ¼�����������ȷ��
[[18819490408.0, 321321329.0, u'\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef', u'wrongpwdtest'], [18819490408.0, 321321320.0, u'\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef', u'wrongmobiletest']]
[18819490408.0, 321321329.0, u'\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef', u'wrongpwdtest']
[18819490408.0, 321321320.0, u'\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef', u'wrongmobiletest']
info: Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d)
info: Appium REST http interface listener started on 0.0.0.0:4867
info: [debug] Non-default server args: {"udid":"8885dc17","port":4867,"bootstrapPort":4762,"sessionOverride":true}
info: Console LogLevel: debug
(node:6188) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
info: Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d)
info: Appium REST http interface listener started on 0.0.0.0:4754
info: [debug] Non-default server args: {"udid":"33fd33df","port":4754,"bootstrapPort":4718,"sessionOverride":true}
info: Console LogLevel: debug
[[18819490408.0, 321321329.0, u'\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef', u'wrongpwdtest'], [18819490408.0, 321321320.0, u'\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef', u'wrongmobiletest']]
[18819490408.0, 321321329.0, u'\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef', u'wrongpwdtest']
[18819490408.0, 321321320.0, u'\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef', u'wrongmobiletest']
test_01
test_01
info: --> POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"hermes","udid":"8885dc17","noReset":true,"platformVersion":"5.0.2","appPackage":"com.igola.travel","platformName":"Android","appActivity":"com.igola.travel.ui.LaunchActivity"}}
info: Client User-Agent string: Python-urllib/2.7
info: [debug] Didn't get app but did get Android package, will attempt to launch it on the device
info: [debug] Creating new appium session f5e63b7d-0b74-4b70-b967-1e70aa53cc13
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.7.0_51
info: [debug] Checking whether adb is present
info: [debug] Using adb from F:\Android SDK\platform-tools\adb.exe
warn: No app capability, can't parse package/activity
info: [debug] Using fast reset? false
info: [debug] Preparing device for session
info: [debug] Not checking whether app is present since we are assuming it's already on the device
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices...
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" devices
info: [debug] 2 device(s) connected
info: Found device 8885dc17
info: [debug] Setting device id to 8885dc17
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 8885dc17 wait-for-device
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 8885dc17 shell "echo 'ready'"
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 8885dc17 shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 19
info: Device API level is: 19
info: [debug] Extracting strings for language: default
info: [debug] Apk doesn't exist locally
info: [debug] Could not get strings, but it looks like we had an old strings file anyway, so ignoring
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 8885dc17 shell "rm -rf /data/local/tmp/strings.json"
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Skipping install since we launched with a package instead of an app path
info: [debug] Forwarding system:4762 to device:4724
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 8885dc17 forward tcp:4762 tcp:4724
info: [debug] Pushing appium bootstrap to device...
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 8885dc17 push "F:\\Appium\\node_modules\\appium\\build\\android_bootstrap\\AppiumBootstrap.jar" /data/local/tmp/
info: Starting App
info: [debug] Attempting to kill all 'uiautomator' processes
info: [debug] Getting all processes with 'uiautomator'
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 8885dc17 shell "ps"| grep uiautomator
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: F:\Android SDK\platform-tools\adb.exe -s 8885dc17 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.igola.travel -e disableAndroidWatchers false
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
info: [debug] [BOOTSTRAP] [debug] Loading json...
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
info: [debug] Waking up device if it's not alive
info: [debug] Pushing command to appium work queue: ["wake",{}]
info: [debug] [BOOTSTRAP] [debug] Client connected
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"wake","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: wake
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 8885dc17 shell "dumpsys window"
info: [debug] Screen already unlocked, continuing.
info: [debug] Pushing command to appium work queue: ["getDataDir",{}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"getDataDir","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"\/data\/local\/tmp","status":0}
info: [debug] dataDir set to: /data/local/tmp
info: [debug] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"compressedLayoutHierarchy","params":{"compressLayout":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":false,"status":0}
info: [debug] Getting device API level
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 8885dc17 shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 19
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 8885dc17 shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.igola.travel/com.igola.travel.ui.LaunchActivity"
info: [debug] Waiting for pkg "com.igola.travel" and activity "com.igola.travel.ui.LaunchActivity" to be focused
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 8885dc17 shell "dumpsys window windows"
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 8885dc17 shell "getprop ro.build.version.release"
info: [debug] Device is at release version 4.4.4
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to the default of 60 secs
info: [debug] Appium session started with sessionId f5e63b7d-0b74-4b70-b967-1e70aa53cc13
info: <-- POST /wd/hub/session 303 2653.725 ms - 74 
info: --> GET /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13 {}
info: [debug] Responding to client with success: {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"4.4.4","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"deviceName":"hermes","udid":"8885dc17","noReset":true,"platformVersion":"5.0.2","appPackage":"com.igola.travel","platformName":"Android","appActivity":"com.igola.travel.ui.LaunchActivity"},"deviceName":"8885dc17","udid":"8885dc17","noReset":true,"appPackage":"com.igola.travel","platformName":"Android","appActivity":"com.igola.travel.ui.LaunchActivity"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- GET /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13 200 2.996 ms - 683 {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"4.4.4","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"deviceName":"hermes","udid":"8885dc17","noReset":true,"platformVersion":"5.0.2","appPackage":"com.igola.travel","platformName":"Android","appActivity":"com.igola.travel.ui.LaunchActivity"},"deviceName":"8885dc17","udid":"8885dc17","noReset":true,"appPackage":"com.igola.travel","platformName":"Android","appActivity":"com.igola.travel.ui.LaunchActivity"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
48678885dc17
48678885dc17
login
login
test_01
test_01
info: --> POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"hermes","udid":"33fd33df","noReset":true,"platformVersion":"5.0.2","appPackage":"com.igola.travel","platformName":"Android","appActivity":"com.igola.travel.ui.LaunchActivity"}}
info: Client User-Agent string: Python-urllib/2.7
info: [debug] Didn't get app but did get Android package, will attempt to launch it on the device
info: [debug] Creating new appium session 6c1570e6-1485-45d4-957e-972c377f5824
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.7.0_51
info: [debug] Checking whether adb is present
info: [debug] Using adb from F:\Android SDK\platform-tools\adb.exe
warn: No app capability, can't parse package/activity
info: [debug] Using fast reset? false
info: [debug] Preparing device for session
info: [debug] Not checking whether app is present since we are assuming it's already on the device
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices...
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" devices
info: [debug] 2 device(s) connected
info: Found device 33fd33df
info: [debug] Setting device id to 33fd33df
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df wait-for-device
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "echo 'ready'"
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 25
info: Device API level is: 25
info: [debug] Extracting strings for language: default
info: [debug] Apk doesn't exist locally
info: [debug] Could not get strings, but it looks like we had an old strings file anyway, so ignoring
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "rm -rf /data/local/tmp/strings.json"
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Skipping install since we launched with a package instead of an app path
info: [debug] Forwarding system:4718 to device:4724
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df forward tcp:4718 tcp:4724
info: [debug] Pushing appium bootstrap to device...
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df push "F:\\Appium\\node_modules\\appium\\build\\android_bootstrap\\AppiumBootstrap.jar" /data/local/tmp/
info: Starting App
info: [debug] Attempting to kill all 'uiautomator' processes
info: [debug] Getting all processes with 'uiautomator'
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "ps"| grep uiautomator
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: F:\Android SDK\platform-tools\adb.exe -s 33fd33df shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.igola.travel -e disableAndroidWatchers false
info: [debug] [UIAUTOMATOR STDOUT] Warning: This version of UI Automator is deprecated. New tests should be written using
info: [debug] [UIAUTOMATOR STDOUT] UI Automator 2.0 which is available as part of the Android Testing Support Library.
info: [debug] [UIAUTOMATOR STDOUT] See https://developer.android.com/training/testing/ui-testing/uiautomator-testing.html
info: [debug] [UIAUTOMATOR STDOUT] for more details.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
info: [debug] [BOOTSTRAP] [debug] Loading json...
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
info: [debug] Waking up device if it's not alive
info: [debug] Pushing command to appium work queue: ["wake",{}]
info: [debug] [BOOTSTRAP] [debug] Client connected
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"wake","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: wake
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "dumpsys window"
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Screen already unlocked, continuing.
info: [debug] Pushing command to appium work queue: ["getDataDir",{}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"getDataDir","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"\/data\/local\/tmp"}
info: [debug] dataDir set to: /data/local/tmp
info: [debug] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"compressedLayoutHierarchy","params":{"compressLayout":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":false}
info: [debug] Getting device API level
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 25
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.igola.travel/com.igola.travel.ui.LaunchActivity"
info: [debug] Waiting for pkg "com.igola.travel" and activity "com.igola.travel.ui.LaunchActivity" to be focused
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "dumpsys window windows"
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "getprop ro.build.version.release"
info: [debug] Device is at release version 7.1.1
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to the default of 60 secs
info: [debug] Appium session started with sessionId 6c1570e6-1485-45d4-957e-972c377f5824
info: <-- POST /wd/hub/session 303 2788.078 ms - 74 
info: --> GET /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824 {}
info: [debug] Responding to client with success: {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"7.1.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"deviceName":"hermes","udid":"33fd33df","noReset":true,"platformVersion":"5.0.2","appPackage":"com.igola.travel","platformName":"Android","appActivity":"com.igola.travel.ui.LaunchActivity"},"deviceName":"33fd33df","udid":"33fd33df","noReset":true,"appPackage":"com.igola.travel","platformName":"Android","appActivity":"com.igola.travel.ui.LaunchActivity"},"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
475433fd33df
475433fd33df
login
login
info: <-- GET /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824 200 3.590 ms - 683 {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"7.1.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"deviceName":"hermes","udid":"33fd33df","noReset":true,"platformVersion":"5.0.2","appPackage":"com.igola.travel","platformName":"Android","appActivity":"com.igola.travel.ui.LaunchActivity"},"deviceName":"33fd33df","udid":"33fd33df","noReset":true,"appPackage":"com.igola.travel","platformName":"Android","appActivity":"com.igola.travel.ui.LaunchActivity"},"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: --> POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element {"using":"id","sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13","value":"com.igola.travel:id/account_btn"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/account_btn","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/account_btn","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/account_btn using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/account_btn]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"1"},"status":0}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element 200 955.233 ms - 87 {"status":0,"value":{"ELEMENT":"1"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: --> POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element/1/click {"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13","id":"1"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"1"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element/1/click 200 273.189 ms - 76 {"status":0,"value":true,"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: --> POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element {"using":"id","sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13","value":"com.igola.travel:id/login_btn"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/login_btn","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/login_btn","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/login_btn using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/login_btn]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"2"},"status":0}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"2"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element 200 491.809 ms - 87 {"status":0,"value":{"ELEMENT":"2"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: --> POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element/2/click {"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13","id":"2"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"2"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"2"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element/2/click 200 569.335 ms - 76 {"status":0,"value":true,"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: --> POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element {"using":"id","sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13","value":"com.igola.travel:id/account_et"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/account_et","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/account_et","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/account_et using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/account_et]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"3"},"status":0}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"3"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element 200 766.817 ms - 87 {"status":0,"value":{"ELEMENT":"3"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: --> POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element/3/click {"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13","id":"3"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"3"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: --> POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element {"using":"id","sessionId":"6c1570e6-1485-45d4-957e-972c377f5824","value":"com.igola.travel:id/account_btn"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/account_btn","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/account_btn","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/account_btn using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/account_btn]
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: <-- POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element 200 60.082 ms - 87 {"status":0,"value":{"ELEMENT":"1"},"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
info: --> POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element/1/click {"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824","id":"1"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"1"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: <-- POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element/1/click 200 232.075 ms - 76 {"status":0,"value":true,"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: --> POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element {"using":"id","sessionId":"6c1570e6-1485-45d4-957e-972c377f5824","value":"com.igola.travel:id/login_btn"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/login_btn","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/login_btn","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/login_btn using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/login_btn]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"2"},"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: <-- POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element 200 114.685 ms - 87 {"status":0,"value":{"ELEMENT":"2"},"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: --> POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element/2/click {"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824","id":"2"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"2"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"2"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: <-- POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element/2/click 200 301.192 ms - 76 {"status":0,"value":true,"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: --> POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element {"using":"id","sessionId":"6c1570e6-1485-45d4-957e-972c377f5824","value":"com.igola.travel:id/account_et"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/account_et","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/account_et","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/account_et using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/account_et]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"3"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"3"},"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: <-- POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element 200 676.228 ms - 87 {"status":0,"value":{"ELEMENT":"3"},"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: --> POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element/3/click {"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824","id":"3"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"3"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element/3/click 200 3642.072 ms - 76 {"status":0,"value":true,"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: --> POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element {"using":"id","sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13","value":"com.igola.travel:id/account_et"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/account_et","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/account_et","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/account_et using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/account_et]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"4"},"status":0}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"4"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element 200 44.971 ms - 87 {"status":0,"value":{"ELEMENT":"4"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: --> POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element/4/value {"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13","id":"4","value":["1","8","8","1","9","4","9","0","4","0","8"]}
info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"4","text":"18819490408","replace":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"4","text":"18819490408","replace":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: setText
info: [debug] [BOOTSTRAP] [debug] Using element passed in.
info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: <-- POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element/3/click 200 838.159 ms - 76 {"status":0,"value":true,"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: --> POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element {"using":"id","sessionId":"6c1570e6-1485-45d4-957e-972c377f5824","value":"com.igola.travel:id/account_et"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/account_et","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/account_et","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/account_et using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/account_et]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"4"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"4"},"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: <-- POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element 200 604.023 ms - 87 {"status":0,"value":{"ELEMENT":"4"},"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: --> POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element/4/value {"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824","id":"4","value":["1","8","8","1","9","4","9","0","4","0","8"]}
info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"4","text":"18819490408","replace":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"4","text":"18819490408","replace":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: setText
info: [debug] [BOOTSTRAP] [debug] Using element passed in.
info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: 18819490408
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element/4/value 200 4878.675 ms - 76 {"status":0,"value":true,"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: --> POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element {"using":"id","sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13","value":"com.igola.travel:id/password_et"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/password_et","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/password_et","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_et using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_et]
info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: 18819490408
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"5"},"status":0}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"5"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element 200 513.981 ms - 87 {"status":0,"value":{"ELEMENT":"5"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: --> POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element/5/click {"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13","id":"5"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"5"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"5"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element/5/click 200 215.700 ms - 76 {"status":0,"value":true,"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: --> POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element {"using":"id","sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13","value":"com.igola.travel:id/password_et"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/password_et","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/password_et","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_et using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_et]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"6"},"status":0}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"6"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element 200 481.151 ms - 87 {"status":0,"value":{"ELEMENT":"6"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: --> POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element/6/value {"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13","id":"6","value":["3","2","1","3","2","1","3","2","9"]}
info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"6","text":"321321329","replace":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"6","text":"321321329","replace":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: setText
info: [debug] [BOOTSTRAP] [debug] Using element passed in.
info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: <-- POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element/4/value 200 6597.550 ms - 76 {"status":0,"value":true,"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: --> POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element {"using":"id","sessionId":"6c1570e6-1485-45d4-957e-972c377f5824","value":"com.igola.travel:id/password_et"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/password_et","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/password_et","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_et using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_et]
info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: 321321329
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"5"},"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: <-- POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element 200 498.299 ms - 87 {"status":0,"value":{"ELEMENT":"5"},"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"5"}}
info: --> POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element/5/click {"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824","id":"5"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"5"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"5"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: <-- POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element/5/click 200 178.632 ms - 76 {"status":0,"value":true,"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: --> POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element {"using":"id","sessionId":"6c1570e6-1485-45d4-957e-972c377f5824","value":"com.igola.travel:id/password_et"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/password_et","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/password_et","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_et using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_et]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"6"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"6"},"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: <-- POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element 200 709.360 ms - 87 {"status":0,"value":{"ELEMENT":"6"},"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: --> POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element/6/value {"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824","id":"6","value":["3","2","1","3","2","1","3","2","9"]}
info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"6","text":"321321329","replace":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"6","text":"321321329","replace":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: setText
info: [debug] [BOOTSTRAP] [debug] Using element passed in.
info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element/6/value 200 4979.373 ms - 76 {"status":0,"value":true,"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: --> POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element {"using":"id","sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13","value":"com.igola.travel:id/login_btn"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/login_btn","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/login_btn","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/login_btn using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/login_btn]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"7"},"status":0}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"7"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element 200 498.678 ms - 87 {"status":0,"value":{"ELEMENT":"7"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: --> POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element/7/click {"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13","id":"7"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"7"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"7"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element/7/click 200 287.925 ms - 76 {"status":0,"value":true,"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: --> POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element {"using":"id","sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13","value":"com.igola.travel:id/password_error_tv"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/password_error_tv","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/password_error_tv","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_error_tv using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_error_tv]
info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: 321321329
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_error_tv using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_error_tv]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"No element found","status":7}
info: [debug] Condition unmet after 732ms. Timing out.
info: [debug] Responding to client with error: {"status":7,"value":{"message":"An element could not be located on the page using the given search parameters.","origValue":"No element found"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element 500 740.639 ms - 195 
info: --> POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element {"using":"id","sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13","value":"com.igola.travel:id/password_error_tv"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/password_error_tv","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/password_error_tv","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_error_tv using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_error_tv]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_error_tv using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_error_tv]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":{"ELEMENT":"8"},"status":0}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"8"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- POST /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element 200 270.409 ms - 87 {"status":0,"value":{"ELEMENT":"8"},"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: --> GET /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element/8/text {}
info: [debug] Pushing command to appium work queue: ["element:getText",{"elementId":"8"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:getText","params":{"elementId":"8"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getText
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"用户名或密码错误","status":0}
info: [debug] Responding to client with success: {"status":0,"value":"用户名或密码错误","sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- GET /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13/element/8/text 200 457.605 ms - 98 {"status":0,"value":"用户名或密码错误","sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: --> DELETE /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13 {}
info: Shutting down appium session
info: [debug] Pressing the HOME button
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 8885dc17 shell "input keyevent 3"
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"OK, shutting down","status":0}
info: [debug] [BOOTSTRAP] [debug] Closed client connection
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 39.184
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
info: <-- DELETE /wd/hub/session/f5e63b7d-0b74-4b70-b967-1e70aa53cc13 200 889.293 ms - 76 {"status":0,"value":null,"sessionId":"f5e63b7d-0b74-4b70-b967-1e70aa53cc13"}
.test_01
test_01
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: <-- POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element/6/value 200 5643.057 ms - 76 {"status":0,"value":true,"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: --> POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element {"using":"id","sessionId":"6c1570e6-1485-45d4-957e-972c377f5824","value":"com.igola.travel:id/login_btn"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/login_btn","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/login_btn","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/login_btn using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/login_btn]
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"7"},"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: <-- POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element 200 573.725 ms - 87 {"status":0,"value":{"ELEMENT":"7"},"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"7"}}
info: --> POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element/7/click {"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824","id":"7"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"7"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"7"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: <-- POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element/7/click 200 139.316 ms - 76 {"status":0,"value":true,"sessionId":"6c1570e6-1485-45d4-957e-972c377f5824"}
info: --> POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element {"using":"id","sessionId":"6c1570e6-1485-45d4-957e-972c377f5824","value":"com.igola.travel:id/password_error_tv"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/password_error_tv","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/password_error_tv","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_error_tv using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_error_tv]
info: --> POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"hermes","udid":"33fd33df","noReset":true,"platformVersion":"5.0.2","appPackage":"com.igola.travel","platformName":"Android","appActivity":"com.igola.travel.ui.LaunchActivity"}}
info: Client User-Agent string: Python-urllib/2.7
info: Found an existing session to clobber, shutting it down first...
info: Shutting down appium session
info: [debug] Pressing the HOME button
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "input keyevent 3"
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
warn: Trying to run a command when one is already in progress. Will spin a bit and try again
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_error_tv using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_error_tv]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":7,"value":"No element found"}
info: [debug] Condition unmet after 2225ms. Timing out.
info: [debug] Responding to client with error: {"status":7,"value":{"message":"An element could not be located on the page using the given search parameters.","origValue":"No element found"},"sessionId":null}
info: <-- POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element 500 2228.853 ms - 161 
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
info: [debug] [BOOTSTRAP] [debug] Closed client connection
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 37.316
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: Old session shut down OK, proceeding to new session
info: [debug] Didn't get app but did get Android package, will attempt to launch it on the device
info: [debug] Creating new appium session a95d7216-a2ad-458e-aa68-31e1cd0883aa
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.7.0_51
info: [debug] Checking whether adb is present
info: [debug] Using adb from F:\Android SDK\platform-tools\adb.exe
warn: No app capability, can't parse package/activity
info: [debug] Using fast reset? false
info: [debug] Preparing device for session
info: [debug] Not checking whether app is present since we are assuming it's already on the device
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices...
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" devices
info: [debug] 2 device(s) connected
info: Found device 33fd33df
info: [debug] Setting device id to 33fd33df
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df wait-for-device
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "echo 'ready'"
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "getprop ro.build.version.sdk"
info: --> POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element {"using":"id","sessionId":"6c1570e6-1485-45d4-957e-972c377f5824","value":"com.igola.travel:id/password_error_tv"}
<page.loginPage.loginPage object at 0x00000000036CDBA8> 页面没有找到('id', 'com.igola.travel:id/password_error_tv')元素
<page.loginPage.loginPage object at 0x00000000036CDBA8> 页面没有找到('id', 'com.igola.travel:id/password_error_tv')元素
info: <-- POST /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824/element 404 3.993 ms - 40 
info: --> DELETE /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824 {}
info: <-- DELETE /wd/hub/session/6c1570e6-1485-45d4-957e-972c377f5824 404 1.245 ms - 40 
test_01
test_01
info: [debug] Device is at API Level 25
info: Device API level is: 25
info: [debug] Extracting strings for language: default
info: [debug] Apk doesn't exist locally
info: [debug] Could not get strings, but it looks like we had an old strings file anyway, so ignoring
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "rm -rf /data/local/tmp/strings.json"
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Skipping install since we launched with a package instead of an app path
info: [debug] Forwarding system:4718 to device:4724
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df forward tcp:4718 tcp:4724
info: [debug] Pushing appium bootstrap to device...
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df push "F:\\Appium\\node_modules\\appium\\build\\android_bootstrap\\AppiumBootstrap.jar" /data/local/tmp/
info: Starting App
info: [debug] Attempting to kill all 'uiautomator' processes
info: [debug] Getting all processes with 'uiautomator'
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "ps"| grep uiautomator
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: F:\Android SDK\platform-tools\adb.exe -s 33fd33df shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.igola.travel -e disableAndroidWatchers false
info: [debug] [UIAUTOMATOR STDOUT] Warning: This version of UI Automator is deprecated. New tests should be written using
info: [debug] [UIAUTOMATOR STDOUT] UI Automator 2.0 which is available as part of the Android Testing Support Library.
info: [debug] [UIAUTOMATOR STDOUT] See https://developer.android.com/training/testing/ui-testing/uiautomator-testing.html
info: [debug] [UIAUTOMATOR STDOUT] for more details.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
info: [debug] [BOOTSTRAP] [debug] Loading json...
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
info: [debug] Waking up device if it's not alive
info: [debug] Pushing command to appium work queue: ["wake",{}]
info: [debug] [BOOTSTRAP] [debug] Client connected
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"wake","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: wake
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "dumpsys window"
info: [debug] Screen already unlocked, continuing.
info: [debug] Pushing command to appium work queue: ["getDataDir",{}]
info: --> POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"hermes","udid":"33fd33df","noReset":true,"platformVersion":"5.0.2","appPackage":"com.igola.travel","platformName":"Android","appActivity":"com.igola.travel.ui.LaunchActivity"}}
info: Client User-Agent string: Python-urllib/2.7
info: Found an existing session to clobber, shutting it down first...
info: Shutting down appium session
info: [debug] Pressing the HOME button
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "input keyevent 3"
info: [debug] dataDir set to: We're in the middle of shutting down the Android device, so your request won't be executed. Sorry!
info: [debug] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}]
info: [debug] Getting device API level
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 25
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.igola.travel/com.igola.travel.ui.LaunchActivity"
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
info: [debug] [BOOTSTRAP] [debug] Closed client connection
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 0.803
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: Old session shut down OK, proceeding to new session
info: [debug] Didn't get app but did get Android package, will attempt to launch it on the device
info: [debug] Creating new appium session 5d416287-d821-4d17-aebc-adc4e814afb2
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.7.0_51
info: [debug] Checking whether adb is present
info: [debug] Using adb from F:\Android SDK\platform-tools\adb.exe
warn: No app capability, can't parse package/activity
info: [debug] Using fast reset? false
info: [debug] Preparing device for session
info: [debug] Not checking whether app is present since we are assuming it's already on the device
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices...
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" devices
info: [debug] 2 device(s) connected
info: Found device 33fd33df
info: [debug] Setting device id to 33fd33df
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df wait-for-device
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "echo 'ready'"
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "getprop ro.build.version.sdk"
info: [debug] Waiting for pkg "com.igola.travel" and activity "com.igola.travel.ui.LaunchActivity" to be focused
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "dumpsys window windows"
info: [debug] Device is at API Level 25
info: Device API level is: 25
info: [debug] Extracting strings for language: default
info: [debug] Apk doesn't exist locally
info: [debug] Could not get strings, but it looks like we had an old strings file anyway, so ignoring
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "rm -rf /data/local/tmp/strings.json"
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Skipping install since we launched with a package instead of an app path
info: [debug] Forwarding system:4718 to device:4724
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df forward tcp:4718 tcp:4724
error: Unhandled error: TypeError: Cannot read property 'udid' of null
    at Android.setActualCapabilities (F:\Appium\node_modules\appium\lib\devices\android\android.js:571:42)
    at F:\Appium\node_modules\appium\node_modules\async\lib\async.js:607:21
    at F:\Appium\node_modules\appium\node_modules\async\lib\async.js:246:17
    at iterate (F:\Appium\node_modules\appium\node_modules\async\lib\async.js:146:13)
    at F:\Appium\node_modules\appium\node_modules\async\lib\async.js:157:25
    at F:\Appium\node_modules\appium\node_modules\async\lib\async.js:248:21
    at F:\Appium\node_modules\appium\node_modules\async\lib\async.js:612:34
    at Android.androidHybrid.initAutoWebview (F:\Appium\node_modules\appium\lib\devices\android\android-hybrid.js:271:5)
    at F:\Appium\node_modules\appium\node_modules\async\lib\async.js:607:21
    at F:\Appium\node_modules\appium\node_modules\async\lib\async.js:246:17
    at iterate (F:\Appium\node_modules\appium\node_modules\async\lib\async.js:146:13)
    at F:\Appium\node_modules\appium\node_modules\async\lib\async.js:157:25
    at F:\Appium\node_modules\appium\node_modules\async\lib\async.js:248:21
    at F:\Appium\node_modules\appium\node_modules\async\lib\async.js:612:34
    at ADB.<anonymous> (F:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:1318:9)
    at ADB.<anonymous> (F:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:1270:7)
    at ADB.<anonymous> (F:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:180:9)
    at ChildProcess.exithandler (child_process.js:197:7)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Socket.<anonymous> (internal/child_process.js:334:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:498:12) context: [POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"hermes","udid":"33fd33df","noReset":true,"platformVersion":"5.0.2","appPackage":"com.igola.travel","platformName":"Android","appActivity]
info: [debug] Pushing appium bootstrap to device...
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df push "F:\\Appium\\node_modules\\appium\\build\\android_bootstrap\\AppiumBootstrap.jar" /data/local/tmp/
info: Starting App
info: [debug] Attempting to kill all 'uiautomator' processes
info: [debug] Getting all processes with 'uiautomator'
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "ps"| grep uiautomator
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: F:\Android SDK\platform-tools\adb.exe -s 33fd33df shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.igola.travel -e disableAndroidWatchers false
info: [debug] [UIAUTOMATOR STDOUT] Warning: This version of UI Automator is deprecated. New tests should be written using
info: [debug] [UIAUTOMATOR STDOUT] UI Automator 2.0 which is available as part of the Android Testing Support Library.
info: [debug] [UIAUTOMATOR STDOUT] See https://developer.android.com/training/testing/ui-testing/uiautomator-testing.html
info: [debug] [UIAUTOMATOR STDOUT] for more details.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
info: [debug] [BOOTSTRAP] [debug] Loading json...
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
info: [debug] Waking up device if it's not alive
info: [debug] Pushing command to appium work queue: ["wake",{}]
info: [debug] [BOOTSTRAP] [debug] Client connected
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"wake","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: wake
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "dumpsys window"
info: [debug] Screen already unlocked, continuing.
info: [debug] Pushing command to appium work queue: ["getDataDir",{}]
info: [debug] dataDir set to: /data/local/tmp
info: [debug] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"getDataDir","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"\/data\/local\/tmp"}
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"compressedLayoutHierarchy","params":{"compressLayout":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":false}
info: [debug] Getting device API level
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 25
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.igola.travel/com.igola.travel.ui.LaunchActivity"
info: [debug] Waiting for pkg "com.igola.travel" and activity "com.igola.travel.ui.LaunchActivity" to be focused
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "dumpsys window windows"
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "getprop ro.build.version.release"
info: [debug] Device is at release version 7.1.1
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to the default of 60 secs
info: [debug] Appium session started with sessionId 5d416287-d821-4d17-aebc-adc4e814afb2
info: <-- POST /wd/hub/session 303 3275.756 ms - 74 
info: --> GET /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2 {}
info: [debug] Responding to client with success: {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"7.1.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"deviceName":"hermes","udid":"33fd33df","noReset":true,"platformVersion":"5.0.2","appPackage":"com.igola.travel","platformName":"Android","appActivity":"com.igola.travel.ui.LaunchActivity"},"deviceName":"33fd33df","udid":"33fd33df","noReset":true,"appPackage":"com.igola.travel","platformName":"Android","appActivity":"com.igola.travel.ui.LaunchActivity"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- GET /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2 200 1.198 ms - 683 {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"7.1.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"deviceName":"hermes","udid":"33fd33df","noReset":true,"platformVersion":"5.0.2","appPackage":"com.igola.travel","platformName":"Android","appActivity":"com.igola.travel.ui.LaunchActivity"},"deviceName":"33fd33df","udid":"33fd33df","noReset":true,"appPackage":"com.igola.travel","platformName":"Android","appActivity":"com.igola.travel.ui.LaunchActivity"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
475433fd33df
475433fd33df
login
login
info: --> POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element {"using":"id","sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2","value":"com.igola.travel:id/account_btn"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/account_btn","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/account_btn","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/account_btn using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/account_btn]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element 200 1121.726 ms - 87 {"status":0,"value":{"ELEMENT":"1"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: --> POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element/1/click {"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2","id":"1"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"1"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element/1/click 200 208.688 ms - 76 {"status":0,"value":true,"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: --> POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element {"using":"id","sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2","value":"com.igola.travel:id/login_btn"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/login_btn","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/login_btn","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/login_btn using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/login_btn]
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"2"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element 200 48.885 ms - 87 {"status":0,"value":{"ELEMENT":"2"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}
info: --> POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element/2/click {"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2","id":"2"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"2"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"2"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element/2/click 200 290.569 ms - 76 {"status":0,"value":true,"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: --> POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element {"using":"id","sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2","value":"com.igola.travel:id/account_et"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/account_et","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/account_et","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/account_et using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/account_et]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"3"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"3"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element 200 659.528 ms - 87 {"status":0,"value":{"ELEMENT":"3"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: --> POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element/3/click {"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2","id":"3"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"3"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element/3/click 200 3174.404 ms - 76 {"status":0,"value":true,"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: --> POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element {"using":"id","sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2","value":"com.igola.travel:id/account_et"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/account_et","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/account_et","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/account_et using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/account_et]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"4"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"4"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element 200 48.821 ms - 87 {"status":0,"value":{"ELEMENT":"4"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: --> POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element/4/value {"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2","id":"4","value":["1","8","8","1","9","4","9","0","4","0","8"]}
info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"4","text":"18819490408","replace":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"4","text":"18819490408","replace":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: setText
info: [debug] [BOOTSTRAP] [debug] Using element passed in.
info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: 18819490408
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element/4/value 200 6310.459 ms - 76 {"status":0,"value":true,"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: --> POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element {"using":"id","sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2","value":"com.igola.travel:id/password_et"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/password_et","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/password_et","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_et using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_et]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"5"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"5"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element 200 519.436 ms - 87 {"status":0,"value":{"ELEMENT":"5"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: --> POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element/5/click {"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2","id":"5"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"5"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"5"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element/5/click 200 234.458 ms - 76 {"status":0,"value":true,"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: --> POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element {"using":"id","sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2","value":"com.igola.travel:id/password_et"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/password_et","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/password_et","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_et using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_et]
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"6"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element 200 732.843 ms - 87 {"status":0,"value":{"ELEMENT":"6"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"6"}}
info: --> POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element/6/value {"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2","id":"6","value":["3","2","1","3","2","1","3","2","0"]}
info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"6","text":"321321320","replace":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"6","text":"321321320","replace":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: setText
info: [debug] [BOOTSTRAP] [debug] Using element passed in.
info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: 321321320
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element/6/value 200 5525.489 ms - 76 {"status":0,"value":true,"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: --> POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element {"using":"id","sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2","value":"com.igola.travel:id/login_btn"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/login_btn","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/login_btn","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/login_btn using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/login_btn]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"7"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"7"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element 200 551.247 ms - 87 {"status":0,"value":{"ELEMENT":"7"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: --> POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element/7/click {"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2","id":"7"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"7"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"7"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element/7/click 200 199.304 ms - 76 {"status":0,"value":true,"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: --> POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element {"using":"id","sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2","value":"com.igola.travel:id/password_error_tv"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/password_error_tv","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/password_error_tv","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_error_tv using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_error_tv]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_error_tv using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_error_tv]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":7,"value":"No element found"}
info: [debug] Condition unmet after 634ms. Timing out.
info: [debug] Responding to client with error: {"status":7,"value":{"message":"An element could not be located on the page using the given search parameters.","origValue":"No element found"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element 500 639.483 ms - 195 
info: --> POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element {"using":"id","sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2","value":"com.igola.travel:id/password_error_tv"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/password_error_tv","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/password_error_tv","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_error_tv using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_error_tv]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_error_tv using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_error_tv]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":7,"value":"No element found"}
info: [debug] Condition unmet after 182ms. Timing out.
info: [debug] Responding to client with error: {"status":7,"value":{"message":"An element could not be located on the page using the given search parameters.","origValue":"No element found"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element 500 207.024 ms - 195 
info: --> POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element {"using":"id","sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2","value":"com.igola.travel:id/password_error_tv"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.igola.travel:id/password_error_tv","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.igola.travel:id/password_error_tv","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_error_tv using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_error_tv]
info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
info: [debug] [BOOTSTRAP] [debug] Finding com.igola.travel:id/password_error_tv using ID with the contextId:  multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.igola.travel:id/password_error_tv]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"8"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"8"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- POST /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element 200 313.015 ms - 87 {"status":0,"value":{"ELEMENT":"8"},"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: --> GET /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element/8/text {}
info: [debug] Pushing command to appium work queue: ["element:getText",{"elementId":"8"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:getText","params":{"elementId":"8"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getText
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"用户名或密码错误"}
info: [debug] Responding to client with success: {"status":0,"value":"用户名或密码错误","sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- GET /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2/element/8/text 200 38.848 ms - 98 {"status":0,"value":"用户名或密码错误","sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: --> DELETE /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2 {}
info: Shutting down appium session
info: [debug] Pressing the HOME button
info: [debug] executing cmd: "F:\Android SDK\platform-tools\adb.exe" -s 33fd33df shell "input keyevent 3"
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
info: [debug] [BOOTSTRAP] [debug] Closed client connection
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 40.129
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
info: <-- DELETE /wd/hub/session/5d416287-d821-4d17-aebc-adc4e814afb2 200 581.578 ms - 76 {"status":0,"value":null,"sessionId":"5d416287-d821-4d17-aebc-adc4e814afb2"}
�ɹ�: ����ֹ���� "node.exe"���� PID Ϊ 11024��
�ɹ�: ����ֹ���� "node.exe"���� PID Ϊ 6188��
E
Time Elapsed: 0:01:40.332000
����: û���ҵ����� "node.exe"��

Process finished with exit code 0

共收到 2 条回复 时间 点赞

第一次提问,是不是描述得不太清楚,没人回😂

你使用了相同的端口号

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册