gojuno / composer

Reactive Android Instrumentation Test Runner. Archived. Marathon is recommended as an alternative (https://github.com/Malinskiy/marathon).
Apache License 2.0
546 stars 45 forks source link

How to take screenshots and embed them in html report? #170

Open ripunjayasaran opened 5 years ago

ripunjayasaran commented 5 years ago

Does the composer API have a method to take screenshots and embed them in the report for the corresponding test? I did not see any such method so thought of putting an issue here, but if there is one, then please let me know. If there is no such method, then may be i can use Falcon to take the screenshot, but I am not sure how to embed it in the html report from Composer. Any help in this would be greatly appreciated.

tir38 commented 5 years ago

Looks like you already asked this question: https://github.com/gojuno/composer/issues/114

ripunjayasaran commented 5 years ago

@tir38 : i have my own custom method of taking screenshots when a failure occurs, but i do not know how to embed them in the composer html report. Any input on this would be greatly appreciated.

tir38 commented 5 years ago

@ripunjayasaran I"m unable to help with that.