執行一個 keyword 然后期待能捕獲一個異常:
Run Keyword And Expect Error |
My error |
Some Keyword |
arg1 |
arg2 |
${msg} = |
Run Keyword And Expect Error |
* |
My KW |
|
Should Start With |
${msg} |
Once upon a time in |
|
|
原文轉自:http://www.cnblogs.com/jackei/archive/2012/11/25/2787231.html