What is an App?
In Autosana, an app represents something you want to test - this can be a mobile app (iOS or Android) or a website.Key Concepts
- App: A mobile application or website you want to test
- Chrome Extension: An optional dependency included in web flow runs
- Build: A specific version of your mobile app (.app for iOS, APK for Android, or a url for a website)
- Active Build: The build that will be used when running flows
- Environment: Optional grouping to organize apps (e.g., Development, Staging, Production)
Creating a New App
Step 1: Navigate to Apps Page
Click on Apps in the sidebar navigation.Step 2: Click “Create New App”
Click the Create New App button in the top right corner.Step 3: Fill in App Details
Required Fields:- App Name: A descriptive name for your app (e.g., “MyApp iOS”)
- Bundle ID: Your app’s unique identifier (e.g.,
com.company.appname)
- Environment: Assign the app to an environment for better organization
- Agent Context: Add special instructions for the agent (e.g., “The app requires biometric authentication on first launch”)
Step 4: Select Platform and Upload
Choose your app’s platform and provide the required build or URL:- iOS
- Android
- Web
- Chrome Extension
Upload Requirements:
- For simulator tests, upload a
.zipcontaining an.appbuilt for iOS Simulator - For physical-device tests, upload a Development or Ad Hoc signed
.ipa - Autosana routes
.zip/.appbuilds to simulators and.ipabuilds to real devices
Step 5: Complete Upload
Click Upload and wait for the file to upload. Once complete, your app will appear in the Apps list.Managing Builds
Each app can have multiple builds. This allows you to test new versions while keeping previous builds available.Uploading a New Build
- Find your app in the Apps list
- Click Upload New Build
- Select your new build file
- Click Upload
Setting an Active Build
The active build is the version used when running flows. To change the active build:- Click Show build history on your app card
- Find the build you want to activate
- Click Set as active
Downloading Builds
To download a previous build:- Click Show build history
- Click the download icon (⬇️) next to any build
Deleting Builds
To delete a build:- Click Show build history
- Click the trash icon (🗑️) next to the build
- Confirm deletion
Editing App Details
Changing App Name
- Click the pencil icon (✏️) next to your app name
- Edit the name
- Press Enter or click Save
Adding Agent Context
Agent Context provides special instructions to the agent when running flows on this app.- Click Add Agent Context (or Edit Agent Context if already set)
- Enter instructions
- Click Save
Changing Environment
If you use environments to organize your apps:- Click the environment dropdown on your app card
- Select a different environment
Organizing with Environments
Environments help you organize apps by deployment stage or purpose.Creating an Environment
- Navigate to Settings → Environments
- Click Create Environment
- Enter a name (e.g., “Staging”, “Production”, “QA”)
- Click Create
Assigning Apps to Environments
- During app creation: Select an environment from the dropdown
- After creation: Use the environment dropdown on the app card
- Via CI/CD: Pass the
environmentparameter in the GitHub Action or Upload API to automatically assign the app to an environment on upload
Troubleshooting
Common Issues
iOS:- For simulator runs, ensure the
.zipcontains a valid simulator.app - For physical-device runs, upload a Development or Ad Hoc signed
.ipa - Do not rename an IPA to
.zip; the extension determines the target device type - Verify the bundle ID matches what you entered
- Ensure the APK is properly signed
- Check that the file extension is
.apk - Verify the bundle ID matches the package name
- Only Manifest V3 extensions are supported
- Upload a
.zipof the unpacked extension, not a.crx - Keep
manifest.jsonat the archive root or inside one top-level folder - Extension-enabled runs use Chromium