使用 Eclipse 指导机器人框架结果 [英] Directing robot framework results using Eclipse

查看:60
本文介绍了使用 Eclipse 指导机器人框架结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在将 Eclipse RED 插件用于我的机器人框架自动化工作.如何将测试结果定向到项目中的特定文件夹?使用终端时,我可以使用以下命令直接转到结果"文件夹:

robot -d 结果 Tests\MyApp\AppDriverScript.robot

但是,我不确定如何引导日志 &使用运行命令 (Ctrl+F11) 使用 Eclipse IDE 时的报告文件.

解决方案

I'm currently using the Eclipse RED plugin for my robot framework automation efforts. How do I direct the test results to a particular folder within my project? When using the terminal, I can direct to the "Results" folder using the following:

robot -d Results Tests\MyApp\AppDriverScript.robot

However, I'm not sure how to direct the log & report files when using the Eclipse IDE using the Run command (Ctrl+F11).

解决方案

In the RED user guide there is a section about launching locally.

In the application you want to go to Run > Run Configurations > Robot where you add a new Run configuration. Pick the Project, and the proceed to add the Robot Test Suite File and (Optionally) select the keywords to run.

The argument you want to add is indeed -d Results in the Additional Robot Framework Arguments box. Only this needs to be added, the rest is taken care of by RED.

这篇关于使用 Eclipse 指导机器人框架结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