RobotFramework自动化
时光不去
这个作者很懒,什么都没留下…
展开
-
RF 引用自定义的关键字
第一步:新建project第二步创建__init__.pyfrom .TestLibrary import TestLibraryclass TestLibrary(TestLibrary): """ This test library provides some keywords to allow opening, reading, writing, and saving Excel files from Robot Framework. """原创 2020-09-15 17:19:35 · 686 阅读 · 0 评论 -
python3+Robotframework+RED+eclipse+ExcelLibrary
安装第三方库ExcelLibrary由于ExcelLibrary不支持python3,因此需要对原有的excellibrary进行编辑,具体过程见链接地址:https://blog.csdn.net/guothree2003/article/details/102792565加载后报错需要安装如下包下载相关依赖库:pip install xlrdpip install xlwtpip install xlutilspip install natsort然后导入:ExcelLibrary地原创 2020-09-04 17:05:15 · 162 阅读 · 0 评论 -
Execute Javascript成功点击元素
点击元素(若执行用例过程中出现元素click interrupted,元素不可点击的报错,用这个方法会很稳定)例如: Execute Javascript document.getElementsByClassName("btn btn-default")[6].click()...原创 2020-04-27 15:17:16 · 3905 阅读 · 0 评论 -
python3+Robotframework+RED+eclipse+Selenium2Library
之前一直想整理之下,但是由于官网地址有操作手册一直没写一篇文章系统的描述下自动化测试环境项目搭建的过程今天来总结下:官网教程:1、进入官网地址:https://robotframework.org/2、进入tools–editors-red3、查看页面的LOOK & feel ,以动画的方式展示了搭建项目的过程第一步:新建robot project第二步:新建Robot Test Suite输入名称,点击next目前我一般会针对一个模块创建一个关键字.robot原创 2020-08-26 10:48:38 · 356 阅读 · 0 评论