【发布时间】:2017-06-15 07:20:53
【问题描述】:
我想创建一个路径 1 次以保存测试截图 例子 我的第一条路是
*** Setting ***
Library Selenium2Library screenshot_root_directory=/Users/person/Documents/testrobot/screenshot30-01-2017 12-00-00
我的第二条路是
*** Setting ***
Library Selenium2Library screenshot_root_directory=/Users/person/Documents/testrobot/screenshot30-01-2017 12-30-00
如何设置动态路径
我的机器人代码
*** Setting ***
Library Selenium2Library screenshot_root_directory=/Users/person/Documents/testrobot/screenshot
Library DateTime
*** Variables ***
*** Keywords ***
*** Test Cases ***
谢谢你
【问题讨论】:
标签: python python-2.7 robotframework web-testing selenium2library