Service Virtualization

 View Only

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

  • 1.  Set the status of the test to failed in a JavaScript step

    Posted Jun 29, 2015 05:47 PM

    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?