CN104461897A - Application program test method and device - Google Patents

Application program test method and device Download PDF

Info

Publication number
CN104461897A
CN104461897A CN201410795784.1A CN201410795784A CN104461897A CN 104461897 A CN104461897 A CN 104461897A CN 201410795784 A CN201410795784 A CN 201410795784A CN 104461897 A CN104461897 A CN 104461897A
Authority
CN
China
Prior art keywords
terminal
test
nodal
mark
test terminal
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.)
Granted
Application number
CN201410795784.1A
Other languages
Chinese (zh)
Other versions
CN104461897B (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.)
Hangzhou Netease Shuzhifan Technology Co ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201410795784.1A priority Critical patent/CN104461897B/en
Publication of CN104461897A publication Critical patent/CN104461897A/en
Application granted granted Critical
Publication of CN104461897B publication Critical patent/CN104461897B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides an application program test method. The method includes the steps that a node terminal responds to a test terminal connected with the node terminal, a node program installed on the node terminal in advance is called to obtain the identification of the test terminal and send the identification to a test platform, and the test platform can conveniently recognized that the test terminal has been connected with the node terminal; the node terminal responds to an application program test instruction which is sent by the test platform on the basis that the identification is received, the node program is called so that the application program can be installed on the test terminal, and application program test is carried out on the test terminal. The node program on the node terminal is in communication and interaction with the test platform and the test terminal so that application program test of the test terminals can be achieved through the method without the need of installing software in advance, and therefore operation for application program test of technical staff is simplified and the workload is reduced. Besides, the embodiment of the invention further provides an application program test device.

Description

A kind of method and apparatus of Application testing
Technical field
Embodiments of the present invention relate to field tests, and more specifically, embodiments of the present invention relate to a kind of method and apparatus of Application testing.
Background technology
This part embodiments of the present invention be intended to for stating in claims provide background or context.Description is not herein because be included in just admit it is prior art in this part.
Usually, after application program is developed, need the compatibility of test application and actual motion environment, thus technician understands the ruuning situation of application program in actual motion environment, so that according to test result improvement application program when ruuning situation is bad by test result.Along with the development of various terminal, especially the development of mobile terminal, the aspect such as SDK version, resolution, ROM that great amount of terminals adopts often is distinguished all to some extent, the actual motion environment of application program on various different terminals varies, therefore, application program needs to test respectively in terminals different in a large number.
Summary of the invention
Owing to needing manually to install application program to be tested in each test terminal and test one by one in prior art, cause technician's complicated operation when Application testing, cause the workload that technician is larger.
For this reason, be starved of a kind of method and apparatus of Application testing of robotization, to make each test terminal without the need to manually installing application program to be tested and manual test, thus technician is made to operate simplification when Application testing, the workload burden of mitigation technique personnel.
In the present context, embodiments of the present invention expect the method and apparatus providing a kind of Application testing.
In the first aspect of embodiment of the present invention, provide a kind of method of Application testing, apply to Section point terminal, comprise: be connected to described nodal terminal in response to test terminal, call the node procedure be pre-installed on described nodal terminal obtain the mark of described test terminal and be sent to described test platform, be connected with described nodal terminal so that described test platform recognizes described test terminal; In response to the Application testing instruction receiving described test platform and send based on described mark, call described node procedure and described application program is mounted to test terminal corresponding to described mark and carries out Application testing on the test terminal that described mark is corresponding.
In the second aspect of embodiment of the present invention, provide a kind of method of Application testing, be applied to test platform, comprising: in response to the mark receiving the test terminal that nodal terminal sends, identify that described test terminal has been connected to described nodal terminal; Wherein, the mark of described test terminal is that described nodal terminal calls the node procedure acquisition be pre-installed on described nodal terminal in response to described test terminal is connected to described nodal terminal; Send Application testing instruction based on described mark to described nodal terminal, described application program is mounted to test terminal corresponding to described mark so that described nodal terminal calls described node procedure and carries out Application testing on the test terminal that described mark is corresponding.
In the third aspect of embodiment of the present invention, provide a kind of equipment of Application testing, be configured at nodal terminal, comprise: the first calling module, for being connected to described nodal terminal in response to test terminal, call the node procedure be pre-installed on described nodal terminal obtain the mark of described test terminal and be sent to described test platform, be connected with described nodal terminal so that described test platform recognizes described test terminal; Second calling module, for in response to the Application testing instruction receiving described test platform and send based on described mark, call described node procedure and described application program is mounted to test terminal corresponding to described mark and carries out Application testing on the test terminal that described mark is corresponding.
In the fourth aspect of embodiment of the present invention, provide a kind of equipment of Application testing, be configured at test platform, comprising: identification module, for in response to the mark receiving the test terminal that nodal terminal sends, identify that described test terminal has been connected to described nodal terminal; Wherein, the mark of described test terminal is that described nodal terminal calls the node procedure acquisition be pre-installed on described nodal terminal in response to described test terminal is connected to described nodal terminal; First sending module, for sending Application testing instruction based on described mark to described nodal terminal, described application program being mounted to test terminal corresponding to described mark so that described nodal terminal calls described node procedure and carrying out Application testing on the test terminal that described mark is corresponding.
The method and apparatus of Application testing is used for according to embodiment of the present invention, nodal terminal is connected in response to test terminal, this nodal terminal can call its preassembled node procedure and obtains the mark of this test terminal and be sent to test platform, be connected with described nodal terminal so that described test platform recognizes described test terminal, and in response to the Application testing instruction receiving this test platform and send based on this mark, this nodal terminal can call its node procedure and described application program is mounted to the test terminal of this mark correspondence and carries out Application testing on the test terminal of this mark correspondence, as can be seen here, only need to be provided with in advance on nodal terminal for test platform, the node procedure of communication interaction is carried out in test terminal, each test terminal is when being connected to nodal terminal, by nodal terminal call node procedure respectively with test platform, communication interaction is carried out in test terminal, just can realize the Application testing of test platform to test terminal, and without the need to manually application program being installed to each test terminal seriatim, the software being used for carrying out communication interaction with test platform is even installed all in advance without the need to each test terminal, thus simplify the operation of technician when Application testing, and significantly reduce the workload of technician, for user brings better experience.
summary of the invention
The present inventor finds, when adopting prior art, why technician's complicated operation, workload when Application testing is large, and reason is in prior art, each test terminal all to need manually to install application program to be tested and manual test.
Based on above-mentioned analysis, one of basic thought of the present invention is: simplify to make technician's operation when Application testing, reduce workload, each test terminal can be made all to be connected to test platform by nodal terminal, by nodal terminal respectively with test terminal, test platform communicates, so only need install on nodal terminal be used for respectively with test terminal, test platform carries out the node procedure of communication interaction, and without the need to manually application program being installed to each test terminal seriatim, even the software of communication interaction is all carried out in each test terminal without the need to installation and checkout platform, thus just simplify the operation of technician when Application testing, and also significantly reduce the workload of technician, for user brings better experience.
After describing ultimate principle of the present invention, lower mask body introduces various non-limiting embodiment of the present invention.
application scenarios overview
First be the block schematic illustration of an exemplary application scene of embodiments of the present invention with reference to figure 1, Fig. 1.Wherein, test terminal 101 is carried out with test platform 103 by the nodal terminal 102 be connected to alternately.More generally, test terminal 101 is undertaken by node procedure preassembled on nodal terminal 103 and test platform 103 alternately.It should be appreciated by those skilled in the art, in addition, it will be understood by those skilled in the art that the block schematic illustration shown in Fig. 1 is only the example that embodiments of the present invention can be achieved wherein.The scope of application of embodiment of the present invention is not subject to the restriction of any aspect of this framework.
It should be noted that, test terminal 101 herein and nodal terminal 102 can be existing, research and develop or in the future research and development, can by any type of wired or wireless connection (such as, Wi-Fi, LAN, WAN, the Internet etc.) with the mutual any interactive device of test platform 103, include but not limited to: existing, research and develop or research and development in the future, desk-top computer, laptop computer, mobile terminal (comprising smart mobile phone, non intelligent mobile phone, various panel computer) etc.
It is also to be noted that test platform 103 be herein only existing, research and develop or in the future research and development, an example of the network equipment that any one Application testing can be provided to serve to user.Embodiments of the present invention are unrestricted in this regard.
In the exemplary application scene shown in Fig. 1, nodal terminal 102 can be connected to described nodal terminal 102 in response to test terminal 101, call the node procedure be pre-installed on described nodal terminal 102 obtain the mark of described test terminal 101 and be sent to described test platform 103, be connected with described nodal terminal 102 so that described test platform 103 recognizes described test terminal 101; Then, nodal terminal 102 in response to the Application testing instruction receiving described test platform 103 and send based on described mark, can call described node procedure and described application program is mounted to test terminal 101 corresponding to described mark and carries out Application testing on the test terminal 101 that described mark is corresponding.
illustrative methods
Below in conjunction with the application scenarios of Fig. 1, with reference to figure 2 ~ 5, the method for Application testing according to exemplary embodiment of the invention is described.It should be noted that above-mentioned application scenarios is only that embodiments of the present invention are unrestricted in this regard for the ease of understanding spirit of the present invention and principle and illustrating.On the contrary, embodiments of the present invention can be applied to applicable any scene.
See Fig. 2, show the process flow diagram of method one embodiment of Application testing in the present invention.The present embodiment such as can apply to Section point terminal, such as, specifically can comprise the steps:
Step 201, be connected to described nodal terminal in response to test terminal, call the node procedure be pre-installed on described nodal terminal obtain the mark of described test terminal and be sent to test platform, be connected with described nodal terminal so that described test platform recognizes described test terminal.
During specific implementation, all connecting interfaces on nodal terminal can be monitored in the process that node procedure runs on nodal terminal, when needs carry out Application testing to test terminal, this test terminal can be connected on a certain connecting interface of nodal terminal by user, the node procedure that such nodal terminal runs just can monitor this test terminal and be connected to nodal terminal, now node procedure can carry out communication interaction to obtain the mark of test terminal with test terminal, then node procedure can carry out communication interaction again so that the mark of test terminal is sent to test platform with test platform, test platform can recognize test terminal according to the mark received and be connected with nodal terminal, now can utilize this mark that this test terminal is labeled as presence, this test terminal being in line states just can be viewed during such technician access test platform, and this test terminal can be selected to carry out Application testing by accessing operation.
Be understandable that, node procedure on nodal terminal obtains the mark of test terminal and sends to test platform, make test platform recognize test terminal and be connected to nodal terminal, be in line states to enable technician understand this test terminal by test platform, can be used for Application testing, just such technician can carry out Application testing by test platform on this test terminal.Wherein, consider the Application testing mainly ruuning situation of test application in different running environment, the mark of test terminal may be used for the running environment representing that test terminal provides, such as, the mark of test terminal can be the model of test terminal or test terminal adopt the version number of system.If a nodal terminal is connected to the same test terminal of two station identifications, then have node procedure to test to select suitable test terminal, selection gist can according to the task status of test terminal, historical record, residual memory space etc.
It should be noted that, in the present embodiment, in order to avoid test terminal directly and test platform carries out communication interaction time needs the software carrying out communication interaction for test terminal and test platform is installed all in advance on each test terminal, communication interaction is carried out by nodal terminal and test platform in test terminal, and the node procedure installed in advance on nodal terminal for realizing communication between devices, so just makes on test terminal without the need to installing any software in advance in order to Application testing.Wherein, node procedure is specifically for carrying out communication interaction with test terminal, test platform respectively, particularly, on the one hand, node procedure needs the information such as mark, test result obtaining test terminal from test terminal to send to test platform again, on the other hand, node procedure also needs the test such as application program installation file, the Application testing instruction relevant information to be tested received from test platform to send the test such as application program installation file and Application testing steering order relevant information again to test terminal.
In some embodiments of the present embodiment, realize to enable node procedure carrying out communication interaction with test terminal and test platform respectively, a kind of possible node procedure example is, described node procedure such as can comprise test terminal driver and test platform driver.Wherein, described test platform driver, may be used for realizing between described nodal terminal with described test platform communicating.Particularly, test platform driver can be such as Java SDK.In addition, described test terminal driver, may be used for the described test terminal that described nodal terminal identification has connected, and, may be used for realizing between described nodal terminal with described test terminal communicating.Particularly, suppose node procedure for test terminal be Android device, then test terminal driver can be such as Android SDK, when nodal terminal needs to obtain the mark of Android device, can run adbdevices instruction to obtain; Suppose node procedure for test terminal be ios device, then test terminal driver can be such as libimobiledevice, when nodal terminal needs to obtain the mark of ios device, can run idevice_id-l instruction to obtain.Certainly, consider that above-mentioned two kinds of test terminals may all need access test platform to test, the test terminal driver in node procedure such as also both can comprise Android SDK and also comprise libimobiledevice.
Be understandable that, test platform usually can corresponding multiple nodal terminal, and each nodal terminal may have test terminal to connect at any time.Can tested land identification arrive in time to make the test terminal being connected to nodal terminal, thus make technician can understand the test terminal can carrying out Application testing in real time, in some embodiments of the present embodiment, node procedure can establish a communications link with test platform in advance, so that test platform is by the situation of connecting test terminal on this its nodal terminal of communication connection automatic regular polling, thus makes test platform can recognize the test terminal of connected node terminal in time.Particularly, the present embodiment before step 201, such as, can also comprise: nodal terminal calls described node procedure and described test platform establishes a communications link; Nodal terminal, in response to receiving the test terminal inquiry request of described test platform by described communication connection timed sending, calls the inquiry of described node procedure and whether there is the test terminal being connected to described nodal terminal; Nodal terminal has been connected to the test terminal of described nodal terminal in response to inquiring existence, perform step 201.Such as, when nodal terminal has installed Java SDK as test platform driver in node procedure, nodal terminal can download JNLP file from test platform while test platform is for its newly-built node, after download completes, user can run JNLP file on nodal terminal, and the Jenkins service of such test platform deploy just can utilize JNLP agreement to communicate with nodal terminal.And can also dispose on test platform and Jenkins serve between have communication background service and, background service can send the triggering command of automatic regular polling to Jenkins service, and the plug-in unit of Jenkins service then can the situation of connecting test terminal on the nodal terminal that automatic regular polling JNLP file runs under the triggering command of automatic regular polling.
Step 202, in response to the Application testing instruction receiving described test platform and send based on described mark, call described node procedure and described application program is mounted to test terminal corresponding to described mark and carries out Application testing on the test terminal that described mark is corresponding.
During specific implementation, recognize in each test terminal be connected with each nodal terminal in each application program and test platform of uploading to test platform, technician can select by access test platform the application program and the test terminal that need test, application program and test terminal that test platform can be selected based on technician according to the accessing operation of technician generate Application testing instruction and send to the nodal terminal that this test terminal is connected, wherein Application testing instruction can include the mark of this test terminal, the action that performs or order etc. are needed in the installation file of this application program and Application testing, when nodal terminal receives Application testing instruction, node procedure can be called to perform this Application testing instruction, particularly, node procedure can recognize according to the mark of this test terminal needs the equipment of Application testing for this test terminal, and this application program can be installed to this test terminal, and then control this test terminal and run this application program, to complete in Application testing the action or order that need to perform, and obtain test result and return to test platform.
In some embodiments of the present embodiment, the system resource such as storage space in the application program engaged test terminal completing test, can after Application testing terminates, application program is unloaded from test terminal, is released to make the system resource completed shared by the application program of test.Particularly, the present embodiment after step 202, such as, can also comprise: nodal terminal, in response to detecting that described test terminal completes described Application testing, calls described node procedure and described application program unloaded from described test terminal.
In other embodiments of the present embodiment, the test terminal that the terminal of connecting test identified to make test platform connects with nodal terminal reality keeps synchronous, test platform can disconnect the mark removing this test terminal when being connected with nodal terminal in test terminal, recognize that to make technician this test terminal is not in line states, thus avoid technician to carry out Application testing to the test terminal do not connected and cause Application testing failure.Particularly, the present embodiment such as can also comprise: nodal terminal disconnects the connection with described nodal terminal in response to described test terminal, call the mark of described node procedure based on described test terminal to send to described test platform and remove request, so that described test platform deletes the mark of described test terminal.
By the technical scheme of the present embodiment, each test terminal can be made all to be connected to test platform by nodal terminal, communicated with test terminal, test platform respectively by nodal terminal, so only need install on nodal terminal and be used for carrying out the node procedure of communication interaction with test terminal, test platform respectively, and the software of communication interaction is all carried out in each test terminal without the need to installation and checkout platform, thus just simplify the operation of technician when Application testing, and also significantly reduce the workload of technician.
See Fig. 3, show the process flow diagram of another embodiment of method of Application testing in the present invention.The present embodiment such as can be applied to test platform, such as, specifically can comprise the steps:
Step 301, in response to the mark of test terminal receiving nodal terminal and send, identify that described test terminal has been connected to described nodal terminal; Wherein, the mark of described test terminal is that described nodal terminal calls the node procedure acquisition be pre-installed on described nodal terminal in response to described test terminal is connected to described nodal terminal.
Be understandable that, test platform usually can corresponding multiple nodal terminal, and each nodal terminal may have test terminal to connect at any time.Can tested land identification arrive in time to make the test terminal being connected to nodal terminal, thus make technician can understand the test terminal can carrying out Application testing in real time, in some embodiments of the present embodiment, node procedure can establish a communications link with test platform in advance, so that test platform is by the situation of connecting test terminal on this its nodal terminal of communication connection automatic regular polling, thus makes test platform can recognize the test terminal of connected node terminal in time.Particularly, the present embodiment is before step 301, such as can also comprise: when described nodal terminal and described test platform establish a communications link, described test platform timing sends test terminal inquiry request to described nodal terminal, so that described nodal terminal calls node procedure, whether inquiry exists the test terminal being connected to described nodal terminal, and in response to inquiring existence and be connected to the test terminal of described nodal terminal, call the node procedure be pre-installed on described nodal terminal described in execution obtain the mark of described test terminal and be sent to described test platform.
Step 302, send Application testing instruction based on described mark to described nodal terminal, described application program is mounted to test terminal corresponding to described mark so that described nodal terminal calls described node procedure and carries out Application testing on the test terminal that described mark is corresponding.
In some embodiments of the present embodiment, the test terminal that the terminal of connecting test identified to make test platform connects with nodal terminal reality keeps synchronous, test platform can disconnect the mark removing this test terminal when being connected with nodal terminal in test terminal, recognize that to make technician this test terminal is not in line states, thus avoid technician to carry out Application testing to the test terminal do not connected and cause Application testing failure.Particularly, the present embodiment such as can also comprise: the request that removes that test platform sends based on the mark of described test terminal in response to the described nodal terminal of reception, deletes the mark of described test terminal; Wherein, the request of removing described in is that described nodal terminal calls the transmission of described node procedure.
By the technical scheme of the present embodiment, each test terminal can be made all to be connected to test platform by nodal terminal, communicated with test terminal, test platform respectively by nodal terminal, so only need install on nodal terminal and be used for carrying out the node procedure of communication interaction with test terminal, test platform respectively, and the software of communication interaction is all carried out in each test terminal without the need to installation and checkout platform, thus just simplify the operation of technician when Application testing, and also significantly reduce the workload of technician.
In previous embodiment respectively from the basis that nodal terminal and test platform two angles are introduced illustrative methods of the present invention, in order to make the application of those skilled in the art's clearly embodiment of the present invention, below from the angle of information interaction and to be aided with a concrete application scenarios be example, embodiment of the present invention is introduced.
In this application scenarios, nodal terminal first run preassembled node procedure set up with test platform between communication connection so that the automatic regular polling of acceptance test platform, test terminal is connected on nodal terminal by user or technician afterwards, technician recognizes when this test terminal is connected with nodal terminal at test platform and selects to carry out Application testing to this test terminal, then after this test terminal completes test, the application program on test terminal is deleted by nodal terminal, end user or technician disconnect the connection of this test terminal and nodal terminal.Wherein, nodal terminal is such as specifically as follows PC, and test terminal is such as specifically as follows mobile device, and mobile device can be such as that USB data transmission line is connected on PC, nodal terminal such as can be communicated with test platform by JNLP agreement, as shown in Figure 4.It should be noted that, this application scenarios is only and makes those skilled in the art more clearly understand the present invention, but embodiments of the present invention are not limited to this application scenarios.
See Fig. 5, show the process flow diagram of the another embodiment of the method for Application testing in the present invention.In the present embodiment, such as specifically can comprise the steps:
Step 501, PC call node procedure and test platform establishes a communications link;
Step 502, test platform pass through this communication connection to PC timed sending test terminal inquiry request;
Step 503, PC call node procedure inquiry and whether there is the mobile device being connected to this PC; If so, step 504 is entered.
Be understandable that, if there is less than PC the mobile device connected in node procedure inquiry, show now without the need to obtaining the mark of mobile device, node procedure is also just without the need to returning the mark of mobile device to test platform, and test platform does not receive the feedback of PC within the time of presetting, just again can send test terminal inquiry request to PC, thus complete the connection mobile device situation on automatic regular polling PC that realizes.
Step 504, PC call node procedure acquisition and have been connected to the mark of the mobile device of this PC and have sent to test platform.
Step 505, test platform receive the mark of mobile device, identify that this mobile device is connected with PC.
Now, test platform can provide this mobile device to be in the mark of line states, so that technician understands this mobile device may be used for Application testing.
Step 506, test platform generate Application testing instruction based on the mark of this mobile device and send to PC.
Wherein, test platform can operate according to the selection of technician, this mobile device chosen based on technician, upload application program and the test action that needs this application program to perform on the mobile device or test command, generate Application testing instruction.
Step 507, PC call node procedure and this application program are installed to this mobile device, and carry out Application testing in this mobile device.
Step 508, PC call test result that node procedure obtains from this mobile device and send to test platform.
Step 509, PC detect that this mobile device completes the test of this application program, call node procedure and this application program are unloaded from this mobile device.
Step 510, PC detect that this mobile device disconnects and the connection of PC, call the mark of node procedure based on this mobile device and send to test platform and remove request.
Step 511, test platform receive this and remove request, delete the mark of this mobile device.
Now, test platform deletes the mark that this mobile device is in line states, can be used for not comprising this mobile device in the equipment of Application testing so that technician understands.
By the technical scheme of the present embodiment, each test terminal can be made all to be connected to test platform by nodal terminal, communicated with test terminal, test platform respectively by nodal terminal, so only need install on nodal terminal and be used for carrying out the node procedure of communication interaction with test terminal, test platform respectively, and the software of communication interaction is all carried out in each test terminal without the need to installation and checkout platform, thus just simplify the operation of technician when Application testing, and also significantly reduce the workload of technician.
example devices
After the method describing exemplary embodiment of the invention, next, with reference to figure 6 ~ 7 pairs of exemplary embodiment of the invention, be introduced for the equipment of Application testing.
See Fig. 6, show the structural drawing of equipment one embodiment of Application testing in the present invention.The equipment of the present embodiment can be configured at nodal terminal, such as, specifically can comprise:
First calling module 601, for being connected to described nodal terminal in response to test terminal, call the node procedure be pre-installed on described nodal terminal obtain the mark of described test terminal and be sent to test platform, be connected with described nodal terminal so that described test platform recognizes described test terminal;
Second calling module 602, for in response to the Application testing instruction receiving described test platform and send based on described mark, call described node procedure and described application program is mounted to test terminal corresponding to described mark and carries out Application testing on the test terminal that described mark is corresponding.
In some embodiments of the present embodiment, optionally, described equipment such as can also comprise:
3rd calling module, for calling described node procedure and described test platform establishes a communications link;
4th calling module, in response to receiving the test terminal inquiry request of described test platform by described communication connection timed sending, calling the inquiry of described node procedure and whether there is the test terminal being connected to described nodal terminal;
Trigger module, for inquire at described 4th calling module existence be connected to the test terminal of described nodal terminal, trigger described first calling module.
In other embodiments of the present embodiment, optionally, described node procedure such as can comprise test terminal driver and test platform driver; Described test terminal driver, such as, may be used for the described test terminal that described nodal terminal identification has connected, and, such as may be used for realizing between described nodal terminal with described test terminal communicating; Described test platform driver, such as, may be used for realizing between described nodal terminal with described test platform communicating.
In the other embodiment of the present embodiment, optionally, described equipment such as can also comprise:
6th calling module, in response to detecting that described test terminal completes described Application testing, calling described node procedure and described application program being unloaded from described test terminal.
In some embodiments again of the present embodiment, optionally, described equipment such as can also comprise:
7th calling module, for disconnecting the connection with described nodal terminal in response to described test terminal, call the mark of described node procedure based on described test terminal to send to described test platform and remove request, so that described test platform deletes the mark of described test terminal.
The structural drawing of another embodiment of equipment of Application testing in the present invention is shown see Fig. 7.The equipment of the present embodiment can be configured at test platform, such as, specifically can comprise:
Identification module 701, in response to the mark receiving the test terminal that nodal terminal sends, identifies that described test terminal has been connected to described nodal terminal; Wherein, the mark of described test terminal is that described nodal terminal calls the node procedure acquisition be pre-installed on described nodal terminal in response to described test terminal is connected to described nodal terminal;
First sending module 702, for sending Application testing instruction based on described mark to described nodal terminal, described application program being mounted to test terminal corresponding to described mark so that described nodal terminal calls described node procedure and carrying out Application testing on the test terminal that described mark is corresponding.
In some embodiments of the present embodiment, optionally, described equipment such as can also comprise:
Second sending module, for when described nodal terminal and described test platform establish a communications link, timing sends test terminal inquiry request to described nodal terminal, so that described nodal terminal calls node procedure, whether inquiry exists the test terminal being connected to described nodal terminal, and in response to inquiring existence and be connected to the test terminal of described nodal terminal, call the node procedure be pre-installed on described nodal terminal described in execution and obtain the mark of described test terminal and be sent to described test platform;
In other embodiments of the present embodiment, optionally, described equipment such as can also comprise:
Removing module, for the request that removes sent based on the mark of described test terminal in response to the described nodal terminal of reception, deletes the mark of described test terminal;
Wherein, the request of removing described in is that described nodal terminal calls the transmission of described node procedure.
By the technical scheme of present device embodiment, each test terminal can be made all to be connected to test platform by nodal terminal, communicated with test terminal, test platform respectively by nodal terminal, so only need install on nodal terminal and be used for carrying out the node procedure of communication interaction with test terminal, test platform respectively, and the software of communication interaction is all carried out in each test terminal without the need to installation and checkout platform, thus just simplify the operation of technician when Application testing, and also significantly reduce the workload of technician.
Although it should be noted that the some devices or sub-device that to be referred in above-detailed for the equipment of Application testing, this division is only not enforceable.In fact, according to the embodiment of the present invention, the Characteristic and function of two or more devices above-described can be specialized in one apparatus.Otherwise, the Characteristic and function of an above-described device can Further Division for be specialized by multiple device.
In addition, although describe the operation of the inventive method in the accompanying drawings with particular order, this is not that requirement or hint must perform these operations according to this particular order, or must perform the result that all shown operation could realize expectation.Additionally or alternatively, some step can be omitted, multiple step be merged into a step and perform, and/or a step is decomposed into multiple step and perform.
Although describe spirit of the present invention and principle with reference to some embodiments, but should be appreciated that, the present invention is not limited to disclosed embodiment, can not combine to be benefited to the feature that the division of each side does not mean that in these aspects yet, this division is only the convenience in order to state.The present invention is intended to contain the interior included various amendment of spirit and scope and the equivalent arrangements of claims.
Accompanying drawing explanation
By reference to accompanying drawing reading detailed description hereafter, above-mentioned and other objects of exemplary embodiment of the invention, feature and advantage will become easy to understand.In the accompanying drawings, show some embodiments of the present invention by way of example, and not by way of limitation, wherein:
Fig. 1 schematically shows the block schematic illustration of an exemplary application scene of embodiments of the present invention;
Fig. 2 schematically shows the process flow diagram of method one embodiment of Application testing in the present invention;
Fig. 3 schematically shows the process flow diagram of another embodiment of method of Application testing in the present invention;
Fig. 4 schematically shows the schematic diagram of communication mode example between a kind of nodal terminal and test platform in the embodiment of the present invention, test terminal;
Fig. 5 schematically shows the process flow diagram of the another embodiment of the method for Application testing in the present invention;
Fig. 6 schematically shows the process flow diagram of equipment one embodiment of Application testing in the present invention;
Fig. 7 schematically shows the process flow diagram of another embodiment of equipment of Application testing in the present invention;
In the accompanying drawings, identical or corresponding label represents identical or corresponding part.
Embodiment
Below with reference to some illustrative embodiments, principle of the present invention and spirit are described.Should be appreciated that providing these embodiments is only used to enable those skilled in the art understand better and then realize the present invention, and not limit the scope of the invention by any way.On the contrary, provide these embodiments to be to make the disclosure more thorough and complete, and the scope of the present disclosure intactly can be conveyed to those skilled in the art.
One skilled in the art will appreciate that embodiments of the present invention can be implemented as a kind of system, device, equipment, method or computer program.Therefore, the disclosure can be implemented as following form, that is: hardware, completely software (comprising firmware, resident software, microcode etc.) completely, or the form that hardware and software combines.
According to the embodiment of the present invention, a kind of method and apparatus of Application testing is proposed.
In this article, it will be appreciated that, what involved term " nodal terminal " represented is the terminal device being provided with node procedure, and it can be connected with test terminal, and can be communicated with test platform and the test terminal that has been connected respectively by node procedure.Such as, nodal terminal can be PC equipment, and test terminal can be mobile terminal device, and test terminal can be connected to nodal terminal by USB.In addition, " test platform " is the network platform that Application testing can be provided to serve, cloudlike test platform, user as technician can access test platform by arbitrary equipment, and carries out Application testing by controlling test platform to the accessing operation of test platform to the test terminal connected.Wherein, user to the access of test platform, such as, can be by the web terminal in arbitrary equipment, also can be and for example that the present invention does not limit this by the client-side program in arbitrary equipment.In addition, any number of elements in accompanying drawing is all unrestricted for example, and any name is all only for distinguishing, and does not have any limitation.
Below with reference to some representative embodiments of the present invention, explaination principle of the present invention and spirit in detail.

Claims (10)

1. a method, apply to Section point terminal, comprising:
Described nodal terminal is connected in response to test terminal, call the node procedure be pre-installed on described nodal terminal obtain the mark of described test terminal and be sent to test platform, be connected with described nodal terminal so that described test platform recognizes described test terminal;
In response to the Application testing instruction receiving described test platform and send based on described mark, call described node procedure and described application program is mounted to test terminal corresponding to described mark and carries out Application testing on the test terminal that described mark is corresponding.
2. method according to claim 1, also comprises:
Call described node procedure and described test platform establishes a communications link;
In response to receiving the test terminal inquiry request of described test platform by described communication connection timed sending, calling the inquiry of described node procedure and whether there is the test terminal being connected to described nodal terminal;
In response to the test terminal inquiring existence and be connected to described nodal terminal, call the node procedure be pre-installed on described nodal terminal described in execution and obtain the mark of described test terminal and be sent to described test platform.
3. method according to claim 1, wherein, described node procedure comprises test terminal driver and test platform driver;
Described test terminal driver, for the described test terminal that described nodal terminal identification has connected, and, communicate for realizing between described nodal terminal with described test terminal;
Described test platform driver, communicates for realizing between described nodal terminal with described test platform.
4. method according to claim 1, also comprises:
In response to detecting that described test terminal completes described Application testing, calling described node procedure and described application program is unloaded from described test terminal.
5. method according to claim 1, also comprises:
Disconnect the connection with described nodal terminal in response to described test terminal, call the mark of described node procedure based on described test terminal and send to described test platform and remove request, so that described test platform deletes the mark of described test terminal.
6. a method, is applied to test platform, comprising:
In response to the mark receiving the test terminal that nodal terminal sends, identify that described test terminal has been connected to described nodal terminal; Wherein, the mark of described test terminal is that described nodal terminal calls the node procedure acquisition be pre-installed on described nodal terminal in response to described test terminal is connected to described nodal terminal;
Send Application testing instruction based on described mark to described nodal terminal, described application program is mounted to test terminal corresponding to described mark so that described nodal terminal calls described node procedure and carries out Application testing on the test terminal that described mark is corresponding.
7. method according to claim 6, also comprises:
When described nodal terminal and described test platform establish a communications link, timing sends test terminal inquiry request to described nodal terminal, so that described nodal terminal calls node procedure, whether inquiry exists the test terminal being connected to described nodal terminal, and in response to inquiring existence and be connected to the test terminal of described nodal terminal, call the node procedure be pre-installed on described nodal terminal described in execution and obtain the mark of described test terminal and be sent to described test platform.
8. method according to claim 6, also comprises:
In response to the request that removes that the described nodal terminal of reception sends based on the mark of described test terminal, delete the mark of described test terminal;
Wherein, the request of removing described in is that described nodal terminal calls the transmission of described node procedure.
9. an equipment, is configured at nodal terminal, comprising:
First calling module, for being connected to described nodal terminal in response to test terminal, call the node procedure be pre-installed on described nodal terminal obtain the mark of described test terminal and be sent to test platform, be connected with described nodal terminal so that described test platform recognizes described test terminal;
Second calling module, for in response to the Application testing instruction receiving described test platform and send based on described mark, call described node procedure and described application program is mounted to test terminal corresponding to described mark and carries out Application testing on the test terminal that described mark is corresponding.
10. an equipment, is configured at test platform, comprising:
Identification module, in response to the mark receiving the test terminal that nodal terminal sends, identifies that described test terminal has been connected to described nodal terminal; Wherein, the mark of described test terminal is that described nodal terminal calls the node procedure acquisition be pre-installed on described nodal terminal in response to described test terminal is connected to described nodal terminal;
First sending module, for sending Application testing instruction based on described mark to described nodal terminal, described application program being mounted to test terminal corresponding to described mark so that described nodal terminal calls described node procedure and carrying out Application testing on the test terminal that described mark is corresponding.
CN201410795784.1A 2014-12-18 2014-12-18 A kind of method and apparatus of Application testing Active CN104461897B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410795784.1A CN104461897B (en) 2014-12-18 2014-12-18 A kind of method and apparatus of Application testing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410795784.1A CN104461897B (en) 2014-12-18 2014-12-18 A kind of method and apparatus of Application testing

