Complete the code to identify the device type for testing.
device_type = get_device_info().[1]The screen_size helps identify device type for fragmentation testing.
Complete the code to check if the app supports the device OS version.
if device_os_version [1] supported_versions:
We check if the device OS version is in the list of supported versions.
Fix the error in the code to correctly log device capabilities.
log('Device capabilities: ' + [1] )
The variable device_capabilities is the correct name and calling toString() is unnecessary in Python.
Fill both blanks to filter devices with screen width greater than 720 and OS version 'Android'.
filtered_devices = [d for d in devices if d.[1] [2] 720 and d.os == 'Android']
We filter devices where screen_width is greater than 720.
Fill all three blanks to create a test report dictionary with device name, OS, and status.
test_report = { [1]: device.name, [2]: device.os, [3]: 'Passed' }The keys 'device_name', 'os_version', and 'test_status' clearly label the report data.