How to find the device Name for genymotion emulator?

I am doing the grid setup using genymotion but stuck between finding the device name for choosing the device.It always run on single emulator. What shall I need to write on deviceName filed

  • Is that the name of emulator which see

  • Or is that the device id which is listing adb devices
    192.168.56.101:5555 device

which one I should take? and where should I put it either json file, or command line while starting appium or my capability in script itself.

Any help is greatly appreciated…

you should put ‘Samsung Galaxy S4’ into capability BUT! according to our experience it will not work when name has blanks. So we just recreated emulator in Genymotion with giving them names like ‘Samsung_Galaxy_S4’. With such name Appium successfully find and started emulator.