|TestStep fails and Event Handler succed, whole testCase fails? [message #1405108]
||Wed, 06 August 2014 15:57
| Fernando Gomes
Registered: July 2014
Hi, I'm making a testcase where, if it finds determined component it does one thing(flow), if it does not find that component it does another thing(flow).|
To make this "if" statement I'm using a event handler that fires if the check for the existence of determined component is true.
It works, however whenever the component does not exist, even if the event handler does it's job without error, the whole testcase fails, and the testSuit fails because of that, is there a way to make that, if the event handler succed, then the testCase is successful?
Edit: Forget about it just found the answer to that.
you just have to use the event handler as "retry" attempt.
[Updated on: Wed, 06 August 2014 16:00]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02001 seconds