CN105988904A - Self-adaptive testing method and system - Google Patents

Self-adaptive testing method and system Download PDF

Info

Publication number
CN105988904A
CN105988904A CN201510063298.5A CN201510063298A CN105988904A CN 105988904 A CN105988904 A CN 105988904A CN 201510063298 A CN201510063298 A CN 201510063298A CN 105988904 A CN105988904 A CN 105988904A
Authority
CN
China
Prior art keywords
test
mobile terminal
testing
control end
execution file
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.)
Pending
Application number
CN201510063298.5A
Other languages
Chinese (zh)
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.)
Spreadtrum Communications Tianjin Co Ltd
Original Assignee
Spreadtrum Communications Tianjin 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 Spreadtrum Communications Tianjin Co Ltd filed Critical Spreadtrum Communications Tianjin Co Ltd
Priority to CN201510063298.5A priority Critical patent/CN105988904A/en
Publication of CN105988904A publication Critical patent/CN105988904A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a self-adaptive testing method and a self-adaptive testing system, and belongs to the technical field of automation testing. The self-adaptive testing method comprises the following steps: S1, according to testing requirements of external input, selecting a plurality of corresponding testing scripts so as to form at least one corresponding testing sequence; S2, according to the testing requirements, combining at least one corresponding testing sequence to generate a corresponding testing scene in a preset implementation sequence, and furthermore generating a corresponding testing implementation file; S3, transmitting the testing implementation file to at least one corresponding mobile terminal connected to a control terminal so as to control the mobile terminal to implement automation testing operation according to the issued testing implementation file. The self-adaptive testing system comprises a script management unit, a first management unit, a second management unit and a testing implementation unit. The technical scheme has the beneficial effects that testing resources can be saved, the testing efficiency can be improved, and the testing situations of automation testing can be comprehensively handled by a user.

Description

