Prerequisites
You need three values before configuring your workflow:- API Token - Your QA.tech API token (from Settings → Organization → API Keys)
- Application Short ID - Your mobile application’s short ID (from Settings → Applications & Envs, e.g.
app_gXeBl2) - Test Plan Short ID - From your test plan (e.g.
pln_abc123)
Configure a Bitrise Secret
Store your API token securely:- Open your app in Bitrise and go to Workflow Editor → Secrets
- Add a secret:
- Key:
QATECH_API_TOKEN - Value: Your API token
- Keep Expose for Pull Requests disabled unless you need it
- Key:
Test your mobile builds
Add ascript step after your build step (e.g. android-build or xcode-build-for-simulator). It uploads the build to QA.tech and starts a test run against it, in four parts:
- Get a presigned upload URL
- Upload the build file directly to storage
- Create the build record
- Start a test run pinned to that build
Android (APK)
Bitrise’sandroid-build step exposes the built APK as $BITRISE_APK_PATH:
app_gXeBl2 and pln_abc123 with your values.
iOS (Simulator build)
QA.tech runs iOS tests on simulators, so the upload must be a simulator build (.app compressed as .zip or .tar.gz) - device and App Store .ipa builds cannot run on simulators. See Mobile App Testing for how to prepare a simulator build.
On Bitrise, use the xcode-build-for-simulator step instead of xcode-archive. It exposes the built .app directory as $BITRISE_APP_DIR_PATH. Zip it before the upload in the script above:
"platform": "ios" when creating the build record.
Supported file types are
.apk and .aab for Android, and .zip or
.tar.gz containing your .app simulator build for iOS. Maximum file size
is 4GB. See the Application Builds API
for full request and response details.Web applications
If you use Bitrise for a web app, trigger a test plan with a single request:Blocking mode
To fail the Bitrise build when tests fail (for example as a release gate), poll the run status after starting it:Related Documentation
- CI/CD Integration - Overview of integration modes
- Application Builds API - Full build upload reference
- Start Run API - Complete API documentation
- Mobile App Testing - Mobile testing concepts and setup
- Test Plans - Create and organize test plans