Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

API: How to add a screenshot to test result

I would like to send screenshot(on failure) to test case(could be in comment section) which is failed in Automation test run.
Please let me know how to do that.

Thanks in advance.