ogon:~zhouhaijun$appium[Appium]WelcometoAppiumv1.7.1[Appium]AppiumRESThttpinterfacelistenerstartedon0.0.0.0:4723[HTTP]-->POST/wd/hub/session{"desiredCapabilities":{"app":"/Users/zhouhaijun/workspace/.metadata/appium1.6/app/Toon.ipa","newCommandTimeout":3..
分类:
移动开发 时间:
2017-11-16 14:32:32
阅读次数:
253
packagecom.appium.cases;importorg.openqa.selenium.By;importorg.openqa.selenium.remote.DesiredCapabilities;importorg.testng.annotations.AfterClass;importorg.testng.annotations.BeforeClass;importorg.testng.annotations.Test;importio.appium.java_client.ios.IOSD..
分类:
移动开发 时间:
2017-11-16 14:23:43
阅读次数:
132
bogon:/zhouhaijun$sudocnpminstall-gappium@1.7.1Password:Downloadingappiumto/usr/local/lib/node_modules/appium_tmpCopying/usr/local/lib/node_modules/appium_tmp/_appium@1.7.1@appiumto/usr/local/lib/node_modules/appiumInstallingappium‘sdependenciesto/usr/local..
分类:
移动开发 时间:
2017-11-16 11:55:24
阅读次数:
379
\npminstall-savereact@~15.3.1npmWARNcheckPermissionsMissingwriteaccessto/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.58.1@appium-xcuitest-driver/node_modulesappium-xcuitest-driver@2.58.1/usr/local/lib/node_modules/appium/node_mo..
分类:
移动开发 时间:
2017-11-16 11:51:35
阅读次数:
232
packagecom.appium.test;/***@authorYuFeifei*@version2017年11月15日上午11:41:21*类说明*根据读取的配置文件,将key和value拆分*再通过split将value分成定位类型(locatorType)和元素(locatorValue)*/importorg.openqa.selenium.By;publicclassGetByLocatorTest{publicsta..
分类:
移动开发 时间:
2017-11-15 17:06:20
阅读次数:
562
使用 android_uiautomator 定位元素时(现在用的还不太熟,对于这个方法还需要加深了解)报错: 因为用的不熟,所以也是上网查了好多方法,最后检查代码的时候发现,原来是拼写错误 我将new UiSelector()写成了newUiSelector(),中间少了一个空格 ...
分类:
移动开发 时间:
2017-11-10 20:36:25
阅读次数:
1303
1. I installed appium-1.5.3.dmg But when I click the stethoscope button the Appium is show error : 解决方法: https://stackoverflow.com/questions/40129794/ ...
分类:
移动开发 时间:
2017-11-10 20:23:16
阅读次数:
150
Appium-desktop 下载地址:https://github.com/appium/appium-desktop/releases 一般功能 这些能力跨越多个驱动因素。 能力 描述 值 automationName 使用哪个自动化引擎 Appium(默认)或Selendroid或者UiAut ...
分类:
移动开发 时间:
2017-11-09 19:36:32
阅读次数:
259
swipe介绍 1.查看源码语法,起点和终点四个坐标参数,duration是滑动屏幕持续的时间,时间越短速度越快。默认为None可不填,一般设置500-1000毫秒比较合适。 2.手机从左上角开始为0,横着的是x轴,竖着的是y轴 获取坐标 1.由于每个手机屏幕的分辨率不一样,所以同一个元素在不同手机 ...
分类:
移动开发 时间:
2017-11-07 19:56:53
阅读次数:
387
Appium Desired Capabilities Desired Capabilities 是由 keys 和 values 组成的 JSON 对象。 举个简单例子: { "platformName": "iOS", "platformVersion": "11.0", "deviceName ...
分类:
移动开发 时间:
2017-11-07 19:55:39
阅读次数:
271