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

Application testing method, 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
script file
application
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/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • 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

本发明适用于计算机技术领域,公开了一种应用程序测试方法、装置及服务器,其中,所述应用程序测试方法包括:若接收到录制指令,则与POS终端建立连接,从所述POS终端获取用户测试所述应用程序的操作数据;根据所述操作数据生成相应的脚本文件,并保存所述脚本文件;若接收到回放指令,则与POS终端建立连接,从所述服务器获取与所述回放指令中待测试应用程序的信息相对应的脚本文件,并将所述待测试应用程序的信息相对应的脚本文件发送给所述POS终端。本发明提高了POS终端应用程序的测试效率,并降低了测试成本。

Figure 201710940367

The invention is applicable to the field of computer technology, and discloses an application program testing method, device and server, wherein the application program testing method includes: if a recording instruction is received, establishing a connection with a POS terminal, and obtaining data from the POS terminal The user tests the operation data of the application program; generates a corresponding script file according to the operation data, and saves the script file; if a playback instruction is received, establishes a connection with the POS terminal, obtains from the server and the playback The script file corresponding to the information of the application to be tested in the instruction, and the script file corresponding to the information of the application to be tested is sent to the POS terminal. The invention improves the test efficiency of the POS terminal application program and reduces the test cost.

Figure 201710940367

Description

应用程序测试方法、装置及服务器Application testing method, device and server

技术领域technical field

本发明属于计算机技术领域,尤其涉及一种应用程序测试方法、装置及服务器。The invention belongs to the field of computer technology, and in particular relates to an application program testing method, device and server.

背景技术Background technique

为了提高销售终端(Point Of Sale,POS)应用程序的使用质量,在POS应用程序正式上线前,需要对POS应用程序的功能进行测试。In order to improve the use quality of the point of sale (Point Of Sale, POS) application, the functions of the POS application need to be tested before the POS application is officially launched.

然而,当POS应用程序的功能改动较多,如打印字体、间隔、显示信息等都进行了改动,则需要人工反复、多次的进行重复测试,操作繁琐,测试效率低,而且测试成本较高。However, when there are many changes in the functions of the POS application, such as the printing font, interval, and display information, etc., it needs to be repeated manually and repeatedly for repeated testing, which is cumbersome to operate, has low testing efficiency, and has high testing costs. .

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明实施例提供了一种应用程序测试方法、装置及服务器,以提高测试效率,降低测试成本。In view of this, embodiments of the present invention provide an application testing method, device, and server, so as to improve testing efficiency and reduce testing costs.

本发明实施例的第一方面提供了一种应用程序测试方法,包括:A first aspect of the embodiments of the present invention provides an application testing method, including:

若接收到录制指令,则与POS终端建立连接,从所述POS终端获取用户测试所述应用程序的操作数据;If a recording instruction is received, a connection is established with the POS terminal, and the operation data of the user testing the application program is obtained from the POS terminal;

根据所述操作数据生成相应的脚本文件,并保存所述脚本文件;Generate a corresponding script file according to the operation data, and save the script file;

若接收到回放指令,则与POS终端建立连接,从所述服务器获取与所述回放指令中待测试应用程序的信息相对应的脚本文件,并将所述待测试应用程序的信息相对应的脚本文件发送给所述POS终端。If a playback instruction is received, a connection is established with the POS terminal, a script file corresponding to the information of the application to be tested in the playback instruction is obtained from the server, and the script corresponding to the information of the application to be tested is The file is sent to the POS terminal.

本发明实施例的第二方面提供了一种应用程序测试装置,包括:A second aspect of the embodiments of the present invention provides an apparatus for testing an application program, including:

获取模块:用于若接收到录制指令,则与POS终端建立连接,从所述POS终端获取用户测试所述应用程序的操作数据;Acquisition module: used to establish a connection with the POS terminal if the recording instruction is received, and obtain the operation data of the user testing the application program from the POS terminal;

生成模块:用于根据上述操作数据生成相应的脚本文件,并保存上述脚本文件;Generation module: used to generate the corresponding script file according to the above operation data, and save the above script file;

发送模块:用于若接收到回放指令,则从所述服务器获取与所述回放指令中待测试应用程序的信息相对应的脚本文件,并将所述待测试应用程序的信息相对应的脚本文件发送给所述POS终端。Sending module: used to obtain a script file corresponding to the information of the application to be tested in the playback instruction from the server if a playback instruction is received, and send the script file corresponding to the information of the application to be tested sent to the POS terminal.

本发明实施例的第三方面提供了一种服务器,包括存储器、处理器以及存储在上述存储器中并可在上述处理器上运行的计算机程序,上述处理器执行上述计算机程序时实现如上第一方面所提供的方法的步骤。A third aspect of the embodiments of the present invention provides a server, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements the first aspect when executing the computer program The steps of the provided method.

本发明实施例的第四方面提供了一种计算机可读存储介质,上述计算机可读存储介质存储有计算机程序,上述计算机程序被处理器执行时实现如上第一方面所提供的方法的步骤。A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the steps of the method provided in the first aspect.

本发明实施例通过获取POS终端用户测试应用程序的操作数据,根据所述操作数据生成对应的脚本文件,并将所述脚本文件保存在服务器。当用户需要再次进行测试时,只需要向服务器发送回放指令,服务器在接收到回放指令后,服务器会自动将所述回放指令中待测试应用程序的信息相对应的脚本文件发送给POS终端。通过本发明实施例,使得POS终端应用程序测试时只需要录制一次生成脚本文件,后续测试通过自动读取所述脚本文件的方式来实现,极大的节省了POS终端应用程序的测试时间,提高了测试效率且降低了测试成本,具有较强的易用性和实用性。The embodiment of the present invention obtains the operation data of the POS terminal user test application, generates a corresponding script file according to the operation data, and saves the script file in the server. When the user needs to test again, he only needs to send a playback instruction to the server. After the server receives the playback instruction, the server will automatically send the script file corresponding to the information of the application to be tested in the playback instruction to the POS terminal. Through the embodiment of the present invention, the script file only needs to be recorded once to generate the script file during the test of the POS terminal application, and the subsequent test is realized by automatically reading the script file, which greatly saves the test time of the POS terminal application and improves the It improves the test efficiency and reduces the test cost, and has strong ease of use and practicability.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present invention. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1是本发明实施例提供的应用程序测试方法的实现流程示意图;Fig. 1 is the implementation flow schematic diagram of the application program testing method provided by the embodiment of the present invention;

图2是本发明实施例提供的应用程序测试装置的结构框图;2 is a structural block diagram of an application testing device provided by an embodiment of the present invention;

图3是本发明实施例提供的服务器的示意图。FIG. 3 is a schematic diagram of a server provided by an embodiment of the present invention.

具体实施方式Detailed ways

以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本发明实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as specific system structures and technologies are set forth in order to provide a thorough understanding of the embodiments of the present invention. However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments without 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 illustrate the technical solutions of the present invention, the following specific embodiments are used for description.

实施例一Example 1

图1示出了本发明实施例一提供的应用程序测试方法的实现流程,该方法的执行主体可以是服务器,详述如下:FIG. 1 shows the implementation process of the application program testing method provided by the first embodiment of the present invention. The execution body of the method may be a server, and the details are as follows:

步骤S101,若接收到录制指令,则与POS终端建立连接,从所述POS终端获取用户测试所述应用程序的操作数据;Step S101, if a recording instruction is received, then establish a connection with the POS terminal, and obtain the operation data of the user testing the application program from the POS terminal;

在本发明实施例中,服务器与POS终端建立通信连接。具体可以是,基于预定的通信协议建立服务器与POS终端的连接。上述预定的通信协议主要用于完成对脚本文件的读写操作以及脚本文件操作数据(例如调用的函数、参数等)的发送。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 above-mentioned predetermined communication protocol is mainly used to complete the read and write operations on the script file and the transmission of script file operation data (for example, functions to be called, parameters, etc.).

示例的,上述通信协议的格式可以如表1所示:Illustratively, the format of the above communication protocol may be as shown in Table 1:

STXSTX LENLEN DATA_LENDATA_LEN COMM_SEQCOMM_SEQ CMDCMD DATADATA ETXETX LRCLRC 1byte1byte 2bytes2bytes 2bytes2bytes 1byte1byte 2bytes2bytes N bytesN bytes 1byte1byte 1byte1byte

表1Table 1

其中,STX:起始标示符,固定为0x02;Among them, STX: start identifier, fixed at 0x02;

LEN:通信数据的总长度。高字节在高位,低字节在低位。如0x00,0x00,0x01,0x12表示274;LEN: The total length of the communication data. High byte is high, low byte is low. For example, 0x00, 0x00, 0x01, 0x12 means 274;

DATA_LEN:通信包的数据段长度,即DATA部分长度。高字节在高位,低字节在低位。当通信数据长度小于单包数据最大长度时,可以一包发送完毕,LEN的长度与DATA_LEN长度相等,分多包发送时DATA_LEN长度小于LEN的长度;DATA_LEN: The length of the data segment of the communication packet, that is, the length of the DATA part. High byte is high, low byte is low. When the length of the communication data is less than the maximum length of the data in a single packet, it can be sent in one packet, and the length of LEN is equal to the length of DATA_LEN, and the length of DATA_LEN is less than the length of LEN when it is sent in multiple packets;

COMM_SEQ:通信包序列号,从0开始,每次通信时需自加1,当加到0xFF时再从0开始,由POS终端维护,服务端返回的序列号与POS终端一致;COMM_SEQ: The serial number of the communication packet, which starts from 0, and needs to be incremented by 1 for each communication. When it is added to 0xFF, it starts from 0 and is maintained by the POS terminal. The serial number returned by the server is consistent with the POS terminal;

CMD:通信包的命令,固定为2个字节;CMD: command of the communication packet, fixed to 2 bytes;

DATA:通信包的数据段,长度不固定,由DATA_LEN指定;DATA: The data segment of the communication packet, the length is not fixed, specified by DATA_LEN;

EXT:结束标示符,固定为0x03;EXT: end identifier, fixed at 0x03;

LRC:通信包的校验码。参与校验数据为:从LEN数据开始到DATA数据段;LRC: Check code of the communication packet. Participate in the verification data: from the LEN data to the DATA data segment;

#define MAX_REC_SIZE(1024*20)//单条记录最大长度;#define MAX_REC_SIZE(1024*20)//The maximum length of a single record;

#define MAX_COMM_PACK_SIZE(1024*2)//单包通信数据最大长度;#define MAX_COMM_PACK_SIZE(1024*2)//Maximum length of single packet communication data;

需要说明的是,单包数据(DATA)最大长度为2048字节,单包数据的通信超时时间为3秒。It should be noted that the maximum length of a single packet of data (DATA) is 2048 bytes, and the communication timeout time of a single packet of data is 3 seconds.

示例的,POS终端通信模块接口定义可以如表2所示:As an example, the interface definition of the POS terminal communication module can be shown in Table 2:

Figure BDA0001430514840000041
Figure BDA0001430514840000041

Figure BDA0001430514840000051
Figure BDA0001430514840000051

表2Table 2

示例的,服务器端通信模块接口定义可以如表3和表4所示:For example, the interface definition of the server-side communication module can be shown in Table 3 and Table 4:

Figure BDA0001430514840000052
Figure BDA0001430514840000052

表3table 3

Figure BDA0001430514840000053
Figure BDA0001430514840000053

表4Table 4

具体的,若服务器接收到用户通过上述服务器的操作界面输入的录制指令,则与POS终端建立连接,检测上述POS终端是否在进行应用程序测试,若是,则从上述POS终端获取用户测试上述应用程序的操作数据。其中,上述操作数据包括但不限于用户与POS终端的交互接口函数、显示函数、打印函数和应用程序的参数等。Specifically, if the server receives the recording instruction input by the user through the operation interface of the server, it establishes a connection with the POS terminal to detect whether the POS terminal is performing an application program test, and if so, obtains the user test program from the POS terminal. operational data. Wherein, the above-mentioned operation data includes, but is not limited to, the interaction interface function between the user and the POS terminal, the display function, the printing function, the parameters of the application program, and the like.

在本发明实施例中,服务器可以通过以太网或串口与POS终端建立连接,从上述POS终端获取用户测试上述应用程序的操作数据。In the embodiment of the present invention, the server may establish a connection with the POS terminal through an Ethernet or a serial port, and obtain the operation data of the user testing the above-mentioned application program from the above-mentioned POS terminal.

在步骤S102中,根据上述操作数据生成相应的脚本文件,并保存上述脚本文件;In step S102, a corresponding script file is generated according to the above-mentioned operation data, and the above-mentioned script file is saved;

在本发明实施例中,上述脚本文件包括POS应用程序运行的函数调用、参数等数据,每一个脚本文件可作为一个测试用例。在第一次手动测试(录制模式)的时候生成,后续自动化测试(回放模式)的时候使用。In the embodiment of the present invention, the above-mentioned script file includes data such as function calls and parameters of the running of the POS application, and each script file can be used as a test case. Generated during the first manual test (record mode) and used during subsequent automated tests (playback mode).

其中,上述脚本文件可以采用标准XML格式,包括关键字和值,关键字定义如下:The above script file can be in standard XML format, including keywords and values, and the keywords are defined as follows:

Function:函数作用域;Function: function scope;

FunctionLoop:多个函数循环调用时的作用域;FunctionLoop: The scope of multiple function loop calls;

Name:函数名;Name: function name;

P1_IN:第一个入参,多个入参时,序号累加,其它不变;P1_IN: The first input parameter, when there are multiple input parameters, the serial numbers are accumulated, and the others remain unchanged;

P1_OUT:第一个出参,多个出参时,序号累加,其它不变;P1_OUT: The first output parameter, when there are multiple output parameters, the serial number is accumulated, and the others remain unchanged;

ReturnCode:返回码;ReturnCode: return code;

RunTimes:调用次数;RunTimes: the number of calls;

XML文件具体格式如下:The specific format of the XML file is as follows:

<Function><Function>

<Name>MMM</Name><Name>MMM</Name>

<P1_IN>XXXYYYY</P1_IN><P1_IN>XXXYYYY</P1_IN>

<P2_IN>XXXYYYY</P2_IN><P2_IN>XXXYYYY</P2_IN>

<P1_OUT>XXXYYYY</P1_OUT><P1_OUT>XXXYYYY</P1_OUT>

<P2_OUT>XXXYYYY</P2_OUT><P2_OUT>XXXYYYY</P2_OUT>

<ReturnCode>XXXYYYY</ReturnCode><ReturnCode>XXXYYYY</ReturnCode>

</Function></Function>

<Function><Function>

</Function></Function>

其中,MMM、NNN为具体的函数名,如getkey,kbhit等;XXX为参数值的类型,分为Str、Hex和Dec等,YYYY表示具体的参数值;Among them, MMM and NNN are specific function names, such as getkey, kbhit, etc.; XXX is the type of parameter value, which is divided into Str, Hex, Dec, etc., and YYYY indicates the specific parameter value;

Str:表示字符串,如:Str00,表明是字符串“00”;Str: Represents a string, such as: Str00, indicates the string "00";

Hex:表示16进制数,如:Hex00,表明是1个字节“\x00”;Hex: Indicates a hexadecimal number, such as: Hex00, which means 1 byte "\x00";

Dec:表示10进制数;Dec: Represents a decimal number;

NULL:表示空指针;NULL: indicates a null pointer;

若有一个或多个函数重复调用则可用下面的方式表达If one or more functions are called repeatedly, they can be expressed in the following way

<FunctionLoop><FunctionLoop>

<RunTimes>21</RunTimes><RunTimes>21</RunTimes>

<Function><Function>

<Name>kbhit</Name><Name>kbhit</Name>

<ReturnCode>255</ReturnCode><ReturnCode>255</ReturnCode>

</Function></Function>

<Function><Function>

<Name>MagSwiped</Name><Name>MagSwiped</Name>

<ReturnCode>255</ReturnCode><ReturnCode>255</ReturnCode>

</Function></Function>

<Function><Function>

<Name>IccDetect</Name><Name>IccDetect</Name>

<P1_IN>0</P1_IN><P1_IN>0</P1_IN>

<ReturnCode>255</ReturnCode><ReturnCode>255</ReturnCode>

</Function></Function>

<Function><Function>

<Name>PiccDetect</Name><Name>PiccDetect</Name>

<P1_IN>0</P1_IN><P1_IN>0</P1_IN>

<P1_OUT>NULL</P1_OUT><P1_OUT>NULL</P1_OUT>

<P2_OUT>NULL</P2_OUT><P2_OUT>NULL</P2_OUT>

<P3_OUT>NULL</P3_OUT><P3_OUT>NULL</P3_OUT>

<P4_OUT>NULL</P4_OUT><P4_OUT>NULL</P4_OUT>

<ReturnCode>3</ReturnCode><ReturnCode>3</ReturnCode>

</Function></Function>

</FunctionLoop></FunctionLoop>

其中,脚本文件的名称可以由项目名+案例名+序号组成。The name of the script file can be composed of project name + case name + serial number.

在步骤S103中,若接收到回放指令,则与POS终端建立连接,从上述服务器获取与上述回放指令中待测试应用程序的信息相对应的脚本文件,并将上述待测试应用程序的信息相对应的脚本文件发送给上述POS终端;In step S103, if a playback instruction is received, a connection is established with the POS terminal, a script file corresponding to the information of the application to be tested in the playback instruction is obtained from the above-mentioned server, and the information of the above-mentioned application to be tested is corresponding The script file is sent to the above POS terminal;

在本发明实施例中,服务器在接收到POS终端发送的回放指令或者用户通过服务器操作界面输入的回放指令后,解析上述回放指令得到请求的函数和/或参数等数据,通过上述函数和/或参数等数据查找到对应的脚本文件;或者,服务器可以通过对脚本文件进行标记,接收到回放指令后,根据回放指令中的标记信息查找到对应的脚本文件。In the embodiment of the present invention, after receiving the playback instruction sent by the POS terminal or the playback instruction input by the user through the server operation interface, the server parses the playback instruction to obtain the requested data such as functions and/or parameters, and uses the functions and/or parameters and other data to find the corresponding script file; or, the server may mark the script file, and after receiving the playback instruction, find the corresponding script file according to the marking information in the playback instruction.

需要说明的是,自动测试过程(回放模式)会使用录制的脚本文件,但是对于POS终端的应用程序来说,部分数据不能重复使用,因为针对不同的数据POS终端可能会产生不同的测试结果,上述数据包括但不仅限于退货和撤销时输入的流水号、预授权完成时输入的授权码等。因此,对于这类数据,为了使得对POS终端的应用程序的测试更有效,在将上述待测试应用程序的信息相对应的脚本文件发送给上述POS终端之前,还包括:It should be noted that the automatic test process (playback mode) will use the recorded script file, but for the POS terminal application, some data cannot be reused, because the POS terminal may produce different test results for different data, The above data includes, but is not limited to, the serial number entered during return and revocation, and the authorization code entered upon completion of pre-authorization, etc. Therefore, for this type of data, in order to make the test 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 above POS terminal, it also includes:

