How to get the status of the test in JavaScript?

How to get the status of the test in JavaScript?

Hi Miro,

For getting the status of the test in JavaScript try this code:

{ status_ind: client.currentTest.results.failed ? "failed" : "passed" }