Huawei Cloud Testing Service

Serkan Mutlu
Huawei Developers
Published in
4 min readNov 10, 2020

Hi everyone ,in this article I will explain Cloud Testing service and Which tests methods we can find under this service.

Cloud Testing provides a complete set of automatic test processes based on real mobile phone.

Cloud testing supports automatic testing of native apps, hybrid apps, and game apps, covering compatibility, stability, performance, and power consumption. Huawei Cloud testing provides many Huawei test devices for Developers.

Stability Test

Stability testing, a software testing technique adopted to verify if application can continuously perform well within or just above the acceptable period.

It has higher significance in error handling, software reliability, robustness and scalability of a product under heavy load rather than checking the system behavior under normal circumstances

Huawei Stability test provides :

  • Number of Crashes
  • Number of ANR Errors
  • Number of Native Crashes
  • Number of Memory and resource leaks

Performance Test

Performance Testing is a type of software testing that ensures software applications to perform properly under their expected workload. It is a testing technique carried out to determine system performance in terms of sensitivity, reactivity and stability under a particular workload.

Huawei Performance test provides :

  • Response time of startup duration (Cold & Warm starts) (ms)
  • UI display (Frame rate) (fps)
  • Memory usage of these : Memory Leaks, Foreground memory, Background screen on ,Background screen off memory
  • CPU usage (background screen on CPU, background screen off CPU)

Compatibility Test

Compatibility Testing is a type of Software testing to check whether your software is capable of running on different hardware, operating systems, applications, network environments or Mobile devices.

Once the application is stable, developers moved it to the production, it may be used or accessed by multiple users on the different platforms, and they may face some compatibility issues, to avoid these issues, we do one round of compatibility testing.

Huawei Compatibility test provides :

  • App installation and uninstallation
  • Startup
  • Crash
  • Application not responding (ANR)
  • Unexpected exit
  • Running error
  • UI error
  • Black/white screen
  • Exit failure
  • Account exception

Power consumption Test

Power consumption test is used to determine how your app affects the power consumption of devices. Also developers can check all test result one by one.

Huawei Power consumption test provides related information:

  • Wake lock duration(min)
  • Screen usage(ms)
  • WLAN usage(min/h)
  • WLAN scan(min/h)
  • Audio usage(ms)
  • Camera(ms)
  • location sensor usage(min)
  • Wake up alarms(per hour)

How to test an App with Huawei Cloud Testing

Before use this feature of Huawei , Developers need to register Web site. Cloud testing service can be used with Enterprise and Individual account.

If don’t have any information about registration ,please visit : Link

Example shows us How to set a test and check test result.

  • First of all we need to login and then select cloud debugging button from App services.
  • Then, Cloud Page will open. Developers can create new test or examine test history that was tested before.
  • After click New test button, Developers can see related page . They just need to upload APK file and select test type to start test.
  • After uploaded an APK , developers need to select an test type. When Both of them determined, Developers can continue to choose Huawei phone model with next button.
  • Finally developers select and phone model and click ok button to start test.

I said before , Developers can examine test result as you see. If they want to check all test steps , details page is used.

Details Page includes many information for tests like Logcat log, resource trace, test screenshots ,error codes, error information, etc.

Reference

Main Page : Link

Power consumption test example : Link

Performance test example: Link

Stability test example: Link

Compatibility test example : Link

--

--