CN103095882A - Automated testing method and automated testing system for intelligent mobile terminal external field - Google Patents
Automated testing method and automated testing system for intelligent mobile terminal external field Download PDFInfo
- Publication number
- CN103095882A CN103095882A CN2012105924312A CN201210592431A CN103095882A CN 103095882 A CN103095882 A CN 103095882A CN 2012105924312 A CN2012105924312 A CN 2012105924312A CN 201210592431 A CN201210592431 A CN 201210592431A CN 103095882 A CN103095882 A CN 103095882A
- Authority
- CN
- China
- Prior art keywords
- test
- mobile terminal
- intelligent mobile
- script
- interface
- 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
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention relates to an automated testing method and an automated testing system for an intelligent mobile terminal external field. A test computer end is used for testing an agent program and providing a global positioning system (GPS) information receiving interface and a GOOGLEEARTH file operation interface. The GPS information receiving interface is used for receiving geographical location information sent back by a GPS device. The GOOGLEEARTH file operation interface is used for adding special marks to the received geographical location information and then writing the geographical location information into a keyhole markup language (KML) file. The KML file displays positions of various test results on a map in a whole test process, and then the KML file is sent to the test computer. The GPS device is arranged nearby an intelligent mobile terminal to be tested and used for collecting the geographical location information of the intelligent mobile terminal to be tested and sending the geographical location information to the GPS information receiving interface. According to the automated testing method of the intelligent mobile terminal, the test results and the test positions are combined to be displayed together, and therefore the corresponding relation between the test positions and the test results is displayed visually.
Description
Technical field
The present invention relates to a kind of automatization test system, a kind of intelligent mobile terminal automatic field test macro specifically belongs to the automatization testing technique field.
Background technology
the intelligent mobile terminal field testing refers to that modelling customer behavior carries out the operations such as voice or data service to the intelligent mobile terminal to be measured that uses at diverse geographic location, record the state of intelligent mobile terminal to be measured, network parameter arranges, the test results such as signal strength signal intensity, find out by the analytical test result problem that intelligent mobile terminal exists, wherein, described intelligent mobile terminal refers to carry the mobile terminal of intelligent operating system, intelligent operating system refers to have independently operating system and good user interface, can be by third party's application software extending functions of mobile terminal be installed.At present, rise along with mobile interconnected industry and Internet of Things, application software all improves on the complexity of function and structure greatly, and along with the release of new mobile platform operating system, need to test on more different terminal equipment with a software, experience with friendly user for the software quality that guarantees mobile terminal, Test Engineer's working strength and complexity increase greatly, and the testing cost of enterprise also increases greatly simultaneously.
Chinese patent literature CN1976526A discloses a kind of automatization test system and method for testing of mobile phone, test macro wherein comprises mechanical press-key apparatus, image collecting device and test control device, realize smart key to mobile phone by mechanical press-key apparatus, utilize the image collecting device realization to the supervision of mobile phone screen, utilize test control device to realize test result is judged, directly intelligent mobile terminal UI is operated, test comprehensively, can reach the effect identical with the manual testing, improve testing efficiency and reduced testing cost.
The automatization test system of the disclosed mobile phone of above-mentioned patent can't record the particular location of each test automatically, when finding that a certain test result has problem to need retest, can't not complete retest because knowing test position at that time and then the test environment that can't reappear at that time; Even can obtain at that time test position by manual record, existing test result is also separated with test position, intuitively the corresponding relation of observation test position and test result.
Summary of the invention
Technical problem to be solved by this invention is that automatization test system and the method for testing of intelligent mobile terminal in prior art can't intuitively show the technical problem of test position and test result corresponding relation, thereby the more intuitive a kind of intelligent mobile terminal automatic field test macro of test result and method of testing are provided.
For solving the problems of the technologies described above, the present invention is achieved by the following technical solutions:
A kind of intelligent mobile terminal automatic field method of testing comprises the steps:
Test computer, all are tested and use resources for management, and described test computer is the generation test assignment when the test beginning, and the described test assignment that generates is resolved the generation test instruction and sent to intelligent mobile terminal to be measured by script interface; Wherein, described test assignment is comprised of according to certain test logic some testing engineerings; Described test logic refers to the logical condition of tested tissue process; Described testing engineering refers to that the test that combined by some test datas and test script, described test script are the set of the computer-readable test instruction of basic test action, and described test script is stored in described test computer;
Described intelligent mobile terminal to be measured is equipped with the mobile device test agent, described mobile device test agent comprises test script execution engine, described test script is carried out the described test instruction of the described test computer transmission of engine reception and is carried out and obtains test result, and described test result is sent to described test computer;
The geographical location information of the described intelligent mobile terminal to be measured of GPS equipment Real-time Collection also sends to described test computer by GPS information receiving interface;
Described test computer is equipped with test computer end test agent, described test computer end test agent provides GPS information receiving interface and GOOGLEEARTH file operation interface, wherein, described GPS information receiving interface receives the geographical location information of the described intelligent mobile terminal to be measured of described GPS equipment transmission; Described GOOGLEEARTH file operation interface writes the KML file after the geographical location information that described GPS information receiving interface is received adds special marking, and described KML file shows the position of various test results in map in whole test process;
Described test computer receives the described test result that described intelligent mobile terminal to be measured sends, and the described test result that sends according to described KML file and the intelligent mobile terminal described to be measured that receives generates test log and storage.
Simultaneously, provide another kind of intelligent mobile terminal automatic field method of testing, comprise the steps:
Test computer, all are tested and use resources for management, and described test computer is the generation test assignment when the test beginning, and the described test assignment that generates is resolved the generation test instruction and sent to intelligent mobile terminal to be measured by script interface; Wherein, described test assignment is comprised of according to certain test logic some testing engineerings; Described test logic refers to the logical condition of tested tissue process; Described testing engineering refers to that the test that combined by some test datas and test script, described test script are the set of the computer-readable test instruction of basic test action, and described test script is stored in described test computer;
Described intelligent mobile terminal to be measured is equipped with the mobile device test agent, described mobile device test agent comprises test script execution engine, described test script is carried out the described test instruction of the described test computer transmission of engine reception and is carried out and obtains test result, and described test result is sent to described test computer;
The geographical location information of the described intelligent mobile terminal to be measured of GPS equipment Real-time Collection also sends to described test computer by GPS information receiving interface;
Described test computer is equipped with test computer end test agent, described test computer end test agent provides GPS information receiving interface and GOOGLEEARTH file operation interface, wherein, described GPS information receiving interface receives the geographical location information of the described intelligent mobile terminal to be measured of described GPS equipment transmission; The test result that prestores in the described test result that the intelligent mobile terminal described to be measured that described test computer basis receives sends and described test case compares, filter out wrong test result, and the geographical location information that the described test result of mistake is corresponding filters out; Described GOOGLEEARTH file operation interface writes the KML file after wrong geographical location information corresponding to described test result added special marking, and described KML file shows the position of test result in map of the various mistakes in whole test process;
Described test computer receives the described test result that described intelligent mobile terminal to be measured sends, and the described test result that sends according to described KML file and the intelligent mobile terminal described to be measured that receives generates test log and storage.
Described script interface in described test computer comprises system script interface and custom script interface, wherein, described custom script interface is used for adding the plug-in unit that the user writes, and the plug-in unit that the user writes converts testing engineering to and is loaded on described test script to be carried out engine-operated.
Described script interface can be called simultaneously by many described intelligent mobile terminals to be measured.
Described system script interface comprises:
The journalizing interface is used for carrying out engine by the described test script of operation and generates test log;
The test case interface is used for described testing engineering and is written into described test case;
The equipment operating interface is used for described testing engineering and carries out the operation of modelling customer behavior actuating equipment;
The key assignments management interface is used for described testing engineering and carries out the key assignments setting;
Other management interfaces are used for providing other interfaces that described testing engineering moves.
Described intelligent mobile terminal to be measured comprises smart mobile phone and panel computer.
Simultaneously, provide a kind of intelligent mobile terminal automatic field test macro, comprising:
Test computer, described test computer further comprise,
Storage device is used for the storage test script;
Management devices is used for all test resources of management;
Test assignment is assigned device, is used for generating test assignment when the test beginning;
Test instruction generating apparatus, described test computer are equipped with test computer end test agent, the described test assignment that generates are resolved form test instruction and send to intelligent mobile terminal to be measured by script interface; Wherein, described test assignment is comprised of according to certain test logic some testing engineerings; Described test logic refers to the logical condition of tested tissue process; Described testing engineering refers to that the test that combined by some test datas and test script, described testing engineering comprise test frame, test case, key assignments setting and equipment configuration at least; Described test script is the set of the computer-readable test instruction of basic test action;
The test log generating apparatus is used for generating test log and storage according to the test result that KML file and intelligent mobile terminal to be measured return; Wherein, described test computer end test agent generation script interface, described script interface receives self-defining data and generates complete test script; Described test computer end test agent provides GPS information receiving interface and GOOGLEEARTH file operation interface, and described GPS information receiving interface wherein is used for receiving the geographical location information that GPS equipment is beamed back; Described GOOGLEEARTH file operation interface writes the KML file after the geographical location information that receives from described GPS equipment is added special marking, and described KML file shows the position of various test results in map in whole test process;
Intelligent mobile terminal to be measured, the mobile device test agent is installed, described mobile device test agent comprises test script execution engine, and described test instruction and execution that described test script is carried out the described test computer transmission of engine reception obtain test result; And give described test computer with described test result foldback;
GPS equipment is arranged near described intelligent mobile terminal to be measured, is used for the geographical location information of the described intelligent mobile terminal to be measured of Real-time Collection and sends to described GPS information receiving interface.
Simultaneously, provide another kind of intelligent mobile terminal automatic field test macro, comprising:
Test computer, described test computer further comprise,
Storage device is used for the storage test script;
Management devices is used for all test resources of management;
Test assignment is assigned device, is used for generating test assignment when the test beginning;
Test instruction generating apparatus, described test computer are equipped with test computer end test agent, the described test assignment that generates are resolved form test instruction and send to intelligent mobile terminal to be measured by script interface; Wherein, described test assignment is comprised of according to certain test logic some testing engineerings; Described test logic refers to the logical condition of tested tissue process; Described testing engineering refers to that the test that combined by some test datas and test script, described testing engineering comprise test frame, test case, key assignments setting and equipment configuration at least; Described test script is the set of the computer-readable test instruction of basic test action;
Error checking result treatment device, receive the geographical location information that test result that intelligent mobile terminal to be measured beams back and described GPS equipment are beamed back, and described test result and test case are compared with the test result that prestores, filter out wrong test result, and obtain wrong geographical location information corresponding to test result;
The test log generating apparatus is used for generating test log and storage according to the test result that KML file and intelligent mobile terminal to be measured return; Wherein, described test computer end test agent generation script interface, described script interface receives self-defining data and generates complete test script; Described test computer end test agent provides GPS information receiving interface and GOOGLEEARTH file operation interface, and described GPS information receiving interface wherein is used for receiving the geographical location information that GPS equipment is beamed back; Described GOOGLEEARTH file operation interface, write the KML file after the described geographical location information of the mistake of described error checking result treatment device output is added special marking, described KML file shows the position of test result in map of the various mistakes in whole test process;
Intelligent mobile terminal to be measured, the mobile device test agent is installed, described mobile device test agent comprises test script execution engine, and described test instruction and execution that described test script is carried out the described test computer transmission of engine reception obtain test result; And give described test computer with described test result foldback;
GPS equipment is arranged near described intelligent mobile terminal to be measured, is used for the geographical location information of the described intelligent mobile terminal to be measured of Real-time Collection and sends to described GPS information receiving interface.
Described script interface in described test computer comprises system script interface and custom script interface, wherein, described custom script interface is used for adding the plug-in unit that the user writes, and the plug-in unit that the user writes converts testing engineering to and is loaded on described test script to be carried out engine-operated.
Described script interface can be called simultaneously by many described intelligent mobile terminals to be measured.
Described system script interface comprises:
The journalizing interface is used for carrying out engine by the described test script of operation and generates test log;
The test case interface is used for described testing engineering and is written into described test case;
The equipment operating interface is used for described testing engineering and carries out the operation of modelling customer behavior actuating equipment;
The key assignments management interface is used for described testing engineering and carries out the key assignments setting;
Other management interfaces are used for providing other interfaces that described testing engineering moves.
Described intelligent mobile terminal to be measured comprises smart mobile phone and panel computer.
Technique scheme of the present invention has the following advantages compared to existing technology:
(1) a kind of intelligent mobile terminal automatic field method of testing of the present invention and system, be provided with GPS information receiving interface and GOOGLEEARTH file operation interface on test computer, described GPS information receiving interface wherein is used for receiving the geographical location information that GPS equipment is beamed back; Described GOOGLEEARTH file operation interface writes the KML file after adding special marking from the described geographical location information that receives, described KML file shows the position of various test results in map in whole test process; Described test computer receives the described test result that described intelligent mobile terminal to be measured sends, and the described test result that sends according to described KML file and the intelligent mobile terminal described to be measured that receives generates test log and storage.The automated testing method of described intelligent mobile terminal of the present invention combines test result and test position and shows, has shown intuitively test position and test result corresponding relation.And, the actual conditions of mobile test frequent according to needs in field testing position, test computer is used as testing server, whole test macro only can be completed by test computer and intelligent mobile terminal to be measured, avoided in testing server, test computer and the intelligent mobile terminal structural framing to be measured in existing test macro test to be limited by the restriction of the wireless signal at test position place, the convenient field testing that carries out whenever and wherever possible: simultaneously, simplified the structural framing in existing test macro, convenient and practical.
(2) the described script interface in described test computer comprises system script interface and custom script interface, wherein, described custom script interface is used for adding the plug-in unit that the user writes, and the plug-in unit that the user writes converts testing engineering to and is loaded on described test script to be carried out engine-operated; Facilitate the user to add voluntarily testing engineering according to the test needs, complete the test of corresponding function, function expansibility is strong.
(3) test interface in a kind of intelligent mobile terminal automatic field method of testing of the present invention can be called simultaneously by many intelligent mobile terminals to be measured, support many intelligent mobile terminals to be measured to test simultaneously, has outstanding autgmentability, the arbitrary extension test node, improved testing efficiency as required; Effectively complete many test scenes that intelligent mobile terminal is concurrent, mutual in field testing.
Description of drawings
For content of the present invention is more likely to be clearly understood, below in conjunction with accompanying drawing, the present invention is further detailed explanation, wherein,
Fig. 1 is a kind of intelligent mobile terminal automatic field method of testing flow chart of one embodiment of the invention;
Fig. 2 is the structural representation of a kind of intelligent mobile terminal automatic field test macro of one embodiment of the invention.
Embodiment
Shown in Figure 1, a kind of intelligent mobile terminal automatic field method of testing of one embodiment of the invention comprises the steps:
Test computer generates test assignment when the test beginning, and the described test assignment that generates is resolved the generation test instruction and sent to intelligent mobile terminal to be measured by script interface; Wherein, described test assignment is comprised of according to certain test logic some testing engineerings; Described test logic refers to the logical condition of tested tissue process; Described testing engineering refers to that the test that combined by some test datas and test script, described test script are the set of the computer-readable test instruction of basic test action, and described test script is stored in described test computer; Test computer is used in all test resources of test process management;
A plurality of intelligent mobile terminals to be measured, each described intelligent mobile terminal to be measured all is equipped with the mobile device test agent, described mobile device test agent comprises test script execution engine, described test script is carried out the described test instruction of the described test computer transmission of engine reception and is carried out and obtains test result, and described test result is sent to described test computer; As a kind of embodiment, a plurality of described intelligent mobile terminals to be measured are connected by between USB hub hub and usb data line and described test computer, guarantee reliable connection and communication between intelligent mobile terminal to be measured and described test computer in test process; In the present embodiment, described intelligent mobile terminal to be measured is the mobile phone that Android system is installed;
The geographical location information of the described intelligent mobile terminal to be measured of GPS equipment Real-time Collection also sends to described test computer by GPS information receiving interface;
Described test computer is equipped with test computer end test agent, described test computer end test agent provides GPS information receiving interface and GOOGLEEARTH file operation interface, wherein, described GPS information receiving interface receives the geographical location information of the described intelligent mobile terminal to be measured of described GPS equipment transmission; Described GOOGLEEARTH file operation interface writes the KML file after the geographical location information that described GPS information receiving interface is received adds special marking, and described KML file shows the position of various test results in map in whole test process;
Described test computer receives the described test result that described intelligent mobile terminal to be measured sends, and the described test result that sends according to described KML file and the intelligent mobile terminal described to be measured that receives generates test log and storage.
Described script interface comprises system script interface and custom script interface, and wherein, described custom script interface is used for adding the plug-in unit that the user writes, and the plug-in unit that the user writes converts testing engineering to and is loaded on described test script to be carried out engine-operated.As a specific embodiment of the present invention, described system script interface comprises: the journalizing interface is used for carrying out engine by the described test script of operation and generates test log; The test case interface is used for described testing engineering and is written into described test case; The equipment operating interface is used for described testing engineering and carries out the operation of modelling customer behavior actuating equipment; The key assignments management interface is used for described testing engineering and carries out the key assignments setting; Other management interfaces are used for providing other interfaces that described testing engineering moves.
Described script interface can be called simultaneously by many described intelligent mobile terminals to be measured; Make intelligent mobile terminal automatic field method of testing of the present invention support many intelligent mobile terminals to be measured to test simultaneously, have outstanding autgmentability, the arbitrary extension test node, improved testing efficiency as required
The automated testing method of described intelligent mobile terminal of the present invention combines test result and test position and shows, has shown intuitively test position and test result corresponding relation.And, the actual conditions of mobile test frequent according to needs in field testing position, test computer is used as testing server, whole test macro only can be completed by test computer and intelligent mobile terminal to be measured, avoided in testing server, test computer and the intelligent mobile terminal structural framing to be measured in existing test macro test to be limited by the restriction of the wireless signal at test position place, the convenient field testing that carries out whenever and wherever possible: simultaneously, simplified the structural framing in existing test macro, convenient and practical.
A kind of intelligent mobile terminal automatic field method of testing as second embodiment of the present invention comprises the steps:
Test computer, all are tested and use resources for management, and described test computer is the generation test assignment when the test beginning, and the described test assignment that generates is resolved the generation test instruction and sent to intelligent mobile terminal to be measured by script interface; Wherein, described test assignment is comprised of according to certain test logic some testing engineerings; Described test logic refers to the logical condition of tested tissue process; Described testing engineering refers to that the test that combined by some test datas and test script, described test script are the set of the computer-readable test instruction of basic test action, and described test script is stored in described test computer;
Described intelligent mobile terminal to be measured is equipped with the mobile device test agent, described mobile device test agent comprises test script execution engine, described test script is carried out the described test instruction of the described test computer transmission of engine reception and is carried out and obtains test result, and described test result is sent to described test computer;
The geographical location information of the described intelligent mobile terminal to be measured of GPS equipment Real-time Collection also sends to described test computer by GPS information receiving interface;
Described test computer is equipped with test computer end test agent, described test computer end test agent provides GPS information receiving interface and GOOGLEEARTH file operation interface, wherein, described GPS information receiving interface receives the geographical location information of the described intelligent mobile terminal to be measured of described GPS equipment transmission; The test result that prestores in the described test result that the intelligent mobile terminal described to be measured that described test computer basis receives sends and described test case compares, filter out wrong test result, and the geographical location information that the described test result of mistake is corresponding filters out; Described GOOGLEEARTH file operation interface writes the KML file after wrong geographical location information corresponding to described test result added special marking, and described KML file shows the position of test result in map of the various mistakes in whole test process;
Described test computer receives the described test result that described intelligent mobile terminal to be measured sends, and the described test result that sends according to described KML file and the intelligent mobile terminal described to be measured that receives generates test log and storage.
From only in first embodiment different be, the test result that prestores in all test results and test case is compared, and filter out wrong test result and wrong geographical location information corresponding to test result, and only show the position of test result in map of the various mistakes in whole test process in the KML file; Do not show the geographical location information that correct test result is corresponding, show more directly perceived, the test result of easy-to-look-up mistake and its corresponding test position.
Simultaneously, the invention provides a kind of intelligent mobile terminal automatic field test macro, comprising:
Test computer, described test computer further comprise,
Storage device is used for the storage test script;
Management devices is used for all test resources of management;
Test assignment is assigned device, is used for generating test assignment when the test beginning;
Test instruction generating apparatus, described test computer are equipped with test computer end test agent, the described test assignment that generates is resolved the formation test instruction send to intelligent mobile terminal to be measured; Wherein, described test assignment is comprised of according to certain test logic some testing engineerings; Described test logic refers to the logical condition of tested tissue process; Described testing engineering refers to that the test that combined by some test datas and test script, described testing engineering comprise test frame, test case, key assignments setting and equipment configuration at least; Described test script is the set of the computer-readable test instruction of basic test action;
The test log generating apparatus is used for generating test log and storage according to the test result that KML file and intelligent mobile terminal to be measured return; Wherein, described test computer end test agent generation script interface, described script interface receives self-defining data and generates complete test script; Described test computer end test agent provides GPS information receiving interface and GOOGLEEARTH file operation interface, and described GPS information receiving interface wherein is used for receiving the geographical location information that GPS equipment is beamed back; Described GOOGLEEARTH file operation interface writes the KML file after adding special marking from the described geographical location information that receives, described KML file shows the position of various test results in map in whole test process;
Intelligent mobile terminal to be measured, the mobile device test agent is installed, described mobile device test agent comprises test script execution engine, and described test instruction and execution that described test script is carried out the described test computer transmission of engine reception obtain test result; And give described test computer with described test result foldback;
GPS equipment is arranged near described intelligent mobile terminal to be measured, is used for the geographical location information of the described intelligent mobile terminal to be measured of Real-time Collection and sends to described GPS information receiving interface.
Described script interface in described test computer comprises system script interface and custom script interface, wherein, described custom script interface is used for adding the plug-in unit that the user writes, and the plug-in unit that the user writes converts testing engineering to and is loaded on described test script to be carried out engine-operated.
Described script interface can be called simultaneously by many described intelligent mobile terminals to be measured.
Described system script interface comprises:
The journalizing interface is used for carrying out engine by the described test script of operation and generates test log;
The test case interface is used for described testing engineering and is written into described test case;
The equipment operating interface is used for described testing engineering and carries out the operation of modelling customer behavior actuating equipment;
The key assignments management interface is used for described testing engineering and carries out the key assignments setting;
Other management interfaces are used for providing other interfaces that described testing engineering moves.
As the distortion of above-described embodiment, described intelligent mobile terminal to be measured can be any smart mobile phone or panel computer, all can realize purpose of the present invention, belongs to protection scope of the present invention.
Obviously, above-described embodiment is only for example clearly is described, and is not the restriction to execution mode.For those of ordinary skill in the field, can also make other changes in different forms on the basis of the above description.Here need not also can't give all execution modes exhaustive.And the apparent variation of being extended out thus or change still are among the protection range of the invention.
Claims (12)
1. an intelligent mobile terminal automatic field method of testing, is characterized in that, comprises the steps:
Test computer, all are tested and use resources for management, and described test computer is the generation test assignment when the test beginning, and the described test assignment that generates is resolved the generation test instruction and sent to intelligent mobile terminal to be measured by script interface; Wherein, described test assignment is comprised of according to certain test logic some testing engineerings; Described test logic refers to the logical condition of tested tissue process; Described testing engineering refers to that the test that combined by some test datas and test script, described test script are the set of the computer-readable test instruction of basic test action, and described test script is stored in described test computer;
Described intelligent mobile terminal to be measured is equipped with the mobile device test agent, described mobile device test agent comprises test script execution engine, described test script is carried out the described test instruction of the described test computer transmission of engine reception and is carried out and obtains test result, and described test result is sent to described test computer;
The geographical location information of the described intelligent mobile terminal to be measured of GPS equipment Real-time Collection also sends to described test computer by GPS information receiving interface;
Described test computer is equipped with test computer end test agent, described test computer end test agent provides GPS information receiving interface and GOOGLEEARTH file operation interface, wherein, described GPS information receiving interface receives the geographical location information of the described intelligent mobile terminal to be measured of described GPS equipment transmission; Described GOOGLEEARTH file operation interface writes the KML file after the geographical location information that described GPS information receiving interface is received adds special marking, and described KML file shows the position of various test results in map in whole test process;
Described test computer receives the described test result that described intelligent mobile terminal to be measured sends, and the described test result that sends according to described KML file and the intelligent mobile terminal described to be measured that receives generates test log and storage.
2. an intelligent mobile terminal automatic field method of testing, is characterized in that, comprises the steps:
Test computer, all are tested and use resources for management, and described test computer is the generation test assignment when the test beginning, and the described test assignment that generates is resolved the generation test instruction and sent to intelligent mobile terminal to be measured by script interface; Wherein, described test assignment is comprised of according to certain test logic some testing engineerings; Described test logic refers to the logical condition of tested tissue process; Described testing engineering refers to that the test that combined by some test datas and test script, described test script are the set of the computer-readable test instruction of basic test action, and described test script is stored in described test computer;
Described intelligent mobile terminal to be measured is equipped with the mobile device test agent, described mobile device test agent comprises test script execution engine, described test script is carried out the described test instruction of the described test computer transmission of engine reception and is carried out and obtains test result, and described test result is sent to described test computer;
The geographical location information of the described intelligent mobile terminal to be measured of GPS equipment Real-time Collection also sends to described test computer by GPS information receiving interface;
Described test computer is equipped with test computer end test agent, described test computer end test agent provides GPS information receiving interface and GOOGLEEARTH file operation interface, wherein, described GPS information receiving interface receives the geographical location information of the described intelligent mobile terminal to be measured of described GPS equipment transmission; The test result that prestores in the described test result that the intelligent mobile terminal described to be measured that described test computer basis receives sends and described test case compares, filter out wrong test result, and the geographical location information that the described test result of mistake is corresponding filters out; Described GOOGLEEARTH file operation interface writes the KML file after wrong geographical location information corresponding to described test result added special marking, and described KML file shows the position of test result in map of the various mistakes in whole test process;
Described test computer receives the described test result that described intelligent mobile terminal to be measured sends, and the described test result that sends according to described KML file and the intelligent mobile terminal described to be measured that receives generates test log and storage.
3. a kind of intelligent mobile terminal automatic field method of testing according to claim 1 and 2, it is characterized in that, described script interface in described test computer comprises system script interface and custom script interface, wherein, described custom script interface is used for adding the plug-in unit that the user writes, and the plug-in unit that the user writes converts testing engineering to and is loaded on described test script to be carried out engine-operated.
4. according to claim 1-3 arbitrary described a kind of intelligent mobile terminal automatic field method of testings, is characterized in that, described script interface can be called simultaneously by many described intelligent mobile terminals to be measured.
5. according to claim 1-4 arbitrary described a kind of intelligent mobile terminal automatic field method of testings, is characterized in that, described system script interface comprises:
The journalizing interface is used for carrying out engine by the described test script of operation and generates test log;
The test case interface is used for described testing engineering and is written into described test case;
The equipment operating interface is used for described testing engineering and carries out the operation of modelling customer behavior actuating equipment;
The key assignments management interface is used for described testing engineering and carries out the key assignments setting;
Other management interfaces are used for providing other interfaces that described testing engineering moves.
6. according to claim 1-5 arbitrary described a kind of intelligent mobile terminal automatic field method of testings, is characterized in that, described intelligent mobile terminal to be measured comprises smart mobile phone and panel computer.
7. an intelligent mobile terminal automatic field test macro, is characterized in that, comprising:
Test computer, described test computer further comprise,
Storage device is used for the storage test script;
Management devices is used for all test resources of management;
Test assignment is assigned device, is used for generating test assignment when the test beginning;
Test instruction generating apparatus, described test computer are equipped with test computer end test agent, the described test assignment that generates are resolved form test instruction and send to intelligent mobile terminal to be measured by script interface; Wherein, described test assignment is comprised of according to certain test logic some testing engineerings; Described test logic refers to the logical condition of tested tissue process; Described testing engineering refers to that the test that combined by some test datas and test script, described testing engineering comprise test frame, test case, key assignments setting and equipment configuration at least; Described test script is the set of the computer-readable test instruction of basic test action;
The test log generating apparatus is used for generating test log and storage according to the test result that KML file and intelligent mobile terminal to be measured return; Wherein, described test computer end test agent generation script interface, described script interface receives self-defining data and generates complete test script; Described test computer end test agent provides GPS information receiving interface and GOOGLEEARTH file operation interface, and described GPS information receiving interface wherein is used for receiving the geographical location information that GPS equipment is beamed back; Described GOOGLEEARTH file operation interface writes the KML file after the geographical location information that receives from described GPS equipment is added special marking, and described KML file shows the position of various test results in map in whole test process;
Intelligent mobile terminal to be measured, the mobile device test agent is installed, described mobile device test agent comprises test script execution engine, and described test instruction and execution that described test script is carried out the described test computer transmission of engine reception obtain test result; And give described test computer with described test result foldback;
GPS equipment is arranged near described intelligent mobile terminal to be measured, is used for the geographical location information of the described intelligent mobile terminal to be measured of Real-time Collection and sends to described GPS information receiving interface.
8. an intelligent mobile terminal automatic field test macro, is characterized in that, comprising:
Test computer, described test computer further comprise,
Storage device is used for the storage test script;
Management devices is used for all test resources of management;
Test assignment is assigned device, is used for generating test assignment when the test beginning;
Test instruction generating apparatus, described test computer are equipped with test computer end test agent, the described test assignment that generates are resolved form test instruction and send to intelligent mobile terminal to be measured by script interface; Wherein, described test assignment is comprised of according to certain test logic some testing engineerings; Described test logic refers to the logical condition of tested tissue process; Described testing engineering refers to that the test that combined by some test datas and test script, described testing engineering comprise test frame, test case, key assignments setting and equipment configuration at least; Described test script is the set of the computer-readable test instruction of basic test action;
Error checking result treatment device, receive the geographical location information that test result that intelligent mobile terminal to be measured beams back and described GPS equipment are beamed back, and described test result and test case are compared with the test result that prestores, filter out wrong test result, and obtain wrong geographical location information corresponding to test result;
The test log generating apparatus is used for generating test log and storage according to the test result that KML file and intelligent mobile terminal to be measured return; Wherein, described test computer end test agent generation script interface, described script interface receives self-defining data and generates complete test script; Described test computer end test agent provides GPS information receiving interface and GOOGLEEARTH file operation interface, and described GPS information receiving interface wherein is used for receiving the geographical location information that GPS equipment is beamed back; Described GOOGLEEARTH file operation interface, write the KML file after the described geographical location information of the mistake of described error checking result treatment device output is added special marking, described KML file shows the position of test result in map of the various mistakes in whole test process;
Intelligent mobile terminal to be measured, the mobile device test agent is installed, described mobile device test agent comprises test script execution engine, and described test instruction and execution that described test script is carried out the described test computer transmission of engine reception obtain test result; And give described test computer with described test result foldback;
GPS equipment is arranged near described intelligent mobile terminal to be measured, is used for the geographical location information of the described intelligent mobile terminal to be measured of Real-time Collection and sends to described GPS information receiving interface.
9. according to claim 7 or 8 described a kind of intelligent mobile terminal automatic field test macros, it is characterized in that, described script interface in described test computer comprises system script interface and custom script interface, wherein, described custom script interface is used for adding the plug-in unit that the user writes, and the plug-in unit that the user writes converts testing engineering to and is loaded on described test script to be carried out engine-operated.
10. according to claim 7-9 arbitrary described a kind of intelligent mobile terminal automatic field test macros, is characterized in that, described script interface can be called simultaneously by many described intelligent mobile terminals to be measured.
11. according to claim 7-10 arbitrary described a kind of intelligent mobile terminal automatic field test macros is characterized in that, described system script interface comprises:
The journalizing interface is used for carrying out engine by the described test script of operation and generates test log;
The test case interface is used for described testing engineering and is written into described test case;
The equipment operating interface is used for described testing engineering and carries out the operation of modelling customer behavior actuating equipment;
The key assignments management interface is used for described testing engineering and carries out the key assignments setting;
Other management interfaces are used for providing other interfaces that described testing engineering moves.
12. according to claim 7-11 arbitrary described a kind of intelligent mobile terminal automatic field test macros is characterized in that described intelligent mobile terminal to be measured comprises smart mobile phone and panel computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210592431.2A CN103095882B (en) | 2012-12-31 | 2012-12-31 | A kind of intelligent mobile terminal automatic field method of testing and test macro |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210592431.2A CN103095882B (en) | 2012-12-31 | 2012-12-31 | A kind of intelligent mobile terminal automatic field method of testing and test macro |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103095882A true CN103095882A (en) | 2013-05-08 |
CN103095882B CN103095882B (en) | 2016-03-23 |
Family
ID=48208000
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210592431.2A Active CN103095882B (en) | 2012-12-31 | 2012-12-31 | A kind of intelligent mobile terminal automatic field method of testing and test macro |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103095882B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105791037A (en) * | 2014-12-18 | 2016-07-20 | 联芯科技有限公司 | Out-field automatic testing method and equipment |
CN106326117A (en) * | 2016-08-17 | 2017-01-11 | 努比亚技术有限公司 | Testing method and to-be-tested terminal |
CN106776320A (en) * | 2016-12-16 | 2017-05-31 | 四川长虹电器股份有限公司 | Android intelligent terminal automatization test system and method |
CN109471798A (en) * | 2018-10-25 | 2019-03-15 | 杭州任你说智能科技有限公司 | A kind of automatization test system and its test method of musical technique module |
CN112596961A (en) * | 2020-12-01 | 2021-04-02 | 上海航天控制技术研究所 | Automatic testing method and system for satellite-borne computer |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483488A (en) * | 2008-01-29 | 2009-07-15 | 天津赛乐新创通信技术有限公司 | Intelligent multi-network road measurement system |
CN102076014A (en) * | 2011-02-17 | 2011-05-25 | 福建邮科通信技术有限公司 | Base station identifier monitoring system |
US20120142335A1 (en) * | 2010-12-02 | 2012-06-07 | Chiou Ta-Gang | Apparatus and Method for Network Based Wireless Network Test |
CN202425056U (en) * | 2012-03-30 | 2012-09-05 | 宋建 | WebGis (Web Geographic Information System) based WCDMA (Wideband Code Division Multiple Access) base station and coverage information sharing system |
-
2012
- 2012-12-31 CN CN201210592431.2A patent/CN103095882B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483488A (en) * | 2008-01-29 | 2009-07-15 | 天津赛乐新创通信技术有限公司 | Intelligent multi-network road measurement system |
US20120142335A1 (en) * | 2010-12-02 | 2012-06-07 | Chiou Ta-Gang | Apparatus and Method for Network Based Wireless Network Test |
CN102076014A (en) * | 2011-02-17 | 2011-05-25 | 福建邮科通信技术有限公司 | Base station identifier monitoring system |
CN202425056U (en) * | 2012-03-30 | 2012-09-05 | 宋建 | WebGis (Web Geographic Information System) based WCDMA (Wideband Code Division Multiple Access) base station and coverage information sharing system |
Non-Patent Citations (1)
Title |
---|
何学飞: "《CNKI优秀硕士学位论文全文库》", 21 November 2011, article "《基于GoogleEarth的实时地理信息***》" * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105791037A (en) * | 2014-12-18 | 2016-07-20 | 联芯科技有限公司 | Out-field automatic testing method and equipment |
CN105791037B (en) * | 2014-12-18 | 2019-12-03 | 联芯科技有限公司 | Automatic field test method and equipment |
CN106326117A (en) * | 2016-08-17 | 2017-01-11 | 努比亚技术有限公司 | Testing method and to-be-tested terminal |
CN106776320A (en) * | 2016-12-16 | 2017-05-31 | 四川长虹电器股份有限公司 | Android intelligent terminal automatization test system and method |
CN109471798A (en) * | 2018-10-25 | 2019-03-15 | 杭州任你说智能科技有限公司 | A kind of automatization test system and its test method of musical technique module |
CN112596961A (en) * | 2020-12-01 | 2021-04-02 | 上海航天控制技术研究所 | Automatic testing method and system for satellite-borne computer |
Also Published As
Publication number | Publication date |
---|---|
CN103095882B (en) | 2016-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109740222B (en) | Testing device and system for automobile networking scene | |
CN103095882A (en) | Automated testing method and automated testing system for intelligent mobile terminal external field | |
CN106776294B (en) | Automatic android mobile phone testing method and system | |
CN101287266B (en) | Test system and method for mobile phone | |
CN103973858B (en) | The Auto-Test System of mobile terminal | |
CN109413678A (en) | A kind of Wi-Fi module automatic test approach and test macro | |
US20140172393A1 (en) | Traffic communication-integrated system | |
CN105426298A (en) | ADB (Android debug bridge)-based software test method and system | |
CN107302476A (en) | A kind of automated testing method and system for testing asynchronous interactive system | |
CN104375934A (en) | Method for testing reliability of Android mobile phone software | |
CN103246606A (en) | Method and system for testing performances of ESB (enterprises service bus) platform | |
JP4440185B2 (en) | Scenario editing apparatus, pseudo base station test system, pseudo terminal test system, scenario editing method and test processing method, and storage medium storing computer-readable program and program | |
CN111324480A (en) | Large host transaction fault positioning system and method | |
CN111008128B (en) | Automatic test system, method and storage medium | |
CN109901830B (en) | Signal configuration method and system for scada system development | |
CN105760300A (en) | Automatic STK/UTK service testing method and system | |
CN104717670A (en) | Business quality testing method, device and system | |
WO2022236217A1 (en) | System and method for identification, selection and validation of best network access for iot devices | |
CN103913672A (en) | Satellite low-frequency interface automatic testing system | |
CN105429713A (en) | System and method for testing wireless device | |
CN102025555A (en) | Method and device for testing IP multimedia sub-system performance | |
CN113126993A (en) | Automatic testing method and system applied to vehicle detection software | |
CN103716099A (en) | Bluetooth intercommunity standard automatic test system | |
CN104834586A (en) | Automatic test method, device and system of Android interface | |
CN116545891A (en) | Automatic distribution network testing method based on intelligent equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |