1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hello,
You can use the below ADB commands that you can specify in the yml file to get the information of the Android device such as device model and OS versions:
adb shell getprop ro.product.name ro.product.model
adb shell getprop ro.product.model
adb shell getprop ro.product.device
adb shell getprop ro.build.version.release
Below are the commands for iOS devices:
[DeviceFarm] ideviceinfo --udid $DEVICEFARM_DEVICE_UDID --key ProductName
[DeviceFarm] ideviceinfo --udid $DEVICEFARM_DEVICE_UDID --key ProductType
[DeviceFarm] ideviceinfo --udid $DEVICEFARM_DEVICE_UDID --key ProductVersion
I hope this helps!
répondu il y a 5 mois
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans