• 测试行业的编程语言之争 at 2017年5月24日

    只会java。。

  • 好车主?

  • 什么运动减肥效果最好? at 2017年5月22日

    有氧+无氧才能更好的减肥,单纯的有氧在长时间后也会消耗肌肉

  • maven虽然在用 也不是狠了解,建议先试下直接用testng.xml执行,如果可以再试下用clean install..坐等大神来看

  • test.LoginPageTest 是否有@Test

  • 服务器日志:
    [Appium] Welcome to Appium v1.6.4
    [Appium] Appium REST http interface listener started on 0.0.0.0:4723
    [HTTP] --> GET /wd/hub/status {}
    [debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []
    [debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.6.4","revision":null}}
    [HTTP] <-- GET /wd/hub/status 200 22 ms - 83
    [HTTP] --> POST /wd/hub/session {"capabilities":{"desiredCapabilities":{"app":"/Users/globalegrow2017/Desktop/autowork/gearbestAndroid/apps/Gearbest.ipa","noReset":true,"newCommandTimeout":"300","platformVersion":"10.2","automationName":"XCUITest","platformName":"iOS","udid":"91a567fc5875c36dbe791a1d871fd9f328040841","deviceName":"iPhone","webDriverAgentUrl":"http://localhost:8100,"requiredCapabilities":{}},"desiredCapabilities":{"app":"/Users/globalegrow2017/Desktop/autowork/gearbestAndroid/apps/Gearbest.ipa","noReset":true,"newCommandTimeout":"300","platformVersion":"10.2","automationName":"XCUITest","platformName":"iOS","udid":"91a567fc5875c36dbe791a1d871fd9f328040841","deviceName":"iPhone","webDriverAgentUrl":"http://localhost:8100,"requiredCapabilities":{}"}}
    [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/globalegrow2017/Desktop/autowork/gearbestAndroid/apps/Gearbest.ipa","noReset":true,"newCommandTimeout":"300","platformVersion":"10.2","automationName":"XCUITest","platformName":"iOS","udid":"91a567fc5875c36dbe791a1d871fd9f328040841","deviceName":"iPhone","webDriverAgentUrl":"http://localhost:8100,{},{"desiredCapabilities":{"app":"/Users/globalegrow2017/Desktop/autowork/gearbestAndroid/apps/Gearbest.ipa","noReset":true,"newCommandTimeout":"300","platformVersion":"10.2","automationName":"XCUITest","platformName":"iOS","udid":"91a567fc5875c36dbe791a1d871fd9f328040841","deviceName":"iPhone","webDriverAgentUrl":"http://localhost:8100,"requiredCapabilities":{}}"}]
    [debug] [BaseDriver] Event 'newSessionRequested' logged at 1494033351556 (09:15:51 GMT+0800 (CST))
    [Appium] Creating new XCUITestDriver (v2.28.2) session
    [Appium] Capabilities:
    [Appium] app: '/Users/globalegrow2017/Desktop/autowork/gearbestAndroid/apps/Gearbest.ipa'
    [Appium] noReset: true
    [Appium] newCommandTimeout: '300'
    [Appium] platformVersion: '10.2'
    [Appium] automationName: 'XCUITest'
    [Appium] platformName: 'iOS'
    [Appium] udid: '91a567fc5875c36dbe791a1d871fd9f328040841'
    [Appium] deviceName: 'iPhone'
    [Appium] webDriverAgentUrl: 'http://localhost:8100'
    [debug] [XCUITest] XCUITestDriver version: 2.28.2
    [BaseDriver] Capability 'newCommandTimeout' changed from string ('300') to integer (300). This may cause unexpected behavior
    [BaseDriver] Session created with session id: f3b9ede3-129a-4a88-995a-7671f1c7b16a
    [debug] [XCUITest] Xcode version set to '8.3.1' (tools v8.3.2.0.1.1492020469)
    [debug] [XCUITest] iOS SDK Version set to '10.3'
    [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1494033351694 (09:15:51 GMT+0800 (CST))
    [XCUITest] The 'idevice_id' program is not installed. If you are running a real device test it is necessary. Install with 'brew install libimobiledevice --HEAD'
    [debug] [XCUITest] Available devices:
    [debug] [XCUITest] Not clearing log files. Use clearSystemFiles capability to turn on.
    [HTTP] <-- POST /wd/hub/session 500 276 ms - 213
    [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/globalegrow2017/Desktop/autowork/gearbestAndroid/apps/Gearbest.ipa","noReset":true,"newCommandTimeout":"300","platformVersion":"10.2","automationName":"XCUITest","platformName":"iOS","udid":"91a567fc5875c36dbe791a1d871fd9f328040841","deviceName":"iPhone","webDriverAgentUrl":"http://localhost:8100,"requiredCapabilities":{}"}}
    [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/globalegrow2017/Desktop/autowork/gearbestAndroid/apps/Gearbest.ipa","noReset":true,"newCommandTimeout":"300","platformVersion":"10.2","automationName":"XCUITest","platformName":"iOS","udid":"91a567fc5875c36dbe791a1d871fd9f328040841","deviceName":"iPhone","webDriverAgentUrl":"http://localhost:8100,{},null"}]
    [debug] [BaseDriver] Event 'newSessionRequested' logged at 1494033351852 (09:15:51 GMT+0800 (CST))
    [Appium] Creating new XCUITestDriver (v2.28.2) session
    [Appium] Capabilities:
    [Appium] app: '/Users/globalegrow2017/Desktop/autowork/gearbestAndroid/apps/Gearbest.ipa'
    [Appium] noReset: true
    [Appium] newCommandTimeout: '300'
    [Appium] platformVersion: '10.2'
    [Appium] automationName: 'XCUITest'
    [Appium] platformName: 'iOS'
    [Appium] udid: '91a567fc5875c36dbe791a1d871fd9f328040841'
    [Appium] deviceName: 'iPhone'
    [Appium] webDriverAgentUrl: 'http://localhost:8100'
    [debug] [XCUITest] XCUITestDriver version: 2.28.2
    [BaseDriver] Capability 'newCommandTimeout' changed from string ('300') to integer (300). This may cause unexpected behavior
    [BaseDriver] Session created with session id: 261a6527-e2d4-48e6-9ab8-b53e833ccf5f
    [debug] [XCUITest] Xcode version set to '8.3.1' (tools v8.3.2.0.1.1492020469)
    [debug] [XCUITest] iOS SDK Version set to '10.3'
    [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1494033351887 (09:15:51 GMT+0800 (CST))
    [XCUITest] The 'idevice_id' program is not installed. If you are running a real device test it is necessary. Install with 'brew install libimobiledevice --HEAD'
    [debug] [XCUITest] Available devices:
    [debug] [XCUITest] Not clearing log files. Use clearSystemFiles capability to turn on.
    [HTTP] <-- POST /wd/hub/session 500 124 ms - 213
    [HTTP] --> POST /wd/hub/session {"capabilities":{"desiredCapabilities":{"app":"/Users/globalegrow2017/Desktop/autowork/gearbestAndroid/apps/Gearbest.ipa","noReset":true,"newCommandTimeout":"300","platformVersion":"10.2","automationName":"XCUITest","platformName":"iOS","udid":"91a567fc5875c36dbe791a1d871fd9f328040841","deviceName":"iPhone","webDriverAgentUrl":"http://localhost:8100,"requiredCapabilities":{}}"}}
    [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [null,null,{"desiredCapabilities":{"app":"/Users/globalegrow2017/Desktop/autowork/gearbestAndroid/apps/Gearbest.ipa","noReset":true,"newCommandTimeout":"300","platformVersion":"10.2","automationName":"XCUITest","platformName":"iOS","udid":"91a567fc5875c36dbe791a1d871fd9f328040841","deviceName":"iPhone","webDriverAgentUrl":"http://localhost:8100,"requiredCapabilities":{}}"}]
    [debug] [BaseDriver] Event 'newSessionRequested' logged at 1494033351982 (09:15:51 GMT+0800 (CST))
    [HTTP] <-- POST /wd/hub/session 500 19 ms - 179

  • java+10086

  • 点击之后不要有延迟

  • 用视觉对比么?其实应该也还有文字(字体,颜色),坐标点(颜色),可以看看按键精灵,基于视图做的。

  • 100 天减肥 35 斤历程 at 2017年4月19日

    三分练七分吃,多做无氧。