随笔分类 - robotframework
摘要:自定义关键字 使用 *** Keywords *** 设置自定义关键字 *** Settings *** Documentation 用户的登录测试 Library SeleniumLibrary Suite Setup 打开浏览器设置最大化并隐式等待时间为5s Test Setup 导航到首页 T
阅读全文
摘要:1.Library 导包找不到模块,可以用robot **.robot -P . 2.__init__.robot 不能被其他测试套件导入,也不能使用里面定义的变量,关键字等
阅读全文
摘要:-o 指定Output路径 -l 指定Log路径 -r 指定Report路径 命令行运行robot用例一、运行某一条测试用例 robot --<测试用例名> in <用例所在suite路径> robot -t <projectname.suitename.testname> <工程路径> (-t 同
阅读全文
摘要:前面讲过在Eclipse环境中搭建robotframework框架,这里基于PyCharm开发工具说说怎么实现写robot自动化。 (使用体验:Robot还是配Eclipse比较好使) 一、 基础环境配置 1. 安装Python 2. 安装 robotframework library cmd窗口安
阅读全文
摘要:1.安装 pip install robotframework pip install robotframework-ride pip install robotframework-seleniumlibrary==3.0.0 不能版本过高,会有白屏、没有open browser等问题 进入C:\P
阅读全文
摘要: 
阅读全文
摘要:1.提示 "rcommand: no pybot--argumentfile" 解决方式 :使用Script目录下robot.exe执行 2.如上图中文乱码 解决方式:进入\site-packages\robotide\contrib\testrunner目录下,编辑testrunnerplugin
阅读全文