AnsweredAssumed Answered

Set the status of the test to failed in a JavaScript step

Question asked by Vics on Jun 29, 2015

Can we set the status of a test to failed in a JavaScript step? Example if we find the value of the variable not the same as expected then can we set the test cycle/ status as failed using a JavaScript command(then - 'Fail the test'). If so could you please provide the property name & command to use?

Outcomes