A kind of self-adapting testing method and system
Technical field
The present invention relates to automatization testing technique field, particularly relate to a kind of self-adapting testing method and system.
Background technology
In prior art, it usually needs mobile terminal is tested, to ensure that mobile terminal can normally use.
In prior art, mobile terminal tested and is typically automatically to carry out, i.e. mobile terminal is carried out automatic test.But in prior art, above-mentioned automatic test course can not preferably adapt to different test scenes, tester also is difficult to corresponding different test scene and is modified test mode, thus causes actual test effectiveness comparison poor, it is difficult to reach intended test purpose.
Summary of the invention
According to problems of the prior art, now provide the technical scheme of a kind of self-adapting testing method and system, it is intended to realize adaptive testing environment and mobile terminal is carried out the purpose of automatic test.
Technique scheme specifically includes:
A kind of self-adapting testing method, wherein, including controlling end and the multiple mobile terminals being connected respectively with described control end;
It is provided with multiple test script in described control end;
Method of testing specifically includes:
Step S1, according to the testing requirement of outside input, selects corresponding multiple described test script, with composition at least one cycle tests corresponding;
Step S2, according to described testing requirement, according to predetermined execution sequence by least one corresponding described corresponding test scene of cycle tests combination producing one, and and then generates a corresponding test execution file;
Step S3, sends described test execution file at least one the described mobile terminal corresponding being connected to described control end, to control described mobile terminal according to the described test execution file execution automatic test operation issued.
Preferably, this self-adapting testing method, wherein, in described step S1, the described testing requirement of outside input includes at least one test action, and described control end forms a corresponding described cycle tests according to each described test action respectively.
Preferably, this self-adapting testing method, wherein, after performing described step S3, described control end monitors corresponding described mobile terminal and performs the process of described test file, and obtains for representing that corresponding described mobile terminal performs the test result information of the situation of described test execution file.
Preferably, this self-adapting testing method, wherein, the test result that described test result information exports after including performing each described test script, and/or perform the test result of output after each described cycle tests, and/or perform the test result of output after each described test execution file.
Preferably, this self-adapting testing method, wherein, after performing described step S3, described control end monitors corresponding described mobile terminal and performs the process of described test execution file, and obtain for represent corresponding described mobile terminal in during the report information of obstructing event that produces.
Preferably, this self-adapting testing method, wherein, after performing described step S3, described control end performs, in described mobile terminal, the following information that produces during described test execution file according to obtain and carries out process and form the output of corresponding test report:
The test result information of the implementation status for representing described test execution file of described mobile terminal output, and/or
The report information of the obstructing event produced during representing the described mobile terminal described test execution file of execution.
Preferably, this self-adapting testing method, wherein, in described step S3, the described test execution file that described control end issues includes the initial time performing described test execution file and/or the finish time that described control end sets.
Preferably, this self-adapting testing method, wherein, described step S3 specifically includes:
Step S31, described control end selects at least one described mobile terminal corresponding according to the described test execution file formed;
Step S32, described control end issues a described test execution file to each selected described mobile terminal respectively, to control described mobile terminal according to the described test execution file execution automatic test operation issued.
A kind of adaptive testing system, wherein, including controlling end and the multiple mobile terminals being remotely connected respectively with described control end;
Described control end includes:
Script administrative unit, is wherein preset with multiple test script, and described script administrative unit is for test script described in user editor;
First administrative unit, connects described script administrative unit, for selecting corresponding multiple described test scripts according to the testing requirement of outside input and be packaged at least one cycle tests output;
Second administrative unit, connects described second administrative unit, for according to described testing requirement, the combination of at least one described cycle tests being formed a corresponding test execution file and exported;
Test execution unit, connects described second administrative unit, is used for selecting corresponding described mobile terminal and issuing described test execution file, carries out automatic test for described mobile terminal.
Preferably, this adaptive testing system, wherein, described control end also includes:
Result treatment unit, is used for obtaining the result obtained after described mobile terminal performs described test execution file and carrying out process forming the output of corresponding test report;
Described result treatment unit farther includes:
First acquisition module, obtains for representing that corresponding described mobile terminal performs the test result information of the situation of described test execution file;
Second acquisition module, obtain for represent corresponding described mobile terminal in during the report information of obstructing event that produces;
Processing module, connects described first acquisition module and described second acquisition module respectively, for forming corresponding test report according to described test result information and described report information process and export.
Preferably, this adaptive testing system, wherein, described control end also includes:
Monitoring unit, connects described result treatment unit, for being monitored the described mobile terminal carrying out automatic test, and sends corresponding monitored results to described result treatment unit;
Described monitored results includes described test result information and/or described report information.
Preferably, this adaptive testing system, wherein, described control end also includes:
Display unit, connects described result treatment unit;
The built-in one interface display template preset in described display unit, the test report that described result treatment unit is exported by described display unit is filled to described interface display template, and is passed through, to user display, the described interface display template filled.
Preferably, this adaptive testing system, wherein, described test execution unit includes:
Select module, for according to described test execution file to be issued, select at least one described mobile terminal corresponding;
Issue module, connect described selection module, for issuing described test execution file to each selected described mobile terminal.
Preferably, this adaptive testing system, wherein, described control end also includes:
Demand input block, connects described first administrative unit and described second administrative unit respectively, and described demand input block inputs described testing requirement for user;
Condition monitoring unit, is connected to the duty of the described mobile terminal of described control end for monitoring.
Technique scheme provides the benefit that:
1) support that many equipment is tested, save test resource;
2) adaptive testing scene carries out the arrangement of cycle tests, promotes testing efficiency;
3) monitoring automation test process at any time, it is simple to user grasps the test case of automatic test comprehensively.
Accompanying drawing explanation
Fig. 1 is in the preferred embodiment of the present invention, the schematic flow sheet of a kind of self-adapting testing method;
Fig. 2 is in the preferred embodiment of the present invention, on the basis of Fig. 1, selects mobile terminal and issues the idiographic flow schematic diagram of test execution file;
Fig. 3-4 is in the preferred embodiment of the present invention, the structural representation of a kind of adaptive testing system.
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 are obtained on the premise of not making creative work, broadly fall into the scope of protection of the invention.
It should be noted that in the case of not conflicting, the embodiment in the present invention and the feature in embodiment can be mutually combined.
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings, but not as limiting to the invention.
In prior art, when mobile terminal is carried out automatic test, being typically only capable to test according to fixing test script, automatic test course cannot adapt to different test scenes, it is impossible to meets user and arbitrarily selects the testing requirement of script combination in any.
Based on the above-mentioned problems in the prior art, a kind of self-adapting testing method of existing offer.The application of this method of testing is as it is shown on figure 3, include a control end A, and multiple mobile terminal B being connected with this control end A respectively.In the preferred embodiment of the present invention, controlling end A can be computer (PC), mobile terminal B and the connection controlled between end A can be wired connection, it is also possible to for other connected modes such as wireless connections, be not intended at this control the connected mode between end A and mobile terminal B.
In the preferred embodiment of the present invention, control end A is preset with multiple test script.Specifically, in the preferred embodiment of the present invention, mobile terminal performs test script, it is possible to call the test action that its internal module performs to write in advance in test script automatically, such as, dial, check the actions such as the reception of talking state, short message sending, note and opening and closing data traffic.
In the preferred embodiment of the present invention, based on above-mentioned setting, the step of above-mentioned self-adapting testing method is concrete as it is shown in figure 1, include:
Step S1, according to the testing requirement of outside input, selects corresponding multiple test script, with composition at least one cycle tests corresponding;
In the preferred embodiment of the present invention, the testing requirement of outside input can include multiple test assignment.Corresponding each test assignment, can select multiple test script, to form a corresponding cycle tests.
Specifically, in the preferred embodiment of the present invention, so-called test assignment, it is often referred to test the set of the action of a functional module.The such as task of test call function.This test assignment i.e. can include multiple test script, such as, dial, check talking state, keep talking state and the action such as hang up the telephone, the most also then correspond to multiple test script.Therefore, when testing requirement includes above-mentioned call task, then directly above-mentioned test script is combined into a corresponding cycle tests.In the preferred embodiment of the present invention, after control end A chooses above-mentioned test script, according to certain execution sequence, these test scripts are packaged in a cycle tests (Test Sequence).When corresponding mobile terminal B performs this cycle tests, be according to predetermined execution sequence perform including test script, thus complete corresponding test assignment.
The most such as, the task of test short message transmission-receiving function, this test assignment can include multiple test script, such as short message sending, check that transmission state, note receive and check the actions such as reception state, the most also then correspond to multiple test script.Therefore, when testing requirement includes above-mentioned call task, then directly above-mentioned test script is combined into a corresponding cycle tests.In the preferred embodiment of the present invention, after control end A chooses above-mentioned test script, according to certain execution sequence, these test scripts are packaged in a cycle tests.When corresponding mobile terminal B performs this cycle tests, be according to predetermined execution sequence perform including test script, thus complete corresponding test assignment.
In sum, in the preferred embodiment of the present invention, in above-mentioned steps S1, control the testing requirement that end A inputs according to outside, judge wherein included test assignment, select corresponding at least one (being enough to this test assignment with selected test script be as the criterion) in the test script controlling to preset in end A according to each test assignment, and selected test script is formed a cycle tests with default execution sequence combination.Then mobile terminal performs this cycle tests, i.e. can complete corresponding test assignment.
In the preferred embodiment of the present invention, can include multiple test assignment in a testing requirement, therefore a testing requirement can be correspondingly formed multiple cycle tests.
In the preferred embodiment of the present invention, testing requirement can be inputted by user, or system provides standard form to set for user.
Step S2, according to testing requirement, according to predetermined execution sequence by least one corresponding corresponding test scene of cycle tests combination producing one, and and then generates a corresponding test execution file;
In the preferred embodiment of the present invention, the testing requirement in step S2 remains as the testing requirement in above-mentioned steps S1.Specifically, in the preferred embodiment of the present invention, testing requirement includes the test logic that user sets, and tests logic and be actually used in the test scene (Test Session) needing simulation when setting mobile terminal is tested.Such as, user sets now mobile terminal needs simulation first to converse and receive and dispatch the test scene of note afterwards, therefore control end A to would indicate that the cycle tests carrying out communication process test and represent that the cycle tests carrying out short message receiving-transmitting procedural test is combined, to form a corresponding test execution file (Runner), this test execution file is i.e. corresponding to above-mentioned test scene.
The most such as, user sets now mobile terminal needs simulation to carry out the test scene of first test short message transmitting-receiving re-test network savvy, then control end A to would indicate that the cycle tests carrying out test short message transmitting-receiving procedural test and represent that the cycle tests (may include turn on data traffic, check networking state and close the actions such as data traffic) carrying out network savvy test is combined, to form a corresponding test execution file, this test execution file is i.e. corresponding to above-mentioned test scene.
In sum, in above-mentioned steps S2, controlling the test logic that end A includes according to testing requirement, create a test scene needing mobile terminal to go simulation accordingly, this test scene is made up of at least one cycle tests corresponding.In the preferred embodiment of the present invention, the test scene created is included in corresponding test execution file, in other words, generates corresponding test execution file according to the test scene created.
Step S3, sends test execution file at least one mobile terminal corresponding being connected to control end, to control mobile terminal according to the test execution file execution automatic test operation issued.
In the preferred embodiment of the present invention, as in figure 2 it is shown, above-mentioned steps S3 specifically includes:
Step S31, controls end and selects at least one mobile terminal corresponding according to the test execution file formed;
In the preferred embodiment of the present invention, control the above-mentioned test scene of test execution representation of file that end A is formed, and this test scene reflects the testing requirement of user.Specifically, in the preferred embodiment of the present invention, except including above-mentioned test assignment (such as test call functional module, and/or test short message transmission-receiving function module etc.) in the testing requirement of user, also include system needs are tested on which platform.In the preferred embodiment of the present invention, so-called platform is it can be understood as the running environment of system, and different tests needs to carry out in the most different running environment.Then in the preferred embodiment of the present invention, control end A according to test module corresponding to the above test execution file, and the test platform of correspondence, in the mobile terminal connected, select to be suitable for the mobile terminal of test.
Step S32, controls end and issues a test execution file to each selected mobile terminal respectively, to control mobile terminal according to the test execution file execution automatic test operation issued.
In the preferred embodiment of the present invention, in some cases, there may be and control end A and connect the mobile terminal B of multiple applicable tests, i.e. control end A and have selected multiple mobile terminal B and test, then control end A and issue a corresponding test execution file to selected each mobile terminal B respectively.Therefore, in this case, the test execution file that control end A issues can include multiple, and the plurality of test execution file both corresponds to now need the test scene of simulation.
In the preferred embodiment of the present invention, before testing and in test process, controlling end A and be all monitored the duty of mobile terminal B, whether such as monitoring mobile terminal goes offline, whether Access Control end, if in performing automatic test course or be in idle condition.In the preferred embodiment of the present invention, control end A and mobile terminal B also carries out testing distribution and the recovery of device resource, and mobile terminal can be performed any adb operation.
In the preferred embodiment of the present invention, in above-mentioned test execution file, control end A and can also set each test script and/or the initial time of each cycle tests and finish time, i.e. provide reservation test function, with meet some special test needs a large amount of test equipment start simultaneously at test and/or simultaneously terminate test test request.
In the preferred embodiment of the present invention, after having performed above-mentioned steps S3, i.e. controlling end A and issue test execution file to after corresponding mobile terminal B, control end A and start to carry out the mobile terminal B tested actively monitoring, the content of monitoring is:
1) whether mobile terminal B produces corresponding obstructing event (Crash) during performing this test execution file, and the particular content of obstructing event, in other words, whether monitoring mobile terminal produces obstructing event in performing automatic test course, and obtains the report information recording this obstructing event particular content.
Specifically, in the preferred embodiment of the present invention, above-mentioned obstructing event can be the various obstructions occurred in automatic test course, and such as Java Crash, Native Crash, Kernel Crash, ANR exception and modem are abnormal.
2) test result information that mobile terminal B produces during performing this test execution file.In the preferred embodiment of the present invention, so-called test result information, can include that mobile terminal B performs the test result (Pass or Fail) of each test script, and/or mobile terminal B performs the test result (Pass or Fail) of every cycle tests, and/or mobile terminal B simulates the test result (Pass or Fail) of whole test scene (i.e. performing whole test execution file).
In the preferred embodiment of the present invention, control end A and monitor and obtain above-mentioned information, process the most accordingly, to form corresponding test report and to export.
In the preferred embodiment of the present invention, above-mentioned test report can use certain forms to be shown to user and check, such as preset an indicating template, and the test report generated is filled in this indicating template, and show to user and to have been filled with complete indicating template, i.e. use the display interface of particular content in fixing a shown test report to show to user.
In sum, it is an object of the invention to:
Control the testing requirement that end sets according to user, select at least one test script corresponding wherein preset, and the different test assignment combination that at least one test script selected includes according to testing requirement is formed the most different cycle testss;
Control end subsequently to be combined different cycle testss forming the test scene needing mobile terminal to be simulated corresponding to setting in testing requirement, and form corresponding test execution file according to the combination of at least one cycle tests representing this test scene.
Finally control end and select corresponding mobile terminal according to test module corresponding to test execution file and test platform, and issue this test execution file to this selected mobile terminal;Mobile terminal performs automatic test according to the test execution file issued.In test process, control end monitoring test case, it is thus achieved that the report of the obstructing event produced in test result, and test, thus process forms complete test report and shows.
In the preferred embodiment of the present invention, based on above-mentioned self-adapting testing method, a kind of adaptive testing system of existing offer, the population structure of this system is as it is shown on figure 3, include controlling end A and multiple mobile terminal B.In the preferred embodiment of the present invention, control end A and be connected with each mobile terminal B respectively.The mode connected can be that long distance wireless connects, it is also possible to for wired connection, does not restricts connected mode at this.
In the preferred embodiment of the present invention, further, as shown in Figure 4, above-mentioned control end A includes:
Script administrative unit 1.In the preferred embodiment of the present invention, being preset with multiple test script in script administrative unit 1, script administrative unit 1 is for user editor's test script.Specifically, in the preferred embodiment of the present invention, so-called editor's test script, can include adding and deleting test script, and modify to the test script wherein preset to wait and operate.
First administrative unit 2, connects script administrative unit 1.In the preferred embodiment of the present invention, the first administrative unit 2 is for selecting corresponding multiple test scripts according to the testing requirement of outside input and be packaged at least one cycle tests output.
In the preferred embodiment of the present invention, as noted before, first administrative unit 2 is according to outside input or the testing requirement of setting, first at least one test script preset is selected, and the test script being used for a test assignment is combined and forms a corresponding cycle tests, in this cycle tests, according to certain execution sequence arrangement between test script.In the preferred embodiment of the present invention, if testing requirement is set with multiple test assignment, the most correspondingly will generate multiple cycle tests.
Second administrative unit 3, connects the second administrative unit 2.In the preferred embodiment of the present invention, the second administrative unit 3 is for according to testing requirement, forming a corresponding test execution file by the combination of at least one cycle tests and export.
In the preferred embodiment of the present invention, as noted before, second administrative unit 3 is according to outside input or the testing requirement of setting, the cycle tests that first administrative unit 2 exported (to should at least one cycle tests of testing requirement) is combined, to form the test scene of the required simulation of this test.In the preferred embodiment of the present invention, if the cycle tests of above-mentioned first administrative unit 2 output is only one, then the test scene that the second administrative unit 3 process is formed i.e. can use this cycle tests to represent.
In the preferred embodiment of the present invention, above-mentioned test scene realizes with the form of test execution file, the i.e. second administrative unit 3 finally export for test execution file.Control end A and this test execution file is issued to corresponding mobile terminal B execution, to control the test scene required by mobile terminal B simulation test demand.
Test execution unit 4, connects the second administrative unit 3.In the preferred embodiment of the present invention, test execution unit 4 is used for selecting corresponding mobile terminal and issuing test execution file, carries out automatic test for mobile terminal.
Further, in the preferred embodiment of the present invention, as shown in Figure 4, above-mentioned test execution unit 4 includes:
Select module 41, for according to test execution file to be issued, select at least one mobile terminal corresponding;
In the preferred embodiment of the present invention, as noted before, one testing requirement is corresponding to a test execution file, and in each testing requirement, user can set this test process needs to test which kind of functional module (such as call module and/or SMS module etc.), and/or tests on which kind of test platform.And in the different mobile terminal B connected from control end A, be equipped with different test platforms, wherein may also open different functional modules for testing.Therefore, select module 41 according to test execution file, be specially test platform functional module and/or the test in requisition for test relied on according to this testing requirement, select corresponding mobile terminal B.
In the preferred embodiment of the present invention, selected mobile terminal B can be one, it is also possible to for multiple.
Issue module 42, connect above-mentioned selection module 41.In the preferred embodiment of the present invention, issue module 42 for issuing test execution file to each selected mobile terminal.
In the preferred embodiment of the present invention, when after selected above-mentioned at least one mobile terminal B, issue module 42 and issue a test execution file to each chosen mobile terminal B respectively.In the preferred embodiment of the present invention, the test execution file that control end A is issued to multiple mobile terminal B selected for same testing requirement is identical.
In the preferred embodiment of the present invention, above-mentioned control end A also includes:
Result treatment unit 5.In the preferred embodiment of the present invention, the above results processing unit 5 is used for obtaining the result obtained after mobile terminal performs test execution file and carrying out process forming the output of corresponding test report;
In the preferred embodiment of the present invention, the above results processing unit 5 farther includes:
First acquisition module 51, obtains for representing that corresponding mobile terminal performs the test result information of the situation of test execution file;
Second acquisition module 52, obtain for represent corresponding mobile terminal in during the report information of obstructing event that produces.
In the preferred embodiment of the present invention, above-mentioned test result information includes performing the test result of output after each test script, and/or performs the test result of output after each cycle tests, and/or performs the test result of output after each test execution file.
Processing module 53, connects the first acquisition module and the second acquisition module respectively.In the preferred embodiment of the present invention, processing module 53 is for forming corresponding test report according to test result information and report information process and export.
In the preferred embodiment of the present invention, the most as shown in Figure 4, above-mentioned control end A includes:
Monitoring unit 6, connects the above results processing unit 5.In the preferred embodiment of the present invention, above-mentioned monitoring unit 6 is for being monitored the mobile terminal carrying out automatic test, and sends corresponding monitored results to result treatment unit;
In the preferred embodiment of the present invention, above-mentioned monitored results includes the above test result information and/or report information.
In the preferred embodiment of the present invention, above-mentioned control end A includes:
Display unit 7, connection result processing unit 6;
The built-in one interface display template preset in display unit 7, the test report that result treatment unit 5 is exported by display unit 7 is filled to interface display template, and is passed through, to user display, the interface display template filled.
Such as, set the indicating template of a fixed layout, and test report process completed is filled to this indicating template.Finally to user be shown that having been filled with complete, can completely show the indicating template of content in test report.
In the preferred embodiment of the present invention, above-mentioned control end A also includes:
Demand input block 8, connects the first administrative unit 2 and the second administrative unit 3 respectively, and demand input block is for user input test demand;
In the preferred embodiment of the present invention, demand input block inputs above-mentioned testing requirement for user, such as set, for user, the functional module that this test needs to use, and the environmental data such as the test platform relied on, and set the test substantial data such as this test assignment tested, and set other data etc. needing to set.
Condition monitoring unit 9, is connected to control the duty of the mobile terminal of end for monitoring.
In the preferred embodiment of the present invention, condition monitoring unit 9 specifically monitor mobile terminal B whether with control end A and be connected (whether go offline, whether access etc.), and the duty (being in test mode or idle condition) that monitoring mobile terminal B is current, and other useful states of monitoring mobile terminal B.
The foregoing is only preferred embodiment of the present invention; not thereby embodiments of the present invention and protection domain are limited; to those skilled in the art; the equivalent done by all utilization description of the invention and diagramatic content and the scheme obtained by obvious change should be can appreciate that, all should be included in protection scope of the present invention.

