CN107748718B - Application program testing method and device and server - Google Patents

Application program testing method and device and server Download PDF

Info

Publication number
CN107748718B
CN107748718B CN201710940367.5A CN201710940367A CN107748718B CN 107748718 B CN107748718 B CN 107748718B CN 201710940367 A CN201710940367 A CN 201710940367A CN 107748718 B CN107748718 B CN 107748718B
Authority
CN
China
Prior art keywords
pos terminal
application program
script file
server
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710940367.5A
Other languages
Chinese (zh)
Other versions
CN107748718A (en
Inventor
李坚强
邓富强
宋雄
周爱平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PAX Computer Technology Shenzhen Co Ltd
Original Assignee
PAX Computer Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PAX Computer Technology Shenzhen Co Ltd filed Critical PAX Computer Technology Shenzhen Co Ltd
Priority to CN201710940367.5A priority Critical patent/CN107748718B/en
Publication of CN107748718A publication Critical patent/CN107748718A/en
Application granted granted Critical
Publication of CN107748718B publication Critical patent/CN107748718B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention is suitable for the technical field of computers and discloses an application program testing method, an application program testing device and a server, wherein the application program testing method comprises the following steps: if a recording instruction is received, connection is established with a POS terminal, and operation data of the application program tested by the user are obtained from the POS terminal; generating a corresponding script file according to the operation data, and storing the script file; and if a playback instruction is received, establishing connection with the POS terminal, acquiring a script file corresponding to the information of the application program to be tested in the playback instruction from the server, and sending the script file corresponding to the information of the application program to be tested to the POS terminal. The invention improves the testing efficiency of the POS terminal application program and reduces the testing cost.

Description

Application program testing method and device and server
Technical Field
The invention belongs to the technical field of computers, and particularly relates to an application program testing method, an application program testing device and a server.
Background
In order to improve the quality Of use Of a Point Of Sale (POS) application, it is necessary to test the functions Of the POS application before the POS application is put on line formally.
However, when the functions of the POS application are changed more, such as changing the print font, the interval, and the display information, the repetitive tests need to be performed manually and repeatedly for many times, which is complicated to operate, low in test efficiency, and high in test cost.
Disclosure of Invention
In view of this, embodiments of the present invention provide an application program testing method, apparatus, and server, so as to improve testing efficiency and reduce testing cost.
A first aspect of an embodiment of the present invention provides an application program testing method, including:
if a recording instruction is received, connection is established with a POS terminal, and operation data of the application program tested by the user are obtained from the POS terminal;
generating a corresponding script file according to the operation data, and storing the script file;
and if a playback instruction is received, establishing connection with the POS terminal, acquiring a script file corresponding to the information of the application program to be tested in the playback instruction from the server, and sending the script file corresponding to the information of the application program to be tested to the POS terminal.
A second aspect of an embodiment of the present invention provides an application program testing apparatus, including:
an acquisition module: the POS terminal is used for establishing connection with the POS terminal if a recording instruction is received, and acquiring operation data of the application program tested by the user from the POS terminal;
a generation module: the script file is used for generating a corresponding script file according to the operation data and storing the script file;
a sending module: and the POS terminal is used for acquiring a script file corresponding to the information of the application program to be tested in the playback instruction from the server and sending the script file corresponding to the information of the application program to be tested to the POS terminal if the playback instruction is received.
A third aspect of embodiments of the present invention provides a server, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method provided in the first aspect when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method as provided in the first aspect above.
According to the embodiment of the invention, the operation data of the test application program of the POS terminal user is obtained, the corresponding script file is generated according to the operation data, and the script file is stored in the server. When the user needs to test again, only a playback instruction needs to be sent to the server, and after the server receives the playback instruction, the server can automatically send the script file corresponding to the information of the application program to be tested in the playback instruction to the POS terminal. By the embodiment of the invention, the script file is generated only by recording once when the POS terminal application program is tested, and the subsequent test is realized by automatically reading the script file, so that the test time of the POS terminal application program is greatly saved, the test efficiency is improved, the test cost is reduced, and the invention has stronger usability and practicability.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation of an application program testing method according to an embodiment of the present invention;
FIG. 2 is a block diagram of an application testing apparatus according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a server provided in an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example one
Fig. 1 shows an implementation flow of an application testing method provided in an embodiment of the present invention, where an execution subject of the method may be a server, which is described in detail as follows:
step S101, if a recording instruction is received, connection is established with a POS terminal, and operation data of the application program tested by a user are obtained from the POS terminal;
in the embodiment of the invention, the server establishes 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 predetermined communication protocol is mainly used for completing the read-write operation of the script file and the transmission of the script file operation data (such as called functions, parameters and the like).
For example, the format of the above communication protocol may be as shown in table 1:
STX LEN DATA_LEN COMM_SEQ CMD DATA ETX LRC
1byte 2bytes 2bytes 1byte 2bytes N bytes 1byte 1byte
TABLE 1
Wherein, STX: start identifier, fixed as 0x 02;
and (3) LEN: total length of communication data. The high byte is in the high order and the low byte is in the low order. E.g. 0x00,0x00,0x01,0x12 represents 274;
DATA _ LEN: the DATA segment length of the communication packet, i.e., the DATA portion length. The high byte is in the high order and the low byte is in the low order. When the length of the communication DATA is smaller than the maximum length of single-packet DATA, one packet can be sent, the length of LEN is equal to the length of DATA _ LEN, and the length of DATA _ LEN is smaller than the length of LEN when the communication DATA is sent in multiple packets;
COMM _ SEQ: the communication packet serial number starts from 0, 1 is required to be added during each communication, when the communication packet serial number is added to 0xFF, the communication packet serial number starts from 0 and is maintained by the POS terminal, and the serial number returned by the server side is consistent with the POS terminal;
CMD: fixing the command of the communication packet into 2 bytes;
DATA: a DATA segment of the communication packet, which is not fixed in length and is specified by DATA _ LEN;
EXT: end identifier, fixed as 0x 03;
LRC: and checking codes of the communication packets. The data participating in the verification is: starting from LEN DATA to DATA segment;
# define MAX _ REC _ SIZE (1024 × 20)// maximum length of single record;
# define MAX _ COMM _ PACK _ SIZE (1024 × 2)// maximum length of single packet communication data;
the maximum length of the single packet DATA (DATA) is 2048 bytes, and the communication timeout time of the single packet DATA is 3 seconds.
For example, the POS terminal communication module interface definition may be as shown in table 2:
Figure BDA0001430514840000041
Figure BDA0001430514840000051
TABLE 2
For example, the server-side communication module interface definition may be as shown in tables 3 and 4:
Figure BDA0001430514840000052
TABLE 3
Figure BDA0001430514840000053
TABLE 4
Specifically, if the server receives a recording instruction input by a user through an operation interface of the server, the server establishes connection with the POS terminal to detect whether the POS terminal is performing an application program test, and if so, obtains operation data of the user testing the application program from the POS terminal. The operation data includes, but is not limited to, an interactive interface function of the user and the POS terminal, a display function, a print function, and parameters of an application program.
In the embodiment of the invention, the server can be connected with the POS terminal through the Ethernet or the serial port, and the operation data of the application program tested by the user is obtained from the POS terminal.
In step S102, generating a corresponding script file according to the operation data, and saving the script file;
in the embodiment of the present invention, the script file includes data such as function call and parameters of the POS application, and each script file may be used as a test case. Generated at the time of the first manual test (recording mode) and used at the time of the subsequent automated test (playback mode).
The script file can adopt a standard XML format and comprises keywords and values, wherein the keywords are defined as follows:
function: a function scope;
function loop: scopes when multiple functions are called circularly;
name: a function name;
p1_ IN: the first parameter is entered, when a plurality of parameters are entered, the serial numbers are accumulated, and the others are not changed;
p1_ OUT: the first parameter is output, when a plurality of parameters are output, the serial numbers are accumulated, and the others are not changed;
return code: returning the code;
RunTimes: the number of calls;
the specific format of the XML file is as follows:
<Function>
<Name>MMM</Name>
<P1_IN>XXXYYYY</P1_IN>
<P2_IN>XXXYYYY</P2_IN>
<P1_OUT>XXXYYYY</P1_OUT>
<P2_OUT>XXXYYYY</P2_OUT>
<ReturnCode>XXXYYYY</ReturnCode>
</Function>
<Function>
</Function>
wherein, MMM and NNN are specific function names, such as getkey, kbhit, etc.; XXX is the type of parameter value, which is classified into Str, Hex, Dec, etc., YYYY represents the specific parameter value;
str: representing character strings such as: str00, signifying the string "00";
hex: representing 16-ary numbers, such as: hex00, indicating 1 byte "\ x 00";
and Dec: represents a 10-system number;
NULL: indicating a null pointer;
if there are one or more function repeat calls, it can be expressed in the following manner
<FunctionLoop>
<RunTimes>21</RunTimes>
<Function>
<Name>kbhit</Name>
<ReturnCode>255</ReturnCode>
</Function>
<Function>
<Name>MagSwiped</Name>
<ReturnCode>255</ReturnCode>
</Function>
<Function>
<Name>IccDetect</Name>
<P1_IN>0</P1_IN>
<ReturnCode>255</ReturnCode>
</Function>
<Function>
<Name>PiccDetect</Name>
<P1_IN>0</P1_IN>
<P1_OUT>NULL</P1_OUT>
<P2_OUT>NULL</P2_OUT>
<P3_OUT>NULL</P3_OUT>
<P4_OUT>NULL</P4_OUT>
<ReturnCode>3</ReturnCode>
</Function>
</FunctionLoop>
The name of the script file may be composed of an item name + a case name + a serial number.
In step S103, if a playback instruction is received, establishing a connection with a POS terminal, obtaining a script file corresponding to information of an application program to be tested in the playback instruction from the server, and sending the script file corresponding to the information of the application program to be tested to the POS terminal;
in the embodiment of the invention, after receiving a playback instruction sent by a POS terminal or a playback instruction input by a user through a server operation interface, a server analyzes the playback instruction to obtain requested data such as functions and/or parameters, and searches for a corresponding script file through the data such as the functions and/or parameters; or, the server may mark the script file, and after receiving the playback instruction, find the corresponding script file according to the mark information in the playback instruction.
It should be noted that the recorded script file is used in the automatic testing process (playback mode), but some data cannot be reused for the application program of the POS terminal, because different testing results may be generated for different data POS terminals, and the data includes, but is not limited to, the serial number input when the goods are returned and withdrawn, the authorization code input when the pre-authorization is completed, and the like. Therefore, for such data, in order to make the testing of the application program of the POS terminal more effective, before sending the script file corresponding to the information of the application program to be tested to the POS terminal, the method further includes:
calling a preset interface to update the script file corresponding to the information of the application program to be tested, and sending the updated script file to the POS terminal;
the interface for calling the reservation may be:
int paat_GetValue(enum PAAT_DATA nType,char*pData,int nLen);
int paat_SetValue(enum PAAT_DATA nType,char*pData,int nLen)。
in the embodiment of the invention, in a recording mode, the data such as functions, parameters and the like required by a user to test an application program are obtained from the POS terminal, and a script file is generated according to the obtained data; in the playback mode, the corresponding script file is sent to the POS terminal, so that automatic testing can be realized, the testing efficiency is effectively improved, and the testing cost is reduced.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Example two
Fig. 2 shows a block diagram of an application testing apparatus according to an embodiment of the present invention, and for convenience of description, only the relevant parts related to the embodiment of the present invention are shown. The application test device 2 includes: the device comprises an acquisition module 21, a generation module 22 and a sending module 23.
The obtaining module 21 is configured to establish connection with a POS terminal if a recording instruction is received, and obtain operation data of the application program tested by the user from the POS terminal;
a generating module 22, configured to generate a corresponding script file according to the operation data, and store the script file;
the sending module 23 is configured to establish a connection with the POS terminal if a playback instruction is received, obtain, from the server, a script file corresponding to information of an application program to be tested in the playback instruction, and send the script file corresponding to the information of the application program to be tested to the POS terminal.
Optionally, the obtaining module 31 is specifically configured to establish a connection between the server and the POS terminal according to a predetermined communication protocol.
Optionally, the application testing apparatus 3 further includes:
and the data updating module is used for calling a preset interface to update the script file corresponding to the information of the to-be-tested program before sending the script file corresponding to the information of the to-be-tested application program to the POS terminal, and sending the updated script file to the POS terminal.
Optionally, the obtaining module 31 is specifically configured to:
and if receiving a recording instruction input by a user through the operation interface of the server, establishing communication connection with the POS terminal, detecting whether the POS terminal is carrying out application program test, and if so, acquiring operation data of the user for testing the application program from the POS terminal.
Optionally, the operation data includes:
the function called and the parameters.
EXAMPLE III
Fig. 3 is a schematic diagram of a server according to an embodiment of the present invention. As shown in fig. 3, the server 3 of this embodiment includes: a processor 30, a memory 31 and a computer program 32, such as an application test program, stored in the memory 31 and executable on the processor 30. The processor 30 executes the computer program 32 to implement the steps in the embodiments of the application testing method, such as the steps S101 to S103 shown in fig. 1. Alternatively, the processor 30 implements the functions of the modules in the device embodiments, for example, the functions of the modules 21 to 23 shown in fig. 2, when executing the computer program 32.
Illustratively, the computer program 32 may be divided into one or more modules, which are stored in the memory 31 and executed by the processor 30 to implement the present invention. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 32 in the application test server 3. For example, the computer program 32 may be divided into an acquisition module, a generation module, a transmission module, and a return module (a module in a virtual device), and the specific functions of the modules are as follows:
the acquisition module is used for establishing connection with a POS terminal if a recording instruction is received, and acquiring operation data of the application program tested by the user from the POS terminal;
the generating module is used for generating a corresponding script file according to the operation data and storing the script file;
and the sending module is used for establishing connection with the POS terminal if a playback instruction is received, acquiring a script file corresponding to the information of the application program to be tested in the playback instruction from the server, and sending the script file corresponding to the information of the application program to be tested to the POS terminal.
The application test server 3 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The application test server may include, but is not limited to, a processor 30 and a memory 31. It will be appreciated by those skilled in the art that fig. 3 is merely an example of the application test server 3 and does not constitute a limitation of the application test server 3 and may comprise more or less components than those shown, or some components may be combined, or different components, for example the application test server may further comprise input output devices, network access devices, buses, etc.
The Processor 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 31 may be an internal storage unit of the application test server 3, such as a hard disk or a memory of the application test server 3. The memory 31 may be an external storage device of the application test server 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like provided in the application test server 3. Further, the memory 31 may include both an internal storage unit and an external storage device of the application test server 3. The memory 31 is used for storing the computer program and other programs and data required by the application test server. The above-mentioned memory 31 may also be used to temporarily store data that has been output or is to be output.
Therefore, the embodiment of the invention obtains the operation data of the test application program of the POS terminal user, generates the corresponding script file according to the operation data, and stores the script file in the server. When the user needs to test again, only a playback instruction needs to be sent to the server, and after the server receives the playback instruction, the server can automatically send the script file corresponding to the information of the application program to be tested in the playback instruction to the POS terminal script file. According to the embodiment of the invention, the script file is generated only by recording once when the POS terminal application program is tested, and the script file is realized by automatically reading the script file in the subsequent test, so that the test time of the POS terminal application program is greatly saved, the test efficiency is improved, the test cost is reduced, and the method has high usability and practicability.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the above modules or units is only one logical function division, and there may be other division manners in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units described above, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium and can implement the steps of the above embodiments when executed by a processor. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable medium described above may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media excludes electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (7)

1. An application program testing method is applied to a server and comprises the following steps:
if a recording instruction input by a user is received, establishing serial port connection with a POS terminal, and acquiring operation data of the user for testing the application program from the POS terminal;
generating a corresponding script file according to the operation data, and storing the script file;
if a playback instruction is received, connection is established with a POS terminal, a script file corresponding to the information of the application program to be tested in the playback instruction is obtained from the server, a preset interface is called to update the script file corresponding to the information of the application program to be tested, and the updated script file is sent to the POS terminal, wherein the preset interface is as follows:
int paat_GetValue(enum PAAT_DATA nType,char*pData,int nLen);
int paat_SetValue(enum PAAT_DATA nType,char*pData,int nLen);
if receiving a recording instruction input by a user, establishing serial connection with a POS terminal, and acquiring operation data of the user for testing the application program from the POS terminal comprises the following steps:
and if receiving a recording instruction input by a user through an operation interface of the server, establishing communication connection with the POS terminal, detecting whether the POS terminal carries out application program test, and if so, acquiring operation data of the user for testing the application program from the POS terminal.
2. The application testing method of claim 1, wherein said establishing a communication connection with a POS terminal comprises:
and establishing the connection between the server and the POS terminal according to a preset communication protocol.
3. The application testing method of any of claims 1 to 2, wherein the operational data comprises:
the function called and the parameters.
4. An application testing apparatus, comprising:
the acquisition module is used for establishing serial port connection with the POS terminal if receiving a recording instruction input by a user and acquiring operation data of the application program tested by the user from the POS terminal;
the generating module is used for generating a corresponding script file according to the operation data and storing the script file;
the data updating module is used for calling a preset interface to update the script file corresponding to the program information to be tested, and the preset interface is as follows:
int paat_GetValue(enum PAAT_DATA nType,char*pData,int nLen);
int paat_SetValue(enum PAAT_DATA nType,char*pData,int nLen);
the transmitting module is used for establishing connection with the POS terminal if a playback instruction is received, acquiring a script file corresponding to the information of the application program to be tested in the playback instruction from a server, and transmitting the updated script file to the POS terminal;
the acquisition module further comprises:
the method and the device are particularly used for establishing communication connection with the POS terminal if a recording instruction input by a user through an operation interface of the server is received, detecting whether the POS terminal carries out application program test, and acquiring operation data of the user for testing the application program from the POS terminal if the POS terminal carries out the application program test.
5. The application testing apparatus of claim 4, further comprising:
the obtaining module is specifically configured to establish a connection between the server and the POS terminal according to a predetermined communication protocol.
6. A server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 3 are implemented when the computer program is executed by the processor.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
CN201710940367.5A 2017-10-11 2017-10-11 Application program testing method and device and server Active CN107748718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710940367.5A CN107748718B (en) 2017-10-11 2017-10-11 Application program testing method and device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710940367.5A CN107748718B (en) 2017-10-11 2017-10-11 Application program testing method and device and server

Publications (2)

Publication Number Publication Date
CN107748718A CN107748718A (en) 2018-03-02
CN107748718B true CN107748718B (en) 2020-12-18

Family

ID=61255288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710940367.5A Active CN107748718B (en) 2017-10-11 2017-10-11 Application program testing method and device and server

Country Status (1)

Country Link
CN (1) CN107748718B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717393B (en) * 2018-05-16 2022-05-27 平安科技(深圳)有限公司 Application program testing method and mobile terminal
CN108763071A (en) * 2018-05-17 2018-11-06 平安科技(深圳)有限公司 A kind of webpage test method and terminal device
CN109550232A (en) * 2018-11-02 2019-04-02 北京硬壳科技有限公司 Touch control device and its response method, device
CN109815118A (en) * 2018-12-14 2019-05-28 深圳壹账通智能科技有限公司 Data base management method and device, electronic equipment and computer readable storage medium
CN111159019B (en) * 2019-12-18 2023-04-21 深圳赛安特技术服务有限公司 Application program testing method, testing control terminal and testing terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014169565A1 (en) * 2013-08-21 2014-10-23 中兴通讯股份有限公司 Terminal testing method and device
CN107102950A (en) * 2017-07-04 2017-08-29 天津云聚科技有限公司 A kind of applied program testing method and device
CN107145440A (en) * 2017-04-06 2017-09-08 百富计算机技术(深圳)有限公司 Applied program testing method, device and computer equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014169565A1 (en) * 2013-08-21 2014-10-23 中兴通讯股份有限公司 Terminal testing method and device
CN107145440A (en) * 2017-04-06 2017-09-08 百富计算机技术(深圳)有限公司 Applied program testing method, device and computer equipment
CN107102950A (en) * 2017-07-04 2017-08-29 天津云聚科技有限公司 A kind of applied program testing method and device

Also Published As

Publication number Publication date
CN107748718A (en) 2018-03-02

Similar Documents

Publication Publication Date Title
CN107748718B (en) Application program testing method and device and server
CN111428462B (en) Communication protocol template construction method and terminal equipment
CN109582655B (en) Method and device for positioning system log and computer readable storage medium
CN110688828A (en) File processing method and device, file processing system and computer equipment
CN108197002B (en) Mobile device non-buried point data statistical method, system, terminal and medium
CN110875850A (en) Firmware upgrading method and system, readable storage medium and terminal equipment
CN112948224A (en) Data processing method, device, terminal and storage medium
CN110445977B (en) Parameter setting method of image signal processor and terminal equipment
CN111460232A (en) Functional module searching method, device, terminal and computer readable storage medium
CN112948233A (en) Interface testing method, device, terminal equipment and medium
CN109862083B (en) Method, device and equipment for activating Internet of things equipment
CN111693294A (en) Vehicle detection method and device, terminal equipment and storage medium
CN113033373A (en) Method and related device for training face recognition model and recognizing face
CN110347683B (en) Data table merging processing method and device
WO2014166255A1 (en) Method, device, and terminal for determining user interface language display of sim card
CN114418142A (en) Equipment inspection method and device
CN114416597A (en) Test case record generation method and device
CN114764713A (en) Method and device for generating merchant patrol task, electronic equipment and storage medium
CN110532186B (en) Method, device, electronic equipment and storage medium for testing by using verification code
CN110119337B (en) Data analysis method and device and server
CN114968696A (en) Index monitoring method, electronic equipment and chip system
CN112214486B (en) Data storage method, system and device
CN110769248A (en) Set top box testing method and device and electronic equipment
CN111414566A (en) Method and device for pushing information
CN111488171B (en) Data generation and analysis method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant