test and test web app What is the difference

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

WEB testing and test App 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 APP test and test its test types are also similar, need to be functional testing, performance testing, security testing, GUI testing and other types of tests.

Their main difference is in the details and specific test methods 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 (common is compatible with IE6, IE8, chrome, firefox) If the mobile phone side, then 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), and sometimes can also be used to test compatibility kits, but WEB compatibility tools multi IETester tools such as App compatibility testing and use of such Testin commercial tools can also do the test.

Installation and testing : WEB test basically no client installation level test, but the test is the presence of App client-level installation and testing, then have the relevant test points.

There, App test based mobile devices, mobile devices and some special tests. The test-crossing event, the type of test operation, the network test (weak network testing, network handover)

Cross-event 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. Weak analog network is said to be achieved by setting 360wifi.

From the system architecture level, WEB test as long as the update server, the client will sync updated. And the client is guaranteed exactly the same for each user's client. But APP end is not able to guarantee exactly the same, unless the user to update the client. If the server is modified under the APP, it means that the core version of the client used by the user requires regression testing again.

There upgrade testing : test the upgrade mechanism reminder, whether to cancel the upgrade will affect the use of the original function, after the upgrade user data has been cleared.

Original Address: https://www.cnblogs.com/laoluoits/p/5673291.html

5.android and ios test the difference?

Ios and Android App Testing What difference does it make? 1.Android press home button and switching applications exhaled application list, then terminates the application of the right slide; 2. Multi-resolution test, 20 kinds of end Android, less ios; 3. mobile operating system, Android more, more iOS small and can not be downgraded, only one-way upgrades; new ios system application repository is not fully compatible low version ios system, low version ios system application calls the new repository, it will directly lead to flash back (Crash); 4. operating habits: Android, whether or not the back key is rewritten, after the feedback test clicks back key is correct; application data from the memory to the SD card can move running the like; 5.push test: Android : click on the home button, when the program running in the background, this time receiving a push, application wake-click, whether at this time you can jump right; ios, click on the home button to close the program and screen lock screen case (red dot display); 6 install uninstall testing: more downloading and installing Android platforms and tools and channels, ios major app store, iTunes and testflight download; 7. upgrade the test: a necessary condition may be upgraded: old and new versions Have the same signature; old and new versions of the package with the same name; a distinction between old and new version identifier (e.g., version number), if for Android application built to be inspected after the built-in file update match (such as built-in input)

When playing the alarm pop-up prompt, start another application, video and audio playback, call, the user is typing, etc., voice recording, etc.: Also: For test also need to pay attention to the following points: 1. Concurrent (interruption) test other forced to pause a live; 2. test source: input select, copy, voice input, like the installation of different input method; 3.push (push) test: in performing a push switch, the standby state, the message die first jump and pushed the correctness; application development, unopened state, the application is started and is displayed push and jump in the case of running in the background whether correct; push messages before and after the reading of the digital change is correct; a plurality of push the collection is displayed and the jump is correct;

4. Jump Share: share the correct copy; share after the jump is correct, source display is correct;

5. Test touchscreen: simultaneously touches different positions, or different operations at the same time, handling of view the client, whether the crash like

Original link: https://www.jianshu.com/p/91d7acfb036e

6.app appear ANR, is what causes?

So what is the root cause of ANR is it? Brief summary of the following two points:

1. The main thread to perform time-consuming operations, such as database operations or network programming 2. Other processes (that is, other programs) CPU-intensive process not cause the CPU time slice, such as other processes frequently read and write operations may cause this problem .

Segments, then, results in ANR reasons are as follows: 1. 2. The network access consuming a large amount of data read and write operation of the database 3. 4. hardware operation (such as camera) 5. The calling thread join () method, sleep number () method, the wait () method, or while waiting for a lock 6.service binder thread reaches an upper limit WatchDog ANR 8.service 7.system server occurs in response to busy cause timeouts no other thread holds the lock 9, causes the main thread wait timeout 10. other thread terminates or crashes main thread waits.

Original: https://blog.csdn.net/jaychou_maple/article/details/78782822

What are the reasons 7.App crash occurs?

Why App will crash it? Baidu a bit, and found several factors related to the collapse App: Memory management errors, program logic error, equipment compatibility, network and other factors, as follows: 1. Memory management errors: It may be too low available memory, app needed exceeds the limit of memory 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.

Original: https://blog.csdn.net/yangtuxiaojie/article/details/47123243

8.app Unstable occasional crash when you anr and how to deal with?

app anr and occasional crash is a troublesome issue, due to the occasional step can not reproduce, and this is a test of skills necessary staff, need to grasp the log. View Log There are three main methods:

Method One: app developers save error logs to local time app development in general debug version, there anr and crash logs are automatically saved to a local real sd card, go to the corresponding app directory will be able to take out

Method two: real-time to crawl when the occasional crash when appeared, this time you pulled into the phone app development that, his phone connected to the code development environment, there ddms will catch logs, which occurs when the crash log will be recorded . Try to repeat the operation so that it reproduced bug

Also drove his logcat, save the log to the local computer, refer to this: https://www.cnblogs.com/yoyoketang/p/9101365.html

adb logcat | find "com.sankuai.meituan" >d:\hello.txt

Method three: third-party statistical tools sdk

General access third-party statistics sdk, such as Friends of the Union statistics, the League of Friends of the background will catch the error log

How 9.app log crawl?

Log app itself, you can use logcat crawl, refer to this: https://www.cnblogs.com/yoyoketang/p/9101365.html

adb logcat | find "com.sankuai.meituan" >d:\hello.txt

It can also be used ddms capture, cell phone connected to the computer, open ddms tool or Android Studio development tools, open DDMS

About ddms more features, refer to this: https://www.cnblogs.com/gaobig/p/5029381.html

10. You will usually see the log it, which is generally an exception (Exception) occur?

This is mainly interviewer visits you will not see the log, which is not able to understand java exceptions thrown, Exception

General interview java Exception (runtimeException) is a common cause will be asked questions app crash should also be these. Common exceptions listed forty-five kinds, is a basic requirement.

Common types are as follows:

NullPointerException - null pointer reference exception ClassCastException - casts exception. IllegalArgumentException - passing illegal argument exception. ArithmeticException - arithmetic abnormal ArrayStoreException - storage is not compatible with the declared type of object is an exception IndexOutOfBoundsException to the array - subscript bounds exception NegativeArraySizeException - Create an array of size erroneous negative abnormal NumberFormatException - digital format abnormal SecurityException - security exception UnsupportedOperationException - unsupported operating abnormal

Guess you like

Origin www.cnblogs.com/yuany66/p/11236551.html