Appium Server 传递Android参数
Appium
server Capabilities
传递参数 Android 特定
Android Only
| Capability | Description | Values |
|---|---|---|
appActivity |
Activity name for the Android activity you want to launch from your package. This often needs to be preceded by a. (e.g., .MainActivity instead ofMainActivity) |
MainActivity, .Settings |
appPackage |
Java package of the Android app you want to run | com.example.android.myApp, |
appWaitActivity |
Activity name for the Android activity you want to wait for | SplashActivity |
appWaitPackage |
Java package of the Android app you want to wait for | com.example.android.myApp, |
deviceReadyTimeout |
Timeout in seconds while waiting for device to become ready | 5 |
androidCoverage |
Fully qualified instrumentation class. Passed to -w in adb shell am instrument -e coverage true -w | com.my.Pkg/com.my.Pkg.instrumentation.MyInstrumentation |
enablePerformanceLogging |
(Chrome and webview only) Enable Chromedriver’s performance logging (default ) |
true, false |
androidDeviceReadyTimeout |
Timeout in seconds used to wait for a device to become ready after booting | e.g., 30 |
androidDeviceSocket |
Devtools socket name. Needed only when tested app is a Chromium embedding browser. The socket is open by the browser and Chromedriver connects to it as a devtools client. | e.g., chrome_devtools_remote |
avd |
Name of avd to launch | e.g., api19 |
avdLaunchTimeout |
How long to wait in milliseconds for an avd to launch and connect to ADB (default120000) |
300000 |
avdReadyTimeout |
How long to wait in milliseconds for an avd to finish its boot animations (default120000) |
300000 |
avdArgs |
Additional emulator arguments used when launching an avd | e.g., -netfast |
useKeystore |
Use a custom keystore to sign apks, default false |
true or false |
keystorePath |
Path to custom keystore, default ~/.android/debug.keystore | e.g., /path/to.keystore |
keystorePassword |
Password for custom keystore | e.g., foo |
keyAlias |
Alias for key | e.g., androiddebugkey |
keyPassword |
Password for key | e.g., foo |
chromedriverExecutable |
The absolute local path to webdriver executable (if Chromium embedder provides its own webdriver, it should be used instead of original chromedriver bundled with Appium) | /abs/path/to/webdriver |
autoWebviewTimeout |
Amount of time to wait for Webview context to become active, in ms. Defaults to2000 |
e.g. 4 |
intentAction |
Intent action which will be used to start activity (default ) |
e.g.android.intent.action.MAIN, |
intentCategory |
Intent category which will be used to start activity (default ) |
e.g. android.intent.category.LAUNCHER, |
intentFlags |
Flags that will be used to start activity (default ) |
e.g. 0x10200000 |
optionalIntentArguments |
Additional intent arguments that will be used to start activity. See Intent arguments | e.g. --esn <EXTRA_KEY>, , etc. |
stopAppOnReset |
Stops the process of the app under test, before starting the app using adb. If the app under test is created by another anchor app, setting this false, allows the process of the anchor app to be still alive, during the start of the test app using adb, defaulttrue |
true or false |
unicodeKeyboard |
Enable Unicode input, default false |
true or false |
resetKeyboard |
Reset keyboard to its original state, after running Unicode tests with capability. Ignored if used alone. Default |
true or false |
noSign |
Skip checking and signing of app with debug keys, will work only with UiAutomator and not with selendroid, defaultfalse |
true or false |
ignoreUnimportantViews |
Calls the setCompressedLayoutHierarchy() uiautomator function. This capability can speed up test execution, since Accessibility commands will run faster ignoring some elements. The ignored elements will not be findable,which is why this capability has also been implemented as a toggle-able setting as well as a capability. Defaults to false |
true or false |
Appium Server 传递Android参数的更多相关文章
- Appium Server 传递iOS参数
Appium server iOS Capabilities 参数 iOS Only Capability Description Values calendarFormat (Sim-only) ...
- Appium Server 传递的基本参数
Appium Server 传递的基本参数 官方列表 Appium server capabilities Capability Description Values automationName ...
- asp.net URL传递中文参数System.Web.HttpUtility.UrlEncode与Server.UrlEncode的区别
asp.net URL传递中文参数System.Web.HttpUtility.UrlEncode与Server.UrlEncode的区别(一) HttpUtility.UrlEncode 方法: 对 ...
- Appium Server源码分析之作为Bootstrap客户端
Appium Server拥有两个主要的功能: 它是个http服务器,它专门接收从客户端通过基于http的REST协议发送过来的命令 他是bootstrap客户端:它接收到客户端的命令后,需要想办法把 ...
- Appium Server 源码分析之启动运行Express http服务器
通过上一个系列Appium Android Bootstrap源码分析我们了解到了appium在安卓目标机器上是如何通过bootstrap这个服务来接收appium从pc端发送过来的命令,并最终使用u ...
- appium启动APP配置参数:
一.Android启动app python启动脚本如下: from appium import webdriver desired_caps = {} desired_caps['plat ...
- Appium——详解Appium server capabilities
appium server capabilities来告诉appium,如何运行自动化测试,因此需要详细了解. 官方文档:http://appium.io/slate/en/master/?rub ...
- python appium server代码启动和关闭遇到的坑
第一次使用博客,小白级,互相交流,有说的不对的地方欢迎来喷!!! 自动化的目的就是减少人工成本,如果每次跑自动化用例时都要手动起appium客户端,太费事了~~故,将appium server的调起和 ...
- Win10系统下基于Docker构建Appium容器连接Android模拟器Genymotion完成移动端Python自动化测试
原文转载自「刘悦的技术博客」https://v3u.cn/a_id_196 Python自动化,大概也许或者是今年最具热度的话题之一了.七月流火,招聘市场上对于Python自动化的追捧热度仍未消减,那 ...
随机推荐
- C#堆栈
栈就是堆栈,因为堆和堆栈这样说太拗口了,搞得像绕口令,所以有些时候就把堆栈简称为栈.堆和栈,你看这又多舒服. 但无论什么时候,堆栈都不等于堆和栈,必须说,堆和栈或者堆和堆栈. 有人说:“C#的所有值类 ...
- 树莓派安装ftp服务器
在树莓派安装ftp服务器,可上载\下载文件 vsftpd是开源的轻量级的常用ftp服务器. 1,安装vsftpd服务器 (约400KB)sudo apt-get install vsftpd 2,启动 ...
- C++获取当前时间和计算程序运行时间的方法
C++获取当前时间和计算程序运行时间的方法 获取当前时间: #include <iostream> #include <Windows.h> using namespace s ...
- HDU 5012 Dice DFS
简单DFS //#pragma comment(linker, "/STACK:16777216") //for c++ Compiler #include <stdio.h ...
- 数据结构C语言版 弗洛伊德算法实现
/* 数据结构C语言版 弗洛伊德算法 P191 编译环境:Dev-C++ 4.9.9.2 */ #include <stdio.h>#include <limits.h> # ...
- windows服务怎么向应用程序发消息(部署在同一台机,非SCOKET)
命名管道:NamedPipeClientStream & NamedPipeClientStream 参考实例:http://msdn.microsoft.com/zh-cn/library/ ...
- [ExtJS5学习笔记]第十五节 Extjs5表格显示不友好?panel的frame属性在作怪
本文地址:http://blog.csdn.net/sushengmiyan/article/details/39057243 sencha官方API:http://docs.sencha.com/e ...
- C# 课堂总结2-数据类型及转换方式
一.输入输出语句 Console.ReadLine(); 会等待直到用户按下回车,一次读入一行Console.ReadKey(); 则是等待用户按下任意键,一次读入一个字符. 二.数据类型 主要掌握: ...
- TFT ST7735的Netduino驱动
好久没写关于netduino的文章了,工作忙是一方面,主要原因还是因为没解决TFT显示的问题,功夫不负有心人,在经过多轮研究后,总算在今天2013年12月15日的晚上9点解决了. 下面先介绍一下我所用 ...
- 闲扯 Javascript 00
引言 Javascript 的作用在此就不阐述了,相信你已经知道它的用途!那我说点什么呢? 不如就和大家先扯一把,后面的工作 随后后展开吧! 首先声明:我个人对Javascript 认识,我只知道它 ...