user2879704
user2879704

Reputation:

Robot framework - Test suite output in json format

pybot --output abc.json test.robot

The above command renders the output in xml format. Does pybot support getting the summary output in json format?

Similarly, does rebot command consolidate the output files that are in json format like,

rebot --log log.html --report  report.html --output output.json final_output.json

Upvotes: 2

Views: 2312

Answers (1)

Bryan Oakley
Bryan Oakley

Reputation: 386010

Robot generates only XML, and can convert that XML to HTML. If you need data in JSON format you'll have to do the conversion yourself.

Upvotes: 1

Related Questions