App knowledge (constantly updated ......)

1.app performance tests, that special tests, need to focus on those aspects?

Memory, cpu footprint, power consumption, flow, fluency, etc.

 

2. What is the Activity ? Its life cycle?

Activity is an Android application component that provides interactive screen, an application is usually loosely connected by a plurality of Activity of each other, generally designated in the application of an Activity-based activities, that is to say for the first time when the user starts the application presented Activity.

Life cycle: run - Pause - Stop - System recovery

 

One of the four components of 3.Android?

Activity, Broadcast Receiver broadcast receivers, Content Provider content provider, service service

 

4.App testing and web testing What is the difference?

From the process, there is no difference, we need to go through the test plan program, case design, test execution, defect management, test reports and other related activities.

Technically, WEB test and test the test type APP is also substantially similar, it is required for functional testing, performance testing, security testing, testing the UI

 

The main difference is that the specific methods and details of testing are different, such as:

Performance test, WEB testing only need to test the response time of the elements in the App tests also need to consider the flow test and power consumption test.

Compatibility test: the end is compatible WEB browser, App end mobile devices are compatible. And corresponding compatibility testing tools are not the same, WEB browser compatible because it is a test, so it is necessary to use a different browser compatibility testing (commonly compatible with IE, Chrome, Firefox, edge)

If the mobile phone side, we need to be compatible with different brands, different resolutions, different versions of android even compatible with different operating systems. (Compatibility mode is compatible with the common market before the occupancy rate of mobile phones to the N-bit).

 

There, App test based mobile devices, mobile devices and some special tests:

Installation test: App install, uninstall, upgrade

Interrupt events test: that is, when the operation of a software to phone, text messages, low battery tips and other external events.

Operation Type Test: The horizontal screen test, sign test

Network Test: contains a weak network switching network and testing. Need to test the network caused by weak user experience, the focus should be rolled back and consider whether it will cause secondary refresh submitted.

 

What are the reasons of the crash appeared 5.App?

1. Memory management errors: It may be too low available memory, app memory required exceeds the limitations of the device, app run up leads App crash. Or memory leaks, the longer running time, the memory occupied by the larger, eventually exhaust all memory, causing the system to crash. Also use or unauthorized memory locations may also cause App crash.

2. The logic error: array bounds, a stack overflow, concurrent operations, logic errors.

eg app add new features to a new, untested, called a freed pointer, runtime will crash.

3. The device is compatible: Due to the diversity of equipment, app might behave differently on different devices.

4. Network factors: the speed may be poor, can not achieve the desired app fast response time, lead to app crash. Or a handover between different networks may also affect the stability of the app.

 

6.A PP for occasional instability ANR and C Rash time you how to deal with?

Grab a log, when there is occasional crash, they can put the phone to develop there, his phone connected to the environment, developing code, you can view the error log, you can open your own logcat command line, to save the log local computer, increase the priority of the bug, and attach this log

 

7. Log in general what kinds of abnormalities occur?

Null Pointer Exception - null pointer reference exception

Class Cast Exception - type cast exception.

Illegal Argument Exception - transfer illegal argument exception.

Arithmetic Exception - arithmetic anomaly

Array Store Exception - storage array and to declare the object type is not compatible with an exception

Index Out Of Bounds Exception - subscript bounds exception

Negative Array Size Exception - array wrong size to create a negative anomaly

Number Format Exception - 数字格式异常

Security Exception - 安全异常

Unsupported Operation Exception - 不支持的操作异常

 

8.Android和iOS的区别?

1.底部按键不同,Android有三个键,分别为home键,back键和呼出应用列表这三个,而iOS只有一个

2.Android分辨率较多有20来钟,而iOS较少

3.Android的手机操作系统较多,iOS的较少并且只能单向升级

4.安装:Android应用的安装方式较多,而iOS一般就是App store,testflight,i4, itunes 

Guess you like

Origin www.cnblogs.com/demilisi/p/10938138.html