GPT Driver User Guide
GPT Driver User Guide
GPT Driver User Guide
  • Getting Started
    • πŸš€Getting Started
    • πŸ”ƒUploading a Build File
    • πŸ§™β€β™‚οΈCreating Tests
      • Commands
        • Tap Command
        • Type Command
        • scroll Command
        • scrollUntilVisible Command
        • swipe Command
        • slide Command
        • wait Command
        • assertVisible Command
        • openLink Command
        • pressBackButton Command
        • launchApp Command
        • restartApp Command
      • πŸ‘οΈwithVision: Instructions
      • 🧠AI Instructions
    • 🏁Executing Tests
  • ☎️Device Configuration
  • βš™οΈUnder the Hood
  • Getting Around
    • ✏️Test Editor
    • πŸ›°οΈTest Overview
    • πŸ…Test Reports
    • ⏺️Test Recordings
    • πŸ‘€Settings
  • Best Practices
    • πŸ§‘β€πŸ’»API Documentation
    • Versioning
    • ↗️Templates
    • πŸ–‡οΈTest Dependencies & Prompt References
    • πŸ”—Deep Links
    • πŸ“§Email Verification
    • πŸ“‘Network Calls
    • πŸͺ‘Parameterized Strings
    • πŸ“Changing Device Location
    • πŸͺΆConditional Steps
    • 🐦Nested Steps
    • ⌚Smart Caching
    • πŸ—£οΈEnv. Variables
    • πŸ’―Bulk Step Testing for Robustness
    • πŸ“–Exact Text Assertions
    • πŸ’¬Auto-grant Permissions
  • πŸ§ͺMocking Network Data
  • 🌎Localization Testing
  • Code Generation
  • ❔FAQs
Powered by GitBook
On this page
  • Manual Upload of a Build File
  • CI/CD Integrated Upload Options
  1. Getting Started

Uploading a Build File

PreviousGetting StartedNextCreating Tests

Last updated 6 months ago

To upload build files to GPT Driver, please ensure the following build requirements are met:

Android

For Android, upload the .apk containing your app.

After your app is built, either via Android Studio or by running the command ./gradlew assembleDebug in your project directory, look in:

<project-name>/<app-module-name>/build/outputs/apk/

iOS

For iOS, upload a .zip or .tar.gz file containing your compressed .app bundle.

Your .app bundle must represent a iOS Simulator build of your app. A simulator build can be run in the iOS Simulator via Xcode. This is different than a IPA file, which is compiled for ARM architecture CPUs and can only be run on physical iOS devices.

One way to get the iOS Simulator build is to run your app in an iOS Simulator, and then to find the file that is automatically generated. After running in the iOS Simulator via Xcode, look in:

~/Library/Developer/Xcode/DerivedData/<project-name>/Build/Products/Debug-iphonesimulator/

You may also generate the iOS Simulator build of your app by building it directly via the command line using xcodebuild.

If you have a .xcodeproj file, you may run:

xcodebuild -sdk iphonesimulator

If you have a .xcworkspace file, you may run:

xcodebuild -sdk iphonesimulator -workspace <your_workspace_name>.xcworkspace/ -scheme <your-scheme> -configuration Debug.

In order to get the name of your Scheme, you may run:

xcodebuild -list -workspace <your_workspace_name>.xcworkspace

Once the build command completes successfully, you may then zip the .app bundle found in:

build/Debug-iphonesimulator/

Manual Upload of a Build File

Starting from the main page (Tests Overview), head over to the Builds section.

Choose the Upload Build button located in the top right of the screen. Navigate to and select the relevant build file. After a successful file upload, the last uploaded file will be reflected at the top of the Builds list.

CI/CD Integrated Upload Options

Please refer to the following for uploading a new build.

πŸ”ƒ
documentation