如何在 Robot Framework 中正确使用 'Copy List'
How to properly use 'Copy List' in Robot Framework
我已经搜索了文档和 问题,但我仍然没有运气。
我只想使用 'Copy List' 关键字。
*** Settings ***
Documentation Example of working with Lists
Variables variables.py
Library SeleniumLibrary
Library Collections
*** Variables ***
*** Test Cases ***
[TC01] Copy List Example
@{list1} = create list item1 item2 item3 item4
@{clist1} = copy list ${list1}
*** Keywords ***
我收到一个错误:
No keyword with name '@{clist1} = copy list' found.
你的文件格式有误。阅读“Space separated format”部分并弄清楚。
正确的space分隔格式:
@{clist1}= Copy List ${list1}
我已经搜索了文档和
*** Settings ***
Documentation Example of working with Lists
Variables variables.py
Library SeleniumLibrary
Library Collections
*** Variables ***
*** Test Cases ***
[TC01] Copy List Example
@{list1} = create list item1 item2 item3 item4
@{clist1} = copy list ${list1}
*** Keywords ***
我收到一个错误:
No keyword with name '@{clist1} = copy list' found.
你的文件格式有误。阅读“Space separated format”部分并弄清楚。
正确的space分隔格式:
@{clist1}= Copy List ${list1}