Method and device for testing application program, computer equipment and storage medium

An application and computer program technology, applied in the computer field, can solve problems such as no solution found, cumbersome process, increase developer testing time, etc., and achieve the effect of solving inefficiency and improving testing efficiency.

Pending Publication Date: 2019-05-21
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When testing the UI test page, if the login state of the app is required, the test method is: after the test code generates the test page, the user enters the account password to log in to the test app to view the code function, and every time the code is modified to regenerate the test environment, The user needs to enter the account password to log in to the test app to view the results of the front-end code. The process is cumbersome and greatly increases the testing time of developers.
[0004] For the above-mentioned problems existing in related technologies, no effective solution has been found yet

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 for testing application program, computer equipment and storage medium
  • Method and device for testing application program, computer equipment and storage medium
  • Method and device for testing application program, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking running on a mobile terminal as an example, figure 1 It is a block diagram of the hardware structure of a mobile terminal for testing application programs in the embodiment of the present invention. Such as figure 1 As shown, the mobile terminal 10 may include one or more ( figure 1Only one is shown in the figure) a processor 102 (the processor 102 may include but not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the above-mentioned mobile terminal also A transmission device 106 for communication functions as well as input and output devices 108 may be included. Those of ordinary skill in the art can understand that, figure 1 The shown structure is only for illustration, and does not limit the structur...

Embodiment 2

[0085] In this embodiment, a device for debugging a bridge interface is also provided. The device is used to implement the above embodiments and preferred implementation modes, and what has already been described will not be repeated. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

[0086] Figure 4 is a structural block diagram of a device for testing an application program according to an embodiment of the present invention, such as Figure 4 As shown, the device includes:

[0087] The obtaining module 40 is used to obtain the login account information by calling the test interface when the test page of the application is detected to be changed;

[0088] A login module 42, configured to use the ...

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 embodiment of the invention provides a method and device for testing an application program, computer equipment and a storage medium. On one hand, the method comprises the steps: when it is detected that a test page of an application program is changed, obtaining login account information by calling a test interface; Logging in the test page on a local browser of the application program by using the login account information, and creating a login state of the test page; And under the login state of the test page, testing the function of the test page. Through the method and the device, thetechnical problem of low efficiency when the application program is tested in the prior art is solved.

Description

【Technical field】 [0001] The invention relates to the field of computers, in particular to a method and device for testing application programs, computer equipment, and storage media. 【Background technique】 [0002] During the testing process of the application program app, the function of the application program can be known by testing the performance of the test page of the app. [0003] In the prior art, the application program generally includes two parts: the front-end UI part (forming the user interface), the background function part (such as algorithm processing, etc.), the function part is displayed to the user through the UI part, and the function of the UI part can be learned by testing the function of the UI part. Application performance. When testing the UI test page, if the login state of the app is required, the test method is: after the test code generates the test page, the user enters the account password to log in to the test app to view the code function,...

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
Inventor 苏陆和
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products