Publications (2)

Publication Number Publication Date
CN104461897A true CN104461897A (en) 2015-03-25
CN104461897B CN104461897B (en) 2017-12-12

Family

ID=52907986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410795784.1A Active CN104461897B (en) 2014-12-18 2014-12-18 A kind of method and apparatus of Application testing

Country Status (1)

Country Link
CN (1) CN104461897B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338110A (en) * 2015-11-23 2016-02-17 小米科技有限责任公司 Remote debugging method, platform and server
CN105426195A (en) * 2015-12-14 2016-03-23 网易(杭州)网络有限公司 Effect verification processing method and device based on software development
CN105573883A (en) * 2015-12-11 2016-05-11 小米科技有限责任公司 Device control method and apparatus
CN106330595A (en) * 2015-07-02 2017-01-11 阿里巴巴集团控股有限公司 Heartbeat detection method and apparatus of distributed platform
CN106502905A (en) * 2016-10-26 2017-03-15 腾讯科技(深圳)有限公司 A kind of method of testing of application program, apparatus and system
CN106844213A (en) * 2017-01-21 2017-06-13 江苏千米网络科技股份有限公司 A kind of front end method of testing and device
CN107577591A (en) * 2016-07-05 2018-01-12 中兴通讯股份有限公司 A kind of method, apparatus and system of automatic test abnormal protection
CN107634851A (en) * 2017-08-11 2018-01-26 珠海金山网络游戏科技有限公司 A kind of method of mobile terminal dynamic configuration server
CN108337125A (en) * 2017-01-19 2018-07-27 杭州老板电器股份有限公司 Intelligent hardware devices test method, cloud platform and background controller
CN108628735A (en) * 2017-03-22 2018-10-09 腾讯科技(深圳)有限公司 The automated testing method and system of application
CN110135168A (en) * 2019-05-16 2019-08-16 北京字节跳动网络技术有限公司 Detection method, device, system, terminal device and the storage medium of application program
CN110209590A (en) * 2019-06-05 2019-09-06 山东科技大学 A kind of automated testing method and system towards intelligent robot
CN111159031A (en) * 2019-12-24 2020-05-15 珠海市小源科技有限公司 Method for applying mobile terminal automation test, computer device and computer readable storage medium
CN112882951A (en) * 2021-03-18 2021-06-01 百度在线网络技术(北京)有限公司 Vehicle small program testing method, device, equipment, storage medium and program product
CN113377666A (en) * 2021-06-25 2021-09-10 虹软科技股份有限公司 Test method and system based on cloud server, client and cloud server
CN114338772A (en) * 2021-12-30 2022-04-12 合肥创发微电子有限公司 Method and system for transmitting production test data by production test terminal based on network
CN114385258A (en) * 2021-12-08 2022-04-22 北京云测信息技术有限公司 Automatic testing method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877867A (en) * 2009-04-28 2010-11-03 深圳富泰宏精密工业有限公司 Server and method used for mobile phone remote testing
KR20110019508A (en) * 2009-08-20 2011-02-28 대진대학교 산학협력단 A test and history management system for mobile station applications using test libraries and the method thereof
CN102495799A (en) * 2011-12-02 2012-06-13 刘伟 Automatic test system and method of movable terminal
CN102594962A (en) * 2012-03-05 2012-07-18 东莞市每通电子科技有限公司 Testing system for mobile terminal and testing method thereof
CN103312850A (en) * 2013-05-10 2013-09-18 江苏科技大学 Mobile phone automation testing system and work method
CN104021077A (en) * 2014-06-10 2014-09-03 广州市久邦数码科技有限公司 Mobile terminal software test system and method
CN104063305A (en) * 2013-03-18 2014-09-24 腾讯科技(深圳)有限公司 Pressure testing method, device and system for intelligent terminal software

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877867A (en) * 2009-04-28 2010-11-03 深圳富泰宏精密工业有限公司 Server and method used for mobile phone remote testing
KR20110019508A (en) * 2009-08-20 2011-02-28 대진대학교 산학협력단 A test and history management system for mobile station applications using test libraries and the method thereof
CN102495799A (en) * 2011-12-02 2012-06-13 刘伟 Automatic test system and method of movable terminal
CN102594962A (en) * 2012-03-05 2012-07-18 东莞市每通电子科技有限公司 Testing system for mobile terminal and testing method thereof
CN104063305A (en) * 2013-03-18 2014-09-24 腾讯科技(深圳)有限公司 Pressure testing method, device and system for intelligent terminal software
CN103312850A (en) * 2013-05-10 2013-09-18 江苏科技大学 Mobile phone automation testing system and work method
CN104021077A (en) * 2014-06-10 2014-09-03 广州市久邦数码科技有限公司 Mobile terminal software test system and method

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106330595A (en) * 2015-07-02 2017-01-11 阿里巴巴集团控股有限公司 Heartbeat detection method and apparatus of distributed platform
CN105338110A (en) * 2015-11-23 2016-02-17 小米科技有限责任公司 Remote debugging method, platform and server
CN105573883A (en) * 2015-12-11 2016-05-11 小米科技有限责任公司 Device control method and apparatus
CN105573883B (en) * 2015-12-11 2018-02-06 小米科技有限责任公司 Apparatus control method and device
CN105426195A (en) * 2015-12-14 2016-03-23 网易(杭州)网络有限公司 Effect verification processing method and device based on software development
CN107577591A (en) * 2016-07-05 2018-01-12 中兴通讯股份有限公司 A kind of method, apparatus and system of automatic test abnormal protection
CN106502905A (en) * 2016-10-26 2017-03-15 腾讯科技(深圳)有限公司 A kind of method of testing of application program, apparatus and system
CN108337125A (en) * 2017-01-19 2018-07-27 杭州老板电器股份有限公司 Intelligent hardware devices test method, cloud platform and background controller
CN106844213A (en) * 2017-01-21 2017-06-13 江苏千米网络科技股份有限公司 A kind of front end method of testing and device
CN108628735A (en) * 2017-03-22 2018-10-09 腾讯科技(深圳)有限公司 The automated testing method and system of application
CN108628735B (en) * 2017-03-22 2020-12-18 腾讯科技(深圳)有限公司 Automatic test method and system for application
CN107634851B (en) * 2017-08-11 2021-03-30 珠海金山网络游戏科技有限公司 Method for dynamically configuring server by mobile terminal
CN107634851A (en) * 2017-08-11 2018-01-26 珠海金山网络游戏科技有限公司 A kind of method of mobile terminal dynamic configuration server
CN110135168A (en) * 2019-05-16 2019-08-16 北京字节跳动网络技术有限公司 Detection method, device, system, terminal device and the storage medium of application program
CN110209590B (en) * 2019-06-05 2023-04-21 山东科技大学 Automatic testing method and system for intelligent robot
CN110209590A (en) * 2019-06-05 2019-09-06 山东科技大学 A kind of automated testing method and system towards intelligent robot
CN111159031A (en) * 2019-12-24 2020-05-15 珠海市小源科技有限公司 Method for applying mobile terminal automation test, computer device and computer readable storage medium
CN111159031B (en) * 2019-12-24 2023-11-24 珠海市小源科技有限公司 Method for automatically testing application mobile terminal, computer device and computer readable storage medium
CN112882951A (en) * 2021-03-18 2021-06-01 百度在线网络技术(北京)有限公司 Vehicle small program testing method, device, equipment, storage medium and program product
CN113377666A (en) * 2021-06-25 2021-09-10 虹软科技股份有限公司 Test method and system based on cloud server, client and cloud server
CN114385258A (en) * 2021-12-08 2022-04-22 北京云测信息技术有限公司 Automatic testing method and device, electronic equipment and storage medium
CN114385258B (en) * 2021-12-08 2023-09-26 北京云测信息技术有限公司 Automatic test method, device, electronic equipment and storage medium
CN114338772A (en) * 2021-12-30 2022-04-12 合肥创发微电子有限公司 Method and system for transmitting production test data by production test terminal based on network

