CN105813102A - Automatic testing system and automatic testing method - Google Patents
Automatic testing system and automatic testing method Download PDFInfo
- Publication number
- CN105813102A CN105813102A CN201410849706.5A CN201410849706A CN105813102A CN 105813102 A CN105813102 A CN 105813102A CN 201410849706 A CN201410849706 A CN 201410849706A CN 105813102 A CN105813102 A CN 105813102A
- Authority
- CN
- China
- Prior art keywords
- test
- mobile terminal
- task
- distribution end
- module
- 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
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses an automatic testing system and an automatic testing method, and belongs to the movable testing technology field. The automatic testing system comprises a capability acquisition unit, a task issuing unit, and a result feedback unit. The capability acquisition unit is used to acquire and store testing capability information of every mobile terminal connected with a task issuing terminal. The task issuing unit is provided with a plurality of testing tasks in a preset manner, is connected with the capability acquisition unit, is used to extract the corresponding testing task according to the acquired external testing request, and is used to search the mobile terminal having the testing capability information in accordance with the testing request in order to issue the extracted testing task. The result feedback unit is used to acquire the testing result fed back, after the testing task is executed by the mobile terminal. The automatic testing method is characterized in that the testing capability information of the mobile terminal can be acquired, and the testing task and the corresponding mobile terminal can be selected according to the testing request and the testing capability information, and then the testing task can be issued to the mobile terminal, and the corresponding testing result can be acquired. The above mentioned technical scheme provided by the invention is advantageous in that the testing efficiency can be improved, the compatibility problem can be solved, and the system is provided with the platform independence.
Description
Technical field
The present invention relates to mobile test technical field, particularly relate to a kind of Auto-Test System and method.
Background technology
Mobile test refers to the behavioral test using mobile terminal to carry out.Called mobile terminal, it is possible to include mobile phone, panel computer and other mobile communication equipments etc..For the test of mobile terminal, generally include communication test, mobile platform test, performance test, stability test, outfield compatibility test etc..For the test of mobile terminal, its test environment is not generally fixed, and in prior art, general mobile test is also by manually distributing test assignment and being undertaken by manual operation, relatively labor intensive resource, promotes difficulty of test, reduces the testing efficiency of mobile test.
Summary of the invention
According to problems of the prior art, now provide the technical scheme of a kind of Auto-Test System and method, it is intended to realize the full-automation of mobile test, reduce testing cost, promote testing efficiency, strengthen the compatibility of test system;
Technique scheme specifically includes:
A kind of Auto-Test System, wherein, including a task distribution end, described task distribution end remotely connects multiple described mobile terminals respectively;
Described task distribution end includes:
Ability acquiring unit, for obtaining and preserve the power of test information of each described mobile terminal connecting described task distribution end;
Task issues unit, wherein it is preset with multiple test assignment, described task issues unit and connects described ability acquiring unit, extract corresponding described test assignment for the test request that obtains according to outside, and search described power of test information and meet the described mobile terminal of described test request to issue the described test assignment being extracted;
Result feedback unit, for obtaining the test result fed back after described mobile terminal performs described test assignment.
Preferably, this Auto-Test System, wherein, described ability acquiring unit includes:
First acquisition module, for obtaining the described power of test information that described mobile terminal is uploaded;
Second acquisition module, issues corresponding query statement to described mobile terminal, with inquiry the described power of test information obtaining described mobile terminal;
Information storage module, connects described data obtaining module and described information inquiry module respectively, for preserving the described power of test information being associated of the described mobile terminal of corresponding each connection described task distribution end;
Information deletion module, connects described information storage module, for deleting corresponding described power of test information in described information storage module when described mobile terminal disconnects with the connection of described task distribution end.
Preferably, this Auto-Test System, wherein, described task issues unit and includes:
Task memory module, is wherein preset with multiple described test assignment, and each described test assignment includes corresponding task number and test action;
Acquisition request module, for obtaining the described test request of outside transmission;
Task extraction module, connects described acquisition request module and described task memory module respectively, for extracting corresponding described test assignment according to described test request;
Terminal selects module, connects described acquisition request module, for searching and selecting described power of test information to meet the described mobile terminal of described test request;
Task issues module, connects described terminal respectively and selects module and described task extraction module, for issuing, to selected described mobile terminal, the described test assignment being extracted.
Preferably, this Auto-Test System, wherein, described task distribution end also includes:
Input block, connects described task and issues unit, inputs described test request for user.
Preferably, this Auto-Test System, wherein, described task issues unit and also includes:
Judge module, connects described task and issues module;
Described task issues after module issues corresponding described task number, and described judge module judges whether corresponding described mobile terminal returns the message representing that described test assignment cannot perform, and exports corresponding judged result;
Described task issues module and represents in described judged result and issue corresponding described test action to corresponding described mobile terminal when described test assignment cannot perform.
Preferably, this Auto-Test System, wherein, described task distribution end also includes:
Memory element, connects described result feedback unit, is used for preserving described test result;
Display unit, connects described result feedback unit, for showing described test result to user.
Preferably, this Auto-Test System, wherein, described result feedback unit includes:
First object module, for the described test result returned after processing and export execution once described test assignment;
Second object module, connects described first object module, for being integrally formed corresponding described test result according to the result returned after performing repeatedly test assignment described in continuous print and export;
3rd object module, for periodically obtaining the failure diagnosis information that described mobile terminal is uploaded, carries out processing and exporting as described test result;
Position reporting modules, for analyzing the corresponding real-time position information that the described mobile terminal performing described test assignment returns, processes and exports the location track of described mobile terminal.
A kind of automatic test approach, wherein, adopts a task distribution end remotely to connect multiple described mobile terminals respectively, is preset with multiple test assignment in described task distribution end;
Described automatic test approach specifically includes:
Step S1, described task distribution end obtains the power of test information of the described mobile terminal connected;
Step S2, described task distribution end obtains the test request of externally input;
Step S3, corresponding described test assignment is searched and selected to described task distribution end according to described test request, and search and select described power of test information to meet the described mobile terminal of described test request;
Step S4, described task distribution end issues selected described test assignment to selected described mobile terminal;
Step S5, described task distribution end obtains the test result of feedback after corresponding described mobile terminal performs described test assignment and shows.
Preferably, this automatic test approach, wherein, described step S1 specifically includes:
Step S11, described task distribution end obtains described power of test information that the described mobile terminal that connects uploads and preserves;
Step S12, it is judged that whether the described power of test information that described mobile terminal is uploaded is enough:
If the described power of test information obtained is enough, then go to described step S2;
Step S13, described task distribution end issues capability query instruction to corresponding described mobile terminal;
Step S14, described task distribution end obtains corresponding described power of test information that described mobile terminal uploads according to described capability query instruction and preserves, and then switches into described step S2.
Preferably, this automatic test approach, wherein, in described step S1, when described mobile terminal disconnects with described task distribution end, from described task distribution end, delete the corresponding described power of test information of described mobile terminal.
Preferably, this automatic test approach, wherein, described test assignment includes corresponding task number and test action;
Described step S4 specifically includes:
Step S41, described task distribution end issues corresponding described task number to described mobile terminal;
Step S42, described task distribution end judges whether to receive the message that the described test assignment of expression of described mobile terminal return cannot perform:
If not receiving the described message representing that described test assignment cannot perform, then go to described step S5;
Step S43, described task distribution end issues corresponding described test action to described mobile terminal, then switches into described step S5.
Preferably, this automatic test approach, wherein, in described step S5, the described test result that described mobile terminal is fed back by described task distribution end carries out respective handling and the method that shows includes:
The described test result obtained after having performed a described test assignment is carried out respective handling and shows by described task distribution end;And/or
The result obtained after continuously performing multiple described test assignment is integrated form corresponding described test result and show by described task distribution end;And/or
Described task distribution end obtains the real-time position information of the described mobile terminal performing described test assignment, processes and export the location track of described mobile terminal;And/or
Described task distribution end periodically obtains the failure diagnosis information of the described mobile terminal performing described test assignment, carries out processing and exporting as described test result.
Technique scheme provides the benefit that:
1) realize automatic test, save the cost of manual testing, and then reduce the testing cost of whole mobile terminal test process;
2) realize automatic test, promote testing efficiency;
3) unified management of test assignment and test result it is easy to so that mobile terminal test process is more orderly;
4) compatibility and the platform-neutral of test system are promoted.
Accompanying drawing explanation
Fig. 1 is in the preferred embodiment of the present invention, the structural representation of a kind of Auto-Test System;
Fig. 2-4 is in the preferred embodiment of the present invention, on the basis of Fig. 1, and the structural representation that Auto-Test System is decomposed;
Fig. 5 is in the preferred embodiment of the present invention, the overall procedure schematic diagram of a kind of automatic test approach;
Fig. 6-7 is in the preferred embodiment of the present invention, on the basis of Fig. 5, and the decomposition process schematic diagram of automatic test approach.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the premise not making creative work, broadly fall into the scope of protection of the invention.
It should be noted that when not conflicting, the embodiment in the present invention and the feature in embodiment can be mutually combined.
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
Mobile test of the prior art is generally completed by manual testing, fewer companies can carry out some a small amount of automatic tests, but the test assignment for these tests issues and manages generally by being accomplished manually, and the collection of test result and analysis also manually carry out.
The enforcement of above-mentioned method of testing can expend substantial amounts of human resources, and human cost is higher, and test period is longer simultaneously, and degree of accuracy is relatively low.
And manual testing cannot cross over the restriction of time and region, namely manual testing can not ensure round-the-clock uninterruptedly to carry out, and cannot guarantee that the mobile terminal to anywhere all can complete test.
When collecting test report, due to the test report form disunity of each test subsystems, and not carrying out unified management, collect extremely difficult, the speed of report queries is also slower.
Above-mentioned many reasons comprehensively cause that the mobile test cycle of the prior art is long, testing efficiency is relatively low, thus extending the time that mobile product comes into the market, weakens the competitiveness of mobile product.
Based on the above-mentioned reason existed in prior art, the present invention provides a kind of Auto-Test System.
As it is shown in figure 1, this Auto-Test System includes a task distribution end A, this task distribution end A remotely connects multiple mobile terminal B respectively, namely in the preferred embodiment of the present invention, using the mobile terminal B remote testing end as execution test assignment.
In the preferred embodiment of the present invention, as it is shown in figure 1, above-mentioned task distribution end A includes:
Ability acquiring unit 1.In the preferred embodiment of the present invention, ability acquiring unit 1 is for obtaining the power of test information of each mobile terminal B being connected to task distribution end A.
In the preferred embodiment of the present invention, so-called power of test information, refer to what response test was asked, it is possible to the information of the reflection current power of test of mobile terminal.Such as, the geographical location information that mobile terminal is presently in, current application platform and currently employed software version etc..
In the preferred embodiment of the present invention, as in figure 2 it is shown, aforementioned capabilities acquiring unit 1 specifically includes:
First acquisition module 11.In the preferred embodiment of the present invention, the first acquisition module 11 is for obtaining the mobile terminal B the being connected to task distribution end A above-mentioned power of test information uploaded.
Specifically, in the preferred embodiment of the present invention, when each mobile terminal B remotely accesses above-mentioned task distribution end A, can register to task distribution end A, can the power of test information of self together be reported while sending log-on message, then the first acquisition module 11 is for obtaining these power of test information being reported.
In the preferred embodiment of the present invention, mobile terminal B accesses task distribution end A, when can be connected to task distribution end A for mobile terminal B, when can also access task distribution end A for mobile terminal B and start shooting, it is also possible to when accessing task distribution end A for mobile terminal B and start the software kit carried in mobile terminal B.
In the preferred embodiment of the present invention, aforementioned capabilities acquiring unit 1 also includes:
Second acquisition module 12.In the preferred embodiment of the present invention, the second acquisition module 12, for actively sending corresponding query statement to the mobile terminal B connected, obtains power of test information corresponding for mobile terminal B with inquiry.
In the preferred embodiment of the present invention, except mobile terminal B active reporting power of test information, also provide for a kind of task distribution end A active inquiry and obtain the power of test information of mobile terminal B.Such as:
In order to make the task distribution end A power of test information obtained fully meet test request, namely in order to avoid power of test information lacks the content that test request is requested, task distribution end A presets a standard testing capability template.Such as, potential test request may call for doing the software test of c version on b platform at a, then should include the current positional information of mobile terminal, application platform information and software version information in standard testing capability template.
Therefore, if the power of test information that the mobile terminal that task distribution end A obtains reports automatically lacks corresponding information, such as lack application platform information, then task distribution end A issues corresponding query statement by the second acquisition module 12 to mobile terminal B, to inquire about the platform information that is applied, obtain the complete power of test information of mobile terminal B eventually through the first acquisition module 11 and the second acquisition module 12.
Or, the template preset only includes application platform information and beta version information, then also pass through judgement and determine the need for inquiry and obtain corresponding power of test information.
In the preferred embodiment of the present invention, owing to the test environment of mobile terminal self is likely to produce change in time, for instance current real-time position information changes, or mobile terminal have switched the platform etc. of current application.Then in order to ensure the effective in real time of power of test information, task distribution end A can periodic queries obtain the power of test information of mobile terminal B, or mobile terminal B periodically reports power of test information, or when there being power of test information to change, the power of test information etc. that mobile terminal B active reporting changes.
In the preferred embodiment of the present invention, still as in figure 2 it is shown, aforementioned capabilities acquiring unit 1 also includes:
Information storage module 13, connects above-mentioned first acquisition module 11 and the second acquisition module 12 respectively.In the preferred embodiment of the present invention, information storage module 13 is for preserving the power of test information of the mobile terminal B obtained by above-mentioned first acquisition module 11 and the second acquisition module 12.
Information deletion module 14, connects above-mentioned information storage module 13.In the preferred embodiment of the present invention, information deletion module 14 is for deleting the power of test information being stored in information storage module 13.Further, in the preferred embodiment of the present invention, when mobile terminal B and task distribution end A that script is connected to task distribution end A disconnect, the power of test information corresponding to this mobile terminal B disconnected is preserved module 13 from information and deletes by information deletion module 14.
Specifically, for instance, when script is connected to the mobile terminal B power-off shutdown of task distribution end A, corresponding power of test information is deleted by information deletion module 14 from information storage module 13;Or
When the mobile terminal B that script is connected to task distribution end A is controlled cancel register (cancellation) by software, corresponding power of test information is deleted by information deletion module 14 from information storage module 13.
In the preferred embodiment of the present invention, still as it is shown in figure 1, above-mentioned task distribution end A also includes:
Task issues unit 2, connects aforementioned capabilities acquiring unit 1.In the preferred embodiment of the present invention, task issues and is preset with corresponding test assignment in unit 2, and for the test request according to externally input, search and select corresponding test assignment, and search and select the power of test information of above-mentioned preservation meets the corresponding mobile terminal of test request, selected test assignment is issued in selected mobile terminal and performs.
In the preferred embodiment of the present invention, farther include as it is shown on figure 3, above-mentioned task issues unit 2:
Task memory module 21.In the preferred embodiment of the present invention, task memory module 21 is preset with multiple test assignment.
In the preferred embodiment of the present invention, above-mentioned test assignment can include task number and test action.Specifically, in the preferred embodiment of the present invention, task number indicates corresponding test assignment for unique.And test action has been the set of a series of action required for test assignment, it is possible to adopt the form of test code or test action set to represent.
In the preferred embodiment of the present invention, above-mentioned task issues in unit 2 and also includes:
Acquisition request module 22.In the preferred embodiment of the present invention, acquisition request module 22 is for obtaining the test request of outside output.Which which kind of in the preferred embodiment of the present invention, as described above, the test request of externally input can include when and where, adopting the test software of version to carry out the information such as test in application platform.Above-mentioned information enumerate only for ease of skilled artisan understands that technical solution of the present invention, not thereby limit protection scope of the present invention.
Task extraction module 23, connects above-mentioned acquisition request module 22 and task memory module 21 respectively.In the preferred embodiment of the present invention, task extraction module 23, according to the test request 22 obtained, is searched the test assignment matched in task memory module 21, and is extracted the test assignment found.
Terminal selects module 24, connects above-mentioned acquisition request module 22.In the preferred embodiment of the present invention, terminal selects module 24 for searching and selecting power of test information to meet the mobile terminal of test request.Such as, perform corresponding test assignment with being set forth in A in test request, then terminal selects module 24 to select a mobile terminal B being currently at A ground, and output selects result accordingly.
Task issues module 25, connects above-mentioned terminal respectively and selects module 24 and task extraction module 23.In the preferred embodiment of the present invention, task issues module 25 and selects the mobile terminal B that module 24 selects to issue the test assignment extracted by task extraction module 23 to by terminal.
Judge module 26, connects above-mentioned task and issues module 25.In the preferred embodiment of the present invention, as described above, test assignment includes task number and corresponding test action, and task issues module 25 and first can issue corresponding task number to selected mobile terminal B.If the different test assignment of preset in advance, then can find corresponding test assignment according to this task number and perform in mobile terminal B, the data volume of transmission every time so can be reduced.
But not all mobile terminal B is all preset with the test assignment that correspondence issues.Not being preset with corresponding test assignment if having in mobile terminal B, then still cannot complete corresponding test assignment after receiving the task number issued, mobile terminal B can return the corresponding message representing that test assignment cannot perform to task distribution end A.Now judge module 26 judges whether task distribution end A receives the message that above-mentioned expression test assignment cannot perform.
In the preferred embodiment of the present invention, if not receiving the message representing that test assignment cannot perform, then it represents that mobile terminal B can find default test assignment according to task number and perform;If receiving the message representing that test assignment cannot perform, then it represents that mobile terminal B cannot find test action and perform test assignment.
In the preferred embodiment of the present invention, it is judged that module 26 judges and exports corresponding judged result.Task issues module 25 according to above-mentioned judged result, when receiving the message that expression test assignment cannot perform, re-issues, to corresponding mobile terminal B, the test action that this test assignment includes, to support that mobile terminal B performs corresponding test assignment.
In the preferred embodiment of the present invention, above-mentioned test assignment can be test case, namely completes the abstractdesription of the required a series of actions performed of test assignment.
In the preferred embodiment of the present invention, still as it is shown in figure 1, above-mentioned task distribution end A also includes:
Input block 3, connects above-mentioned task and issues unit 2.In the preferred embodiment of the present invention, input block 3 inputs corresponding test request for user.
Such as, input block 3 can be a touch display screen, touching display screen display one standard request template, user can be filled in this template and wish in when and where that in which kind of application platform the test software with which version moves the test information such as test, and after filling in, system automatically generates corresponding test request and sends to above-mentioned task and issue unit 2;Or,
Input block 3 is an input keyboard, and user issues unit 2 by the mode of input through keyboard to task and sends corresponding test request.
In the preferred embodiment of the present invention, still as it is shown in figure 1, above-mentioned task distribution end A also includes:
Result feedback unit 4.In the preferred embodiment of the present invention, result feedback unit 4, for receiving the test result obtained after corresponding mobile terminal B performs test assignment, carries out processing and showing test result after treatment to user.
Further, in the preferred embodiment of the present invention, as shown in Figure 4, the above results feedback unit 4 specifically includes:
First object module 41.In the preferred embodiment of the present invention, first object module 41 test result for returning after processing and export test assignment of execution.
In the preferred embodiment of the present invention, after mobile terminal B has often performed a test assignment, just actively upload corresponding test result to task distribution end A.The test result that then above-mentioned first object module 41 exports after receiving each test assignment.
In the preferred embodiment of the present invention, the mode that the test result that each test assignment is corresponding is processed can be: analyzes the state obtaining each test result, such as pass/fail/inprogress/waiting etc., and show this test result to user in real time by corresponding display unit.
In the preferred embodiment of the present invention, the above results feedback unit 4 also includes:
Second object module 42.In the preferred embodiment of the present invention, the second object module 42 carries out integrating and formed a final test result output for the result obtained after having performed according to the multiple test assignment of continuous print.Such as:
In some cases, a total test assignment may include multiple test subtask continuously performed.Then the effect of the second object module 42 is in that to integrate the result obtained after having performed each test subtask, the test result corresponding to form total test assignment, and shows this test result by corresponding display unit to user.
In the preferred embodiment of the present invention, the above results feedback unit 4 also includes:
3rd object module 43.In the preferred embodiment of the present invention, the 3rd object module 43, for periodically obtaining the failure diagnosis information that mobile terminal is uploaded, carries out processing and exporting as test result;
In the preferred embodiment of the present invention, mobile terminal B is in the process performing test assignment, or in course of normal operation, it is possible to problems such as can producing call drop, handover delay, restart, fall net, fall card, speed breaks off the base.The failure diagnosis information that these problems produce can also serve as the important parameter that product is improved.Therefore, in the preferred embodiment of the present invention, the 3rd object module 43 periodically obtains the mobile terminal B failure diagnosis information sent, and is analyzed failure diagnosis information processing, to obtain corresponding test result and to export.
In the preferred embodiment of the present invention, it is possible to periodically actively uploaded above-mentioned failure diagnosis information to the 3rd object module 43 by mobile terminal B;Or periodically issued the request of inquiry failure diagnosis information to mobile terminal B by the 3rd object module 43, mobile terminal B feeds back corresponding failure diagnosis information according to this request to task distribution end A.
In the preferred embodiment of the present invention, the process of failure diagnosis information be may include that and compared with the standard preset by the failure diagnosis information received by above-mentioned 3rd object module 43, and exports corresponding comparative result;Or the failure diagnosis information received is added up, and exports corresponding statistical result etc..
In the preferred embodiment of the present invention, the above results feedback unit 4 also includes:
Position reporting modules 44, for analyzing the corresponding real-time position information that the mobile terminal performing test assignment returns, processes the location track of also output mobile terminal.
In the preferred embodiment of the present invention, in some cases, it should be understood that the location track that mobile terminal is when moving test, then mobile terminal B real-time report positional information while performing corresponding test assignment, above-mentioned position reporting modules 44 forms the location track of mobile terminal according to the positional information of real-time report and exports.
In the preferred embodiment of the present invention, still as it is shown in figure 1, above-mentioned task distribution end A also includes:
Memory element 5, connects the above results feedback unit 4.In the preferred embodiment of the present invention, memory element 5 for preserving the test result of the above results feedback unit 4 output, for user browse historical record time extract.
Display unit 6, connects the above results feedback unit 4.In the preferred embodiment of the present invention, display unit 6, for showing above-mentioned test result to user, namely shows the result obtained after result feedback unit 4 analyzes and processes to user.
In the preferred embodiment of the present invention, task distribution end A is also provided to mobile terminal B and downloads the test software of latest edition, performs corresponding test assignment for mobile terminal B.
In sum, the goal of the invention of the present invention is in that: will issue the Function Integration Mechanism of test assignment according to test request in a long-range control centre, namely the test request that control centre can input according to user (such as project leader, Test Engineer and research and development engineer etc.), select the mobile terminal of power of test information match, and issue corresponding test assignment to it.Control centre can obtain the test result obtained after mobile terminal performs test assignment and process accordingly subsequently, test result is after treatment shown to user.
The link unification that task can be issued with test report warehouse-in by technique scheme is placed in long-range control centre, and the mobile terminal as test terminal has only to reception task and performs test, feeds back corresponding test result with backward control centre.Namely Auto-Test System is capable of the full-automation of whole test process, greatly reduces the human cost in mobile test originally, thus controlling the totle drilling cost of test a relatively low level.
Meanwhile, technique scheme can ensure that data base's unified management of test assignment and test result, facilitates user management and checks.
Owing to there is no interface restriction and application platform restriction so that technique scheme also has good compatibility, it is possible to compatible various test mobile terminals move test under any test environment.
In the preferred embodiment of the present invention, above-mentioned task issues correlation unit (include ability acquiring unit 1, task issues unit 2 and the unit being associated) and can be arranged in a remote control center, and the above results is fed back correlation unit (including result feedback unit 4 and the unit being associated) and can be arranged in a data management server, namely above-mentioned two function system both can be arranged in a teleprocessing terminal, can also be respectively arranged in different teleprocessing terminals, such that it is able to realize comparing collocation strategy flexibly.
In the preferred embodiment of the present invention, realize long distance wireless between above-mentioned multiple mobile terminal B and task distribution end A and be connected.
In the preferred embodiment of the present invention, based on above-mentioned Auto-Test System, a kind of automatic test approach of existing offer, adopt a task distribution end remotely to connect multiple mobile terminals respectively, in task distribution end, be preset with multiple test assignment;
The step of above-mentioned automatic test approach is as it is shown in figure 5, specifically include:
Step S1, task distribution end obtains the power of test information of the mobile terminal connected;
In the preferred embodiment of the present invention, being connected to task distribution end by mobile terminal, Active Registration also reports corresponding power of test information, or task distribution end actively obtains power of test information to the mode of the corresponding power of test information of mobile terminal enquiry.
In the preferred embodiment of the present invention, as shown in Figure 6, above-mentioned steps S1 specifically includes:
Step S11, task distribution end obtains power of test information that the mobile terminal that connects uploads and preserves;
In the preferred embodiment of the present invention, when mobile terminal remote is connected to task distribution end (when such as mobile terminal has been connected with task distribution end, or during mobile terminal-opening, or when the test software on mobile terminal sends registration request), mobile terminal can send corresponding power of test information to task distribution end, preserves for task distribution end;
Step S12, it is judged that whether the power of test information that mobile terminal is uploaded is enough:
If the power of test information obtained is enough, then go to step S2;
In the preferred embodiment of the present invention, the power of test information model of a standard can be preset in task distribution end, or preset the type that corresponding each mobile terminal needs the power of test information of acquisition.Then in above-mentioned steps S12, the power of test information of mobile terminal active reporting and this template or type are compared, if having the power of test information of disappearance, then it represents that to should the power of test information of acquisition for mobile terminal not be enough;If on the contrary, the power of test information obtained has met the template preset or has met whole types, then it is assumed that now power of test acquisition of information is enough.
Step S13, task distribution end issues capability query instruction to corresponding mobile terminal;
Step S14, task distribution end obtains corresponding power of test information that mobile terminal uploads according to capability query instruction and preserves, and then switches into step S2.
In the preferred embodiment of the present invention, when needs power of test information corresponding from acquisition for mobile terminal further, task distribution end issues query statement to corresponding mobile terminal, and receives the corresponding power of test information that mobile terminal is uploaded according to query statement.
In the preferred embodiment of the present invention, above-mentioned steps S11 and in step S14, namely task distribution end preserves after obtaining power of test information, and the corresponding power of test information deletion that will preserve before when mobile terminal disconnects with connection between task distribution end.
Step S2, task distribution end obtains the test request of externally input;
In the preferred embodiment of the present invention, the test request of externally input can be the test request of set form, in order to task distribution end is identified.
Step S3, corresponding test assignment is searched and selected to task distribution end according to test request, and search and select power of test information to meet the mobile terminal of test request;
Such as, test request adopts C version to perform corresponding test assignment in A on B platform, then task distribution end selects one and in A applies mobile terminal B platform on equally, and include the test software of C version on this selected mobile terminal.
Step S4, task distribution end issues selected test assignment to selected mobile terminal;
In the preferred embodiment of the present invention, issue the process of test assignment as it is shown in fig. 7, comprises:
Step S41, task distribution end issues corresponding task number to mobile terminal;
In the preferred embodiment of the present invention, the above-mentioned test assignment preset can include task number and test action.
In one preferred embodiment of the present invention, above-mentioned test assignment can be test case, namely completes the abstractdesription of a series of test actions needed for test assignment.Then above-mentioned task number can be test case ID, and test action can adopt test code or test action set expression.
In the preferred embodiment of the present invention, in order to reduce the data volume of transmission, first task distribution end issues corresponding task number to mobile terminal.If mobile terminal itself is preset with corresponding test assignment, then can find default test assignment according to the task number issued and perform;If on the contrary, mobile terminal itself is not preset with corresponding test assignment, or can not find corresponding test assignment according to the task number issued, then return to task distribution end and represent the message that cannot perform test assignment.
Step S42, task distribution end judges whether to receive the message that the expression test assignment of mobile terminal return cannot perform:
If not receiving the message representing that test assignment cannot perform, then go to step S5;
Step S43, task distribution end issues corresponding test action to mobile terminal, then switches into step S5.
In the preferred embodiment of the present invention, if receiving the message representing that test assignment cannot perform, then task distribution end issues corresponding test action to mobile terminal, for instance test code or test action set, normally performs test assignment for mobile terminal.
Step S5, task distribution end obtains the test result of feedback after corresponding mobile terminal performs test assignment and shows.
In the preferred embodiment of the present invention, the test result that mobile terminal is fed back by task distribution end carries out respective handling and the method that shows includes:
The test result obtained after having performed a test assignment is carried out respective handling and shows by task distribution end;And/or
The result obtained after continuously performing multiple test assignment is integrated form corresponding test result and show by task distribution end;And/or
Task distribution end obtains the real-time position information of the mobile terminal performing test assignment, processes the location track of also output mobile terminal;And/or
Task distribution end periodically obtains the failure diagnosis information of the mobile terminal performing test assignment, carries out processing and exporting as test result.
The foregoing is only preferred embodiment of the present invention; not thereby restriction embodiments of the present invention and protection domain; to those skilled in the art; the equivalent replacement done by all utilizations description of the present invention and diagramatic content and the obtained scheme of apparent change should be can appreciate that, all should be included in protection scope of the present invention.
Claims (12)
1. an Auto-Test System, it is characterised in that include a task distribution end, described task distribution end remotely connects multiple described mobile terminals respectively;
Described task distribution end includes:
Ability acquiring unit, for obtaining and preserve the power of test information of each described mobile terminal connecting described task distribution end;
Task issues unit, wherein it is preset with multiple test assignment, described task issues unit and connects described ability acquiring unit, extract corresponding described test assignment for the test request that obtains according to outside, and search described power of test information and meet the described mobile terminal of described test request to issue the described test assignment being extracted;
Result feedback unit, for obtaining the test result fed back after described mobile terminal performs described test assignment.
2. Auto-Test System as claimed in claim 1, it is characterised in that described ability acquiring unit includes:
First acquisition module, for obtaining the described power of test information that described mobile terminal is uploaded;
Second acquisition module, issues corresponding query statement to described mobile terminal, with inquiry the described power of test information obtaining described mobile terminal;
Information storage module, connects described data obtaining module and described information inquiry module respectively, for preserving the described power of test information of the described mobile terminal of corresponding each connection described task distribution end;
Information deletion module, connects described information storage module, for deleting corresponding described power of test information in described information storage module when described mobile terminal disconnects with the connection of described task distribution end.
3. Auto-Test System as claimed in claim 1, it is characterised in that described task issues unit and includes:
Task memory module, is wherein preset with multiple described test assignment, and each described test assignment includes corresponding task number and test action;
Acquisition request module, for obtaining the described test request of outside transmission;
Task extraction module, connects described acquisition request module and described task memory module respectively, for extracting corresponding described test assignment according to described test request;
Terminal selects module, connects described acquisition request module, for searching and selecting described power of test information to meet the described mobile terminal of described test request;
Task issues module, connects described terminal respectively and selects module and described task extraction module, for issuing, to selected described mobile terminal, the described test assignment being extracted.
4. Auto-Test System as claimed in claim 1, it is characterised in that described task distribution end also includes:
Input block, connects described task and issues unit, inputs described test request for user.
5. Auto-Test System as claimed in claim 3, it is characterised in that described task issues unit and also includes:
Judge module, connects described task and issues module;
Described task issues after module issues corresponding described task number, and described judge module judges whether corresponding described mobile terminal returns the message representing that described test assignment cannot perform, and exports corresponding judged result;
Described task issues module and represents in described judged result and issue corresponding described test action to corresponding described mobile terminal when described test assignment cannot perform.
6. Auto-Test System as claimed in claim 1, it is characterised in that described task distribution end also includes:
Memory element, connects described result feedback unit, is used for preserving described test result;
Display unit, connects described result feedback unit, for showing described test result to user.
7. Auto-Test System as claimed in claim 6, it is characterised in that described result feedback unit includes:
First object module, for the described test result returned after processing and export execution once described test assignment;
Second object module, connects described first object module, for being integrally formed corresponding described test result according to the result returned after performing repeatedly test assignment described in continuous print and export;
3rd object module, for periodically obtaining the failure diagnosis information that described mobile terminal is uploaded, carries out processing and exporting as described test result;
Position reporting modules, for analyzing the corresponding real-time position information that the described mobile terminal performing described test assignment returns, processes and exports the location track of described mobile terminal.
8. an automatic test approach, it is characterised in that adopt a task distribution end remotely to connect multiple described mobile terminals respectively, be preset with multiple test assignment in described task distribution end;
Described automatic test approach specifically includes:
Step S1, described task distribution end obtains the power of test information of the described mobile terminal connected;
Step S2, described task distribution end obtains the test request of externally input;
Step S3, corresponding described test assignment is searched and selected to described task distribution end according to described test request, and search and select described power of test information to meet the described mobile terminal of described test request;
Step S4, described task distribution end issues selected described test assignment to selected described mobile terminal;
Step S5, described task distribution end obtains the test result of feedback after corresponding described mobile terminal performs described test assignment and shows.
9. automatic test approach as claimed in claim 8, it is characterised in that described step S1 specifically includes:
Step S11, described task distribution end obtains described power of test information that the described mobile terminal that connects uploads and preserves;
Step S12, it is judged that whether the described power of test information that described mobile terminal is uploaded is enough:
If the described power of test information obtained is enough, then go to described step S2;
Step S13, described task distribution end issues capability query instruction to corresponding described mobile terminal;
Step S14, described task distribution end obtains corresponding described power of test information that described mobile terminal uploads according to described capability query instruction and preserves, and then switches into described step S2.
10. automatic test approach as claimed in claim 9, it is characterised in that in described step S1, when described mobile terminal disconnects with described task distribution end, deletes the corresponding described power of test information of described mobile terminal from described task distribution end.
11. automatic test approach as claimed in claim 8, it is characterised in that described test assignment includes corresponding task number and test action;
Described step S4 specifically includes:
Step S41, described task distribution end issues corresponding described task number to described mobile terminal;
Step S42, described task distribution end judges whether to receive the message that the described test assignment of expression of described mobile terminal return cannot perform:
If not receiving the described message representing that described test assignment cannot perform, then go to described step S5;
Step S43, described task distribution end issues corresponding described test action to described mobile terminal, then switches into described step S5.
12. automatic test approach as claimed in claim 8, it is characterised in that in described step S5, the described test result that described mobile terminal is fed back by described task distribution end carries out respective handling and the method that shows includes:
The described test result obtained after having performed a described test assignment is carried out respective handling and shows by described task distribution end;And/or
The result obtained after continuously performing multiple described test assignment is integrated form corresponding described test result and show by described task distribution end;And/or
Described task distribution end obtains the real-time position information of the described mobile terminal performing described test assignment, processes and export the location track of described mobile terminal;And/or
Described task distribution end periodically obtains the failure diagnosis information of the described mobile terminal performing described test assignment, carries out processing and exporting as described test result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410849706.5A CN105813102B (en) | 2014-12-30 | 2014-12-30 | Automatic test system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410849706.5A CN105813102B (en) | 2014-12-30 | 2014-12-30 | Automatic test system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105813102A true CN105813102A (en) | 2016-07-27 |
CN105813102B CN105813102B (en) | 2019-12-27 |
Family
ID=56421471
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410849706.5A Active CN105813102B (en) | 2014-12-30 | 2014-12-30 | Automatic test system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105813102B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107783894A (en) * | 2016-08-26 | 2018-03-09 | 上海计算机软件技术开发中心 | A kind of multitask multiple terminals Mobile solution method of testing and its system |
CN107895217A (en) * | 2017-08-04 | 2018-04-10 | 平安普惠企业管理有限公司 | Test and management method and application server |
CN105813102B (en) * | 2014-12-30 | 2019-12-27 | 展讯通信(上海)有限公司 | Automatic test system and method |
CN111240857A (en) * | 2020-01-03 | 2020-06-05 | 上海瀚之友信息技术服务有限公司 | Remote service calling system and method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917306A (en) * | 2010-08-20 | 2010-12-15 | 北京星网锐捷网络技术有限公司 | Method, system and device for automatic test |
EP2530968A1 (en) * | 2011-05-30 | 2012-12-05 | Sequans Communications | Method for testing a device bound to be inserted in a mobile terminal, as well as corresponding system, device and computer program product |
CN103973858A (en) * | 2014-05-21 | 2014-08-06 | 重庆泰凯科技有限公司 | Automatic testing system of mobile terminals |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105813102B (en) * | 2014-12-30 | 2019-12-27 | 展讯通信(上海)有限公司 | Automatic test system and method |
-
2014
- 2014-12-30 CN CN201410849706.5A patent/CN105813102B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917306A (en) * | 2010-08-20 | 2010-12-15 | 北京星网锐捷网络技术有限公司 | Method, system and device for automatic test |
EP2530968A1 (en) * | 2011-05-30 | 2012-12-05 | Sequans Communications | Method for testing a device bound to be inserted in a mobile terminal, as well as corresponding system, device and computer program product |
CN103973858A (en) * | 2014-05-21 | 2014-08-06 | 重庆泰凯科技有限公司 | Automatic testing system of mobile terminals |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105813102B (en) * | 2014-12-30 | 2019-12-27 | 展讯通信(上海)有限公司 | Automatic test system and method |
CN107783894A (en) * | 2016-08-26 | 2018-03-09 | 上海计算机软件技术开发中心 | A kind of multitask multiple terminals Mobile solution method of testing and its system |
CN107895217A (en) * | 2017-08-04 | 2018-04-10 | 平安普惠企业管理有限公司 | Test and management method and application server |
CN111240857A (en) * | 2020-01-03 | 2020-06-05 | 上海瀚之友信息技术服务有限公司 | Remote service calling system and method |
CN111240857B (en) * | 2020-01-03 | 2023-02-21 | 上海瀚之友信息技术服务有限公司 | Remote service calling system and method |
Also Published As
Publication number | Publication date |
---|---|
CN105813102B (en) | 2019-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109408746A (en) | Portrait information query method, device, computer equipment and storage medium | |
CN104978529A (en) | Exception handling method, exception handling system and exception handling server for webpage front end | |
CN104981768A (en) | Cloud-based streaming data receiver and persister | |
CN101510167A (en) | Plug-in component operation method, apparatus and system | |
CN105813102A (en) | Automatic testing system and automatic testing method | |
CN105615832A (en) | Medical image data acquisition method and device | |
CN111782635B (en) | Data processing method and device, storage medium and electronic device | |
CN111258680B (en) | Resource loading method and device, storage medium and electronic device | |
CN111782317A (en) | Page testing method and device, storage medium and electronic device | |
JP2021128776A5 (en) | ||
CN110990048A (en) | Method and system for monitoring resource loss of Unity project | |
CN109522467A (en) | A kind of analysis method and device of the label time based on big data platform | |
CN105187562A (en) | System and method for operating remote file | |
CN111245671A (en) | Automatic integrated test system for ground test of satellite laser communication terminal | |
CN113918437A (en) | User behavior data analysis method and device, computer equipment and storage medium | |
CN104714718A (en) | Method and device for marking operable icons in interactive applications | |
CN112486911A (en) | Robot operation data collection management method and device, storage medium and terminal | |
CN111376255B (en) | Robot data acquisition method and device and terminal equipment | |
CN116578497A (en) | Automatic interface testing method, system, computer equipment and storage medium | |
CN108647139B (en) | System test method, device, storage medium and electronic device | |
CN101267354A (en) | A collection and management method for network environment device information | |
CN111355772B (en) | Remote management method, device and equipment based on software | |
CN113296913A (en) | Data processing method, device and equipment based on single cluster and storage medium | |
CN113253685A (en) | Industrial data acquisition method, device, equipment and medium | |
CN113676353A (en) | Control method and device for equipment, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |