Hello,
I didn't find any solution to the question in the group and internet at all, could you please help me to resolve it.
Question: how to identify whether the device type, on which the test is running, is a phone or tablet?
Solution found:
adb shell command: device_type = %x[adb shell getprop ro.build.characteristics]
BUT
when I have severals devices connected to one machine it gives an error: error: more than one device and emulator
So is there any method to define this information about the device current test is running on?
Thank you.