[Robot Framework] 通过Robot Remote Server调用White Library测试WPF开发的桌面产品
2024-08-22 12:49:11
参考 : https://github.com/jatalahd/WhiteRobotLibrary
通过此源代码编译WhiteRobotLibrary.dll,然后把高亮标记的这5个dll全部拷贝到nrobotremote1.2.6的目录下
启动的命令是:NRobotRemoteConsole.exe -p 8271 -k WhiteRobotLibrary.dll:WhiteRobotLibrary.WhiteKeywords
为了启动方便,写了一个批处理脚本:
set currentPath=%~dp0
%currentPath:~0,2%
pushd %currentPath% set dllPath=%currentPath%\lib\net45 cd /d %dllPath% NRobotRemoteConsole.exe -p 8271 -k WhiteRobotLibrary.dll:WhiteRobotLibrary.WhiteKeywords
启动之后可以通过这个URL查看所有的关键字:
http://127.0.0.1:8271/WhiteRobotLibrary/WhiteKeywords
在Robot Framework里面怎么引用White的Library呢?
Name:Remote
Args:http://127.0.0.1:8271/WhiteRobotLibrary/WhiteKeywords
Alias:White
最新文章
- Write thread-safe servlets [reproduced]
- mysql主从之slave-skip-errors和sql_slave_skip_counter
- ios 抓取真机的网络包
- csharp: 百度语音合成
- Ada语言基础
- dataguard集群搭建
- Spring RestTemplate介绍
- c#简体繁体转换
- Java RMI 框架_远程方法调用(2016-08-16)
- (转)css内边距与外边距的区别,精辟啊
- LuoGu P1168 中位数
- Java开发体系
- 解决chrome浏览器在win8下没有注册类的问题
- UDP学习总结
- Matplotlib常用绘图示例
- 分布式监控系统Zabbix-添加windows监控主机
- java多线程例子(生成者和消费者)
- poj3190 Stall Reservations (贪心+优先队列)
- (UDP)socket编程
- 20145103《JAVA程序设计》第十周学习总结