Claims (14)

1. a self-adapting testing method, it is characterised in that include control end and respectively with described control end The multiple mobile terminals connected;
It is provided with multiple test script in described control end;
Method of testing specifically includes:
Step S1, according to the testing requirement of outside input, selects corresponding multiple described test script, with Composition at least one cycle tests corresponding;
Step S2, according to described testing requirement, according to predetermined execution sequence by least one corresponding institute State the corresponding test scene of cycle tests combination producing one, and and then generate a corresponding test execution file;
Step S3, sends described at least one the described mobile terminal corresponding being connected to described control end Test execution file, to control described mobile terminal according to the described test execution file execution issued automatically Change test operation.
2. self-adapting testing method as claimed in claim 1, it is characterised in that in described step S1, The described testing requirement of outside input includes at least one test assignment, and described control end is respectively according to every Individual described test assignment forms a corresponding described cycle tests.
3. self-adapting testing method as claimed in claim 1, it is characterised in that perform described step After S3, described control end monitors corresponding described mobile terminal and performs the process of described test file, and obtains Take in representing that corresponding described mobile terminal performs the test result letter of the situation of described test execution file Breath.
4. self-adapting testing method as claimed in claim 3, it is characterised in that described test result is believed The test result that breath exports after including performing each described test script, and/or perform each described test sequence The test result of output after row, and/or perform the test result of output after each described test execution file.
5. self-adapting testing method as claimed in claim 1, it is characterised in that perform described step After S3, described control end monitors corresponding described mobile terminal and performs the process of described test execution file, And obtain for represent corresponding described mobile terminal in during the report information of obstructing event that produces.
6. self-adapting testing method as claimed in claim 1, it is characterised in that perform described step After S3, described control end is according to the process performing described test execution file in described mobile terminal obtained The following information of middle generation also carries out process and forms the output of corresponding test report:
The test result of the implementation status for representing described test execution file of described mobile terminal output Information, and/or
For representing the obstructing event that described mobile terminal produces during performing described test execution file Report information.
7. self-adapting testing method as claimed in claim 1, it is characterised in that in described step S3, The described test execution file that described control end issues includes the described test of execution that described control end sets Perform initial time and/or the finish time of file.
8. self-adapting testing method as claimed in claim 1, it is characterised in that described step S3 has Body includes:
Step S31, described control end selects corresponding at least one according to the described test execution file formed Individual described mobile terminal;
Step S32, described control end issues described in one to each selected described mobile terminal respectively Test execution file, to control described mobile terminal according to the described test execution file execution issued automatically Change test operation.
9. an adaptive testing system, it is characterised in that include control end and respectively with described control end The multiple mobile terminals remotely connected;
Described control end includes:
Script administrative unit, is wherein preset with multiple test script, and described script administrative unit is for user Edit described test script;
First administrative unit, connects described script administrative unit, for the testing requirement according to outside input Select corresponding multiple described test script and be packaged at least one cycle tests output;
Second administrative unit, connects described second administrative unit, for according to described testing requirement, near Few described cycle tests combination forms a corresponding test execution file and exports;
Test execution unit, connects described second administrative unit, is used for selecting corresponding described mobile terminal And issue described test execution file, carry out automatic test for described mobile terminal.
10. adaptive testing system as claimed in claim 9, it is characterised in that in described control end Also include:
Result treatment unit, obtains after obtaining the described mobile terminal described test execution file of execution Result and carry out process formed corresponding test report output;
Described result treatment unit farther includes:
First acquisition module, obtains and is used for representing that corresponding described mobile terminal performs described test execution literary composition The test result information of the situation of part;
Second acquisition module, obtain for represent corresponding described mobile terminal in during produce obstruction The report information of event;
Processing module, connects described first acquisition module and described second acquisition module, respectively for basis Described test result information and described report information process form corresponding test report and export.
11. adaptive testing systems as claimed in claim 10, it is characterised in that in described control end Also include:
Monitoring unit, connects described result treatment unit, for carrying out described in automatic test Mobile terminal is monitored, and sends corresponding monitored results to described result treatment unit;
Described monitored results includes described test result information and/or described report information.
12. adaptive testing systems as claimed in claim 10, it is characterised in that in described control end Also include:
Display unit, connects described result treatment unit;
The built-in one interface display template preset in described display unit, described display unit is by described result The test report of processing unit output is filled to described interface display template, and passes through to user display The described interface display template filled.
13. adaptive testing systems as claimed in claim 9, it is characterised in that described test execution Unit includes:
Select module, for according to described test execution file to be issued, select corresponding at least one Described mobile terminal;
Issue module, connect described selection module, for issuing to each selected described mobile terminal Described test execution file.
14. adaptive testing systems as claimed in claim 9, it is characterised in that in described control end Also include:
Demand input block, connects described first administrative unit and described second administrative unit respectively, described Demand input block inputs described testing requirement for user;
Condition monitoring unit, is connected to the duty of the described mobile terminal of described control end for monitoring.
CN201510063298.5A 2015-02-06 2015-02-06 Self-adaptive testing method and system Pending CN105988904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510063298.5A CN105988904A (en) 2015-02-06 2015-02-06 Self-adaptive testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510063298.5A CN105988904A (en) 2015-02-06 2015-02-06 Self-adaptive testing method and system

