如何多次运行关键字

时间:2018-09-10 14:05:04

标签: robotframework

我的情况:

我必须单击一个名为“ 搜索第一个值”的字段,然后单击“提交”。

我必须重复此步骤100次以上。我该如何在Robot框架中进行操作?

我的代码:

[Documentation]   Resubmit
 wait until element is enabled   ${CLICK_RESUBMIT}
 click element   ${CLICK_RESUBMIT}
 sleep   2s
 confirm action
 repeat keyword  5times Go to Previous Page

1 个答案:

答案 0 :(得分:0)