在apium 运行的时候,会出现提示 activity 没有启动,当前是 activity 出现原因: 出现这种情况是因为 launch activity 再启动 app 之后 无法找到,变成了app-activity.所以提示找不到 解决办法: 在capabilities  里多添加一个参数 appWaitActivity 例如: 出现的错误是: > error: com.test/.activity1  never started. Current: com.test/.activity2…
# sudo /etc/init.d/jenkins restartERROR: No Java executable found in current PATH: /bin:/usr/bin:/sbin:/usr/sbinIf you actually have java installed on the system make sure the executable is in the aforementioned path and that 'type -p java' returns t…
问题: 执行切换代码分支 git checkout featrue_2019-06-24 ,报错如下: error: you need to resolve your current index first 执行git pull代码时报错: Pull is not possible because you have unmerged files. Please, fix them up in the work tree, and then use 'git add/rm <file>' as…
测试步骤: 1. 打开必应APP(如果出现欢迎界面和定位服务弹窗,需要点掉) 2. 点击搜索按钮 3. 输入JAVA到搜索框 4. 点击搜索网页 5. 观察显示搜索出来的结果是否含有java 6.   如果失败则截图 当用例运行为Fail,提示截图失败:cannot activate webview,这是由于切换到webview并查找到元素之后,没有切换到native导致的 [2016-08-12 17:03:14] [ERROR] [SearchPage_001_SearchDemo_Test…
appium(中文教程,源码)是一款开源跨平台测试自动化工具,用于测试原生.移动web和混合应用,支持 iOS, Android和FirefoxOS平台. appium集成以下框架驱动自动化测试: iOS: 苹果 UIAutomation Android 4.2+:Google UiAutomator / Android [2.3,4.2): Google Instrumentation(Selendroid提供) Windows下安装appium 1.安装Robot Framework见前文…
使用 gui 启动的 appium 1.2.2 也会有这个问题,所以你要把 deviceconsole 复制到 /Applications/Appium.app/Contents/Resources/node_modules/appium/build/deviceconsole 下面.你自己的路径可能和我不一样,切记. 同意如果这个问题不解决, iOS 上的 真机 inspector 也打不开. 英文好的同学请移步官方文档 real-devices,推荐自己边看边试验. 首先 Appium 支持…
先感慨一下真的心累啊,踩了好多坑,断断续续四天终于把环境彻底搭建完了,由于之前看的网上的帖子都不是很全而且还带坑,决定自己写一篇综述,作为笔记. 一,首先是安装需要的环境: 需要用到的软件: 1. jdk-8u121-window(32位的就下载32位的,64位的就下载64位的). 2.Android-sdk_r24.3.4-windows(下载这个adt-bundle-windows-x86-20140624) 3.Python:(V3.6也可以) 4.Node.js:node-v4.4.7-…
1.第一个错误如下: main.js: error: argument "--app": Expected one argument. null 这个一般是appium服务端安装的时候路径里面的目录名包含了空格,比如默认安装的目录为“Program Files (x86)”’,中间带有空格. 建议在安装的时候直接安装在根目录下,名称为appium即可,如“C:\appium” 2.第二个错误如下: info: [debug] Cleaning up appium session>…
前言 现在的Xcode最新版本都是在10.1,原先使用的版本是9.4.1!结果今天手贱将其升级... 然后,跑IOS自动化时,出现“Xcode version '0.1'. Support for Xcode 0.1 is not supported.”的报错 环境信息: Python:3.7 Appium:1.8.1 Xcode:10.1 遇到的问题 启动Appium时,Appium报“Error: Xcode version '0.1'. Support for Xcode 0.1 is n…
parts of appium api Lock Lock the screen.//锁屏. // java driver.lockScreen(3); // objective c [driver lockDeviceScreen:3]; # python driver.lock(5) Background app Send the currently active app to the background.//将当前的app放到后台运行. // java driver.runAppInBa…