Devices

To run your tests using Quash, you can easily connect your local devices or emulators to Quash. Click on the Profile button on the top right, and then on the Devices option in the left navigation panel to add and configure your devices. Currently, you can only run tests on Android devices, we are working on releasing support for iOS devices soon.

Real Device

To connect your real devices locally to Quash:

  1. Turn on developer options in your android device. Find out how to do this [here].

  2. Turn on USB debugging and wireless debugging from developer options.

  3. Connect your device to your laptop through a USB cable.

  4. In the Devices section on the Quash app, click on the "Scan for devices" button. You should see your linked device listed there.

  5. Click on the "Connect" button next to the device. Your device will start showing under the connected devices section with device status as available.

Once connected, Quash will automatically install a Mahoraga Android App on your device. If you're prompted to allow the installation on your phone, please do that.

Before running any tests, please open the app on your phone, tap on Accessibility Service, and enable accessibility for the app from your device settings. Once done, you should start seeing yellow bounding boxes around the UI elements on your screen. In the Mahoraga app, make sure overlay is enabled and use the offset slider to correct the position of the bounding boxes and match it to your actual UI elements.

Once done, you can toggle off the overlay button.

You will now see the device listed as an option in the prompt box when you click on "Devices", and can now run tasks on this device.

Emulators

To run tests on an emulator through Quash:

  1. Install and run the emulator on your computer. To know about how to do it, [check this out].

  2. Turn on USB debugging and wireless debugging from developer options.

  3. In the Devices section on the Quash app, click on the "Scan for devices" button. You should see your emulator listed there.

  4. Click on the "Connect" button next to the emulator. Your emulator will start showing under the connected devices section with device status as available.

The Mahoraga Android App will automatically be installed on the emulator and will also have accessibility permissions automatically. If it does not happen, please do it manually once.

In the Mahoraga app, make sure overlay is enabled and use the offset slider to correct the position of the bounding boxes and match it to your actual UI elements.

Once done, you can toggle off the overlay button.

You will now see the emulator listed as an option in the prompt box when you click on "Devices", and can now run tasks on this emulator.

You can connect multiple devices to Quash and can run tests in parallel on them.

Last updated