Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method and device used for testing stability of Android application

A stable and Android technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as increased code maintenance costs, high test case maintenance costs, and low test script reuse

Pending Publication Date: 2018-05-01
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are still two defects in the click test for determining the position: first, when the user interface (UI, User Interface) is modified, the original coordinate data in the test case needs to be modified, resulting in a decrease in the reusability of the test case. The maintenance cost of the use case increases; secondly, the different resolutions of different mobile phones lead to the change of the coordinates of the same control after the installation of the same Android application, so that the test script cannot be used universally on models with different resolutions, and the duplication of the test script Low usage, increasing the cost of code maintenance
[0005] Therefore, the stability test of the existing Android application has the problem of low test efficiency or high maintenance cost of test scripts and test cases

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device used for testing stability of Android application
  • Method and device used for testing stability of Android application
  • Method and device used for testing stability of Android application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0017] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0018] figure 1 A flow 100 of an embodiment of a method for testing Android application stability according to the present application is shown. The described method for testing Android application stability comprises the following steps:

[0019] Step 101, acquiring appli...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and device used for testing the stability of an Android application. One concrete embodiment of the method comprises the following steps: obtaining application information of a to-be-tested application, test result record position information and test type information, wherein test types comprise a first test type and a second test type; testing the to-be-tested application indicated by the application information and generating test result information on the basis of the test type information and storing the test result information into a storage region indicated by the test result record position information. The first test type is used for hit testing at a confirmed position following hit testing at a random position. The second test type is used for hittesting at a confirmed position on the basis of a test case following hit testing at a random position. With the embodiment, test efficiency of a stability test of the Android application is improvedwhile reuse degrees of the test case and a test script are enhanced.

Description

technical field [0001] The present application relates to the technical field of application testing, in particular to the technical field of terminal application testing, and in particular to a method and device for testing the stability of Android applications. Background technique [0002] The stability test of the Android application is a test that operates the Android application for a long time (continuous work) many times (thousands of times) to detect whether the Android application can still run normally after multiple long-term operations . At present, two methods are basically used to realize the stability test of Android applications: [0003] (1) Random location click test: Randomly enumerate the coordinates on the Android application interface, trigger click or input operations, and repeat in turn to test the stability of the Android application. Existing conventional testing tools realize random location click testing of Android applications by sending pseud...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 张立保李彦成彭云鹏
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More