Robotframework下拉框的选择

Robotframework下拉框的选择用到的关键字为:
1.Select form List
其意思是从列表中选择需要的值。例如:从该Options中选择一个时间
Robotframework下拉框的选择
其带的参数为:Arguments:[ locator | items]locator为该下拉框的定位,items为选择时间的值
Robotframework下拉框的选择
2.Select from List By Index
通过索引值来选择下来框中对应的值,从0开始索引
其带的参数为:Arguments:[ locator | *indexes ]locator为该下拉框的定位,indexes为对应值的索引数
Robotframework下拉框的选择

猜你喜欢

转载自blog.51cto.com/13395901/2119118