我的情况:
我必须单击一个名为“ 搜索第一个值”的字段,然后单击“提交”。
我必须重复此步骤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
答案 0 :(得分:0)
标准库的关键字为Repeat Keyword
http://robotframework.org/robotframework/latest/libraries/BuiltIn.html#Repeat%20Keyword