For the complete documentation index, see llms.txt. This page is also available as Markdown.

CoWork

Explore CoWork, QApilot’s human-in-the-loop authoring mode for turning written test cases into automated mobile recordings with AI planning on live devices.

Overview

CoWork is QApilot's agentic, human-in-the-loop test authoring mode. It takes your existing test cases written in plain English or BDD format, and automates them on a real mobile device. The system reads the screen, decides what actions to take, and adapts on the fly.

CoWork is one among the three test authoring modes on QApilot - each mode designed for a different testing need:

Mode
Type
Best For

Crawler

Agentic · Autonomous

Fully autonomous app exploration and test generation with zero human input

CoWork

Agentic · Human in the loop

Converting existing test cases into automated recordings with AI assistance

Record & Playback

RPA · AI-Assisted

Capturing precise user interactions manually for full test coverage

See also: Platform Overview for a full introduction to QApilot's modes.

How to CoWork

Workflow at a Glance

#
Step
What Happens

1

Ingest

Upload or create test cases from excel

2

Invoke

Configure and launch CoWork on a selected test case

3

Translate

Review and optionally edit the auto-generated BDD steps

4

Execute

CoWork runs the test on a live device, replanning automatically as needed

5

Review & Accept

Accept the recorded steps or hand off to the RPA module for manual recording

6

Run & Report

Execute the test suite and view results - shared across all authoring modes


Prerequisites

Before using CoWork, make sure the following are set up in QApilot:

  • Device farm Integration - Connect to a supported device farm (LambdaTest) via Settings

  • App uploaded - The mobile app under test must be uploaded to the platform as an App Source

CoWork currently supports Android only. iOS support is coming soon.


1. Ingest - Build Your Test Cases

Navigate to CoWork in the left sidebar. You'll find two sections: Configuration and Test Cases.

The Test Cases page is your CoWork test case bank - a library of all test cases available for CoWork to run upon. Each entry shows the test case name, ID, supported OS, last updated timestamp, scenario, source, and actions.

Cross-reference note: The Source column in the Test Cases bank displays CoWork for all cases authored here. See Test Case for the full platform-wide test case view.

Adding Test Cases

  1. Click the Upload button (top right of the Test Cases page)

  2. In the CoWork Test Case Upload modal, attach your Excel file from your local machine

  3. Ensure the file includes all required fields:

    Field
    Description

    allure_id

    Unique identifier for the test case

    name

    Test case name

    feature

    Feature or module the test case belongs to

    scenario

    Scenario name

    test steps

    The actual steps to execute

Tip: Click Download Sample Excel File to get the CoWork-sample.xlsx template. Fill in your test case details and upload.

Open CoWork section from the left panel -

Upload Test Case Sheet to add Cases and Steps into the platform

Or write cases manually through Test Case Create

Managing Test Cases

Click the three-dot-menu on any test case row to access the following options:

Action
Description

Edit

Modify the test case details

Manage Steps

View or edit recorded steps associated with the test case

CoWork

Launch CoWork directly on this test case

Delete

Permanently remove the test case


2. Invoke - Launching CoWork

CoWork can be launched from two places in the platform.

  1. Select Configuration from the CoWork left panel

  2. Complete Step 1 - Select Platform & App Source:

    • Select App Platform (Android)

    • Choose your Service (e.g., LambdaTest)

    • Select your App Source

  3. Complete Step 2 - Configure Scenario & Test Case:

    • Select a Scenario

    • Select the Test Case you want to automate

  4. Click Launch

Configuration Screen -

Test Cases Screen -

Launch CoWork post Configuration -

Device Connection

After clicking Launch, CoWork allocates a device from your device farm and establishes a live connection. A progress modal displays:

  • Device name (e.g., Galaxy S24)

  • App name and package identifier

  • Connection progress and elapsed time

Once connected, the CoWork workspace opens with the device live on the left panel.


3. Translate - Reviewing BDD Steps

The CoWork workspace is split into three panels.

Left Panel: Live Device

A real-time mirror of the mobile device. The app is already launched and ready. You can watch actions execute here as CoWork runs.

Center Panel: Planner Workspace

Source Requirements (expandable, read-only)

Expand this section to view the original test case data pulled from the bank:

  • Preconditions

  • User Steps

  • Expected Result

This is read-only. It reflects your source test case exactly as entered.

Planner Input (BDD Steps)

CoWork automatically translates your plain English test steps into BDD format. These steps are editable — you can refine them before starting a run.

Typical BDD steps looks like this:

Click Save BDD Steps to save any edits.

The BDD steps generated during a CoWork run are saved back to the test case automatically for future reference.

Additional App Context

Use this free-text field to pass extra information to the planner - for example, login credentials, screen-specific values, or navigation hints that aren't captured in the test steps.

Action Buttons

Button
Action

Automate with CoWork

Starts the CoWork and begins automated execution on the live device

Record Manually

Skips CoWork and opens the Record & Playback (RPA) module on the platform for manual recording

Right Panel: Planner Output

Displays the planner's current execution plan as a numbered, live-updating step list. Each step includes:

  • A plain-language description of the action

  • The action type: click, wait, scroll, or reactivate

  • The target selector (element identifier used to locate the UI element)

  • Real-time status indicator: ○ pending · ✓ succeeded · ✗ failed

The badge on the tab reflects the total number of steps in the current plan version. If a replan occurs, this count updates.


5. Review & Accept

Once execution completes, the plan steps are displayed with their final status. Review the run and choose how to proceed:

Click Accept Steps to save all generated steps to the test case on the platform.

The test case is saved with the recorded steps and is ready for execution.

Use this when you're satisfied with how CoWork executed the test and want to move forward without changes.


6. Run & Report

Once a test case has been recorded and accepted via CoWork, it joins your test suite and can be executed like any other test case on QApilot.

Test execution and reporting work the same way across all authoring modes - CoWork, Crawler, and Record & Playback.

Cross-reference note: See Test Plan Executions and Reports Dashboard for full details on scheduling runs, selecting devices, and interpreting test results.

Last updated