1. 在maven pom.xml中先配置robot framework的plugin:  

   <plugin>
<!-- integration test runner (robot-framework) -->
<groupId>org.robotframework</groupId>
<artifactId>robotframework-maven-plugin</artifactId>
<version>1.4.7</version>
<dependencies>
<!-- Can specify the robot framework version if required -->
<dependency>
<groupId>org.robotframework</groupId>
<artifactId>robotframework</artifactId>
<version>2.8.7</version>
</dependency>
<!-- Can add self developed robot test library -->
<dependency>
<groupId>com.abc.robottest</groupId>
<artifactId>robottestinglib</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<!-- default execution phase is 'verify' -->
<goals>
<goal>verify</goal>
</goals>
</execution>
</executions>
<configuration>
<testCasesDirectory>./src/test/robotframework/acceptance</testCasesDirectory>
<libdoc/>
<testdoc/>
</configuration>
</plugin>

2. 在上面的testCasesDirectory路径中编写*.robot文件,参考官方正常robot文件的编写方法: http://robotframework.org/#examples

最新文章

  1. Android Secret Code
  2. Android IOS WebRTC 音视频开发总结(二五)-- webrtc优秀资源汇总
  3. DOM、Window操作
  4. 【原】iOS学习之第三方-AFNetworking1.3.0
  5. The All-purpose Zero---hdu5773(LIS变形)
  6. 淘宝的ruby镜像已无人维护,使用ruby-china的RubyGems镜像
  7. Spring处理id相同的bean
  8. 请输出in.txt文件中的2 4 6 8 9 10 12行
  9. prototype constructor __proto__
  10. css的绝对定位
  11. struts2中根对象以及ognl .
  12. Ubuntu + VMware=Linux虚拟机
  13. (函数封装)获取class名称
  14. windows 下面安装make
  15. idea中如何将单个java类导出为jar包文件?
  16. expect 安装 salt 客户端
  17. 三. html&amp;JavaScript&amp;ajax 部 分
  18. 数据结构(C语言版)-C语言和C++相关补充
  19. Atom窗口切换和放大或者缩小
  20. 转:android root tcpdump抓包强烈推荐

热门文章

  1. [GO]字符串的使用
  2. HDU 6096 String (AC自动机)
  3. top命令查看进程列表
  4. SQL语句统计错误率
  5. Middleware / 中间件
  6. Window-document-javascript
  7. 走进AOP In .NET
  8. Arduino SPI + SPI Flash芯片W25Q80BV
  9. ASP.NET Web API总结
  10. django DatabaseFunctions