Appium速查手册

  1. 通用资源
    • Common capabilities : 
      • Flag			JSON key
      • 
        –keep-artifacts		keepArtifacts
        –platform-name		platformName
        –platform-version	platformVersion
        –automation-name	automationName
        –device-name		deviceName
        –browser-name		browserName
        –app			app
        –launch-timeout		launchTimeout
        –language			language
        –locale				locale
        –udid				udid
        –orientation		orientation
        –no-reset			noReset
        –full-reset			rullReset
        –app-pkg			appPackage
        –app-activity		appActivity
        –app-wait-package	appWaitPackage
        –app-wait-activity	appWaitActivity
        –device-ready-timeout	deviceReadyTimeout
        –android-coverage	androidCoverage
        –avd				avd
        –avd-args			avdArgs
        –use-keystore		useKeystore
        –keystore-path		keystorePath
        –keystore-password	keystorePassword
        –key-alias			keyAlias
        –key-password		keyPassword
        –intent-action		intentAction
        –intent-category	intentCategory
        –intent-flags		intentFlags
        –intent-args		optionalIntentArguments
        –dont-stop-app-on-reset	dontStopAppOnReset
        –calendar-format	calendarFormat
        –native-instruments-lib	nativeInstrumentsLib
        –keep-keychains		keepKeyChains
        –localizable-strings-dir	localizableStringsDir
        –show-ios-log		showIOSLog
        –reboot				reboot</span>

  2. iOS资源
    • for python
    • for java
    • common
      • iOS-specific capabilities
        • Capability			Values
        • calendarFormat			e.g. gregorian
          bundleId			e.g. io.appium.TestApp
          udid			e.g. 1ae203187fc012g
          launchTimeout			e.g. 20000
          locationServicesEnabled			true or false
          locationServicesAuthorized			true or false
          autoAcceptAlerts			true or false
          autoDismissAlerts			true or false
          nativeInstrumentsLib			true or false
          nativeWebTap			true or false
          safariInitialUrl			e.g. https://www.github.com
          safariAllowPopups			true or false
          safariIgnoreFraudWarning			true or false
          safariOpenLinksInBackground			true or false
          keepKeyChains			true or false
          localizableStringsDir			en.lproj
          processArguments			e.g., -myflag
          interKeyDelay			e.g., 100
          showIOSLog			true or false
          sendKeyStrategy			oneByOne, grouped or setValue
          screenshotWaitTimeout			e.g., 5
          waitForAppScript			e.g. true;, target.elements().length > 0;, $.delay(5000); true;
          webviewConnectRetries			e.g., 12
          appName			e.g., UICatalog</span>
        • java client url:http://appium.github.io/java-client/io/appium/java_client/remote/IOSMobileCapabilityType.html
  3. Android资源
    • for python
    • for java
    • common
  4. tbc

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值