run keyword if

 

run keyword if    '2017' in $html    log to console   内容

判断 '2017' 如果在'$html'这个变量里面,如果 '2017' 在这个字符串里面,如果是 True 的话为真,那么就执行 Log to console 就打印,内容就是 Log to console 所对应的参数。注意这里的condition'2017' in $html是python的表达式,要注意 python表达式变量的写法,只加$不用加 {}


https://www.jianshu.com/p/34694caf284b

posted @ 2021-05-11 15:53  i舒  阅读(54)  评论(0编辑  收藏  举报