我就在考虑这么低的薪水 能招到人吗?
还有门票吗?求一张 18663049557
这个是手机适配问题,京东可以一个身份证号码实名 2 个账号,京东金融,京东 APP 分别用 2 个手机号码注册账号,实名认证的时间在 10 分钟之内,就可以注册 2 个京东账号,这样一个身份证就可以保留 2 个京东账号。
外汇交易中心旁边的公司,8 号楼 离我好近,就是工资有点低啊
去配置 Android 手机的 system webview 和 ChromeDriver 和 Chrome 版本 保持一致。 三个统一
楼主的问题解决了吗?
bundleId 是必须的吗?我也是这个问题 ,模拟器可以运行 ,真机一直识别不到
这样一直被允许的吧,淘宝,天猫,京东 这些都可以 2 台手机同时登录
我也是模拟器 可以跑 真机 直接识别不到 但是 webDriverAgent 编译到真机没有问题啊
@Lihuazhang 这次再看看 麻烦了
@Lihuazhang 看看可以了吗?
appium --app /Users/junchao/Downloads/HoubankP2P.app --udid EF38E91C-88C5-4EE6-9936-C0FDEA07C241 --device-name iPhoneSimulator --platform-name ios --platform-version 10.3 --automation-name XCUITest --session-override
[Appium] Welcome to Appium v1.6.6-beta (REV c60b53818f2f264ee88b664b260390e3eb186a12)
[Appium] Non-default server args:
[Appium] sessionOverride: true
[Appium] platformName: ios
[Appium] platformVersion: 10.3
[Appium] automationName: XCUITest
[Appium] deviceName: iPhoneSimulator
[Appium] app: /Users/junchao/Downloads/HoubankP2P.app
[Appium] udid: EF38E91C-88C5-4EE6-9936-C0FDEA07C241
[Appium] Deprecated server args:
[Appium] --platform-name => --default-capabilities '{"platformName":"ios"}'
[Appium] --platform-version => --default-capabilities '{"platformVersion":"10.3"}'
[Appium] --automation-name => --default-capabilities '{"automationName":"XCUITest"}'
[Appium] --device-name => --default-capabilities '{"deviceName":"iPhoneSimulator"}'
[Appium] --app => --default-capabilities '{"app":"/Users/junchao/Downloads/HoubankP2P.app"}'
[Appium] -U,--udid => --default-capabilities '{"udid":"EF38E91C-88C5-4EE6-9936-C0FDEA07C241"}'
[Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:
[Appium] platformName: 'ios'
[Appium] platformVersion: '10.3'
[Appium] automationName: 'XCUITest'
[Appium] deviceName: 'iPhoneSimulator'
[Appium] app: '/Users/junchao/Downloads/HoubankP2P.app'
[Appium] udid: 'EF38E91C-88C5-4EE6-9936-C0FDEA07C241'
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/junchao/Downloads/HoubankP2P.ipa","appium":"http://127.0.0.1:4723/wd/hub,noReset:false,bundleId:,deviceName:iPhone" 6","autoLaunch":"true","platformVersion":"9.2","automationName":"XCUITest","autoWebview":"false","platformName":"iOS","udid":"EF38E91C-88C5-4EE6-9936-C0FDEA07C241","autoAcceptAlerts":"true"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/junchao/Downloads/HoubankP2P.ipa","appium":"http://127.0.0.1:4723/wd/hub,noReset:false,bundleId:,deviceName:iPhone" 6","autoLaunch":"true","platformVersion":"9.2","automationName":"XCUITest","autoWebview":"false","platformName":"iOS","udid":"EF38E91C-88C5-4EE6-9936-C0FDEA07C241","autoAcceptAlerts":"true"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1500532365583 (14:32:45 GMT+0800 (CST))
[Appium] Creating new XCUITestDriver (v2.36.0) session
[Appium] Capabilities:
[Appium] app: '/Users/junchao/Downloads/HoubankP2P.ipa'
[Appium] appium: 'http://127.0.0.1:4723/wd/hub'
[Appium] noReset: 'false'
[Appium] bundleId: ''
[Appium] deviceName: 'iPhone 6'
[Appium] autoLaunch: 'true'
[Appium] platformVersion: '9.2'
[Appium] automationName: 'XCUITest'
[Appium] autoWebview: 'false'
[Appium] platformName: 'iOS'
[Appium] udid: 'EF38E91C-88C5-4EE6-9936-C0FDEA07C241'
[Appium] autoAcceptAlerts: 'true'
[debug] [XCUITest] XCUITestDriver version: 2.36.0
[BaseDriver] Capability 'autoLaunch' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'autoWebview' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'autoAcceptAlerts' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] The following capabilities were provided, but are not recognized by appium: appium.
[XCUITest] The capabilities 'autoAcceptAlerts' and 'autoDismissAlerts' do not work for XCUITest-based tests. Please adjust your alert handling accordingly.
[BaseDriver] Session created with session id: 66ef4060-aa40-4b98-ab9f-cc4985d2464b
[debug] [XCUITest] Xcode version set to '8.3.3' (tools v8.3.2.0.1.1492020469)
[debug] [XCUITest] iOS SDK Version set to '10.3'
[XCUITest] Error: Platform version must be 9.3 or above. '9.2' is not supported.
at XCUITestDriver.start$ (../../lib/driver.js:233:13)
at tryCatch (/Users/junchao/Documents/appium/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke as _invoke
at GeneratorFunctionPrototype.prototype.(anonymous function) as next
at GeneratorFunctionPrototype.invoke (/Users/junchao/Documents/appium/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at
at process._tickCallback (internal/process/next_tick.js:169:7)
Error: Platform version must be 9.3 or above. '9.2' is not supported.
at XCUITestDriver.start$ (../../lib/driver.js:233:13)
at tryCatch (/Users/junchao/Documents/appium/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke as _invoke
at GeneratorFunctionPrototype.prototype.(anonymous function) as next
at GeneratorFunctionPrototype.invoke (/Users/junchao/Documents/appium/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at
at process._tickCallback (internal/process/next_tick.js:169:7)
[debug] [XCUITest] Not clearing log files. Use clearSystemFiles
capability to turn on.
[MJSONWP] Encountered internal error running command: Error: Platform version must be 9.3 or above. '9.2' is not supported.
at XCUITestDriver.start$ (../../lib/driver.js:233:13)
at tryCatch (/Users/junchao/Documents/appium/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke as _invoke
at GeneratorFunctionPrototype.prototype.(anonymous function) as next
at GeneratorFunctionPrototype.invoke (/Users/junchao/Documents/appium/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at
at process._tickCallback (internal/process/next_tick.js:169:7)
[HTTP] <-- POST /wd/hub/session 500 254 ms - 199
我启动 appium 设置 appium --app /Users/junchao/Downloads/HoubankP2P.app --udid EF38E91C-88C5-4EE6-9936-C0FDEA07C241 --device-name iPhoneSimulator --platform-name ios --platform-version 10.3 --automation-name XCUITest --session-override
下面就自动变成:[Appium] Creating new XCUITestDriver (v2.36.0) session
[Appium] Capabilities:
[Appium] app: '/Users/junchao/Downloads/HoubankP2P.ipa'
[Appium] appium: 'http://127.0.0.1:4723/wd/hub'
[Appium] noReset: 'false'
[Appium] bundleId: ''
[Appium] deviceName: 'iPhone 6'
[Appium] autoLaunch: 'true'
[Appium] platformVersion: '9.2'
[Appium] automationName: 'XCUITest'
[Appium] autoWebview: 'false'
[Appium] platformName: 'iOS'
[Appium] udid: 'EF38E91C-88C5-4EE6-9936-C0FDEA07C241'
[Appium] autoAcceptAlerts: 'true'
这和我设置不一样啊 这个有 bug 每次都自己跳转到默认值
我和楼主一个错误,Exception in thread "main" org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Platform version must be 9.3 or above. '9.2' is not supported. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 438 milliseconds
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'junchaodeMacBook-Pro.local', ip: '192.168.21.213', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.5', java.version: '1.8.0_131'
Driver info: io.appium.java_client.ios.IOSDriver
ANDROID_HOME 必须设置为系统变量,不能是用户变量。我也遇到过这个问题,就是这样解决的
从文件读取出来的都是基本类型,如何转换成对象,能不能把这段代码的实现贴出来给看看。
—— 来自 TesterHome 官方 安卓客户端