• ATX 录放编辑器 -- WEditor at 2019年08月22日

    有解吗?

  • 怎么更新?

  • autotest-ios:WebDriverAgent admin$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=2a7cd84d5d266bdb2558972eb894aadbd8393481 test
    2017-04-11 11:12:45.541 xcodebuild[5862:2495176] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
    /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-cawmfybafmqbwbbksnlvaaamrjla/Logs/Test/9A4CA41F-2763-4112-AE20-02EA341C4C9A/Session-WebDriverAgentRunner-2017-04-11_111245-tEciTq.log
    2017-04-11 11:12:45.541 xcodebuild[5862:2495089] [MT] IDETestOperationsObserverDebug: (43A30FB3-98FA-42FD-8C6F-9C36A2018879) Beginning test session WebDriverAgentRunner-43A30FB3-98FA-42FD-8C6F-9C36A2018879 at 2017-04-11 11:12:45.541 with Xcode 8E162 on target {
    deviceSerialNumber: C8QLD5B1FFHR
    identifier: 2a7cd84d5d266bdb2558972eb894aadbd8393481
    deviceClass: iPhone
    deviceName: iPhone5c 10.1
    deviceIdentifier: 2a7cd84d5d266bdb2558972eb894aadbd8393481
    productVersion: 10.2.1
    buildVersion: 14D27
    deviceSoftwareVersion: 10.2.1 (14D27)
    deviceArchitecture: armv7s
    deviceTotalCapacity: 13087301632
    deviceAvailableCapacity: 7095791616
    deviceIsTransient: NO
    ignored: NO
    deviceIsBusy: NO
    deviceIsActivated: YES
    deviceActivationState: Activated
    isPasscodeLocked: NO
    deviceType:
    supportedDeviceFamilies: (
    1
    )
    applications: (null)
    provisioningProfiles: (null)
    activityProgress: -2
    activityTitle:

    hasInternalSupport: NO
    isSupportedOS: YES
    developerDiskMountError: (null)
    (null)
    bootArgs:
    } (10.2.1 (14D27))
    === BUILD TARGET WebDriverAgentLib OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===

    Check dependencies

    === BUILD TARGET IntegrationApp OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===

    Check dependencies

    Validate /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-cawmfybafmqbwbbksnlvaaamrjla/Build/Products/Debug-iphoneos/IntegrationApp.app
    cd "/usr/local/lib/node_modules/appium/node_modules/._appium-xcuitest-driver@2.27.2@appium-xcuitest-driver/WebDriverAgent"
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/appium/nodejs/bin:/Users/admin/.rvm/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/java/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/java/jre/lib:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/bin:/Users/admin/Desktop/WXJ_IOS/android-sdk-macosx/tools:/Users/admin/Desktop/WXJ_IOS/android-sdk-macosx/platform-tools:/Users/admin/Desktop/WXJ_IOS/android-sdk-macosx/build-tools/25.0.2:"
    export PRODUCT_TYPE=com.apple.product-type.application
    builtin-validationUtility /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-cawmfybafmqbwbbksnlvaaamrjla/Build/Products/Debug-iphoneos/IntegrationApp.app

    === BUILD TARGET WebDriverAgentRunner OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===

    Check dependencies

    MDMCreateDeltaDirectory:1920 calling MDMDirectoryDiff with:
    state->old_bundle: /var/folders/b2/xryd_gbj04b2g5_r1yxsv7cm0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/045d1d24e6381edd91309c864f77f536/2a7cd84d5d266bdb2558972eb894aadbd8393481/WebDriverAgentRunner-Runner.app
    state->new_bundle: /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-cawmfybafmqbwbbksnlvaaamrjla/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app
    state->dst_bundle: /var/folders/b2/xryd_gbj04b2g5_r1yxsv7cm0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.oDauLw/WebDriverAgentRunner-Runner.app_sparse.ipa/Payload//WebDriverAgentRunner-Runner.app, binaryDiff flag: FALSE
    dst_ipa: /var/folders/b2/xryd_gbj04b2g5_r1yxsv7cm0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.oDauLw/WebDriverAgentRunner-Runner.app_sparse.ipa
    __MDMDirectoryDiff_block_invoke.37:1473 calling writeDictToFile with: /var/folders/b2/xryd_gbj04b2g5_r1yxsv7cm0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.oDauLw/WebDriverAgentRunner-Runner.app_sparse.ipa/ManifestCache.plist
    writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/b2/xryd_gbj04b2g5_r1yxsv7cm0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.oDauLw/WebDriverAgentRunner-Runner.app_sparse.ipa/ManifestCache.plist
    Test Suite 'All tests' started at 2017-04-11 11:12:56.159
    Test Suite 'WebDriverAgentRunner.xctest' started at 2017-04-11 11:12:56.164
    Test Suite 'UITestingUITests' started at 2017-04-11 11:12:56.166
    Test Case '-[UITestingUITests testRunner]' started.
    t = 0.00s Start Test at 2017-04-11 11:12:56.170
    t = 0.01s Set Up
    Z
    [3]+ Stopped xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=2a7cd84d5d266bdb2558972eb894aadbd8393481 test

    一直卡在 t = 0.01s Set Up

  • 这个情况解决了吗?

  • 我不行,后来怎么解决的?[debug] [XCUITest] Failed to create WDA session. Retrying...
    [debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1491644589377 (17:43:09 GMT+0800 (CST))
    [debug] [XCUITest] Sending createSession command to WDA
    一直这样

  • 模拟器打开 APP 一直闪退 at 2017年04月08日

    解决了吗?

  • 是 carthage 没装好

  • appium1.5.3 不是一值报 Errno 61 吗?

  • log4j:ERROR Could not read configuration file [/Users/admin/Desktop/src/log4j.properties].
    java.io.FileNotFoundException: /Users/admin/Desktop/src/log4j.properties (No such file or directory)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.(FileInputStream.java:138)
    at java.io.FileInputStream.(FileInputStream.java:93)
    at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:306)
    at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:324)
    at pers.traveler.log.Log.(Log.java:17)
    at pers.traveler.robot.Robot.travel(Robot.java:172)
    at pers.traveler.test.Main.main(Main.java:21)
    log4j:ERROR Ignoring configuration file [/Users/admin/Desktop/src/log4j.properties].

    该怎么搞啊?

  • 192.168.56.101:5555,这个是啥?

  • java -jar appcrawler-1.8.0.jar -p ios --capability udid=xxx,用不起来,
    Driver info: io.appium.java_client.ios.IOSDriver
    2017-03-31 13:44:36 ERROR [IOSCrawler.setupAppium.47]
    2017-03-31 13:44:36 INFO [IOSCrawler.start.136] init MiniAppium
    2017-03-31 13:44:36 INFO [IOSCrawler.start.137] platformName=iOS driver=null
    2017-03-31 13:44:36 INFO [IOSCrawler.start.139] waiting for app load
    2017-03-31 13:44:44 INFO [IOSCrawler.start.141] driver=null
    2017-03-31 13:44:44 INFO [IOSCrawler.start.142] get screen info
    Exception in thread "main" java.lang.NullPointerException
    at com.xueqiu.qa.appcrawler.Crawler.getDeviceInfo(Crawler.scala:212)
    at com.xueqiu.qa.appcrawler.Crawler.start(Crawler.scala:143)
    at com.xueqiu.qa.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:311)
    at com.xueqiu.qa.appcrawler.AppCrawler$.main(AppCrawler.scala:291)
    at com.xueqiu.qa.appcrawler.AppCrawler.main(AppCrawler.scala)

  • SpringContext 类哪里来的?

  • 支持

  • 值得收藏

  • 好的

  • #99 楼 @mingyuwang 61 行有个小写,138 是大写,本来就是这么写的。很奇怪的是:Command failed: /bin/sh -c ideviceinstaller -u ba7f3d8471730b2b55fb497409e7a5f7422df422 -l ,-l 后面就这样断了?

  • #97 楼 @mingyuwang 目录是找到了,把 U->u,问题还在。

  • #95 楼 @mingyuwang 1.5.2/node_modules/appium/node_modules/appium-ios-driver/node_modules/node-idevice 这个目录找不到啊。 /Applications/Appium.app/Contents/Resources/node_modules/appium/build/deviceconsole 这个目录也没有。

  • #1 楼 @wangcityboy deviceconsole 在哪里啊,我的 imac 上没有

  • #79 楼 @mingyuwang 依赖包怎么改?

  • #45 楼 @lihuazhang
    Traceback (most recent call last):
    File "helloWorld.py", line 107, in
    main()
    File "helloWorld.py", line 97, in main
    testcase = TestCase(desired_caps)
    File "helloWorld.py", line 24, in init
    self.driver = webdriver.Remote('http://localhost:4723/wd/hub', desired_caps)
    File "build/bdist.macosx-10.11-intel/egg/appium/webdriver/webdriver.py", line 36, in init
    File "/Library/Python/2.7/site-packages/selenium-2.53.5-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 90, in init
    self.start_session(desired_capabilities, browser_profile)
    File "/Library/Python/2.7/site-packages/selenium-2.53.5-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 177, in start_session
    response = self.execute(Command.NEW_SESSION, capabilities)
    File "/Library/Python/2.7/site-packages/selenium-2.53.5-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 236, in execute
    self.error_handler.check_response(response)
    File "/Library/Python/2.7/site-packages/selenium-2.53.5-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 194, in check_response
    raise exception_class(message, screen, stacktrace)
    selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Command failed: /bin/sh -c ideviceinstaller -u ba7f3d8471730b2b55fb497409e7a5f7422df422 -l
    一直报这个错,帮忙看下吧,谢谢!
    模拟器可以起来。