Connected device not displayed in 'Device Name' list
When you cannot see the connected device displayed in the Device Name list, it can be because one of the following causes:
If you do mobile testing with iOS devices, make sure you enable UI Automation on the device. Do as follows:
If you do mobile testing with Android devices, make sure to turn on the phone developer mode. Do as follows: