Creating a New Task

With Quash, you can now generate automated tests directly from a prompt. The New Task feature works like a chat interface where you simply describe what you want the device to do.

Follow these steps to create your first New Task:

1. Open New Task

  • From the left sidebar, click New Task.

  • A chat-style screen will open.

2. Describe Your Task

  • In the input box, type what you’d like to automate on your device.

  • Example prompts:

    • “Open Settings”

    • “Navigate to Sound Settings”

    • “Launch the Calculator app”

3. Upload Your App (Optional)

  • If you want to test your own app, you can upload it in the chat box itself.

  • Click on the Android APK (click to upload .apk) option.

4. Configure Task Settings

Quash's execution engine has multiple capabilities and configurations available that you can use as per the requirements of your task. These options are visible in the bottom half of the prompt box. You can also click on the Gear icon to expand more configurations.

Here's what each of the options mean and how to use them:

Vision: Enable if your task requires understanding the visual layout of the app (e.g., icons, banners, or images). Recommended to be switched on for most cases.

Reasoning: Enhance Quash’s ability to handle multi-step or conditional workflows.

QA Mode: Follows steps verbatim; fails on deviation. Off: allows smart recovery/alternate actions.

Temperature: Adjust the AI's randomness and liberty in making decisions. Keep it lower if you have given a very detailed prompt and want it followed strictly. If you want Quash to take some liberty in figuring out how to go about executing the task, keep it higher. The default is set on the lower end, as 0.2.

Drag Gestures: Allow drag-based interactions in your automation. Turn on if your app has complex interactions like drag and drop, directional dragging and so on.

TCP Connection: Enable if your task involves network or socket-level interactions.

AI Model: Choose the LLM model that you want to run in the background. We recommend Sonnet 4 or GPT 5 for most scenarios.

Steps and Time: Specify the maximum number of steps and the maximum time you want to allow for the task. The default is set to 15 steps and 5 minutes.

5. Select a Device or Emulator

  • Click on the Devices option.

  • Connect a real device or an emulator.

  • Your selected device will be used to run the test.

6. Run the Task

  • Once your prompt and settings are ready, click Enter.

  • Quash will generate and execute your test on the selected device.

That’s it! You’ve successfully created a New Task.

You can now view results in Runs → Tasks, where execution history and reports are saved.


Writing a good prompt

In order for the task to be executed accurately, explain it clearly in simple steps. Specify steps clearly, write down actions like tap, scroll, drag, and call out UI elements like buttons, cards, input fields and so on.

Be Specific Instead of "check Instagram", say "Open Instagram, scroll down 3 posts, and like the first video"

Include Context Mention app names, button labels, or specific UI elements when relevant

Sequential Steps Break complex tasks into clear steps: "First open Settings, then tap Privacy, finally enable Location"

If you explain complex tasks clearly, Quash will be able to execute them without a hassle. Here are some tips for specific scenarios:

Conditional Actions "If you see a popup, tap 'Allow', otherwise continue"

Repetitive Tasks "Scroll down and like every photo from @username (max 5)"

Data Extraction "Open contacts, find John Doe, and copy phone number"

Multi-App Workflows "Copy address from Maps, then paste in Uber to request ride"

As a general tip, start with simple tasks to understand how the AI interprets your prompts, then gradually increase complexity.

Here are some example prompts to better illustrate the practices:

"Open Amazon shopping app, skip login if prompted. Search for Adidas shoes and validate search results are displayed. Then apply sort with price (low to high) and validate that the results are sorted accordingly."

"Open Zomato app and tap on the profile icon on the top right. Then scroll down and tap on the Your Orders option under the Food Orders category. Validate that Reorder button is visible on the topmost order."

"Open Spotify app, tap on Create button in the bottom navigation. Then tap on Playlist option from the menu, and enter Quash's Playlist as the name. Tap on create and validate that an empty playlist is created."

Last updated