Application program testing method, device and server
A technology of application programs and testing methods, which is applied in the computer field, can solve the problems of low testing efficiency, cumbersome operation, and high testing costs, and achieve the effects of strong usability and practicability, reducing testing costs, and saving testing time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 It shows the implementation flow of the application program testing method provided by Embodiment 1 of the present invention. The execution subject of the method may be a server, and the details are as follows:
[0024] Step S101, if a recording instruction is received, establish a connection with the POS terminal, and acquire the operation data for the user to test the application program from the POS terminal;
[0025] In the embodiment of the present invention, the server establishes a communication connection with the POS terminal. Specifically, the connection between the server and the POS terminal may be established based on a predetermined communication protocol. The aforementioned predetermined communication protocol is mainly used to complete the read and write operations on the script file and send the script file operation data (such as called functions, parameters, etc.).
[0026] For example, the format of the above communication protocol may be ...
Embodiment 2
[0116] figure 2 A structural block diagram of the application program testing device provided by the embodiment of the present invention is shown, and for convenience of description, only parts related to the embodiment of the present invention are shown. The application testing device 2 includes: an acquiring module 21 , a generating module 22 and a sending module 23 .
[0117] Wherein, the obtaining module 21 is used to establish a connection with the POS terminal if the recording instruction is received, and obtain the operation data for the user to test the application program from the POS terminal;
[0118] Generating module 22, is used for generating corresponding script file according to above-mentioned operation data, and saves above-mentioned script file;
[0119] Sending module 23, for if receiving playback instruction, then establish connection with POS terminal, obtain the script file corresponding to the information of application program to be tested in describ...
Embodiment 3
[0128] image 3 It is a schematic diagram of a server provided by an embodiment of the present invention. Such as image 3 As shown, the server 3 of this embodiment includes: a processor 30, a memory 31, and a computer program 32 stored in the memory 31 and operable on the processor 30, such as an application program testing program. When the above-mentioned processor 30 executes the above-mentioned computer program 32, the steps in the above-mentioned embodiments of the various application program testing methods are realized, for example figure 1 Steps S101 to S103 are shown. Alternatively, when the above-mentioned processor 30 executes the above-mentioned computer program 32, the functions of each module in the above-mentioned device embodiments are realized, for example figure 2 Functions of modules 21 to 23 shown.
[0129] Exemplarily, the above-mentioned computer program 32 can be divided into one or more modules, and the above-mentioned one or more modules are stor...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


