Unlock instant, AI-driven research and patent intelligence for your innovation.

Test method, device, electronic device and storage medium for application program

A technology of application programs and testing methods, applied in the computer field, can solve problems such as inability to test mobile phone software, and achieve the effects of reducing learning costs, ensuring quality of use, and reducing workload

Active Publication Date: 2018-12-21
BEIJING CHENGSHI WANGLIN INFORMATION TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to propose a testing method, device, electronic equipment and storage medium of an application program, which overcomes the problem in the prior art that the mobile phone software compiled from a non-native language cannot be tested

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
  • Test method, device, electronic device and storage medium for application program
  • Test method, device, electronic device and storage medium for application program
  • Test method, device, electronic device and storage medium for application program

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0039] figure 1 It is a flowchart of an application program testing method according to the first embodiment of the present invention. according to figure 1 As shown, the first embodiment of the present invention provides a method for testing an application program, the method comprising:

[0040] S11: Load the test page hookstore of the target application;

[0041] The preset test script can automatically load the hookstore of the target application. Of course, the number of the hookstore can be multiple or only one.

[0042] In this embodiment, the target application can be mobile phone software based on the React Native framework and developed using JavaScript codes, that is, the target application can be compiled from a non-native language. Of course, the target application can also be mobile phone software developed based on native codes.

[0043] Among them, the React Native is a development framework open sourced by FaceBook. Based on the React Native, JavaScript co...

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 test method, a device, an electronic device and a storage medium of an application program. The method comprises the following steps: loading a test page hookstore of a target application; testing page elements on the hookstore by a preset tester which is compiled from a non-native language. According to the method of the invention, DEVICE, ELECTRONIC APPARATUS AND STORAGE MEDIUM, Because the default tester is compiled from a non-native language, if the target application is compiled from a non-native language, the preset test script can automatically load the hookstore of the target application and automatically test the page elements on the hookstore of the target application by the preset tester to complete the automated test of the target application.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to an application program testing method, device, electronic equipment and storage medium. Background technique [0002] Traditional automated testing of mobile phone software deploys an automated testing environment server to execute a third-party automated testing framework, loads a single mobile platform program, and then parses the page tags of the software to call event methods on the page to perform simulation. manual operation. [0003] However, the traditional automated testing solutions for mobile phone software are all based on native code writing project solutions. For example, if the mobile phone software is developed through the React Native framework and JavaScript code, the traditional automated testing solution cannot test the mobile phone software. Contents of the invention [0004] The main purpose of the present invention is to propose a testing meth...

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
IPC IPC(8): G06F11/36
CPCG06F11/3688
Inventor 田坤蒋宏伟
Owner BEIJING CHENGSHI WANGLIN INFORMATION TECH CO LTD