Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 726 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 726 Bytes

App Automate Java

Currently this serves as an example on how to upload an .apk or .ipa file to TestingBot Storage.

Getting Started

Simply set your TestingBot key and secret as environment variable:

export TESTINGBOT_KEY = ...
export TESTINGBOT_SECRET = ..

Next, build the project:

mvn compile

Now you can upload a file to TestingBot Storage:

java -jar uploadApp-1.0.3-jar-with-dependencies.jar "/Users/../sample.apk"

This command should return a successful response:

{"app_url":"tb://8130affdac207ff0baa259e8"}

This tb:// url can now be used in your Automated App Tests on TestingBot.