Ask a Question

How to access result files from test

SOLVED
MildaGenius
New Contributor

How to access result files from test

Hello,

I am using Appium + AltUnity + Python script to run test on mobile devices.

 

Test generates some kinds of result files (txt, raw, png). These files are pulled out from device by Appium to directory on the same level as test script (image of local run result in attachment). But I didn't find these files on result Bitbar web page.

 

How can I access and download these files?

Is some API for download these files?

 

Thanks for response.

2 REPLIES 2
devarshgandhi
SmartBear Alumni (Retired)

Bitbar has support for downloading the test run artifacts through an API.
curl -u <bitbar_api_key>: -X GET 

https://cloud.bitbar.com/api/v2/users/<userId>/projects/<projectId>/runs/<runId>/device-sessions/<deviceSessionId>/output-file-set/files

If Appium produces txt and png files Appium cloud-side(server-side) framework, you can copy those files to sandbox/output-files folder in your run-tests.sh script to be able to see it in results.

Reach out to support if you have more questions.

Devarsh Gandhi

Thanks for your answer, which was hopeful to get files from test, copying result files to output-files folder.

 

Iam not able to find runId and deviceSessionId identificators. I found only "testRunId": null in test run configuration.

 

Can someone tell me, where is possible to find runId and deviceSessionId?

cancel
Showing results for 
Search instead for 
Did you mean: