上一页 1 2 3 4 5 6 ··· 8 下一页
该文被密码保护。 阅读全文
posted @ 2019-05-31 15:16 爱吃橙子 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 为方便平时写测试用例,整理如下: 为方便平时写测试用例,整理如下: 功能 条件 测试步骤 测试数据 预期结果 备注 搜索或查询 单独遍历各查询条件,测试按各查询条件是否都能够查询出相应的值. 查询出符合条件的记录 设置界面上所有查询条件进行查询,单击查询按钮后,测试执行查询操作后,查询条件是否能保留 阅读全文
posted @ 2019-03-11 11:43 爱吃橙子 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 什么maven本地仓库,默认是用户目录下的.m2/repository这个文件。 idea是自带maven插件的不用我们再,怎么把依赖包下载到我们的本地仓库呢?一般是idea默认了路径,而且idea是没有所谓的setting.xml配置的,更新依赖r包,我们只需要更改 pom.xml配置就好,写好依 阅读全文
posted @ 2019-01-25 14:49 爱吃橙子 阅读(50302) 评论(1) 推荐(1) 编辑
摘要: toast是什么?安卓页面上弹出的提示框,这种提示框出现在屏幕上大概3秒左右就会消失。用uiautomatorviewer根本定位不到。 准备环境,Appium版本需要1.6.3以上。 代码 初始化设置 方法 message为toast提示信息 ps:不要去定位toast,尽量不要用element去 阅读全文
posted @ 2018-12-10 17:27 爱吃橙子 阅读(1004) 评论(0) 推荐(1) 编辑
摘要: Appium移动测试中有个很重新的组件Appium-Server,它主要用来监听我们的移动设备(真机或模拟器),然后将不同编程语言编写的 appium 测试脚本进行解析,然后,驱动移动设备来运行测试。 Appium-Server下载地址:https://bitbucket.org/appium/ap 阅读全文
posted @ 2018-12-10 17:09 爱吃橙子 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 1、new AppiumDriver<>(new URL(url), capabilities) 报错 java.lang.NoSuchMethodError:com.google.common.base.Throwables.throwIfUnchecked(Ljava/lang/Throwabl 阅读全文
posted @ 2018-12-03 18:12 爱吃橙子 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 1、适配各种机型,首先获取整个解锁元素的坐标 2、代码实现 具体实现 阅读全文
posted @ 2018-11-12 15:24 爱吃橙子 阅读(362) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2018-11-01 15:05 爱吃橙子 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 滑动API:Swipe(int start x,int start y,int end x,int y,duration) 解释: int start x-开始滑动的x坐标;int start y -开始滑动的y坐标 ;int end x -结束点x坐标;int end y -结束点y坐标; dur 阅读全文
posted @ 2018-10-29 16:42 爱吃橙子 阅读(935) 评论(0) 推荐(0) 编辑
摘要: public class IsString { public static boolean isNum(String str){ return str.matches("^[-+]?(([0-9]+)([.]([0-9]+))?|([.]([0-9]+))?)$"); } @Test public void test(){ Stri... 阅读全文
posted @ 2018-09-12 18:05 爱吃橙子 阅读(193) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页