随笔分类 -  Robot Framework

1 2 下一页

[Robot Framework] 支持python 3 的 robot framework 安装
摘要:1.安装java 2.安装python 3 3.安装 robotframework-ride pip install robotframework-ride (wxPython、PyPubSub这些依赖库都会自动安装好。) 4.安装 Robot Framework 从 RIDE 1.5 版本开始,r 阅读全文

posted @ 2021-01-04 15:24 张缤分 阅读(151) 评论(0) 推荐(0) 编辑

Download file from a URL using AutoIt, and run in Robot Framework. (Also can use in other application)
摘要:What need to figure out? 1.Pass Download URL from Robot Framework to AutoIt. 2.Return File Save Path from AutoIt to Robot Framework. Step 1: Write Aut 阅读全文

posted @ 2020-01-03 13:55 张缤分 阅读(729) 评论(0) 推荐(0) 编辑

Robot Framework 读取控制面板安装的程序,判断某个程序是否已经安装
摘要:wmic /output:D:\\DOAutomationTest\\automation_do_robotframework\\installList.txt product get name 阅读全文

posted @ 2019-07-05 17:45 张缤分 阅读(333) 评论(0) 推荐(0) 编辑

[Robot Framework] 校验字符串中是否包含某个子字符串,校验同时满足两个条件中任意一个
摘要:${tWarningMessage} Run Keyword If ${tIfExist} AutoItLibrary.Win Get Text Generate Fee Data warning message ELSE Set Variable "" ${tIfDuplicateFee} Eva 阅读全文

posted @ 2019-01-03 11:25 张缤分 阅读(2686) 评论(0) 推荐(1) 编辑

[Robot Framework] 学习资料
摘要:https://www.cnblogs.com/pachongshangdexuebi/category/981644.html Robot Framework学习笔记(一) 环境搭建 Robot Framework 学习笔记(二) 第一个脚本 Robot Framework学习笔记(三) 常用关键 阅读全文

posted @ 2018-12-18 09:44 张缤分 阅读(363) 评论(1) 推荐(0) 编辑

在远程机器上执行桌面产品自动化测试时,如何做到不需要一个真实的显示器去显示屏幕
摘要:设置默认分辨率 通常亚马逊虚拟机自动登录分辨率为800x600,不能满足测试要求,需要设置为1280x1024. 由于远程桌面无法修改虚拟机分辨率,需要安装TightVNC工具。 TightVNC下载地址:http://www.tightvnc.com/download.php 虚拟机上操作: 1、 阅读全文

posted @ 2018-11-12 10:43 张缤分 阅读(849) 评论(0) 推荐(0) 编辑

[Robot Framework] Jenkins上调用Rebot命令时执行报错不往下执行其他命令
摘要:解决方法:最后加上exit 0 或者exit 1 阅读全文

posted @ 2018-08-27 12:44 张缤分 阅读(354) 评论(0) 推荐(0) 编辑

[Robot Framework] User Guide : 如何自己创建library
摘要:http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#creating-test-libraries 阅读全文

posted @ 2018-05-17 09:46 张缤分 阅读(168) 评论(0) 推荐(0) 编辑

[Robot Framework] 不同类型变量的创建和使用:数据Scalar,列表List,字典Dict
摘要:https://blog.csdn.net/CCGGAAG/article/details/77720435 阅读全文

posted @ 2018-05-11 09:22 张缤分 阅读(240) 评论(0) 推荐(0) 编辑

[Robot Framework] 怎么做数学运算?
摘要:运用BuiltIn里面的Set Variable 阅读全文

posted @ 2018-05-10 16:42 张缤分 阅读(598) 评论(0) 推荐(0) 编辑

[Robot Framework] SikuliLibrary的关键字执行依赖java进程,但是上次的java进程如果没有杀掉,robot framework控制台的日志出不来,怎么办?
摘要:如果在suite的setup里面杀掉java进程:AutoItLibrary.Run | taskkill /F /IM java.exe 执行sikuli的关键字会报这样的错误: Connection to remote server broken: [Errno 10061] No connec 阅读全文

posted @ 2018-05-09 16:43 张缤分 阅读(373) 评论(0) 推荐(0) 编辑

[Robot Framework] 通过SikuliLibrary可以获取到图片,但是点击失效
摘要:执行时,可以看到鼠标已经移动到图片上了,但是点击失效,日志也没有报错 后来发现是windows权限的问题。 通过打开Control Panel->System and Security->Change User Account Control Settings,将安全级别调到最低Nerver Not 阅读全文

posted @ 2018-04-27 16:01 张缤分 阅读(324) 评论(0) 推荐(0) 编辑

[Robot Framework] 动态等待,提供默认的等待时间,等待时间可传可不传
摘要:默认10s 阅读全文

posted @ 2018-04-19 10:29 张缤分 阅读(349) 评论(0) 推荐(0) 编辑

[Robot Framework] 怎么写动态等待?
摘要:举例:Robot Framwork+WhiteLibrary,等待元素可用或不可用 Wait Until Object Is Enabled Wait Until Object Is Not Enabled 阅读全文

posted @ 2018-04-18 11:49 张缤分 阅读(320) 评论(0) 推荐(0) 编辑

[Robot Framework] 调用ExcelLibrary
摘要:安装ExcelLibrary for Robot Framework 参考 : http://navinet.github.io/robotframework-excellibrary/ 打开windows命令行窗口执行 pip install robotframework-excellibrary 阅读全文

posted @ 2018-03-29 15:04 张缤分 阅读(2322) 评论(0) 推荐(0) 编辑

[Robot Framework] 通过RemoteWhiteLibrary启动程序并登录初尝试
摘要:启动remote whitelibrary之后,在robot framework中配置好library,就可以调用whitelibrary的关键字了 启动APP White.LAUNCHAPP C:\\Program Files (x86\\testAPP.exeWhite.GETWINDOWBYT 阅读全文

posted @ 2018-03-29 14:39 张缤分 阅读(342) 评论(0) 推荐(0) 编辑

[Robot Framework] 通过Robot Remote Server调用White Library测试WPF开发的桌面产品
摘要:参考 : https://github.com/jatalahd/WhiteRobotLibrary 通过此源代码编译WhiteRobotLibrary.dll,然后把高亮标记的这5个dll全部拷贝到nrobotremote1.2.6的目录下 启动的命令是:NRobotRemoteConsole.e 阅读全文

posted @ 2018-03-26 14:54 张缤分 阅读(431) 评论(0) 推荐(0) 编辑

[Robot Framework] 推荐一个比较好的学习博客:齐涛的博客
摘要:http://blog.robotframework.cn/ 阅读全文

posted @ 2018-02-08 09:19 张缤分 阅读(196) 评论(0) 推荐(0) 编辑

[Robot Framework] Robot Framework用Execute Javascript对XPath表示的元素执行scrollIntoView操作
摘要:有些元素需要通过滚动条滚动才能变得可见。 如果这些元素在DOM结构里面存在,可以通过scrollIntoView让其可见,但如果在DOM结构里面不存在那就要通过拖动滚动条让其变的可见。 Execute Javascript document.evaluate("//div[@role="progre 阅读全文

posted @ 2018-01-11 14:00 张缤分 阅读(693) 评论(0) 推荐(0) 编辑

[Robot Framework] Robot Framework用Execute Javascript对XPath表示的元素执行Click操作
摘要:Execute Javascript document.evaluate("//a[contains(@href,'createBook')]", document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null).snapshotItem(0 阅读全文

posted @ 2018-01-09 17:04 张缤分 阅读(694) 评论(0) 推荐(0) 编辑

1 2 下一页

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示