如果你還想從頭學起Robot Framework,可以看看這個系列的文章哦!
https://www.cnblogs.com/poloyy/category/1770899.html
前言
所有關鍵字的栗子,在后面會進行補充哦,現在先了解它的作用是啥
BuiltIn 庫中的以下關鍵字也可以與列表和詞典一起使用
關鍵字 | 適用對象 |
---|---|
Create List | lists |
Create Dictionary | dicts |
Get Length | both |
Length Should Be | both |
Should Be Empty | both |
Should Not Be Empty | both |
Should Contain | both |
Should Not Contain | both |
Should Contain X Times | lists |
Should Not Contain X Times | lists |
Get Count | lists |
A、C 開頭的常用關鍵字列表
Dict 開頭的常用關鍵字列表
主要針對 Dict 變量的操作
Get 開頭的常用關鍵字列表
I、L 開頭的常用關鍵字列表
主要針對 List 變量的操作
R 開頭的常用關鍵字列表
S 開頭的常用關鍵字列表