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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


