Android compatibility test should be how to do more to force the grid it?

1 Overview

Compatibility testing is testing software to test on a specific hardware platform, between different applications on different operating system platforms, in different network environments such as whether very friendly run.

Compatibility testing object 2

Because Android device more serious in fragmented brand, systems, screens, hardware, leading design show and run some app could not expect on a particular model, resulting in a poor user experience, it is not conducive to the promotion app, affecting business development of. To this end, app compatibility need to be tested before special on-line, in order to adapt the phone systems available in the market and have been listed or will be listed as possible.

3 factors that affect compatibility issues

3.1 Hardware

1, processor

a) CPU architecture, conventional mobile phones are arm64, if the app needs to be adapted to the x86 architecture is targeted test

b) different CPU manufacturers, especially small minority CPU, need special consideration, such as Huawei Hass, millet surging

2, graphics

a) computing and graphics rendering graphics affect part of the scene, app such as use OpenGL, OpenCV, deep learning, AR, VR, AI, is important to consider

3, screen

a) affect the UI display resolution, to be compatible with HVGA, VGA, WVGA, FWVGA, 720p, 1080p screen resolution, taking into account the different situations PPI

b) concern shaped screen: bangs screen, drop screen, perforated screen, full screen


831a55c74363421e8c7eb82dfcb303af


c3bf1937e47c46b09534398d3b99b6d8


d0af0d31f8a04b7e8a27e88f48ce50e4

4, the sensor

a) the actual call situation, as the app choose: such as fingerprint module, you need to consider the situation from different vendors

5, a physical key

a) detecting whether the physical buttons effect: volume key, power key, camera key

b) the system or whether there is a conflict other app

3.2 System

1、 Rom

The presence of a) a different version of the API system some differences, features, permissions, etc., need to combine the function of adapting app;

b) the third party custom rom has some special function or authority, we need special consideration, such as MIUI

2, compiled version

a) app compile time is set to the minimum standard version, the operating system will refuse to install an application on a device is earlier than the standard

b) Android version of the update, the new version will introduce some new features and methods, new ways to bring a lot of convenience, but there are requirements for system version running on a version of the phone can not go any lower, if not done compatibility processing, forced to run It will lead to Crash

Attached: Android released version and API correspondence table and occupancy rate (official data)


b2a8d4f6c0444e3ba19c147f28651c4b


90ca1abbd04d40a780e55d5a5b31d424


3, browser kernel

a) 不同浏览器内核影响web页面展示及功能

3.3 网络

1、 2G/3G/4G/5G

a) 不同网络下兼容各种类型的网络请求,关注数据请求过程及结果

2、 WiFi

a) 部分WiFi非直连网络,需要有一步认证的过程,需要特别考虑

b) 对于可能弹出广告的WiFi要做兼容处理

4 介入时机

1、产品发布前或发布后更新涉及上述 “影响兼容性问题的因素”中一个或多个点时,且面临用户数较多、使用人群较为复杂

2、产品上市后出现较多兼容性问题

5 场景选择

以下罗列的一些通用场景,并针对场景做了具体的描述,有些场景是非必测项,具体可视app功能来确定

5.1 安装卸载

该场景会涉及系统权限,可能会出现无法安装或安装后数据丢失,甚至无法启动

5.2 UI展示

受不同屏幕分辨率、PPI影响,可能会出现展示错乱、图片丢失、图片穿透等

5.3 高频交互

高频交互场景受一系列因素影响,考验整机兼容性,需特别考虑

5.4 H5页面(JS/CSS)

不同浏览器内核、浏览器标识会影响具体样式的展示及数据请求

5.5 文字输入

受输入法、虚拟键盘影响,可能会出现无法上屏,或上屏错乱

5.6 系统API交互

受不同厂家、版本的rom影响,可能会导致功能无法使用

5.7 权限相关

受不同厂家、版本的rom影响,可能会导致一些权限无法正常获取

5.8 音视频播放/录制

音视频的录制会调用麦克风(多麦)及摄像头(双摄、三摄等),可能存在不可使用或音视频出现错乱

5.9 传感器调用

可能存在传感器无法调用、权限异常或数据异常

5.10 升级覆盖

受存储权限、安全性影响,可能会出现数据丢失、无法启动等错误

5.11 三方SDK

三方SDK的架构、技术选型会影响上层正常调用

5.12 外设交互

特殊厂商的键盘、鼠标等外设可能存在冲突或无法调用

6 设备选择

1、通过用户调研、竞品分析、三方平台数据(近阶段各设备占用率分布及设备出货量、预出货量等)等确定设备选择范围;

附:

友盟设备统计:https://compass.umeng.com/trend

Baidu device statistics: https: //mtj.baidu.com/data/mobile/device/

Ereli mobile analysis: http: //index.iresearch.com.cn/device

Tencent mobile analytics: https: //mta.qq.com/mta/data/device

2, according to the type of app, identify indicators important consideration (usually consider rom, resolution, vendors), discarding duplicates, retain more subscribers devices

7 Testing Methods

Listed above with reference to the associated point and compatibility and product features, integers relevant scene, and select the appropriate device handiwork automated verification test mode (A: reference device selection mode)

Coordination complete control over the cloud platform measuring device has advantages of its own, rich wider range of test equipment, perform relatively simple, a complete test report shortcomings need to purchase, the cost of large, difficult to reconcile some specific system resources required to spend a certain cost, the device does not fully controllable, less flexibility

Attachment:

Common cloud platform comparison test report

83ae64e22d65450fb6a96bd2ad07dc9d

8 Case

See the case, please pay attention to micro-channel public number "Love predict future."

Join Love predict future qq group, for more specialized technical knowledge sharing:

274 166 295 (love the next two measurement group)

610 934 609 (love predict future three groups)

195 730 410 (love predict future four groups)


Guess you like

Origin blog.51cto.com/14470503/2424690