Robot Framework(8)- Collections 測試庫常用的關鍵字列表


如果你還想從頭學起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 開頭的常用關鍵字列表

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM