简体   繁体   English

如何使用RIDE在Robot框架中更改结果目录?

[英]How to change my result directory in Robot framework using RIDE?

I am new to this framework. 我是这个框架的新手。 currently using Selenium + Python + Robot Framework + RIDE. 当前使用Selenium + Python + Robot Framework + RIDE。 I have 2 questions. 我有两个问题。

Kindly post the answers in the way of RIDE implementation. 请以实现RIDE的方式发布答案

  1. By default results were storing in temp folder. 默认情况下,结果存储在temp文件夹中。 How to reset to my customized location using time stamp/testcase name without deleting my past results? 如何使用时间戳/测试用例名称重设到我的自定义位置而不删除我过去的结果?
  2. In my application, i have to download the PDF files. 在我的应用程序中,我必须下载PDF文件。 How to create a customized folder and have to save inside it by using timestamp/testcase name? 如何创建自定义文件夹并必须使用时间戳/测试用例名称保存在其中?

You need to add Arguments in RIDE --outputdir D:\\Robot\\res --timestampoutputs and set path where you want to store the result report . 您需要在RIDE --outputdir D:\\ Robot \\ res --timestampoutputs中添加参数,并设置要存储结果报告的路径。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM