摘要: http://chromedriver.storage.googleapis.com/index.html 阅读全文
posted @ 2020-03-13 10:26 wakey 阅读(1055) 评论(0) 推荐(0) 编辑
摘要: 国内资源: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple 模块名 阅读全文
posted @ 2020-03-06 11:55 wakey 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 解决方法: C:\tools\Python38\Lib\site-packages\robotide\application\application.py中修改如下: 阅读全文
posted @ 2020-03-06 11:54 wakey 阅读(454) 评论(0) 推荐(0) 编辑
摘要: Appium-Server的配置,在之前的博文已有介绍,基于Python的Appium环境搭建合集,所以在此处就不详细介绍了。今天主要来分享下Appium-Server和Appium desktop在使用上的区别。 在这篇博文中分享了如何使用模拟器,Genymotion模拟器的安装及脚本制作,但还没 阅读全文
posted @ 2020-03-06 08:35 wakey 阅读(922) 评论(0) 推荐(0) 编辑
摘要: 在上一篇博文中,讲到这一篇会介绍Genymotion的安装方式。大家都知道,Genymotion是一个模拟器,或许会质疑了,直接连接真机就好了,为何还要配置模拟器?我也是用真机实践后,才选择安装的模拟器。原因是:sdk自带的uiautomatorviewer工具,不支持android8.0及以上的版 阅读全文
posted @ 2020-03-06 08:34 wakey 阅读(507) 评论(0) 推荐(0) 编辑
摘要: appium+robotframework环境搭建步骤(Windows系统的appium自动化测试,只适用于测试安卓机;ios机需要在mac搭建appium环境后测试) 搭建步骤,共分为3部分: 一、RF环境搭建 robotframework的搭建,参考微信公众号:RobotFramework 顺序 阅读全文
posted @ 2020-03-06 08:30 wakey 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 1.contexts contexts(self): Returns the contexts within the current session. 返回当前会话中的上下文,使用后可以识别H5页面的控件 :Usage: driver.contexts用法 driver.contexts 2. cu 阅读全文
posted @ 2020-03-06 08:29 wakey 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 方法一:利用装饰器 定义一个类变量,同时也定义一个类方法class classthond: driver=None def __init__(self): pass @classmethod def get_driver(cls): if cls.driver==None: cls.driver=" 阅读全文
posted @ 2020-02-18 15:34 wakey 阅读(121) 评论(0) 推荐(0) 编辑
摘要: windows下: tasklist 显示所有进程,可找到PID taskkill /pid pid 按pid杀一个进程 taskkill /im filename /F 按进程名强制关闭所有的filename 阅读全文
posted @ 2020-02-17 10:28 wakey 阅读(118) 评论(0) 推荐(0) 编辑
摘要: import xlrd def read_exlce(excelFile,index=0): read=xlrd.open_workbook(filename=excelFile) sheet=read.sheets() #读取所有sheet表 curSheet=sheet[index]#读取指定的 阅读全文
posted @ 2020-02-16 16:07 wakey 阅读(195) 评论(0) 推荐(0) 编辑