Is your Testsigma Agent up to date? Please check and update your Agent. 

Have you connected your device to the machine where you are testing your application?

Is the cable working properly?

If connected via Wifi, is your Wifi connection strength proper?

Ensure the following: 

  • USB Debugging mode is enabled on the mobile device
  • ADB recognizes the device connected to the system
  • Changing the Desired capability as per the device/application

Enable USB Debugging Mode In Mobile Device

Enable USB debugging mode in settings of Mobile devices.

1) Developer Options

  1. Navigate to the Settings app on the phone
  2. Scroll down and click on the Developer Options
  3. Turn on the Developer Options and click the USB Debugging

Some devices do not have “Developer Options” under Settings. In such cases, follow the below steps:

  1. Navigate to Settings > About Phone > Build Number 
  2. Dab on Build number 7 times, then a pop up will appear saying ‘You are now a developer
  3. Then Go back to settings. You will find ‘Developer Options’ getting listed
  4. Enable ‘USB Debugging’ and now the device is ready to connect to the system
  5. Once done, you will now be able to enable/disable it whenever you desire by going to Settings -> Developer Options -> Debugging -> USB debugging

Verify If System Recognizes A Device Using ADB

To verify if the system is able to recognize the device,

  • Open command prompt
  • Type >‘adb devices’
  • Click on Enter.

The device name should be listed in its response as below. In this case, only one device is attached, so the device name of that mobile is listed as ‘AVY9KA90322022030’.

This command displays all devices connected to the system at that instance (might one or two or more devices also).

Note: We need to make sure that the Android SDK is installed in the system and its environment path is set, before running the ADB command.

If the device is not displayed in the response, then there might be some issue with the device connection or sometimes USB debugging mode may not be enabled properly.

device name of that mobile is listed

If the issue persists, contact Testsigma Support.