上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页
摘要: 提示问题: Connection error sending email,retrying once more in 10 seconds…… Connection error sending email,retrying once more in 10 seconds…… Failed after 阅读全文
posted @ 2018-05-14 19:42 乐乐熊小妹 阅读(2905) 评论(1) 推荐(0) 编辑
摘要: jenkins下载地址:https://jenkins.io/download/ 双击安装 安装后浏览器输入:http://127.0.0.1:8080 显示如下 打开D:\software\Jenkins\secrets\initialAdminPassword;用记事本;复制里面的内容,填入管理 阅读全文
posted @ 2018-05-14 11:41 乐乐熊小妹 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1 # -*- coding:utf-8 -*- 2 from appium import webdriver 3 from time import sleep 4 5 desired_caps ={ 6 'platformName':'Android', 7 'deviceName':'127.0.0.1:62001', 8 'platformVersion':'4.4.2'... 阅读全文
posted @ 2018-05-12 14:38 乐乐熊小妹 阅读(1132) 评论(0) 推荐(0) 编辑
摘要: 脚本如上: 第一步:启动uiautomatorviewer.bat 第二步:启动夜神模拟器,打开百度阅读软件:启动夜神模拟器后,点击设置->关于平板电脑->点击5次版本号 进入开发者模式 ;通过adb命令,查看设备连接;连接好后就可以进行操作 了,参考:http://www.cnblogs.com/ 阅读全文
posted @ 2018-05-12 12:48 乐乐熊小妹 阅读(1770) 评论(0) 推荐(0) 编辑
摘要: 现在大部分app都是混合式的native+webview,对应native上的元素通过uiautomatorviewer很容易定位到,webview上的元素就无法识别了; 那么如何定位webview上的元素呢? app上webview的页面实际上是启用的chrome浏览器的内核加载的,如何把手机的网 阅读全文
posted @ 2018-05-11 17:55 乐乐熊小妹 阅读(3641) 评论(0) 推荐(0) 编辑
摘要: 如果不加这两句 另外要注意一下sleep的时间,如果时间太慢,容易出现定位不到元素的情况 代码解释可查看本链接:http://www.cnblogs.com/lelexiong/p/8984835.html 阅读全文
posted @ 2018-05-11 16:41 乐乐熊小妹 阅读(1288) 评论(0) 推荐(0) 编辑
摘要: 在使用真机定位页面元素时启动uiautomatorviewer.bat ,报错Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't 解决办法:关掉App 阅读全文
posted @ 2018-05-11 12:26 乐乐熊小妹 阅读(1311) 评论(0) 推荐(0) 编辑
摘要: 转载地址:http://www.cnblogs.com/Lam7/p/6604832.html nmon是一款分析 AIX 和 Linux 性能的免费工具 nmon 工具还可以将相同的数据捕获到一个文本文件,便于以后对报告进行分析和绘制图形。输出文件采用电子表格的格式 (.csv)。 性能介绍 nm 阅读全文
posted @ 2018-05-09 13:50 乐乐熊小妹 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 目前robotframework-ride只支持python3,没办法,只能用python2.好吧 python安装不多说,太简单,下载后直接安装,然后配置两个文件路径:path:E:\mytest\software\Python27;E:\mytest\software\Python27\Scri 阅读全文
posted @ 2018-05-07 22:33 乐乐熊小妹 阅读(1306) 评论(0) 推荐(0) 编辑
摘要: 1 import json 2 class a: 3 def writeReadJson(self): 4 list2 =['1',5.,7,'3'] 5 with open("test.txt",'w') as f: 6 json.dump(list2,f)#将列表写入f文件 7 with open(... 阅读全文
posted @ 2018-05-07 17:38 乐乐熊小妹 阅读(248) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页