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

Script recording, software testing method and device

A script recording and script file technology, applied in the field of software automation testing, can solve the problems of increased script recording workload, extremely complex software testing work, and surge in software testing workload, etc., to achieve the effect of improving efficiency

Inactive Publication Date: 2019-02-01
CHINA MOBILE COMM GRP CO LTD +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the development of mobile Internet, terminal software (such as mobile phone software) has rich and colorful functions and more and more functions, which makes the corresponding software testing work extremely complicated. If traditional black-box testing is used, it will make the software testing The workload has increased sharply; in the existing technology, the software automation test solution is based on the idea of ​​recording and playback, which converts a large amount of manual testing work into automated testing, which greatly improves the efficiency of software testing; but as the company's requirements for software quality increase, The acceleration of software iteration speed and the increase in the complexity of software function integration make the automation test script recording work of terminal software urgent, a large number of script function points of automated test cannot be reused, and multiple script recording files cannot be combined to form a new script recording files, leading to a gradual increase in the workload of script recording, which has gradually become one of the important factors affecting the efficiency of automated testing of mobile phone software

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
  • Script recording, software testing method and device
  • Script recording, software testing method and device
  • Script recording, software testing method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0062] A software testing method is proposed in the first embodiment of the present invention, figure 1 It is a flow chart of the software testing method of the embodiment of the present invention, such as figure 1 As shown, the method may include:

[0063] Step 101: Obtain N recording function points, each recording function point is used to represent at least one pre-captured operation event for the terminal, and N is a positive integer greater than 1.

[0064] Here, for the implementation of obtaining N recording function points, in an example, the receiving terminal regularly sends screenshots, captures mouse clicks, double-clicks, dragging, keyboard string input and other operations on the screenshots, and then obtains N recording function points. Record function points.

[0065] Optionally, this step can be realized by using the server or another terminal; that is, the server or another terminal can be used to receive the screenshot from the terminal, and then N record...

no. 2 example

[0099] In order to better reflect the purpose of the present invention, further illustrations are made on the basis of the first embodiment of the present invention.

[0100] In the second embodiment of the present invention, script recording and software automation testing can be performed on the mobile app, figure 2 It is a schematic diagram of a hardware structure for realizing the software testing method in the embodiment of the present invention; as figure 2 As shown, the mobile phone terminal 201 can be used to regularly push mobile phone screenshots and recording function points to the server, and process the corresponding instructions and script recording files forwarded by the server; the server 202 can be used to forward the screenshots sent by the mobile phone to the personal computer (Personal Computer, PC) end, and the recording function point can be forwarded to the PC end, and can also be used to generate script recording files and store script recording files...

no. 3 example

[0125] In order to better reflect the object of the present invention, further illustrations are made on the basis of the first embodiment and the second embodiment of the present invention.

[0126] The third embodiment of the present invention proposes a server for implementing a script recording function.

[0127] Figure 8 It is a schematic diagram of the hardware structure of the server of the embodiment of the present invention, such as Figure 8 As shown, the server includes a first processor 801 and a first data transceiving device 802, wherein,

[0128] The first data transceiving means 802 is configured to obtain N recording function points and send the N recording function points to the processor, each recording function point is used to represent at least one operation event for the terminal captured in advance, and N is greater than positive integer of 1;

[0129] The first processor 801 is configured to combine at least two recording function points among 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 discloses a script recording method. The method comprises the following steps: N recording function points are obtained, each recording function point is used for representing at least one operation event captured in advance for a terminal, and N is a positive integer greater than 1; combining at least two recording function points of the N recording function pointsto generate a script recording file; or splitting one of the N recording function points to generate a script recording file; as such, when that record function points are combine, the scripts can befreely combined according to the preset requirement; in addition, the recording function point can be split to obtain the script recording file, so as to improve the efficiency of the script recording. The embodiment of the invention also discloses a script recording device, a server, a terminal, a software testing method and a device.

Description

technical field [0001] The invention relates to the field of software automation testing, in particular to a script recording, software testing method and equipment. Background technique [0002] With the development of mobile Internet, terminal software (such as mobile phone software) has rich and colorful functions and more and more functions, which makes the corresponding software testing work extremely complicated. If traditional black-box testing is used, it will make the software testing The workload has increased sharply; in the existing technology, the software automation test solution is based on the idea of ​​recording and playback, which converts a large amount of manual testing work into automated testing, which greatly improves the efficiency of software testing; but as the company's requirements for software quality increase, The acceleration of software iteration speed and the increase in the complexity of software function integration make the automation test...

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/3684G06F11/3688
Inventor 程文强吴华挚范敏袁晨光
Owner CHINA MOBILE COMM GRP CO LTD