Comment #15 on issue 174 by [email protected]: Possibility to stop test execution with PASS status
http://code.google.com/p/robotframework/issues/detail?id=174
Here is a use case for Selenium2Library. We have test for our the Selenium2Library keywords we provide for RF. One particular test "Double Click Element" fails for firefox. This is an open issue for the python driver 2.18.1.
So for us we would like to say something like skip if Firefox. Or even better skip if some_arbitrary_keyword.
In our case that arbitrary keyword would check for browser = firefox and selenium version = 2.18.1. So when 2.19 comes out (actually I think it has already) the test would just start running again. We would want the test to show up in the log perhaps colored yellow saying that this test was skipped and it would be nice if we could pass in an explanation string as to why the test was skipped.
For us though we would I think prefer a warning or skipped status and not a pass status cause one it would serve as a good indication to end users what is actually working for their desired configuration. This also will help us in testing / assessing various browsers. I kind of see the skip test substituting as a known issue flag. So we can explicitly say this issue we know about we will revisit it next version or something like that.