调用预定的接口对上述待测试应用程序的信息相对应的脚本文件进行更新,并将更新后的脚本文件发送给上述POS终端;Invoke a predetermined interface to update the script file corresponding to the information of the above-mentioned application to be tested, and send the updated script file to the above-mentioned POS terminal;

其中,上述调用预定的接口可以是:Among them, the above-mentioned predetermined interface for calling can be:

int paat_GetValue(enum PAAT_DATA nType,char*pData,int nLen);int paat_GetValue(enum PAAT_DATA nType, char*pData, int nLen);

int paat_SetValue(enum PAAT_DATA nType,char*pData,int nLen)。int paat_SetValue(enum PAAT_DATA nType, char*pData, int nLen).

本发明实施例,在录制模式时,从上述POS终端获取用户测试应用程序的所需的函数、参数等数据,根据获取的上述数据生成脚本文件;在回放模式时,将对应的脚本文件发送给POS终端即可实现自动测试,有效的提高了测试效率且降低了测试成本。In the embodiment of the present invention, in the recording mode, data such as functions and parameters required by the user test application program are obtained from the above-mentioned POS terminal, and a script file is generated according to the obtained above-mentioned data; in the playback mode, the corresponding script file is sent to the The POS terminal can realize automatic testing, which effectively improves the testing efficiency and reduces the testing cost.

应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.

实施例二Embodiment 2

图2示出了本发明实施例提供的应用程序测试装置的结构框图,为了便于说明,仅示出了与本发明实施例相关的部分。该应用程序测试装置2包括:获取模块21,生成模块22,发送模块23。FIG. 2 shows a structural block diagram of an apparatus for testing an application program provided by an embodiment of the present invention. 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 .

其中,获取模块21,用于若接收到录制指令,则与POS终端建立连接,从所述POS终端获取用户测试所述应用程序的操作数据;Wherein, the acquisition module 21 is used to establish a connection with the POS terminal if a recording instruction is received, and acquire the operation data of the user testing the application program from the POS terminal;

生成模块22,用于根据上述操作数据生成相应的脚本文件,并保存上述脚本文件;The generation module 22 is used to generate the corresponding script file according to the above-mentioned operation data, and save the above-mentioned script file;

发送模块23,用于若接收到回放指令,则与POS终端建立连接,从所述服务器获取与所述回放指令中待测试应用程序的信息相对应的脚本文件,并将所述待测试应用程序的信息相对应的脚本文件发送给所述POS终端。The sending module 23 is used to establish a connection with the POS terminal if a playback instruction is received, obtain a script file corresponding to the information of the application to be tested in the playback instruction from the server, and send the application to be tested. The information corresponding to the script file is sent to the POS terminal.

可选的,上述获取模块31,具体用于根据预定的通信协议建立上述服务器与上述POS终端的连接。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.

可选的,上述应用程序测试装置3还包括:Optionally, the above-mentioned application testing device 3 also includes:

数据更新模块,用于上述在将上述待测试应用程序的信息相对应的脚本文件发送给上述POS终端之前,调用预定的接口对上述待测试程序信息相对应的脚本文件进行更新,并将更新后的脚本文件发送给上述POS终端。The data update module is used to call a predetermined interface to update the script file corresponding to the above-mentioned program information to be tested before sending the script file corresponding to the information of the application program to be tested to the POS terminal, and update the updated The script file is sent to the above POS terminal.

可选地,上述获取模块31,具体用于:Optionally, the above-mentioned obtaining module 31 is specifically used for:

若接收到用户通过上述服务器的操作界面输入的录制指令,则与POS终端建立通信连接,检测上述POS终端是否在进行应用程序测试,若是,则从上述POS终端获取用户测试上述应用程序的操作数据。If a recording instruction input by the user through the operation interface of the server is received, a communication connection is established with the POS terminal to detect whether the application program is being tested by the POS terminal; .

可选地,上述操作数据包括:Optionally, the above operation data includes:

调用的函数以及参数。Called function and parameters.

实施例三Embodiment 3

图3是本发明一实施例提供的服务器的示意图。如图3所示,该实施例的服务器3包括:处理器30、存储器31以及存储在上述存储器31中并可在上述处理器30上运行的计算机程序32,例如应用程序测试程序。上述处理器30执行上述计算机程序32时实现上述各个应用程序测试方法实施例中的步骤,例如图1所示的步骤S101至S103。或者,上述处理器30执行上述计算机程序32时实现上述各装置实施例中各模块的功能,例如图2所示模块21至23的功能。FIG. 3 is a schematic diagram of a server provided by an embodiment of the present invention. As shown in FIG. 3 , the server 3 in this embodiment includes: a processor 30 , a memory 31 , and a computer program 32 , such as an application program testing program, stored in the above-mentioned memory 31 and executable on the above-mentioned processor 30 . When the above-mentioned processor 30 executes the above-mentioned computer program 32, the steps in each of the above-mentioned embodiments of the application program testing method are implemented, for example, steps S101 to S103 shown in FIG. 1 . Alternatively, when the above-mentioned processor 30 executes the above-mentioned computer program 32, the functions of each module in the above-mentioned various apparatus embodiments, for example, the functions of the modules 21 to 23 shown in FIG. 2 are realized.

示例性的,上述计算机程序32可以被分割成一个或多个模块,上述一个或者多个模块被存储在上述存储器31中,并由上述处理器30执行,以完成本发明。上述一个或多个模块可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述上述计算机程序32在上述应用程序测试服务器3中的执行过程。例如,上述计算机程序32可以被分割成获取模块、生成模块、发送模块、返回模块(虚拟装置中的模块),各模块具体功能如下:Exemplarily, the above-mentioned computer program 32 may be divided into one or more modules, and the above-mentioned one or more modules are stored in the above-mentioned memory 31 and executed by the above-mentioned processor 30 to complete the present invention. The above-mentioned one or more modules may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the above-mentioned computer program 32 in the above-mentioned application program testing server 3 . For example, the above-mentioned computer program 32 can be divided into an acquisition module, a generation module, a transmission module, and a return module (modules in a virtual device), and the specific functions of each module are as follows:

获取模块,用于若接收到录制指令,则与POS终端建立连接,从所述POS终端获取用户测试所述应用程序的操作数据;an acquisition module, configured to establish a connection with the POS terminal if a recording instruction is received, and acquire from the POS terminal the operation data of the user testing the application;

生成模块,用于根据上述操作数据生成相应的脚本文件,并保存上述脚本文件;A generation module is used to generate a corresponding script file according to the above-mentioned operation data, and save the above-mentioned script file;

发送模块,用于若接收到回放指令,则与POS终端建立连接,从所述服务器获取与所述回放指令中待测试应用程序的信息相对应的脚本文件,并将所述待测试应用程序的信息相对应的脚本文件发送给所述POS终端。The sending module is used to establish a connection with the POS terminal if a playback instruction is received, obtain a script file corresponding to the information of the application to be tested in the playback instruction from the server, and transfer the information of the application to be tested. The script file corresponding to the information is sent to the POS terminal.

上述应用程序测试服务器3可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。上述应用程序测试服务器可包括,但不仅限于,处理器30、存储器31。本领域技术人员可以理解,图3仅仅是应用程序测试服务器3的示例,并不构成对应用程序测试服务器3的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如上述应用程序测试服务器还可以包括输入输出设备、网络接入设备、总线等。The above-mentioned application program testing server 3 may be a computing device such as a desktop computer, a notebook computer, a handheld computer, and a cloud server. The above-mentioned application program testing server may include, but is not limited to, the processor 30 and the memory 31 . Those skilled in the art can understand that FIG. 3 is only an example of the application program testing server 3, and does not constitute a limitation to the application program testing server 3, and may include more or less components than those shown in the figure, or combine some components, Or different components, such as the above-mentioned application program testing server, may also include input and output devices, network access devices, buses, and the like.

所称处理器30可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 30 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

上述存储器31可以是上述应用程序测试服务器3的内部存储单元,例如应用程序测试服务器3的硬盘或内存。上述存储器31也可以是上述应用程序测试服务器3的外部存储设备,例如上述应用程序测试服务器3上配备的插接式硬盘,智能存储卡(Smart MediaCard,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,上述存储器31还可以既包括上述应用程序测试服务器3的内部存储单元也包括外部存储设备。上述存储器31用于存储上述计算机程序以及上述应用程序测试服务器所需的其他程序和数据。上述存储器31还可以用于暂时地存储已经输出或者将要输出的数据。The above-mentioned memory 31 may be an internal storage unit of the above-mentioned application program testing server 3 , such as a hard disk or a memory of the application program testing server 3 . The above-mentioned memory 31 can also be an external storage device of the above-mentioned application program testing server 3, such as a plug-in hard disk equipped on the above-mentioned application program testing server 3, a smart memory card (Smart MediaCard, SMC), a secure digital (Secure Digital, SD) card, flash card (Flash Card) and so on. Further, the above-mentioned memory 31 may also include both the internal storage unit of the above-mentioned application program testing server 3 and an external storage device. The above-mentioned memory 31 is used for storing the above-mentioned computer program and other programs and data required by the above-mentioned application program testing server. The above-mentioned memory 31 can also be used to temporarily store data that has been output or is to be output.

由上可见,本发明实施例通过获取POS终端用户测试应用程序的操作数据,根据所述操作数据生成对应的脚本文件,并将所述脚本文件保存在服务器。当用户需要再次进行测试时,只需要向服务器发送回放指令,服务器在接收到回放指令后,服务器会自动将所述回放指令中待测试应用程序的信息相对应的脚本文件发送给POS终端脚本文件。通过本发明实施例,使得POS终端应用程序测试时只需要录制一次生成脚本文件,后续测试通过自动读取所述脚本文件的方式来实现脚本文件,极大的节省了POS终端应用程序的测试时间,提高了测试效率且降低了测试成本,具有较强的易用性和实用性。As can be seen from the above, the embodiment of the present invention generates a corresponding script file according to the operation data by acquiring the operation data of the POS terminal user test application, and saves the script file in the server. When the user needs to test again, he only needs to send a playback instruction to the server. After the server receives the playback instruction, the server will automatically send the script file corresponding to the information of the application to be tested in the playback instruction to the POS terminal script file. . Through the embodiment of the present invention, the script file only needs to be recorded once during the test of the POS terminal application, and the script file is realized by automatically reading the script file in subsequent tests, which greatly saves the testing time of the POS terminal application. , which improves the test efficiency and reduces the test cost, and has strong ease of use and practicability.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将上述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. Module completion, that is, dividing the internal structure of the above device into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated in one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit, and the above-mentioned integrated units may adopt hardware. It can also be realized in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present application. For the specific working processes of the units and modules in the above-mentioned system, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the description of each embodiment has its own emphasis. For parts that are not described or described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.

在本发明所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,上述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided by the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are only illustrative. For example, the division of the above modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or Components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

上述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,上述的计算机程序可存储于计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,上述计算机程序包括计算机程序代码,上述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。上述计算机可读介质可以包括:能够携带上述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,上述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括是电载波信号和电信信号。If the above-mentioned integrated modules/units are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on this understanding, the present invention realizes all or part of the processes in the methods of the above embodiments, and can also be completed by instructing relevant hardware through a computer program, and the above computer program can be stored in a computer-readable storage medium, and the computer program is in When executed by the processor, the steps of the foregoing method embodiments can be implemented. Wherein, the above-mentioned computer program includes computer program code, and the above-mentioned computer program code may be in the form of source code, object code form, executable file or some intermediate form. The above-mentioned computer-readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random Access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the above-mentioned computer-readable media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer-readable media does not Included are electrical carrier signals and telecommunication signals.

以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be used for the foregoing implementations. The technical solutions described in the examples are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the within the protection scope of the present invention.

Claims (7)

1.一种应用程序测试方法,其特征在于,应用于服务器,包括:1. an application program testing method, is characterized in that, is applied to server, comprises: 若接收到用户输入的录制指令,则与POS终端建立串口连接,从所述POS终端获取用户测试所述应用程序的操作数据;If the recording instruction input by the user is received, a serial port connection is established with the POS terminal, and the operation data of the user testing the application program is obtained from the POS terminal; 根据所述操作数据生成相应的脚本文件,并保存所述脚本文件;Generate a corresponding script file according to the operation data, and save the script file; 若接收到回放指令,则与POS终端建立连接,从所述服务器获取与所述回放指令中待测试应用程序的信息相对应的脚本文件,调用预定的接口对所述待测试应用程序的信息相对应的脚本文件进行更新,并将更新后的脚本文件发送给所述POS终端,所述预定的接口是:If a playback instruction is received, a connection is established with the POS terminal, a script file corresponding to the information of the application to be tested in the playback instruction is obtained from the server, and a predetermined interface is called to match the information of the application to be tested. The corresponding script file is updated, and the updated script file is sent to the POS terminal, and the predetermined interface is: int paat_GetValue(enum PAAT_DATA nType,char*pData,int nLen);int paat_GetValue(enum PAAT_DATA nType, char*pData, int nLen); int paat_SetValue(enum PAAT_DATA nType,char*pData,int nLen);int paat_SetValue(enum PAAT_DATA nType, char*pData, int nLen); 所述若接收到用户输入的录制指令,则与POS终端建立串口连接,从所述POS终端获取用户测试所述应用程序的操作数据包括:If the recording instruction input by the user is received, a serial port connection is established with the POS terminal, and the operation data obtained from the POS terminal for the user to test the application program includes: 若接收到用户通过所述服务器的操作界面输入的录制指令,则与所述POS终端建立通信连接,检测所述POS终端是否在进行应用程序测试,若是,则从所述POS终端获取用户测试所述应用程序的操作数据。If a recording instruction input by the user through the operation interface of the server is received, a communication connection is established with the POS terminal to detect whether the POS terminal is performing an application test, and if so, obtain the user test data from the POS terminal operating data of the application. 2.如权利要求1所述的应用程序测试方法,其特征在于,所述与POS终端建立通信连接包括:2. application program testing method as claimed in claim 1, is characterized in that, described establishing communication connection with POS terminal comprises: 根据预定的通信协议建立所述服务器与所述POS终端的连接。The connection between the server and the POS terminal is established according to a predetermined communication protocol. 3.如权利要求1至2任一项所述的应用程序测试方法,其特征在于,所述操作数据包括:3. The application testing method according to any one of claims 1 to 2, wherein the operation data comprises: 调用的函数以及参数。Called function and parameters. 4.一种应用程序测试装置,其特征在于,包括:4. an application program testing device, is characterized in that, comprises: 获取模块,用于若接收到用户输入的录制指令,则与POS终端建立串口连接,从所述POS终端获取用户测试所述应用程序的操作数据;an acquisition module, configured to establish a serial port connection with the POS terminal if the recording instruction input by the user is received, and acquire the operation data of the user testing the application program from the POS terminal; 生成模块,用于根据所述操作数据生成相应的脚本文件,并保存所述脚本文件;A generating module, for generating a corresponding script file according to the operation data, and saving the script file; 数据更新模块,用于调用预定的接口对待测试程序信息相对应的脚本文件进行更新,所述预定的接口是:The data update module is used to call a predetermined interface to update the script file corresponding to the information of the test program to be tested, and the predetermined interface is: int paat_GetValue(enum PAAT_DATA nType,char*pData,int nLen);int paat_GetValue(enum PAAT_DATA nType, char*pData, int nLen); int paat_SetValue(enum PAAT_DATA nType,char*pData,int nLen);int paat_SetValue(enum PAAT_DATA nType, char*pData, int nLen); 发送模块,用于若接收到回放指令,则与POS终端建立连接,从服务器获取与所述回放指令中待测试应用程序的信息相对应的脚本文件,并将更新后的脚本文件发送给所述POS终端;The sending module is used to establish a connection with the POS terminal if a playback instruction is received, obtain a script file corresponding to the information of the application to be tested in the playback instruction from the server, and send the updated script file to the POS terminal; 所述获取模块还包括:The acquisition module also includes: 具体用于若接收到用户通过所述服务器的操作界面输入的录制指令,则与所述POS终端建立通信连接,检测所述POS终端是否在进行应用程序测试,若是,则从所述POS终端获取用户测试所述应用程序的操作数据。It is specifically used to establish a communication connection with the POS terminal if a recording instruction input by the user through the operation interface of the server is received, to detect whether the POS terminal is performing an application test, and if so, to obtain from the POS terminal The user tests the operational data of the application. 5.如权利要求4所述的应用程序测试装置,其特征在于,还包括:5. The application program testing device of claim 4, further comprising: 所述获取模块,具体用于根据预定的通信协议建立所述服务器与所述POS终端的连接。The acquiring module is specifically configured to establish a connection between the server and the POS terminal according to a predetermined communication protocol. 6.一种服务器,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至3任一项所述方法的步骤。6. A server comprising a memory, a processor and a computer program stored in the memory and running on the processor, wherein the processor implements the computer program as claimed in claim 1 when the processor executes the computer program to the steps of any of the methods described in 3. 7.一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至3任一项所述方法的步骤。7. A computer-readable storage medium storing a computer program, wherein the computer program implements the steps of the method according to any one of claims 1 to 3 when the computer program is executed by a processor .
CN201710940367.5A 2017-10-11 2017-10-11 Application testing method, 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 testing method, 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 testing method, 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 testing method, 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 深圳壹账通智能科技有限公司 Database management method and apparatus, electronic device 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 testing method, device and server
CN109040210B (en) A communication method, terminal device and storage medium between applications
WO2021008414A1 (en) Alarm method for internet of things device, and related apparatus
CN108734028B (en) Blockchain-based data management method, blockchain node and storage medium
WO2019010686A1 (en) Data processing method and data processing apparatus
WO2021008413A1 (en) Fault prompting method for internet of things device, and related apparatus
CN107317638A (en) Method, terminal device and the computer-readable recording medium of bluetooth test
CN102118230B (en) Tree and tabular combined notation (TTCN)-based network protocol performance testing method
CN111813622B (en) Equipment monitoring method and device
CN110244983B (en) Method for fixing serial port number, terminal equipment and storage medium
CN111538497A (en) Configuration method and device suitable for multi-satellite measurement and control management
CN111240733A (en) Data acquisition method and device based on multiple third-party interfaces
CN114449052B (en) A data compression method, device, electronic equipment and storage medium
CN113485282B (en) Message tracking display method, system, equipment and storage medium for distributed control system
CN112422485A (en) Communication method and device of transmission control protocol
CN112733510A (en) Financial certificate generation method, device, equipment and computer readable storage medium
CN111857985A (en) Browser plug-in calling method, device, storage medium and terminal
CN117061514A (en) Server resource acquisition method, intelligent network card and cloud data center system
CN110609666A (en) Printer configuration method, device, electronic device and readable storage medium
CN115793559A (en) Configuration method, device, intelligent gateway, equipment and medium of PLC collection point table
CN111405026B (en) Method and device for synchronously controlling volumes of android mobile phone and cloud mobile phone
CN112637151A (en) Data message transmission method, terminal device, server and storage medium
CN109451016B (en) Data download management method, system and related equipment
WO2020228451A1 (en) Fast identity online method, fast identity online device and card reader
CN111475291A (en) Data processing method, system, server and medium

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