Also Published As

Publication number Publication date
CN104461897B (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN104461897A (en) Application program test method and device
CN107592238B (en) Automatic test method and system of interface, service terminal and memory
CN105354118B (en) Automatic test approach, the apparatus and system of intelligent terminal
CN103077058A (en) Method and device for installing application program
CN104836848A (en) Method for remotely upgrading intelligent household electrical appliances
CN105450463A (en) Hardware equipment debugging method, hardware equipment debugging device and hardware equipment debugging system
CN113672441B (en) Method and device for testing intelligent equipment
CN110752954A (en) Networking fault detection method and related device for household electrical appliance
CN113553257B (en) Test method, device, storage medium and electronic equipment
CN105721203B (en) Upgrade processing method and device
CN103973858A (en) Automatic testing system of mobile terminals
CN104468260A (en) Recognition method, device and system for mobile terminal device
CN103327051A (en) Long-distance desktop management system and method
CN105677561A (en) Mobile product multi-platform testing method and system
CN111858336A (en) Software automation test method and system
CN105988882B (en) A kind of application software fault repairing method and terminal device
CN109194535A (en) A kind of terminal test system and method
KR100794130B1 (en) Automatic Function Testing Equipment for Application Software and Additional Service of Mobile Communication Terminal
CN101964923A (en) Configuration system and method for interactive commands
CN106294119B (en) Test scheduling system and method and terminal equipment
CN102609353A (en) Method, device and system for managing program debugging
CN113794602A (en) Equipment testing method and device, terminal equipment and storage medium
CN105515804A (en) Apparatus and method for fixing client system errors
CN101686152B (en) Status reporting method and device
CN105119898A (en) WiFi hotspot Portal automatic authentication method and WiFi hotspot Portal automatic authentication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231123

Address after: Room 301, Building 4, No. 599 Wangshang Road, Changhe Street, Binjiang District, Hangzhou City, Zhejiang Province, 310051

Patentee after: Hangzhou NetEase Shuzhifan Technology Co.,Ltd.

Address before: 310052 Building No. 599, Changhe Street Network Business Road, Binjiang District, Hangzhou City, Zhejiang Province, 4, 7 stories

Patentee before: NETEASE (HANGZHOU) NETWORK Co.,Ltd.

TR01 Transfer of patent right