【发布时间】:2014-09-14 08:05:12
【问题描述】:
我使用Get Current Date 关键字以年-月-日格式返回日期。我使用这些特定信息来确保帐户的 created 时间戳在自动化测试中是正确的。
问题是关键字无法识别,我的代码应该是正确的(它应该可以工作并且它应该以我希望的格式生成日期。
*** Keywords ***
Initialize Test Data
${DATE}= Get Current Date result_format=timestamp
${MYNUM}= faker.Random Int
Set Suite Variable ${MYNUM}
Set Suite Variable ${DATE}
为什么我会收到错误No keyword with name 'Get Current Date' found.?
提前致谢。
【问题讨论】:
标签: date testing selenium-webdriver automation robotframework