I'm working on cucumber protractor framework, And by giving the below comment I cab able to get the report in JSON format for successfully executed scenarios. But if my scenarios got failed I'm unable to get the JSON report.
In conf.js I have added the line: resultJsonOutputFile: 'report1.json',
And after executing I can able to see the below comments in comment prompt:
[15:54:39] E/launcher - AssertionError: expected true to be false
[15:54:39] E/launcher - Process exited with error code 199
But unable to get the JSON report. Could any one help me to get the JSON report for all success & failure execution.