laptop-mobileDevices

To run tests in Quash, you can connect physical devices, local emulators or Quash cloud devices. 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.

Physical Devices

To connect your real devices locally to Quash:

  1. Turn on developer options in your android device. Find out how to do this [herearrow-up-right].

  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.

Local 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]arrow-up-right.

  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.

Quash Cloud Devices

Quash also lets you run tests on real Android devices hosted in the Quash cloud. This is useful if you don’t want to set up local devices or emulators.

To connect a Quash cloud device:

  1. Open the Quash app.

  2. Click on the Profile button in the top-right corner.

  3. Select Devices from the left navigation panel.

  4. Under Quash Cloud Device available, click Connect.

Once connected, a Quash cloud device will be assigned to you and will appear under Connected Devices.

Quash provides 60 minutes of free usage for cloud devices. If the device remains inactive for 5 minutes, it will be automatically disconnected.

If cloud devices are currently in use, you may be placed in a queue. When a device becomes available, you will receive a notification allowing you to connect.

The Mahoraga Android App comes pre-installed on Quash cloud devices, so no additional setup is required. You can immediately start interacting with the device.

If you want to manually interact with the device, click the computer icon next to the connected cloud device to enable screen mirroring. This allows you to view and control the device directly from Quash.

Once connected, the Quash cloud device will appear as an option in the prompt box when you click on ‘Devices’, and you can start running tasks on it.

You can connect multiple devices to Quash and can run tests in parallel on them. If you need extended access or dedicated cloud devices, reach out to us.

Last updated