cancel
Showing results for 
Search instead for 
Did you mean: 

How to access result files from test

Highlighted
Visitor

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.

1 REPLY 1
Highlighted
New Contributor

Re: How to access result files from test

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
New Here?
Join us and watch the welcome video:
Announcements
Follow the Poll
Create your own user feedback survey
Watch Bitbar Videos
Subscribe to the Youtube Bitbar channel to always get the latest and exclusive videos