How do I store and access the deviceId and deviceName from within a Mobile test case/script?
I see those reported during the startApplication() function (see below)
There are Mobile keywords to get the Manufacturer, OS, and OS Version from within the script, but how do I get the deviceId and deviceName?
Thank you
02-14-2018 12:19:01 PM - [RUN_DATA] - Logging run data ‘appiumVersion’ with value ‘1.7.2’
02-14-2018 12:19:01 PM - [RUN_DATA] - Logging run data ‘deviceId’ with value ‘VS98831xxx123’
02-14-2018 12:19:01 PM - [RUN_DATA] - Logging run data ‘deviceName’ with value ‘LGE VS988 (Android 7.0)’
02-14-2018 12:19:01 PM - [RUN_DATA] - Logging run data ‘deviceModel’ with value ‘VS988’
02-14-2018 12:19:01 PM - [RUN_DATA] - Logging run data ‘deviceManufacturer’ with value ‘LGE’
02-14-2018 12:19:01 PM - [RUN_DATA] - Logging run data ‘deviceOS’ with value ‘Android’
02-14-2018 12:19:01 PM - [RUN_DATA] - Logging run data ‘deviceOSVersion’ with value ‘7.0’