Browserstack Integration

Hi,

I have integrated Browserstack into my appium project and I am trying to run it in the CI/CD pipeline. My blocking issue right now is how can I get the newly built or uploaded apk be set dynamically in my Android Capabilities? Any help would be appreciated.

Thank you.

You could write the capability out as a json file and load dynamically:

https://appium.io/docs/en/writing-running-appium/default-capabilities-arg/index.html

1 Like

Thank you @wreed for the documentation link!

However, based on the implementation of Browserstack integration with Appium. I took a different approach where I dynamically upload the apk using their Rest API and saving the APK link in a file. Therefore, I’d be able to read from this file and parse the APK Link into my capabilities.

1 Like

Thanks for posting the solution. I’m glad it worked out for you.

1 Like