CN102420712A - Testing method and equipment - Google Patents

Testing method and equipment Download PDF

Info

Publication number
CN102420712A
CN102420712A CN2010102948053A CN201010294805A CN102420712A CN 102420712 A CN102420712 A CN 102420712A CN 2010102948053 A CN2010102948053 A CN 2010102948053A CN 201010294805 A CN201010294805 A CN 201010294805A CN 102420712 A CN102420712 A CN 102420712A
Authority
CN
China
Prior art keywords
test
screen message
preset standard
test terminal
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010102948053A
Other languages
Chinese (zh)
Other versions
CN102420712B (en
Inventor
金凌
张伟
陈景岩
王科
杨光华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201010294805.3A priority Critical patent/CN102420712B/en
Publication of CN102420712A publication Critical patent/CN102420712A/en
Application granted granted Critical
Publication of CN102420712B publication Critical patent/CN102420712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a testing method and equipment. The testing method comprises the following steps: a testing terminal obtains screen information; the testing terminal matches the screen information with a preset standard image; and the testing terminal determines a tested result according to a matched result. According to the testing method and equipment disclosed by the invention, screen images in an appointed area only need to be matched with the preset standard image by a testing terminal screen division technique, thus the calculation quantity of testing tasks occupying the testing terminal is largely reduced.

Description

A kind of method of testing and equipment
Technical field
The present invention relates to communication technical field, especially relate to a kind of method of testing and equipment.
Background technology
Along with the fast development of communication network, data service emerges in an endless stream, and how to assess the network of operator and relevant data service quality, for the user provides top quality service, becomes the importance that quality of service improves in current operator.Promptly how when guaranteeing networking, promote the quality of data service rapidly, satisfy the growing demand of user, become the problem that operator need solve professional diversity of data and high reliability.
Wherein, Since data service use the user of object as operator; Then operator is in order to improve the data service quality; The various indexs (for example, indexs such as product function, properties of product) that need be directed against the business terminal in market are tested, and for the user top quality service are provided according to test result.
In the prior art, operator is in the remote auto field tests, and test mode comprises:
(1) pattern of employing test terminal+testing software (drive test software); Test to network, signal power by the test terminal; And analyze by the data that testing software collects the test terminal, under this mode, seldom directly itself monitor to the data service quality.
(2) manual dialing test pattern, promptly the tester repeatedly uses common business terminal to carry out professional use test, then the various test datas of manual record.
In realizing process of the present invention, the inventor finds to exist at least in the prior art following problem:
Wherein, for the test terminal of " test terminal+drive test software " pattern, be generally special terminal; Usually be not based on common intelligent operating system on the market; When on such terminal, testing, when the test basic data is professional, can carry out test development according to agreement; And can not test the business that carries client usually.
For the manual dialing test pattern, need artificial the participation, be unfavorable for network and measure of the quality of service, test process can be because the artificial reduction of participating in causing test accuracy.
Summary of the invention
The embodiment of the invention provides a kind of method of testing and equipment, on the test terminal, to carry out operational trials accurately.
In order to achieve the above object, the embodiment of the invention provides a kind of method of testing, comprising:
The test terminal obtains screen message;
Said screen message and preset standard image are mated in said test terminal;
Test result is confirmed according to matching result in said test terminal.
Said test terminal obtains screen message, comprising:
The whole screen of said test terminal is divided into one or more zones in advance, and said test terminal obtains the screen message in the appointed area from said one or more zones.
Said screen message and preset standard image are mated in said test terminal, comprising:
At the appointed time name a person for a particular job said screen message and preset standard image of said test terminal matees; Perhaps,
Mate said screen message and preset standard image after arriving preset testing total duration said test terminal; Perhaps,
When said test terminal is lower than predetermined threshold value in the self performance index, said screen message and preset standard image are mated; Perhaps,
Mate said screen message and preset standard image after obtaining screen message at every turn said test terminal.
Test result is confirmed according to matching result in said test terminal, comprising:
When said screen message and preset standard images match were unsuccessful, said test terminal confirmed that test result is that said preset standard image corresponding service incident does not take place;
When said screen message and the success of preset standard images match, said test terminal confirms that test result is that said preset standard image corresponding service incident takes place.
Said test terminal obtains screen message, comprising:
Said test terminal regularly obtains said screen message according to predetermined period in preset testing total duration; And screen message that at every turn obtains in the said preset testing total duration and said screen message time information corresponding be stored on the said test terminal;
Test result is confirmed according to matching result in said test terminal, comprising:
When all screen messages and the preset standard images match of storage were all unsuccessful, said test terminal confirmed that test result is the not generation of said preset standard image corresponding service incident;
When screen message and the success of preset standard images match were arranged in all screen messages of storage, said test terminal confirmed that test result is that said preset standard image corresponding service incident time delay is for deduct the test time started with the successful screen message time information corresponding of preset standard images match the earliest.
Said test terminal obtains the screen message in the appointed area, also comprises before:
Said test terminal obtains test script through wireless network from server, and perhaps carries out service protocol instruction carrying out operational trials through said test script analog subscriber key information.
The embodiment of the invention provides a kind of testing equipment, comprising:
Acquisition module is used to obtain screen message;
Matching module, the said screen message and the preset standard image that are used for said acquisition module is obtained mate;
Determination module is used for confirming test result according to the matching result of said matching module.
Said acquisition module specifically is used for the whole screen of said test terminal is divided into one or more zones in advance, and from said one or more zones, obtains the screen message in the appointed area.
Said matching module, specifically be used at the appointed time naming a person for a particular job said screen message and preset standard image mate; Perhaps,
After arriving preset testing total duration, said screen message and preset standard image are mated; Perhaps,
When the self performance index is lower than predetermined threshold value, said screen message and preset standard image are mated; Perhaps,
After obtaining screen message, said screen message and preset standard image are mated at every turn.
Said determination module specifically is used for when said screen message and preset standard images match are unsuccessful, confirms that test result is that said preset standard image corresponding service incident does not take place;
When said screen message and the success of preset standard images match, confirm that test result is that said preset standard image corresponding service incident takes place.
Said acquisition module specifically is used in preset testing total duration, regularly obtaining said screen message according to predetermined period; And screen message that at every turn obtains in the said preset testing total duration and said screen message time information corresponding be stored on the said test terminal;
Said determination module also is used for when all screen messages and the preset standard images match of storage are all unsuccessful, confirms that test result is the not generation of said preset standard image corresponding service incident;
When screen message and the success of preset standard images match are arranged in all screen messages of storage, confirm that test result is that said preset standard image corresponding service incident time delay is for deduct the test time started with the successful screen message time information corresponding of preset standard images match the earliest.
This equipment also comprises:
Receiver module is used for obtaining test script through wireless network from server, and perhaps carries out service protocol instruction carrying out operational trials through said test script analog subscriber key information.
Compared with prior art, the embodiment of the invention has the following advantages at least:
Adopt test terminal screen cutting techniques, make and only need screen picture in the appointed area and preset standard image be mated, significantly reduced the amount of calculation at test assignment engaged test terminal.
Description of drawings
In order to be illustrated more clearly in technical scheme of the present invention; The accompanying drawing of required use is done to introduce simply in will describing embodiment below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of method of testing flow chart that the embodiment of the invention provides;
Fig. 2 A-2C is a Fetion test sketch map under the embodiment of the invention application scenarios;
Fig. 3 is a multimedia message test sketch map under the embodiment of the invention application scenarios;
Fig. 4 is the structural representation of a kind of testing equipment of providing of the embodiment of the invention.
Embodiment
In the prior art, method of testing comprises: (1) " test terminal+drive test software " pattern; (2) manual dialing test pattern; (3) quality of service automation testing instrument, the pseudo-terminal user initiates business and carries out the automation operational trials, and carries out the operational trials of automation, and dependence copies to pc with the mode quasi real time of the image on the mobile phone and holds the mode of carrying out image recognition to carry out.
In the above-mentioned method of testing, method (1) is generally the terminal of specific customization, is unfavorable for the test that all kinds are professional; Method (2) needs artificial the participation; Method (3) can't be to the business of bottom or network parameter test, can't break away from the backstage controlling platform tests whenever and wherever possible.
To the problems referred to above; The embodiment of the invention provides a kind of method of testing and equipment, with the test of being engaged in the enterprising industry of business terminal, i.e. and installation testing client software on based on the terminal of intelligent commercial operation system; Cut apart and the recognition technology of delaying time through terminal screen; Do not influencing under the prerequisite that the business of testing carries out, realizing the ability of directly carrying out operational trials reaching the target that breaks away from the rear end controlling platform through image recognition and coupling in end side.
To combine the accompanying drawing among the present invention below, the technical scheme among the present invention is carried out clear, intactly description, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention provides a kind of method of testing, and this method is applied to comprise in the system of test terminal and server.In the embodiment of the invention, to the characteristics of current network and measure of the quality of service, the test terminal is not a kind of special terminal, and is based on the test terminal (business terminal) of intelligent operating system, needs only installation testing client software on this test terminal.This test terminal can realize from remote server, obtaining and carry out test plan automatically, reports test result through wireless network, and is the terminal of carrying out network and measure of the quality of service whenever and wherever possible.
For the technical scheme that realizes that the embodiment of the invention provides, need on server and test terminal, realize following function respectively:
(1) server side: relate generally to functions such as the recording of test plan (being test script), Version Control.Wherein, the function of server side comprises:
Mobile phone screen recording function: for the test plan of each quality of service; All need record test script (screen of grabbing that this test script is used to make the test terminal carry out mobile phone screen is operated) at server side; Through test script is sent to the test terminal, when carrying out operational trials, carry out grabbing of mobile phone screen by the test terminal and shield operation according to this test script.Wherein, in the process that business is carried out, the test terminal need be grabbed the corresponding end side screen of each decision node (promptly judging professional preset standard image) and shielded and cut apart, and can the parts of images in the relevant range be synchronized to server side.
Testing process logic control function: server side can be edited test script; This test script makes the test terminal carry out grabbing the screen operation of mobile phone screen except being used to; Can also make corresponding program simulate the operation of a series of test terminal side, for example: analogue-key information etc.Wherein, each operates the action of corresponding one or more analogue-key operations and so on, and test script also can be controlled the time point of the execution of each action, and this test script can side be responsible for execution by the test client program in the test terminal.
Script management and issuing function: behind server side editor test script; The test terminal can long-rangely be connected to server side through wireless mode; Obtain the test script of appointment; And automatically in the test terminal this machine carry out corresponding test script, at this moment, script management and issuing function need be distributed to the test terminal with test script.
Test result function of statistic analysis: after the test of test terminal finishes; The test terminal can also be uploaded to server with test result through wireless network automatically; At this moment, the test result function of statistic analysis of server need be carried out statistical analysis to test result.
It is thus clear that; In the embodiment of the invention; At server side editor test script, portability decision node in this test script (being professional corresponding preset standard picture information), test starting point (being the information that the test terminal begins to test), terminal node (being the information that the test terminal stops test) are through issuing and be installed to test script on the test terminal; By the test terminal analogue-key, carry out the user behavior simulation test; And test result sent to server side.
(2) test terminal side, wherein, the function of test terminal side comprises:
The test script management function: the client-side program of side can sign in to remote server automatically in the test terminal, obtains the test script of latest edition, and downloads to the test terminal side through wireless network and store.
The test result retransmission function: the client-side program of side can sign in to remote server automatically in the test terminal, and the test result of this machine is uploaded to server through wireless network.
Test script is carried out function: client-side program can be carried out the test script of this machine, and control terminal analog subscriber key information is perhaps carried out service protocol instruction carrying out operational trials.
Screen picture capturing function: in the process that test script is carried out; Regularly obtain in the appointed area screen message (perhaps; The current terminal screen of intercepting; And screen size is divided into the grid part of appointment), the area part image of appointment in the test script is saved in the storage medium of test terminal.
Image recognition matching feature: in the test script implementation, discern or mate according to the test script fixed time image preserved in the appointed area and the test script preset standard image when recording of naming a person for a particular job.Wherein, the time point of coupling can be controlled by test script; For example, can when EOT, unify all images of preserving are mated; Can delay time (wait test terminal not busy time) image is mated; Mate in real time immediately etc. after can grabbing screen at every turn.
Based on above-mentioned functions, the method for testing that the embodiment of the invention provides, as shown in Figure 1, this method may further comprise the steps:
Step 101, the test terminal obtains test script from server side.
Wherein, The content of carrying in this test script includes but not limited to: the information of the information of appointed area, preset standard image (certain professional corresponding standard picture), testing time information (for example, preset testing total duration, test period etc.), analog subscriber key information etc.
Step 102, test terminal begin to carry out test script, the analog subscriber key information.
Wherein, after getting access to test script, the client-side program in the test terminal can begin to carry out test script, and the analog subscriber key information, begins to carry out operational trials.
Step 103, in the operational trials process, the test terminal obtains screen message.Wherein, this screen message is the image information in the screen.
Concrete, this test terminal can obtain the screen message in the appointed area.In the embodiment of the invention, this appointed area can be the zone of whole screen, also can be the subregion of whole screen, and (for example, the zone of appointment in the test script) selected according to actual needs.
Concrete, can the whole screen of test terminal be divided in advance one or more zones (for example, the whole screen of test terminal being divided in advance the grid of n*m), in this step, the test terminal can obtain the screen message in the appointed area from one or more zones.For example, when the whole screen of test terminal was divided into the grid of 6*6 in advance, the test terminal can obtain the screen message of the 3rd row the 3rd row.
Need to prove that in preset testing total duration, the test terminal can regularly obtain the screen message in the appointed area according to predetermined period.For example, preset testing total duration is 1 minute, and predetermined period is 10s, and then every through 10s, the test terminal obtains screen message one time, promptly need obtain 6 times the screen message in the appointed area altogether.
Step 104, the screen message in the storage appointed area, test terminal.Wherein, the test terminal can be stored the screen message in the appointed area on the storage medium of self into.
Wherein, when the test terminal obtained the screen message of whole screen, then the test terminal can be divided into the screen message of whole screen a plurality of zones, and a screen message with the subregion stores on the storage medium of self according to actual needs.
In preset testing total duration, when the test terminal regularly obtained the screen message in the appointed area according to predetermined period, the test terminal need all be stored the screen message that at every turn obtains on the storage medium of self.When the screen message that will at every turn obtain stores the storage medium of self into, also need each screen message time information corresponding be stored in the corresponding record.For example, the record of the record of storage screen message 1 and temporal information 1, storage screen message 2 and temporal information 2 etc.
Step 105, screen message and preset standard image are mated in the test terminal.
Wherein, after the test terminal obtains the screen message of appointed area, can be directly the screen message and the preset standard image of this appointed area be mated; Also can the screen message and the preset standard image of subregion be mated (for example, when the appointed area was whole screen, then can only select wherein needed the screen message and the preset standard image in zone to mate).Owing to only mated the subregion of whole screen, then can reduce amount of calculation.
In this step, the process that screen message and preset standard image are mated includes but not limited to:
(1) test terminal at the appointed time point (time point of test script appointment) screen message and preset standard image are mated.
(2) mate screen message and preset standard image after arriving preset testing total duration the test terminal.
(3) mate screen message and preset standard image when the self performance index is lower than predetermined threshold value the test terminal.
For example, when the self performance index is CPU usage, then when CPU usage is lower than certain threshold value and representes that the test terminal is idle, then can screen message and preset standard image be mated; Again for example, when the self performance index is memory usage, then when memory usage is lower than certain threshold value and representes that the test terminal is idle, then can screen message and preset standard image be mated.
(4) mate screen message and preset standard image after obtaining screen message at every turn the test terminal.
Step 106, test result is confirmed according to matching result in the test terminal.
Wherein, when screen message and preset standard images match were unsuccessful, the test terminal confirmed that test result is that preset standard image corresponding service incident does not take place; When screen message and the success of preset standard images match, the test terminal confirms that test result is that preset standard image corresponding service incident takes place.
In addition; When being stored in the screen message that at every turn obtains in the preset testing total duration and screen message time information corresponding on the test terminal; When all screen messages and the preset standard images match of storage were all unsuccessful, the test terminal confirmed that test result is the not generation of preset standard image corresponding service incident; When screen message and the success of preset standard images match were arranged in all screen messages of storage, the test terminal confirmed that test result is that preset standard image corresponding service incident time delay is for deduct the test time started with the successful screen message time information corresponding of preset standard images match the earliest.
Step 107, the test terminal sends to server through wireless network with test result.
In sum, in the embodiment of the invention, only need screen picture in the appointed area and preset standard image be mated, significantly reduce the amount of calculation at test assignment engaged test terminal through adopting test terminal screen cutting techniques, making.And adopt the time-delay images match to calculate, and avoid in the service operation process, taking a large amount of test terminal resources, only need regularly store small amount of image data, avoided carrying out the influence of test assignment to the ongoing business in test terminal.
In order more clearly to set forth the technical scheme that the embodiment of the invention provides, be elaborated below in conjunction with concrete application scenarios.
Application scenarios 1: Fetion test; I.e. test " Fetion lands success rate and lands time delay ", the Fetion shown in Fig. 2 A are landed successfully the simulation click Fetion icon shown in uncalibrated image sketch map, Fig. 2 B and are logined the timing screenshotss sketch map shown in sketch map, Fig. 2 C.
(1) test case is recorded
At first confirm test plan: use test software is simulated Fetion successively and is landed 100 times; Each Fetion lands and overtimely is decided to be 1 minute (promptly surpass 1 minute landing unsuccessful be decided to be this land failure); Grab screen and be set to 500ms, the mobile phone screen center-bottom that is masked as that lands success occurs " homepage " uncalibrated image (preset standard image).
(2) test script is carried out
After test script downloaded to the test terminal, client-side program began to carry out script, the analog subscriber key information, and the icon of click " Fetion " picks up counting then on the application program page.
(3) timing screenshotss
In the Fetion landfall process, client-side program regularly (every at a distance from 500ms) is once grabbed the screen operation, up to arriving time-out time (1 minute).
(4) time-delay identification
After 1 minute, this EOT, all screenshotss and standard picture that client-side program will will be preserved automatically mate; Picture on wherein mating for the first time is the 10th width of cloth picture; Therefore, test result is landed success for this, lands time delay: 500ms* (10-1)=4.5 second.
Carry out 100 such tests successively, be calculated to be power and on average land time delay and be last measure of the quality of service result, and can test result be sent to server through wireless network.
It should be noted that and to be the sectional drawing sketch map of full screen with under the scene, use cutting techniques only to need part correlation zone, screen printing middle and lower part to get final product during actual the test.
Application scenarios 2: the multimedia message test, promptly whether successful, the as shown in Figure 3 test transmission multimedia message success sketch map of multimedia message is sent in the test terminal.
Wherein, the operation of analog subscriber is followed successively by: the mobile phone control terminal carries out multimedia message and sends test, and 1, select newly-built multimedia message; 2, choosing designated pictures is annex; 3, send multimedia message.
In test process, there are 2 steps to judge to send whether success of multimedia messages respectively: (1), occur the printed words of " transmission " in the lower left corner (middle figure) in above-mentioned second step; (2), the printed words of " sending successfully " appear in screen in the back half a minute in above-mentioned the 3rd step, are failure as " can't send information " occurring ".
Wherein, in this test, whole mobile phone screen has been slit into the 24*16 block size by division, and judges and to send successfully or failure only need mate that very little part gets final product in the screen.The rise image in the relevant zone of " can't send information " of middle part, picture left side appearance of " transmissions " icon and the 3rd that promptly inferior horn occurs in second pictures gets final product.
In sum; In the embodiment of the invention, any change need not done to existing test terminal hardware in (1), only needs to install client software and gets final product; The scope of business that can test is wide, all can test for the overwhelming majority professional (non-bottom signaling test) of terminal operating.(2) adopt mobile phone screen to cut apart recognition technology, make and only need the image in the appointed area be discerned and coupling work, significantly reduced the amount of calculation that test assignment takies mobile phone.(3) adopt time-delay image recognition and coupling to calculate, avoid in the service operation process, taking a large amount of mobile phone CPU, only need regularly storage to grab the screen image data on a small quantity, avoided carrying out the influence of test assignment the ongoing business of mobile phone.(4) terminal test process breaks away from the PC end, can accomplish to carry out operational trials whenever and wherever possible.
Based on the inventive concept same with said method, a kind of testing equipment also is provided in the embodiment of the invention, as shown in Figure 4, comprising:
Acquisition module 41 is used to obtain screen message;
Matching module 42, the said screen message and the preset standard image that are used for said acquisition module 41 is obtained mate;
Determination module 43 is used for confirming test result according to the matching result of said matching module 42.
Said acquisition module 41 specifically is used for the whole screen of said test terminal is divided into one or more zones in advance, and from said one or more zones, obtains the screen message in the appointed area.
Said matching module 42, specifically be used at the appointed time naming a person for a particular job said screen message and preset standard image mate; Perhaps,
After arriving preset testing total duration, said screen message and preset standard image are mated; Perhaps,
When the self performance index is lower than predetermined threshold value, said screen message and preset standard image are mated; Perhaps,
After obtaining screen message, said screen message and preset standard image are mated at every turn.
Said determination module 43 specifically is used for when said screen message and preset standard images match are unsuccessful, confirms that test result is that said preset standard image corresponding service incident does not take place;
When said screen message and the success of preset standard images match, confirm that test result is that said preset standard image corresponding service incident takes place.
In the embodiment of the invention,
Said acquisition module 41 specifically is used in preset testing total duration, regularly obtaining said screen message according to predetermined period; And screen message that at every turn obtains in the said preset testing total duration and said screen message time information corresponding be stored on the said test terminal;
Said determination module 43 also is used for when all screen messages and the preset standard images match of storage are all unsuccessful, confirms that test result is the not generation of said preset standard image corresponding service incident;
When screen message and the success of preset standard images match are arranged in all screen messages of storage, confirm that test result is that said preset standard image corresponding service incident time delay is for deduct the test time started with the successful screen message time information corresponding of preset standard images match the earliest.
In the embodiment of the invention, this equipment also comprises:
Receiver module 44 is used for obtaining test script through wireless network from server, and perhaps carries out service protocol instruction carrying out operational trials through said test script analog subscriber key information.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product is stored in the storage medium; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the sketch map of a preferred embodiment, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
More than disclosedly be merely several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (12)

1. a method of testing is characterized in that, comprising:
The test terminal obtains screen message;
Said screen message and preset standard image are mated in said test terminal;
Test result is confirmed according to matching result in said test terminal.
2. the method for claim 1 is characterized in that, said test terminal obtains screen message, comprising:
The whole screen of said test terminal is divided into one or more zones in advance, and said test terminal obtains the screen message in the appointed area from said one or more zones.
3. the method for claim 1 is characterized in that, said screen message and preset standard image are mated in said test terminal, comprising:
At the appointed time name a person for a particular job said screen message and preset standard image of said test terminal matees; Perhaps,
Mate said screen message and preset standard image after arriving preset testing total duration said test terminal; Perhaps,
When said test terminal is lower than predetermined threshold value in the self performance index, said screen message and preset standard image are mated; Perhaps,
Mate said screen message and preset standard image after obtaining screen message at every turn said test terminal.
4. the method for claim 1 is characterized in that, test result is confirmed according to matching result in said test terminal, comprising:
When said screen message and preset standard images match were unsuccessful, said test terminal confirmed that test result is that said preset standard image corresponding service incident does not take place;
When said screen message and the success of preset standard images match, said test terminal confirms that test result is that said preset standard image corresponding service incident takes place.
5. the method for claim 1 is characterized in that, said test terminal obtains screen message, comprising:
Said test terminal regularly obtains said screen message according to predetermined period in preset testing total duration; And screen message that at every turn obtains in the said preset testing total duration and said screen message time information corresponding be stored on the said test terminal;
Test result is confirmed according to matching result in said test terminal, comprising:
When all screen messages and the preset standard images match of storage were all unsuccessful, said test terminal confirmed that test result is the not generation of said preset standard image corresponding service incident;
When screen message and the success of preset standard images match were arranged in all screen messages of storage, said test terminal confirmed that test result is that said preset standard image corresponding service incident time delay is for deduct the test time started with the successful screen message time information corresponding of preset standard images match the earliest.
6. like each described method of claim 1-5, it is characterized in that said test terminal obtains the screen message in the appointed area, also comprises before:
Said test terminal obtains test script through wireless network from server, and perhaps carries out service protocol instruction carrying out operational trials through said test script analog subscriber key information.
7. a testing equipment is characterized in that, comprising:
Acquisition module is used to obtain screen message;
Matching module, the said screen message and the preset standard image that are used for said acquisition module is obtained mate;
Determination module is used for confirming test result according to the matching result of said matching module.
8. equipment as claimed in claim 7 is characterized in that,
Said acquisition module specifically is used for the whole screen of said test terminal is divided into one or more zones in advance, and from said one or more zones, obtains the screen message in the appointed area.
9. equipment as claimed in claim 7 is characterized in that,
Said matching module, specifically be used at the appointed time naming a person for a particular job said screen message and preset standard image mate; Perhaps,
After arriving preset testing total duration, said screen message and preset standard image are mated; Perhaps,
When the self performance index is lower than predetermined threshold value, said screen message and preset standard image are mated; Perhaps,
After obtaining screen message, said screen message and preset standard image are mated at every turn.
10. equipment as claimed in claim 7 is characterized in that,
Said determination module specifically is used for when said screen message and preset standard images match are unsuccessful, confirms that test result is that said preset standard image corresponding service incident does not take place;
When said screen message and the success of preset standard images match, confirm that test result is that said preset standard image corresponding service incident takes place.
11. equipment as claimed in claim 7 is characterized in that,
Said acquisition module specifically is used in preset testing total duration, regularly obtaining said screen message according to predetermined period; And screen message that at every turn obtains in the said preset testing total duration and said screen message time information corresponding be stored on the said test terminal;
Said determination module also is used for when all screen messages and the preset standard images match of storage are all unsuccessful, confirms that test result is the not generation of said preset standard image corresponding service incident;
When screen message and the success of preset standard images match are arranged in all screen messages of storage, confirm that test result is that said preset standard image corresponding service incident time delay is for deduct the test time started with the successful screen message time information corresponding of preset standard images match the earliest.
12. like each described equipment of claim 7-11, it is characterized in that, also comprise:
Receiver module is used for obtaining test script through wireless network from server, and perhaps carries out service protocol instruction carrying out operational trials through said test script analog subscriber key information.
CN201010294805.3A 2010-09-28 2010-09-28 Testing method and equipment Active CN102420712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010294805.3A CN102420712B (en) 2010-09-28 2010-09-28 Testing method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010294805.3A CN102420712B (en) 2010-09-28 2010-09-28 Testing method and equipment

Publications (2)

Publication Number Publication Date
CN102420712A true CN102420712A (en) 2012-04-18
CN102420712B CN102420712B (en) 2014-07-02

Family

ID=45944959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010294805.3A Active CN102420712B (en) 2010-09-28 2010-09-28 Testing method and equipment

Country Status (1)

Country Link
CN (1) CN102420712B (en)

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681942A (en) * 2012-04-21 2012-09-19 北京迈凯互动网络科技有限公司 Testing method and system of mobile application
CN102710832A (en) * 2012-04-21 2012-10-03 北京迈凯互动网络科技有限公司 Mobile application test method and system
CN102708049A (en) * 2012-04-21 2012-10-03 北京迈凯互动网络科技有限公司 Method and system for recording and replaying test results of mobile application
CN103106080A (en) * 2013-02-05 2013-05-15 广东威创视讯科技股份有限公司 Display processing method and display processing system of application software in splicing wall
CN103581987A (en) * 2012-07-31 2014-02-12 腾讯科技(深圳)有限公司 Method and device for testing webpage downloading speed of mobile terminal device
CN103778055A (en) * 2012-10-23 2014-05-07 腾讯科技(深圳)有限公司 Key test method and device
CN104216826A (en) * 2013-06-05 2014-12-17 腾讯科技(深圳)有限公司 Test method and device
WO2015024456A1 (en) * 2013-08-21 2015-02-26 Tencent Technology (Shenzhen) Company Limited Method and apparatus for acquiring page display speed
CN104461857A (en) * 2013-09-23 2015-03-25 腾讯科技(深圳)有限公司 Software reliability detection method and device
CN104503778A (en) * 2014-12-09 2015-04-08 北京奇虎科技有限公司 Installation method and installation device for applications
CN104679654A (en) * 2015-02-26 2015-06-03 百度在线网络技术(北京)有限公司 Method, equipment and system for testing application program
CN104978247A (en) * 2014-04-29 2015-10-14 腾讯科技(深圳)有限公司 Application test method, application test device and application test system
CN105068930A (en) * 2015-08-07 2015-11-18 天津市康凯特软件科技有限公司 Intelligent analysis method and device for test generation data of mobile terminal
CN105930265A (en) * 2016-04-11 2016-09-07 武汉卡比特信息有限公司 Image recognition based software test method
CN106095679A (en) * 2016-06-12 2016-11-09 南京大学 Graphical interfaces method for generating test case based on Freehandhand-drawing identification
CN107193743A (en) * 2017-05-25 2017-09-22 腾讯科技(深圳)有限公司 One kind application assessment method, device, computer equipment and storage medium
CN107449977A (en) * 2016-12-29 2017-12-08 福建奥通迈胜电力科技有限公司 A kind of split-second precision difference computational methods based on image comparison technology
CN107508725A (en) * 2017-08-24 2017-12-22 航天中认软件测评科技(北京)有限责任公司 For the method for automatic test, apparatus and system
CN107544902A (en) * 2016-06-29 2018-01-05 阿里巴巴集团控股有限公司 Program testing method, device and equipment
CN107784649A (en) * 2017-10-20 2018-03-09 长飞光纤光缆股份有限公司 Plug test remote alarming system and method based on image recognition
CN108495324A (en) * 2018-03-26 2018-09-04 安徽德特信息技术有限公司 Based on network optimization drive test Behavior Monitor System and its method
CN110532188A (en) * 2019-08-30 2019-12-03 北京三快在线科技有限公司 The method and apparatus of page presentation test
CN111124877A (en) * 2018-11-01 2020-05-08 株洲中车时代电气股份有限公司 Train display software testing method, device and system
CN112329854A (en) * 2020-11-05 2021-02-05 上海哔哩哔哩科技有限公司 Method and device for cutting and checking advertisement material picture
CN112527621A (en) * 2019-09-17 2021-03-19 中移动信息技术有限公司 Test path construction method, device, equipment and storage medium
CN113392860A (en) * 2020-03-12 2021-09-14 中国移动通信集团山东有限公司 User perception evaluating method and system based on image recognition

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717680A (en) * 2015-02-10 2015-06-17 深圳创维数字技术有限公司 Wireless connection test method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976526A (en) * 2006-11-15 2007-06-06 华为技术有限公司 Mobile telephone automation testing system and testing method
CN101060372A (en) * 2007-06-26 2007-10-24 华为技术有限公司 A method and system for rapid creating the automation test script
CN101175285A (en) * 2006-11-01 2008-05-07 联想移动通信科技有限公司 Automatic testing method and system for mobile phone software
CN101557437A (en) * 2009-05-12 2009-10-14 厦门敏讯信息技术股份有限公司 Automatic testing method of mobile phone software and device thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101175285A (en) * 2006-11-01 2008-05-07 联想移动通信科技有限公司 Automatic testing method and system for mobile phone software
CN1976526A (en) * 2006-11-15 2007-06-06 华为技术有限公司 Mobile telephone automation testing system and testing method
CN101060372A (en) * 2007-06-26 2007-10-24 华为技术有限公司 A method and system for rapid creating the automation test script
CN101557437A (en) * 2009-05-12 2009-10-14 厦门敏讯信息技术股份有限公司 Automatic testing method of mobile phone software and device thereof

Cited By (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710832A (en) * 2012-04-21 2012-10-03 北京迈凯互动网络科技有限公司 Mobile application test method and system
CN102708049A (en) * 2012-04-21 2012-10-03 北京迈凯互动网络科技有限公司 Method and system for recording and replaying test results of mobile application
CN102708049B (en) * 2012-04-21 2015-11-18 北京云测信息技术有限公司 Mobile solution test result record and back method and system
CN102681942A (en) * 2012-04-21 2012-09-19 北京迈凯互动网络科技有限公司 Testing method and system of mobile application
CN103581987B (en) * 2012-07-31 2018-07-06 腾讯科技(深圳)有限公司 The test method and device of the page download speed of mobile terminal device
CN103581987A (en) * 2012-07-31 2014-02-12 腾讯科技(深圳)有限公司 Method and device for testing webpage downloading speed of mobile terminal device
CN103778055A (en) * 2012-10-23 2014-05-07 腾讯科技(深圳)有限公司 Key test method and device
CN103106080A (en) * 2013-02-05 2013-05-15 广东威创视讯科技股份有限公司 Display processing method and display processing system of application software in splicing wall
CN103106080B (en) * 2013-02-05 2016-08-24 广东威创视讯科技股份有限公司 The display processing method of application software and system in combination
CN104216826A (en) * 2013-06-05 2014-12-17 腾讯科技(深圳)有限公司 Test method and device
WO2015024456A1 (en) * 2013-08-21 2015-02-26 Tencent Technology (Shenzhen) Company Limited Method and apparatus for acquiring page display speed
WO2015039585A1 (en) * 2013-09-23 2015-03-26 Tencent Technology (Shenzhen) Company Limited Method and device for testing software reliability
CN104461857B (en) * 2013-09-23 2018-05-18 腾讯科技(深圳)有限公司 The detection method and device of software reliability
CN104461857A (en) * 2013-09-23 2015-03-25 腾讯科技(深圳)有限公司 Software reliability detection method and device
CN104978247A (en) * 2014-04-29 2015-10-14 腾讯科技(深圳)有限公司 Application test method, application test device and application test system
CN104978247B (en) * 2014-04-29 2019-08-23 腾讯科技(深圳)有限公司 A kind of application testing method, apparatus and system
CN104503778A (en) * 2014-12-09 2015-04-08 北京奇虎科技有限公司 Installation method and installation device for applications
CN104679654A (en) * 2015-02-26 2015-06-03 百度在线网络技术(北京)有限公司 Method, equipment and system for testing application program
CN105068930A (en) * 2015-08-07 2015-11-18 天津市康凯特软件科技有限公司 Intelligent analysis method and device for test generation data of mobile terminal
CN105930265A (en) * 2016-04-11 2016-09-07 武汉卡比特信息有限公司 Image recognition based software test method
CN106095679A (en) * 2016-06-12 2016-11-09 南京大学 Graphical interfaces method for generating test case based on Freehandhand-drawing identification
CN106095679B (en) * 2016-06-12 2018-10-16 南京大学 Graphical interfaces method for generating test case based on Freehandhand-drawing identification
CN107544902A (en) * 2016-06-29 2018-01-05 阿里巴巴集团控股有限公司 Program testing method, device and equipment
CN107544902B (en) * 2016-06-29 2021-05-04 阿里巴巴集团控股有限公司 Program testing method, device and equipment
CN107449977A (en) * 2016-12-29 2017-12-08 福建奥通迈胜电力科技有限公司 A kind of split-second precision difference computational methods based on image comparison technology
CN107193743A (en) * 2017-05-25 2017-09-22 腾讯科技(深圳)有限公司 One kind application assessment method, device, computer equipment and storage medium
CN107193743B (en) * 2017-05-25 2022-05-10 腾讯科技(深圳)有限公司 Application evaluation method and device, computer equipment and storage medium
CN107508725A (en) * 2017-08-24 2017-12-22 航天中认软件测评科技(北京)有限责任公司 For the method for automatic test, apparatus and system
CN107784649B (en) * 2017-10-20 2021-09-03 长飞光纤光缆股份有限公司 Image recognition-based mandrel testing remote alarm system and method
CN107784649A (en) * 2017-10-20 2018-03-09 长飞光纤光缆股份有限公司 Plug test remote alarming system and method based on image recognition
CN108495324B (en) * 2018-03-26 2020-12-25 安徽德特信息技术有限公司 Drive test behavior monitoring system and method based on network optimization
CN108495324A (en) * 2018-03-26 2018-09-04 安徽德特信息技术有限公司 Based on network optimization drive test Behavior Monitor System and its method
CN111124877A (en) * 2018-11-01 2020-05-08 株洲中车时代电气股份有限公司 Train display software testing method, device and system
CN111124877B (en) * 2018-11-01 2021-10-29 株洲中车时代电气股份有限公司 Train display software testing method, device and system
CN110532188A (en) * 2019-08-30 2019-12-03 北京三快在线科技有限公司 The method and apparatus of page presentation test
CN110532188B (en) * 2019-08-30 2021-06-29 北京三快在线科技有限公司 Page display test method and device
CN112527621A (en) * 2019-09-17 2021-03-19 中移动信息技术有限公司 Test path construction method, device, equipment and storage medium
CN113392860A (en) * 2020-03-12 2021-09-14 中国移动通信集团山东有限公司 User perception evaluating method and system based on image recognition
CN112329854A (en) * 2020-11-05 2021-02-05 上海哔哩哔哩科技有限公司 Method and device for cutting and checking advertisement material picture
CN112329854B (en) * 2020-11-05 2023-07-28 上海哔哩哔哩科技有限公司 Method and device for checking picture cutting of advertisement material

Also Published As

Publication number Publication date
CN102420712B (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN102420712A (en) Testing method and equipment
US8737980B2 (en) End to end application automatic testing
US8719419B2 (en) Methods and apparatus for determining aspects of multimedia performance of a wireless device
EP1859638B1 (en) Apparatus and methods for product acceptance testing on a wireless device
US7873321B2 (en) Apparatus and methods for determining network access performance of a wireless device
US9538404B2 (en) Apparatus and methods for product acceptance testing on a wireless device
US9069749B1 (en) Open RF test pack
US6011830A (en) Operational test device and method of performing an operational test for a system under test
CN101847118B (en) Automatic test system
MX2007010846A (en) Apparatus and methods for determining voice and/or data processing performance of a wireless device.
CN107294808A (en) The methods, devices and systems of interface testing
US20150081758A1 (en) Testing a network using a communication device
CA2651105A1 (en) Field qualification of disk drives in consumer electronics devices
CN104717670A (en) Business quality testing method, device and system
CN105786694A (en) Automatic test system and method, and mobile terminals
CN112511262A (en) Cooperative shielding method, shielding system, storage medium and electronic device
CN110505352B (en) Call quality testing method, system, computer device and computer storage medium
CN113485864B (en) Abnormality detection, abnormality analysis method, abnormality detection device, abnormality analysis device, electronic apparatus, and storage medium
CN113507721A (en) Network state monitoring method, device, system and storage medium
CN106354626A (en) Application test and method, system and device realizing application test in multiple terminals
CN111553497A (en) Equipment working state detection method and device of multimedia terminal
CN113556269B (en) SAP client performance test method, system, electronic equipment and storage medium
CN117349153A (en) Data recording and playback platform, method, electronic device and storage medium
CN115396940A (en) Method and device for communication between user equipment through network node
CN117354212A (en) Automatic test method, cloud platform and test system

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