Skip to main content
The Mobile Test Designer is a visual editor for creating and editing mobile test automation steps.

Overview

The Mobile Test Designer provides:
  • Live device streaming
  • Visual step creation
  • Element capture and analysis
  • Step-by-step test case editing
  • Environment variable support

Interface Layout

Interface Layout

Header Controls

Test Case Information

  • Test Case Name: Current test case being edited
  • Edit Indicator (✏️): Shows if there are unsaved changes

Environment Selector

  • Dropdown to switch between test environments
  • Affects environment variables used in steps

Load Test Case

  1. Click Load
  2. Choose:
    • Browse: Open test case browser
    • Quick ID: Enter test case ID directly

Save Test Case

  1. Click Save
  2. Choose:
    • Save: Update existing test case
    • Save As New: Create a new test case

Clear All

Click Clear to remove all steps and start fresh.

Left Panel: Device Control

Qaptly Service Toggle

  • Enable/disable the Qaptly Mac Command service
  • Required for device communication

Device Selection

  • Android Devices: List of connected Android devices
  • iOS Devices: List of connected iOS devices
  • Select a device to stream and test

Streaming Control

  • Start Stream: Begin live device mirroring
  • Stop Stream: End streaming

Test Data Collection

For AI training and analysis:
  • Start Collection: Begin data collection
  • Stop Collection: End collection
  • Duration: Collection time elapsed
  • Chunks: Audio chunks collected

Spec Collection

  • Capture Spec: Capture current screen for specification

iOS Screenshot

  • Update Screenshot: Manually refresh iOS screen capture

Center Panel: Step Editor

Platform Tabs

Switch between:
  • Mobile Platform: Mobile-specific steps
  • Web Platform: Web action steps

Step Types

Click any step type to add and configure: See Step Types Reference for detailed configuration options.

Step Configuration

After selecting a step type:
  1. Configure parameters
  2. Use device stream to capture coordinates/elements
  3. Add description or expected result
  4. Save the step

Right Panel: Device Stream

Live Stream View

  • Real-time device screen mirroring
  • Click to capture coordinates
  • Interactive element selection

Stream Controls

  • Refresh: Update the stream
  • Screenshot: Capture current screen
  • Rotate: Rotate view (if supported)

Element Selection

When configuring Tap/Press steps:
  1. Click on the stream to capture coordinates
  2. Coordinates are automatically filled in the step editor

Step Timeline

Viewing Steps

The bottom timeline shows all steps in order:
  • Each step displayed as a card
  • Current step highlighted
  • Drag to reorder (if supported)

Step Actions

  • Click: Select step for editing
  • Delete: Remove step
  • Add (+): Add new step after

Step Status

Steps show their configuration status:
  • Complete: All required fields filled
  • Incomplete: Missing required fields

Creating a Test Case

From Scratch

  1. Click Clear to start fresh
  2. Add App Launch step to open your app
  3. Add interaction steps (Tap, Swipe, Input)
  4. Add Verify steps at key points
  5. Add Close App if needed
  6. Click Save As New

From Existing

  1. Click Load and select a test case
  2. Modify existing steps
  3. Add or remove steps
  4. Click Save to update

Using the Device Stream

Capturing Coordinates

  1. Start streaming your device
  2. Navigate to the target screen
  3. In the step editor, click the coordinate capture mode
  4. Click on the stream where you want to tap
  5. Coordinates are automatically captured

UI Analysis

For more reliable element targeting:
  1. Select Element Locator Mode in Tap/Press
  2. Use the stream to identify elements
  3. Choose a locator strategy (text, ID, etc.)
  4. Configure fallback coordinates

Environment Variables

Using Variables

In step parameters, insert environment variables:
  1. Click the variable insertion button
  2. Select a variable
  3. Variable is inserted as {{variable_name}}

Common Variables

  • {{app_package}}: Target app identifier
  • {{username}}: Test user name
  • {{password}}: Test user password

Tips

  1. Use locators over coordinates: More reliable across devices
  2. Add waits after navigation: Allow UI to settle
  3. Test incrementally: Run steps as you create them
  4. Use descriptive names: Make steps self-documenting
  5. Verify critical states: Add assertions at important points

Related: