Sabrish Sabrish - 1 year ago 197
Android Question

How to generate report in Calabash-android

How do we generate reports in calabash android ? I looked in to "The cucumber recipe" book on how to generate report. But that didn't help me completely.
I want to generate report on why login failed :
For eg :
1) User enter valid credential and tries to Login
2) But, Login fails due to server_error/user_not_found or some exceptions . I get error xml/ statusCode from server when login fails.

How to generate report using that xml/status code in calabash ?
Please help !!

Answer Source

Use this command to execute your test:

calabash-android run <apkfile>.apk --format html --out reports.html
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download