Publications (1)

Publication Number Publication Date
CN105988904A true CN105988904A (en) 2016-10-05

Family

ID=57037868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510063298.5A Pending CN105988904A (en) 2015-02-06 2015-02-06 Self-adaptive testing method and system

Country Status (1)

Country Link
CN (1) CN105988904A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598874A (en) * 2017-02-08 2017-04-26 郑州云海信息技术有限公司 Method and device for automatically testing software
CN106886493A (en) * 2017-02-22 2017-06-23 郑州云海信息技术有限公司 The method for building up and device of a kind of automatization test system
CN107733743A (en) * 2017-11-10 2018-02-23 中国电子科技集团公司第四十研究所 Realize the method and system that industry ethernet data are tested automatically
CN108268377A (en) * 2018-01-23 2018-07-10 郑州云海信息技术有限公司 A kind of service test method of server, device and medium
CN108376115A (en) * 2018-01-29 2018-08-07 数据通信科学技术研究所 Across the Android platform automated testing method of one kind and system
WO2019000551A1 (en) * 2017-06-28 2019-01-03 歌尔科技有限公司 Vr integrated machine testing tool and method therefor
CN111901198A (en) * 2020-07-29 2020-11-06 中国科学院空天信息创新研究院 Automatic parallel test system and method for high-speed digital demodulator
CN112148623A (en) * 2020-10-19 2020-12-29 青岛鹏海软件有限公司 LIMS-based intelligent complete set of scene testing method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070094541A1 (en) * 2005-10-25 2007-04-26 Hua Kang Method and apparatus for generating test execution sequences automatically for a software testing process
CN103298016A (en) * 2012-02-27 2013-09-11 展讯通信(上海)有限公司 Test system for mobile terminals
CN103823754A (en) * 2014-02-11 2014-05-28 深圳市同洲电子股份有限公司 Method and device for realizing automatic testing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070094541A1 (en) * 2005-10-25 2007-04-26 Hua Kang Method and apparatus for generating test execution sequences automatically for a software testing process
CN103298016A (en) * 2012-02-27 2013-09-11 展讯通信(上海)有限公司 Test system for mobile terminals
CN103823754A (en) * 2014-02-11 2014-05-28 深圳市同洲电子股份有限公司 Method and device for realizing automatic testing

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598874A (en) * 2017-02-08 2017-04-26 郑州云海信息技术有限公司 Method and device for automatically testing software
CN106886493A (en) * 2017-02-22 2017-06-23 郑州云海信息技术有限公司 The method for building up and device of a kind of automatization test system
CN106886493B (en) * 2017-02-22 2021-02-02 苏州浪潮智能科技有限公司 Method and device for establishing automatic test system
WO2019000551A1 (en) * 2017-06-28 2019-01-03 歌尔科技有限公司 Vr integrated machine testing tool and method therefor
CN107733743A (en) * 2017-11-10 2018-02-23 中国电子科技集团公司第四十研究所 Realize the method and system that industry ethernet data are tested automatically
CN108268377A (en) * 2018-01-23 2018-07-10 郑州云海信息技术有限公司 A kind of service test method of server, device and medium
CN108376115A (en) * 2018-01-29 2018-08-07 数据通信科学技术研究所 Across the Android platform automated testing method of one kind and system
CN111901198A (en) * 2020-07-29 2020-11-06 中国科学院空天信息创新研究院 Automatic parallel test system and method for high-speed digital demodulator
CN112148623A (en) * 2020-10-19 2020-12-29 青岛鹏海软件有限公司 LIMS-based intelligent complete set of scene testing method

Similar Documents

Publication Publication Date Title
CN105988904A (en) Self-adaptive testing method and system
CN109039824B (en) Automatic test system and method for wireless remote communication protocol of vehicle-mounted terminal
CN109740222B (en) Testing device and system for automobile networking scene
CN112596972A (en) Vehicle-mounted equipment testing method, device and system and computer equipment
CN110532169A (en) Interface testing case generation method, device, computer equipment and storage medium
CN109726061B (en) SoC chip verification method
CN106100935A (en) Charging equipment of electric automobile communication protocol consistency test device and method
CN107018523A (en) WIFI module method of testing and device
US20090036115A1 (en) System and method for testing gsm modules
CN103516557A (en) Method and system for testing
CN104076806A (en) Method of carrying out automatic test on automobile electric control device and equipment
CN202694145U (en) Testing system for main control board
CN110677322B (en) Python language-based industrial control safety equipment automatic test system and method
CN105760300B (en) A kind of automated testing method and test macro of STK/UTK business
CN113747150B (en) Method and system for testing video service system based on container cloud
CN107733743B (en) Method and system for realizing automatic test of Ethernet bus data
CN103576667A (en) Main control panel test method, device and system
CN103457784A (en) Performance testing method and device
CN106405277B (en) Testing device and method for main processing unit in nuclear power station protection system
CN107590062B (en) Multi-client interaction testing method and device
CN116224963A (en) Automatic testing device of remote vehicle control system and construction method thereof
CN109712701A (en) Slave computer simulator and master system test method
CN111431739B (en) QualNet-oriented dynamic fault setting method for simulation communication network
CN110362906B (en) Method and system for simulating vehicle-mounted voltage dynamic change environment
CN114328196A (en) Method, device and equipment for testing data leakage prevention system and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161005