2018年8月11日
摘要:
上传图片,需要media_id,从上传临时素材获取: "https://work.weixin.qq.com/api/doc 10112" https://qyapi.weixin.qq.com/cgi bin/media/upload?access_token=ACCESS_TOKEN&type=
阅读全文
posted @ 2018-08-11 21:14
singleSpace
阅读(667)
推荐(0)
摘要:
将获取token的方法封装到公共类 将返回的body封装,便于修改和查看 执行类
阅读全文
posted @ 2018-08-11 20:14
singleSpace
阅读(170)
推荐(0)
摘要:
获取token https://qyapi.weixin.qq.com/cgi bin/gettoken?corpid=ID&corpsecret=SECRECT 发送文字到接口
阅读全文
posted @ 2018-08-11 18:37
singleSpace
阅读(452)
推荐(0)
2018年8月9日
摘要:
https://junit.org/junit4/javadoc/latest/org/junit/Assert.html assertThat 断言:Hamcrest Matchers 对象: equalTo 测试对象相等使用Object.equals方法 hasToString 测试Object
阅读全文
posted @ 2018-08-09 23:38
singleSpace
阅读(954)
推荐(0)
摘要:
testNG是java中的一套测试框架,它基于JUnit思想并强化了测试注解,可以灵活应用于各种测试场景。 maven依赖 用例的编写 @BeforeGroups:此测试组内所有测试之前 @AfterGroups:此测试组内所有测试都运行之后 @BeforeClass:测试类之前运行,用于测试前的准
阅读全文
posted @ 2018-08-09 21:02
singleSpace
阅读(171)
推荐(0)
2018年8月6日
摘要:
1. rest-assured依赖、结构 <dependency> <groupId>io.rest-assured</groupId> <artifactId>rest-assured</artifactId> <version>5.5.0</version> <scope>test</scope
阅读全文
posted @ 2018-08-06 12:53
singleSpace
阅读(331)
推荐(0)
2018年7月14日
摘要:
Mac系统iPhone手机升级包存放地址: ~/Library/iTunes/iPhone Software Updates
阅读全文
posted @ 2018-07-14 11:13
singleSpace
阅读(82)
推荐(0)
2018年7月11日
摘要:
使用Xcode可以查看iPhone cpu 内存 disk 网络占用读取 Xcode-Opem Developer Tool-Instruments, 在打开的窗口里选择Activity Minitor,进入Instrument,可以选择cpu、memory、disk,network,点击录制(红点
阅读全文
posted @ 2018-07-11 14:51
singleSpace
阅读(1180)
推荐(0)
2018年7月4日
摘要:
iPhone系统更新超级烦人,避免测试机升级的方法 1. 设置禁用网络 设置-网线局域网-使用WLAN与蜂窝移动网的应用,将设置项设置为关闭 2. 一劳永逸,安装证书, 证书https://oldcat.me/web/NOOTA9.mobileconfig 使用说明https://semialpha
阅读全文
posted @ 2018-07-04 18:54
singleSpace
阅读(578)
推荐(0)
2018年7月3日
摘要:
1.浏览器 1.1 浏览器窗口大小位置 driver.set_window_size(self, width, height, windowHandle) 将某个窗口设置为固定大小 driver.set_window_position(self, x, y, windowHandle) 将某个窗口移
阅读全文
posted @ 2018-07-03 21:20
singleSpace
阅读(5264)
推荐(0)