自动化测试
北鼻康
ctrl+c,ctrl+v
展开
-
appium(java)——TestNG的安装与注解
一、eclipse安装TestNG 第一种,离线安装: TestNG Eclipse插件下载地址http://testng.org/doc/download.html。 启动eclipse ->点击Help -> software update -> Installed Software, 查找到TestNG Eclipse插件,点击Install(安装),安装完成后,重启eclip原创 2017-08-15 13:28:34 · 546 阅读 · 0 评论 -
appium(java)——appium启动日志分析
先贴一下Appium正常启动时候的日志:> Checking if an update is available> Update not available> Launching Appium server with command: D:\Program Files (x86)\Appium\node.exe lib\server\main.js --address 127.0.0.1 --p原创 2017-08-15 13:44:18 · 672 阅读 · 0 评论 -
appium(java)——滑动1:页面滑动以及封装
一、首先来看滑动的方法swipeswipe(int start x,int start y,int end x,int end y,duration)解释一下: int start x-开始滑动的x坐标, int start y -开始滑动的y坐标。 int end x -结束点x坐标, int end y -结束点y坐标。 duration 滑动时间(默认5毫秒)二、原创 2017-08-15 14:27:07 · 2700 阅读 · 0 评论 -
appium(java)——环境搭建
一、搭建Android开发环境 1、安装JDK,配置Java环境变量 JDK下载地址: [http://www.oracle.com/technetwork/java/javase/downloads/index.html ] 1.1、运行安装jdk-8u131-windows-x64.exe 1.2、配置环境变量(右键我的电脑–属性–高级–环境变量,下同): 新建变量名:JAV原创 2017-08-15 12:36:32 · 1003 阅读 · 0 评论