本章主要介绍RF的循环,判断以及关键字Evaluate. 1. for循环 在RF中通过 :FOR 编写循环 :FOR ${i} in range 10 log ${i} @{list} create list a b c :FOR ${i} IN @{list} \ Exit For Loop If '${i}'=='b' log ${i} 2. if判断 通过"run keyword if" 关键字可以编写if分支语句,还有很多其他的if判断,如Return From Keywor…
{foreach},{foreachelse} 用于像访问序数数组一样访问关联数组 {foreach},{foreachelse} {foreach} is used to loop over an associative array as well a numerically-indexed array, unlike {section} which is for looping over numerically-indexed arrays only. The syntax for {for…