CN104699598B - Automated testing method, device, equipment and system - Google Patents

Automated testing method, device, equipment and system Download PDF

Info

Publication number
CN104699598B
CN104699598B CN201310661617.3A CN201310661617A CN104699598B CN 104699598 B CN104699598 B CN 104699598B CN 201310661617 A CN201310661617 A CN 201310661617A CN 104699598 B CN104699598 B CN 104699598B
Authority
CN
China
Prior art keywords
performance data
test
event
action events
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310661617.3A
Other languages
Chinese (zh)
Other versions
CN104699598A (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310661617.3A priority Critical patent/CN104699598B/en
Publication of CN104699598A publication Critical patent/CN104699598A/en
Application granted granted Critical
Publication of CN104699598B publication Critical patent/CN104699598B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of automated testing method, device, equipment and system, belong to field of computer technology.Methods described includes:Perform automatized script to test test case, during automatized script is performed, the performance data of collecting test use-case and/or mobile terminal obtains the performance test form of test case according to performance data.The present invention is by the way that during the automatized script is performed, the performance data of collecting test use-case and/or mobile terminal obtains the performance test form of test case according to performance data;Solve the test in terms of prior art also rests on the event response on basis in the presence of the test to application program, it is impossible to the problem of fully ensuring that the performance quality of application program;The test phase automatic data collection and analytical performance data in application program have been reached, human cost has both been saved, the effect of the performance quality of application program has been fully ensured that again.

Description

Automated testing method, device, equipment and system
Technical field
The present invention relates to field of computer technology, more particularly to a kind of automated testing method, device, equipment and system.
Background technology
The mobile device of such as mobile phone or tablet personal computer etc is increasingly liked by user, wherein very big Reason is that these mobile devices can install the application program of magnanimity, and different work(can be realized by different application programs Can, it is greatly enriched the work and life of user.
In order to ensure the quality of application program, enter market before, research staff need to application program carry out repeatedly and Fine test again.But manual testing is both a repetition and uninteresting process, also there are some unavoidably and slip, therefore from Dynamicization test arises.Automatic test is the important component of modern software testing field, and it can substitute a large amount of weights Multiple manual operations, while the error because artificially causing can be reduced.Compiled by automated test tool or programming language Automatized script is write out, drives tested application program to be that automatic test can be achieved by automatized script.
During the present invention is realized, inventor has found that prior art at least has problems with:Existing automation Testing tool is generally only that can the Action Events such as touch, motion or control be met with a response to test, and to applying journey Some performance datas of sequence generally require to be fed back by the actual use situation of user after application program enters market, enter One step also needs to that manually these performance datas are acquired and analyzed.Now if it find that application program has asking in performance Topic is often late if being remedied again, because it has lost the trust of user.Therefore, there is correspondence in prior art Test in terms of also resting on the event response on basis with the test of program, it is impossible to fully ensure that the performance quality of application program Problem.
The content of the invention
In order to solve the test in terms of prior art also rests on the event response on basis in the presence of the test to application program, The problem of performance quality of application program can not be fully ensured that, the embodiments of the invention provide a kind of automated testing method, dress Put, equipment and system.The technical scheme is as follows:
First aspect is there is provided a kind of automated testing method, in mobile terminal, methods described to include:
Automatized script is performed to test test case;
During the automatized script is performed, the test case and/or the performance of the mobile terminal are gathered Data;
The performance test form of the test case is obtained according to the performance data;
Wherein, the execution automatized script is tested test case, including:
The event information in the automatized script is read, the automatized script includes at least one Action Events Event information, the event information of the Action Events includes the corresponding coordinate position of the Action Events and the Action Events Corresponding action;
The Action Events are obtained according to event information construction;
The Action Events are sent to custom object, the custom object is used to the Action Events passing through thing Part response chain passes to response object and carries out event response.
Second aspect is there is provided a kind of automated testing method, for testing in terminal, and methods described includes:
Record Test cases technology automatized script;
The automatized script is sent to mobile terminal, so that the mobile terminal performs the automatized script to institute State test case to be tested, during the automatized script is performed, gather the test case and/or the movement The performance data of terminal, the performance test form of the test case is obtained according to the performance data;
Wherein, the record Test cases technology automatized script, including:
After Action Events in the test case are triggered, the Action Events are captured;
The event information of the Action Events is obtained, the event information of the Action Events includes Action Events correspondence Coordinate position and the corresponding action of the Action Events;
The event information is preserved into the automatized script, the event information is used to receive in mobile terminal To after the automatized script, the event information in the automatized script is read, is configured to according to the event information To the Action Events, the Action Events are sent to custom object, the custom object is used for the operation thing Part passes to response object by event response chain and carries out event response;
Wherein, the test case includes at least one described Action Events.
The third aspect is there is provided a kind of automatic test device, in mobile terminal, described device to include:
Script execution module, is tested test case for performing automatized script;
Data acquisition module, for during the automatized script is performed, gathering the test case and/or institute State the performance data of mobile terminal;
Form obtains module, the performance test form for obtaining the test case according to the performance data;
Wherein, the script execution module, including:Information reading unit, event structural unit and event responds unit;
Described information reading unit, for reading the event information in the automatized script, the automatized script bag Event information containing at least one Action Events, the event information of the Action Events includes the corresponding seat of the Action Events Cursor position and the corresponding action of the Action Events;
The event structural unit, for obtaining the Action Events according to event information construction;
The event responds unit, for the Action Events to be sent into custom object, the custom object is used Event response is carried out in the Action Events are passed into response object by event response chain.
Fourth aspect is there is provided a kind of automatic test device, for testing in terminal, and described device includes:
Script generation module, for recording Test cases technology automatized script;
Script sending module, for the automatized script to be sent into mobile terminal, so that the mobile terminal is performed The automatized script is tested the test case, during the automatized script is performed, and gathers described survey The performance data of example on probation and/or the mobile terminal, the performance test of the test case is obtained according to the performance data Form;
Wherein, the script generation module, including:Event capturing unit, information acquisition unit and information holding unit;
The event capturing unit, after being triggered for the Action Events in the test case, captures the operation Event;
Described information acquiring unit, the event information for obtaining the Action Events, the event letter of the Action Events Breath includes the corresponding coordinate position of the Action Events and the corresponding action of the Action Events;
Described information storage unit, for the event information to be preserved into the automatized script, the event letter Cease for after the automatized script is received, reading the event information in the automatized script in mobile terminal, The Action Events are obtained according to event information construction, the Action Events are sent to custom object, it is described to make by oneself Adopted object is used to the Action Events passing to response object progress event response by event response chain;
Wherein, the test case includes at least one described Action Events.
5th aspect is there is provided a kind of mobile terminal, and the mobile terminal includes each of such as third aspect and the third aspect Plant any described automatic test device in possible embodiment.
6th aspect tests terminal there is provided one kind, and the test terminal includes each of such as fourth aspect and fourth aspect Plant any described automatic test device in possible embodiment.
7th aspect is there is provided a kind of automatization test system, and the system includes:Mobile terminal and test terminal;
The mobile terminal is the mobile terminal as described in terms of the 5th;
The test terminal is the test terminal as described in terms of the 6th.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
Test case is tested by performing automatized script, during the automatized script is performed, collection The performance data of test case and/or mobile terminal, the performance test form of test case is obtained according to performance data;Solve The test that prior art is present to application program also rests on the test in terms of the event response on basis, it is impossible to fully ensure that application The problem of performance quality of program;The test phase automatic data collection and analytical performance data in application program have been reached, had both been saved Human cost, has fully ensured that the effect of the performance quality of application program again.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of structural representation of implementation environment involved by automated testing method provided in an embodiment of the present invention Figure;
Fig. 2 is the method flow diagram for the automated testing method that one embodiment of the invention is provided;
Fig. 3 is the method flow diagram for the automated testing method that another embodiment of the present invention is provided;
Fig. 4 is the method flow diagram for the automated testing method that another embodiment of the present invention is provided;
Fig. 5 is the method flow diagram for the automated testing method that another embodiment of the present invention is provided;
Fig. 6 is the method flow diagram for the automated testing method that another embodiment of the present invention is provided;
Fig. 7 is the block diagram for the automatic test device that one embodiment of the invention is provided;
Fig. 8 is the block diagram for the automatic test device that another embodiment of the present invention is provided;
Fig. 9 is the block diagram for the automatization test system that one embodiment of the invention is provided;
Figure 10 is the structural representation for the mobile terminal that one embodiment of the invention is provided;
Figure 11 is the structural representation for the test terminal that one embodiment of the invention is provided.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Inventor has found that the collection and analysis of the existing performance data to application program are to have been enter into market in application program Stage, and now if it find that often late if the problem of application program is present in performance is remedied again.If Its performance data is acquired and analyzed in the software test stage, then in test phase application program can be found that in performance Present on problem, optimize or adjust in time.Below, by conjunction with specific embodiments to how by performance data Collection and analysis are combined with the automatic test of application program and describe in detail and illustrate.
Firstly the need of explanation, the performance data of application program mainly includes:Time-consuming, power consumption, network traffics, smoothness Degree, CPU usage and EMS memory occupation.Wherein, at least one operation thing in a certain test case for referring to application program is taken Part is from triggering to the duration spent by response;Power consumption refers at least one Action Events in a certain test case of application program From triggering to the electricity spent by response;Network traffics refer at least one operation thing in a certain test case of application program Part is from triggering to the network traffics spent by response;Fluency refers to the mobile terminal for running application program in test process Average display frame rate;CPU usage refers to CPU usage of the mobile terminal for running application program in test process; And, EMS memory occupation refers to EMS memory occupation of the mobile terminal for running application program in test process.By optimization or The performance data of application program is improved, the quality of application program in itself can be not only improved, Consumer's Experience can also be improved.
Fig. 1 is refer to, it illustrates a kind of implementation ring involved by automated testing method provided in an embodiment of the present invention The structural representation in border, the implementation environment includes:Mobile terminal 20 and test terminal 40.
Mobile terminal 20 can be smart mobile phone, tablet personal computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio aspect 3) and MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio aspect 3) is broadcast Put device etc..
It can be pocket computer on knee or desktop computer to test terminal 40.
Wherein, test terminal 40 can by cable network, wireless network or USB (Universal Serial Bus, USB) data wire and mobile terminal 20 set up and be connected, and automatized script is sent into mobile terminal 20.Mobile terminal 20 receive test terminal 40 send automatized script after, perform the automatized script to application program at least one survey Example on probation carries out automatic test, and collecting test use-case and/or mobile terminal 20 performance data of itself in test process. Especially, when testing between terminal 40 and mobile terminal 20 by USB data line foundation connection, performed certainly in mobile terminal 20 During dynamicization script and collecting performance data, in order to not influence the accuracy of test, it is necessary to disconnect the USB connections.
Fig. 2 is refer to, the method flow diagram of the automated testing method provided it illustrates one embodiment of the invention, this Embodiment is applied to the mobile terminal side of implementation environment shown in Fig. 1 to illustrate with the automated testing method.The automation Method of testing comprises the following steps:
Step 202, automatized script is performed to test test case.
Mobile terminal performs automatized script and test case is tested.
Step 204, during automatized script is performed, the performance data of collecting test use-case and/or mobile terminal.
Mobile terminal is during automatized script is performed, collecting test use-case and/or the performance data of itself.
Step 206, the performance test form of test case is obtained according to performance data.
Mobile terminal obtains the performance test form of test case according to performance data.
In summary, the automated testing method that the present embodiment is provided, mobile terminal is by performing automatized script to survey Example on probation is tested, during the automatized script is performed, the performance number of collecting test use-case and/or mobile terminal According to obtaining the performance test form of test case according to performance data;Prior art is solved in the presence of the test to application program Also rest on the test in terms of the event response on basis, it is impossible to the problem of fully ensuring that the performance quality of application program;Reach In the test phase automatic data collection and analytical performance data of application program, human cost is both saved, application has been fully ensured that again The effect of the performance quality of program.
Fig. 3 is refer to, the method flow diagram of the automated testing method provided it illustrates another embodiment of the present invention, this Embodiment is applied to the test end side of implementation environment shown in Fig. 1 to illustrate with the automated testing method.The automation Method of testing comprises the following steps:
Step 302, Test cases technology automatized script is recorded.
Test terminal record Test cases technology automatized script.
Step 304, automatized script is sent to mobile terminal, test used so that mobile terminal performs automatized script Example is tested, during automatized script is performed, the performance data of collecting test use-case and/or mobile terminal, according to Performance data obtains the performance test form of test case.
Automatized script is sent to mobile terminal by test terminal, and test is used so that mobile terminal performs automatized script Example is tested, during automatized script is performed, the performance data of collecting test use-case and/or mobile terminal, according to Performance data obtains the performance test form of test case.
In summary, the automated testing method that the present embodiment is provided, test terminal is by recording Test cases technology certainly Dynamicization script, mobile terminal is sent to by automatized script;Mobile terminal performs the automatized script and test case is surveyed Examination, during automatized script is performed, the performance data of collecting test use-case and/or mobile terminal, according to performance data Obtain the performance test form of test case;Solve the thing that prior art also rests on basis in the presence of the test to application program Test in terms of part response, it is impossible to the problem of fully ensuring that the performance quality of application program;The test in application program is reached Stage automatic data collection and analytical performance data, have both saved human cost, and the performance quality of application program has been fully ensured that again Effect.
Fig. 4 is refer to, the method flow diagram of the automated testing method provided it illustrates another embodiment of the present invention, this Embodiment is applied in the implementation environment shown in Fig. 1 illustrate with the automated testing method.The automated testing method Comprise the following steps:
Step 401, test terminal record Test cases technology automatized script.
Test case refers to the generality description that test assignment is carried out to some or some functions of application program, one Test case includes at least one Action Events.Wherein, Action Events refer to by carrying out operational motion generation to device object Event, such as entity button or virtual push button or interfaces windows on pointing device object.In each this reality of the invention Apply in example, device object is mobile terminal.
Test cases technology automatized script can be recorded by automated test tool by testing terminal.In the present embodiment In, it is assumed that test case includes an Action Events, and the Action Events are a certain virtual push button on click mobile terminal.From Dynamicization testing tool is by recording Action Events, namely record clicks on a certain virtual push button this touch thing on mobile terminal Part, completes the recording of automatized script and generates automatized script.
Step 402, automatized script is sent to mobile terminal by test terminal.
Test after terminal generation automatized script, the automatized script is sent to mobile terminal so that mobile terminal Perform the automatized script and carry out automatic test.
Accordingly, mobile terminal receives the automatized script that test terminal is sent.
Step 403, mobile terminal performs automatized script and test case is tested.
Mobile terminal performs the process that automatized script is tested test case, will also test terminal recording oneself The process that dynamicization script is played back.During automatized script is performed, the operation that the test case to recording is included Event is performed.Specifically, script resolver is called to parse script sentence from automatized script first;Then The event information of the Action Events recorded in analysis script sentence;The operation thing is performed finally according to the event information of Action Events Part.
In the present embodiment, when Action Events is click on this touch event of a certain virtual push button on mobile terminal, Its event information includes the coordinate position of touch event effect and the click action of touch event effect.
Step 404, during automatized script is performed, mobile terminal collecting test use-case and/or mobile terminal Performance data.
By the agency of above, performance data mainly includes:Time-consuming, power consumption, network traffics, fluency, CPU usage and interior Deposit and take this 6 kinds of data.During automatized script is performed, mobile terminal is used by automated test tool collecting test The performance data of example and/or mobile terminal.Wherein, the performance data of test case includes the operation thing that the test case is included Part is from triggering to the duration spent by response, electricity and network traffics;The performance data of mobile terminal exists including the mobile terminal Average display frame rate, CPU usage and EMS memory occupation in test process.
Step 405, mobile terminal obtains the performance test form of test case according to performance data.
Mobile terminal obtains the performance test form of test case according to the performance data collected, and the usual performance is surveyed It is to present in table form to try form.
It should be noted that under normal circumstances, in above-mentioned steps 402, test terminal will be automated by USB data line Script is sent to mobile terminal, and mobile terminal is received after the automatized script, it is necessary to first disconnect the company of the USB data line Connect, then perform automatized script and test case is tested.Otherwise, the performance data that mobile terminal is collected can be forbidden Really, especially this performance data of power consumption.
In summary, the automated testing method that the present embodiment is provided, Test cases technology is recorded certainly by testing terminal Dynamicization script, and the automatized script is sent to mobile terminal;Mobile terminal performs automatized script and test case is carried out Test, during automatized script is performed, the performance data of mobile terminal collecting test use-case and/or mobile terminal, and The performance test form of test case is obtained according to performance data;Prior art is solved in the presence of the test to application program also to stop Stay in the test in terms of the event response on basis, it is impossible to the problem of fully ensuring that the performance quality of application program;Reach and answered With the test phase automatic data collection and analytical performance data of program, human cost is both saved, application program has been fully ensured that again Performance quality effect.
Fig. 5 is refer to, the method flow diagram of the automated testing method provided it illustrates another embodiment of the present invention, this Embodiment still is applied in the implementation environment shown in Fig. 1 illustrate with the automated testing method.The automatic test Method comprises the following steps:
Step 501, after Action Events of the test terminal in test case are triggered, Action Events are captured.
During automatized script is recorded, after Action Events of the test terminal in test case are triggered, pass through Automated test tool captures the Action Events.For ease illustration and understanding, in the present embodiment, it is still assumed that test case Comprising an Action Events, and the Action Events is click on a certain virtual push button this touch event on mobile terminal.In addition, Assuming that the automated test tool is Monkey Talk.MonkeyTalk is a to iOS system and Android (Android) system The automated test tool that application program under system is commonly used.
Specifically, this step includes following several sub-steps:
First, the event forwarding function of object is received by the Hook Function Hook events for obtaining Action Events.
After Action Events are triggered, generally received, then transmitted by event response chain by the object of reception event Event response is carried out to response object.With a certain virtual push button this touch event clicked on mobile terminal under iOS system Exemplified by, the object of the touch event UIEvent, touch event UIEvent by reception event is produced when the user touches the screen UIApplication is received, and then UIApplication will by the event forwarding function sendEvent functions of itself The response object that touch event UIEvent is sent to by event response chain in control tree carries out event response.
In the present embodiment, automated test tool Monkey Talk are after touch event UIEvent is triggered, and by After the object UIApplication of reception event is received, the Hook events receive object UIApplication event Forward function sendEvent functions.So, touch event UIEvent can not just be sent out by event forwarding function sendEvent functions Go out.
Second, add the customized event forwarding function corresponding with event forwarding function.
Test terminal and the customized event forwarding letter corresponding with event forwarding function is added by automated test tool Number.In this example, it is assumed that the customized event forwarding function of addition is mySendEvent functions, also will The insertion of mySendEvent functions is added to the position of sendEvent functions.
3rd, forward function to capture Action Events by customized event.
The customized event that test terminal is added by automated test tool forwards function to capture Action Events.In this reality Apply in example, Monkey Talk capture touch event by inserting the mySendEvent functions of addition under UIApplication UIEvent。
Step 502, test terminal obtains the event information of Action Events.
After terminal is tested by automated test tool capture Action Events, the Action Events are parsed, obtained The event information of Action Events.Coordinate position and operation thing that the event information of one Action Events is acted on comprising Action Events The information such as the action of part effect.
In the present embodiment, after test terminal is by Monkey Talk capture touch events UIEvent, obtains this and touch The coordinate position for touching event effect is the coordinate of this touch location when user touches screen, the action of touch event effect As click on.
Event information reflects the concrete condition of Action Events, by obtaining the event information of Action Events, can be rear Event information is parsed and constructed in continuous automatized script implementation procedure, Action Events are restored.
Step 503, test terminal preserves event information into automatized script.
Test terminal preserves the event information got into automatized script, namely generation obtains automatized script. When a test case includes more than one Action Events, the thing for all Action Events for generally being included the test case Part information is preserved into same automatized script.
Step 504, test terminal retransmits Action Events to the event forwarding function of the event reception object of Action Events.
Test terminal and retransmit Action Events to the event forwarding function of the event reception object of Action Events, the event forwarding Function is used to Action Events passing to response object progress event response by event response chain.
In the present embodiment, test terminal by UIApplication sendEvent functions by touch event UIEvent is retransmitted away so that the response object that touch event UIEvent is transferred to by event response chain in control tree enters Row event response.It is possible to further record the state and result of event response so that subsequent automated test phase is surveyed The checking of test result.
Step 505, automatized script is sent to mobile terminal by test terminal.
After terminal is tested by above-mentioned steps generation automatized script, the automatized script is sent to mobile terminal, So that mobile terminal performs the automatized script and carries out automatic test.
Accordingly, mobile terminal receives the automatized script that test terminal is sent.
Step 506, mobile terminal reads the event information in automatized script.
Mobile terminal is parsed to the automatized script received, reads the event information in automatized script.
In the present embodiment, because in above-mentioned steps 502, the event information that test terminal is got is made for touch event Coordinate position and the click action of touch event effect.Therefore, now mobile terminal reading and saving in automation pin Event information in this is:Coordinate position and click action the two information.
Step 507, mobile terminal obtains Action Events according to event information construction.
Mobile terminal is read from automatized script after event information, obtains operating thing according to event information construction Part.In the present embodiment, mobile terminal is according to coordinate position and click action the two information, and construction obtains touch event.
Step 508, Action Events are sent to custom object by mobile terminal.
Custom object is used to Action Events passing to response object progress event response by event response chain.Generally For, process of the Action Events from triggering to response is as follows:Action Events are carried out after being triggered by the object of reception event Receive, the Action Events are then sent to window object by the object of the reception event, window object is again by the Action Events The response object passed to by event response chain in control tree carries out event response.
Such as, in iOS system, a UIEvent is received after being triggered by UIApplication, Ran Houyou The UIEvent is sent to UIWindow by UIApplication, and UIWindow is again passed the UIEvent by event response chain The response object passed in control tree carries out event response.
And in existing automatic test course, automated test tool can be deposited during automatized script is recorded Store up the corresponding relation between Action Events and response object.During automatized script after is performed, automatic test Instrument can travel through control tree first, and the response object corresponding with Action Events is searched in control tree, then directly will operation Event is sent to the response object found and carries out event response.So as to verify whether the Action Events meet with a response or obtain The test results such as the probability that the Action Events meet with a response.
In the present embodiment, the accuracy of the performance data obtained in order to ensure subsequent acquisition, mobile terminal is to test When use-case carries out automatic test, custom object is with the addition of on all window objects, will be operated by custom object Event passes to response object progress event response to complete automatic test by event response chain, namely passes through restoring operation The process that event meets with a response completes automatic test.
Specifically, by taking iOS system as an example, custom object Top UIView are added on all UIWindow, After event information construct obtaining UIEvent, the UIEvent is sent to Top UIView, then by Top The response object that UIView is passed to UIEvent by event response chain in control tree carries out event response, completes automation Test.So, the process that traversal control tree searches response object had both been eliminated, had been obtained further through Action Events under reduction truth Process to response carries out automatic test so that test result is more accurate.
Step 509, during automatized script is performed, mobile terminal collecting test use-case and/or mobile terminal Performance data.
Specifically, in the first possible implementation, in interior collecting test use-case extremely at preset time intervals The first kind performance data of few Action Events.
First kind performance data include at least one Action Events in test case from triggering to spent by response when At least one of the average display frame rate of length, electricity, network traffics and mobile terminal in test process.
Under normal circumstances, take, power consumption, network traffics and fluency this 4 performance datas all need to be acquired.Pre- Fixing time, interval is interior to gather first kind performance data, and the collection for illustrating first kind performance data is in lasting interval of time Interior ability is obtainable.Exemplified by taking the collection of this performance data, record Action Events are from being triggered to response whole process Time interval obtains taking this performance data.
In second of possible implementation, Equations of The Second Kind performance data is obtained in predetermined instant sampling.
Equations of The Second Kind performance data includes at least one in the central processor CPU occupancy and EMS memory occupation of mobile terminal Kind.
Under normal circumstances, except above-mentioned time-consuming, power consumption, network traffics and fluency this 4 performance datas need collection Outside, also need to gather CPU usage and EMS memory occupation this 2 performance datas in the lump.Equations of The Second Kind is obtained in predetermined instant sampling Energy data, the collection for illustrating Equations of The Second Kind performance data is obtained in different sampling instants.With this performance number of CPU usage According to collection exemplified by, the different instance samples in automatized script implementation procedure obtain CPU usage during several moment, So as to obtain CPU usage this performance data.
Step 510, performance data is sent to test terminal by mobile terminal.
The performance data collected is sent to test terminal and carries out data analysis by mobile terminal.
Accordingly, test terminal receives the performance data that mobile terminal is sent.
Step 511, test terminal-pair performance data analyze obtaining performance data analysis result.
It is main to the analysis of performance data from statistics, across comparison, longitudinally contrast and alarm and divided in terms of this four Analysis.
Specifically, in the first possible implementation, performance data is carried out to count the system for obtaining performance data Count result.
For above-mentioned time-consuming, power consumption, network traffics, fluency, CPU usage and EMS memory occupation this 6 kinds of performance datas, For each of which kind performance data, if an automatic test or several times automatic test are collected A dry performance data is summed, averaged or asked variance etc. to carry out statistical analysis, then obtains the statistics of performance data As a result.The size and stability of each performance data can be reflected from statistical result.
In second of possible implementation, across comparison is carried out to different types of performance data and obtains performance data Across comparison result.
Across comparison refers to carry out importance to the different types of performance data obtained after each automatic test, coordinated Contrast in terms of property.
In the third possible implementation, the performance data progress longitudinal direction contrast to identical type obtains performance data Longitudinal comparing result.
Longitudinal direction contrast refers to for each performance data, by what is once or several times obtained after automatic test Multiple performance datas are compared.
In the 4th kind of possible implementation, performance data is compared with preset alarm threshold value and obtains performance data afterwards Alarming result.
Test terminal-pair performance data is compared with preset alarm threshold value, and the performance data for being up to alarm threshold value is carried out Extract the alarming result for obtaining performance data.
Under normal circumstances, performance data comprehensively can be divided using above-mentioned four kinds of possible implementations simultaneously Analysis, obtains performance data analysis result.
Step 512, test terminal generates the performance test form of test case according to performance data analysis result.
Test terminal is obtained after performance data analysis result, generates the performance test form of test case.Normal conditions Under, research staff is sent to by mail in table form.Research staff is carried out according to performance test form to test case The optimization and adjustment of next step.
In summary, the automated testing method that the present embodiment is provided, Test cases technology is recorded certainly by testing terminal Dynamicization script, and the automatized script is sent to mobile terminal;Mobile terminal performs automatized script and test case is carried out Test, during automatized script is performed, the performance data of mobile terminal collecting test use-case and/or mobile terminal, and The performance test form of test case is obtained according to performance data;Prior art is solved in the presence of the test to application program also to stop Stay in the test in terms of the event response on basis, it is impossible to the problem of fully ensuring that the performance quality of application program;Reach and answered With the test phase automatic data collection and analytical performance data of program, human cost is both saved, application program has been fully ensured that again Performance quality effect.
The automated testing method that the present embodiment is provided, mobile terminal also passes through during automatized script is performed The Action Events that construction is obtained are sent to the custom object of addition, are rung Action Events by event by the custom object Answer chain to pass to response object and carry out event response, complete automatic test;Reduced in test process Action Events from touch The process of response is sent to, the accuracy of performance data for improving the degree of accuracy of test and collecting.
Fig. 6 is refer to, the method flow diagram of the automated testing method provided it illustrates another embodiment of the present invention, this Embodiment still is applied in the implementation environment shown in Fig. 1 illustrate with the automated testing method.The automatic test Method comprises the following steps:
Step 601, after Action Events of the test terminal in test case are triggered, Action Events are captured.
Step 602, test terminal obtains the event information of Action Events.
Step 603, test terminal preserves event information into automatized script.
Step 604, test terminal retransmits Action Events to the event forwarding function of the event reception object of Action Events.
Step 605, automatized script is sent to mobile terminal by test terminal.
Accordingly, mobile terminal receives the automatized script that test terminal is sent.
Step 606, mobile terminal reads the event information in automatized script.
Step 607, mobile terminal obtains Action Events according to event information construction.
Step 608, Action Events are sent to custom object by mobile terminal.
Step 609, during automatized script is performed, mobile terminal collecting test use-case and/or mobile terminal Performance data.
The step 501 of above-mentioned steps 601 to step 609 and embodiment illustrated in fig. 5 is same or similar to step 509, tool Body is repeated no more in the present embodiment referring to above-mentioned steps 501 to step 509.
From unlike embodiment illustrated in fig. 5, in the embodiment shown in fig. 5, mobile terminal collects performance data Performance data is sent to test terminal afterwards, is analyzed by test terminal-pair performance data and further obtains performance test report Table.In the present embodiment, mobile terminal, which is collected, is voluntarily analyzed performance data after performance data and obtains performance Testing journal sheet, referring specifically to following steps 610 to step 611.
Step 610, mobile terminal to performance data analyze obtaining performance data analysis result.
Similar with the step 511 in embodiment illustrated in fig. 5, analysis of the mobile terminal to performance data is also mainly from system Meter, across comparison, longitudinal this four aspects that contrast and alarm are analyzed.
Specifically, performance data is carried out counting the statistical result for obtaining performance data;And/or, to different types of Performance data carries out the across comparison result that across comparison obtains performance data;And/or, the performance data to identical type is carried out Longitudinal direction contrast obtains longitudinal comparing result of performance data;And/or, obtaining property after being compared with preset alarm threshold value performance data The alarming result of energy data.Specific implementation has been discussed in detail and illustrated in step 511, is no longer gone to live in the household of one's in-laws on getting married in the present embodiment State.
Step 611, mobile terminal generates the performance test form of test case according to performance data analysis result.
Similar with the step 512 in embodiment illustrated in fig. 5, mobile terminal is used according to the generation test of performance data analysis result The performance test form of example.
It should be noted that mobile terminal to performance data can also analyze obtaining performance data analysis result, and Performance data analysis result is sent to test terminal by mobile terminal afterwards;Accordingly, test terminal receives what mobile terminal was sent Performance data analysis result, then tests the performance test form that terminal generates test case according to performance data analysis result. When implementing, it can select what this programme or embodiment illustrated in fig. 5 were provided according to the calculating disposal ability of mobile terminal Scheme, or the scheme that embodiment illustrated in fig. 6 is provided.
In summary, the automated testing method that the present embodiment is provided, Test cases technology is recorded certainly by testing terminal Dynamicization script, and the automatized script is sent to mobile terminal;Mobile terminal performs automatized script and test case is carried out Test, during automatized script is performed, the performance data of mobile terminal collecting test use-case and/or mobile terminal, and The performance test form of test case is obtained according to performance data;Prior art is solved in the presence of the test to application program also to stop Stay in the test in terms of the event response on basis, it is impossible to the problem of fully ensuring that the performance quality of application program;Reach and answered With the test phase automatic data collection and analytical performance data of program, human cost is both saved, application program has been fully ensured that again Performance quality effect.In addition, after mobile terminal collects performance data, voluntarily can also be divided performance data Analyse and generate performance testing journal sheet.
Following is apparatus of the present invention embodiment, can be used for performing the inventive method embodiment.It is real for apparatus of the present invention The details not disclosed in example is applied, the inventive method embodiment is refer to.
Fig. 7 is refer to, the block diagram of the automatic test device provided it illustrates one embodiment of the invention should Automatic test device can by software, hardware or both be implemented in combination with it is some or all of as mobile terminal. The automatic test device, including:Script execution module 710, data acquisition module 720 and form obtain module 730.
Script execution module 710, is tested test case for performing automatized script.
Data acquisition module 720, for during the automatized script is performed, gather the test case and/ Or the performance data of the mobile terminal.
Form obtains module 730, the performance test form for obtaining the test case according to the performance data.
In summary, the automatic test device that the present embodiment is provided, mobile terminal is by performing automatized script to survey Example on probation is tested, during the automatized script is performed, the performance number of collecting test use-case and/or mobile terminal According to obtaining the performance test form of test case according to performance data;Prior art is solved in the presence of the test to application program Also rest on the test in terms of the event response on basis, it is impossible to the problem of fully ensuring that the performance quality of application program;Reach In the test phase automatic data collection and analytical performance data of application program, human cost is both saved, application has been fully ensured that again The effect of the performance quality of program.
Fig. 8 is refer to, the block diagram of the automatic test device provided it illustrates another embodiment of the present invention should Automatic test device being implemented in combination with as some or all of of test terminal by software, hardware or both. The automatic test device, including:Script generation module 810 and script sending module 820.
Script generation module 810, for recording Test cases technology automatized script.
Script sending module 820, for the automatized script to be sent into mobile terminal, so that the mobile terminal is held The row automatized script is tested the test case, during the automatized script is performed, and collection is described The performance data of test case and/or the mobile terminal, is surveyed according to the performance that the performance data obtains the test case Try form.
In summary, the automatic test device that the present embodiment is provided, test terminal is by recording Test cases technology certainly Dynamicization script, mobile terminal is sent to by automatized script;Mobile terminal performs the automatized script and test case is surveyed Examination, during automatized script is performed, the performance data of collecting test use-case and/or mobile terminal, according to performance data Obtain the performance test form of test case;Solve the thing that prior art also rests on basis in the presence of the test to application program Test in terms of part response, it is impossible to the problem of fully ensuring that the performance quality of application program;The test in application program is reached Stage automatic data collection and analytical performance data, have both saved human cost, and the performance quality of application program has been fully ensured that again Effect.
Fig. 9 is refer to, the block diagram of the automatization test system provided it illustrates one embodiment of the invention should Automatization test system includes mobile terminal 700 and test terminal 800.
Mobile terminal 700 can include automatic test device, the automatic test device can by software, hardware or Both persons' is implemented in combination with.The automatic test device includes:Script receiving module 702, script execution module 710, data are adopted Collect module 720 and form obtains module 730.
Script receiving module 702, for receiving the automatized script that the test terminal is sent.
Script execution module 710, is tested test case for performing automatized script.
Specifically, the script execution module 710, including:Information reading unit 710a, event structural unit 710b and Event responds unit 710c.
Described information reading unit 710a, for reading the event information in the automatized script, the automation pin Originally the event information of at least one Action Events is included, the event information is in the Action Events by test terminal After being triggered, the capture Action Events, and obtained from the Action Events.
The event structural unit 710b, for obtaining the Action Events according to event information construction.
The event responds unit 710c is described self-defined right for the Action Events to be sent into custom object As carrying out event response for the Action Events to be passed into response object by event response chain.
Data acquisition module 720, for during the automatized script is performed, gather the test case and/ Or the performance data of the mobile terminal.
Specifically, the data acquisition module 720, including:First collecting unit 720a, and/or, the second collecting unit 720b。
The first collecting unit 720a, at least one in the interior collection test case at preset time intervals The first kind performance data of Action Events, the first kind performance data includes at least one operation thing in the test case Part is average aobvious in test process from triggering to the duration spent by response, electricity, network traffics and the mobile terminal Show at least one of frame per second.
And/or,
The second collecting unit 720b, for obtaining Equations of The Second Kind performance data, the Equations of The Second Kind in predetermined instant sampling Performance data includes at least one of central processor CPU occupancy and EMS memory occupation of the mobile terminal.
Form obtains module 730, the performance test form for obtaining the test case according to the performance data.
Specifically, the form obtains module 730, including:Opposite end generation unit 730a;Or, data analysis unit 730b and data transmission unit 730c;Or, data analysis unit 730b and report generation the unit 730d.
The opposite end generation unit 730a, for the performance data to be sent into test terminal, so as to the test eventually End to the performance data analyze obtaining performance data analysis result, according to performance data analysis result generation The performance test form of test case.
Or,
The data analysis unit 730b, for the performance data analyze obtaining performance data analysis result; The data transmission unit 730c, for the performance data analysis result to be sent into test terminal, so as to the test eventually Hold the performance test form that the test case is generated according to the performance data analysis result.
Or,
The data analysis unit 730b, for the performance data analyze obtaining performance data analysis result; The report generation unit 730d, the performance test report for generating the test case according to the performance data analysis result Table.
Specifically, the data analysis unit 730b, including:Data statistics subelement 730b1;And/or, across comparison Unit 730b2;And/or, longitudinal contrast subunit 730b3;And/or, data alarm part-unit 730b4.
The data statistics subelement 730b1, for the performance data count obtaining the performance data Statistical result.
The across comparison subelement 730b2, is obtained for carrying out across comparison to different types of performance data The across comparison result of the performance data.
Longitudinal contrast subunit 730b3, carries out longitudinal direction contrast for the performance data to identical type and obtains Longitudinal comparing result of the performance data.
The data alarm part-unit 730b4, for obtaining institute after being compared with preset alarm threshold value the performance data State the alarming result of performance data.
Test terminal 800 can include automatic test device, the automatic test device can by software, hardware or Both persons' is implemented in combination with.The automatic test device includes:Script generation module 810 and script sending module 820.
Script generation module 810, for recording Test cases technology automatized script.
Specifically, the script generation module 810, including:Event capturing unit 810a, information acquisition unit 810b and Information holding unit 810c.
The event capturing unit 810a, after being triggered for the Action Events in the test case, capture is described Action Events.
Specifically, the event capturing unit 810a, including:Function hooks up subelement 810a1, function addition subelement 810a2 and event capturing subelement 810a3.
The function hooks up subelement 810a1, and the event for obtaining the Action Events by Hook Function Hook connects Receive the event forwarding function of object.
The function adds subelement 810a2, turns for adding customized event corresponding with the event forwarding function Send a letter number.
The event capturing subelement 810a3, for forwarding function to capture the operation thing by the customized event Part.
Described information acquiring unit 810b, the event information for obtaining the Action Events.
Described information storage unit 810c, for the event information to be preserved into the automatized script, to move Dynamic terminal reads the event information in the automatized script, according to the thing after the automatized script is received Part information structuring obtains the Action Events, and the Action Events are sent into custom object, and the custom object is used for The Action Events are passed into response object by event response chain and carry out event response.
Wherein, the test case includes at least one described Action Events.
The script generation module 810, in addition to:Event retransmission unit 810d.
The event retransmission unit 810d, the event for retransmitting the Action Events to the Action Events is received The event forwarding function of object, the event forwarding function is used to the Action Events passing to response by event response chain Object carries out event response.
Script sending module 820, for the automatized script to be sent into mobile terminal, so that the mobile terminal is held The row automatized script is tested the test case, during the automatized script is performed, and collection is described The performance data of test case and/or the mobile terminal, is surveyed according to the performance that the performance data obtains the test case Try form.
In addition, the automatic test device also includes:Data reception module 830, data analysis module 840 and report generation Module 850;Or, as a result acquisition module 848 and the report generation module 850.
The data reception module 830, for receiving the performance data that the mobile terminal is sent.
The data analysis module 840, for the performance data analyze obtaining performance data analysis result.
Specifically, the data analysis module 840, including:First analytic unit 840a;And/or, the second analytic unit 840b;And/or, the 3rd analytic unit 840c;And/or, the 4th analytic unit 840d.
The first analytic unit 840a, for carrying out counting the statistics for obtaining the performance data to the performance data As a result.
The second analytic unit 840b, obtains described for carrying out across comparison to different types of performance data The across comparison result of performance data.
The 3rd analytic unit 840c, carries out longitudinal direction contrast for the performance data to identical type and obtains described Longitudinal comparing result of performance data.
The 4th analytic unit 840d, for obtaining the property after being compared with preset alarm threshold value the performance data The alarming result of energy data.
The report generation module 850, the property for generating the test case according to the performance data analysis result Can testing journal sheet.
Or,
The result acquisition module 848, for receiving the performance data analysis result that the mobile terminal is sent, the property Energy data results are obtained after the mobile terminal is analyzed the performance data.
The report generation module 850, the property for generating the test case according to the performance data analysis result Can testing journal sheet.
In summary, the automatization test system that the present embodiment is provided, Test cases technology is recorded certainly by testing terminal Dynamicization script, and the automatized script is sent to mobile terminal;Mobile terminal performs automatized script and test case is carried out Test, during automatized script is performed, the performance data of mobile terminal collecting test use-case and/or mobile terminal, and The performance test form of test case is obtained according to performance data;Prior art is solved in the presence of the test to application program also to stop Stay in the test in terms of the event response on basis, it is impossible to the problem of fully ensuring that the performance quality of application program;Reach and answered With the test phase automatic data collection and analytical performance data of program, human cost is both saved, application program has been fully ensured that again Performance quality effect.
The automatization test system that the present embodiment is provided, mobile terminal also passes through during automatized script is performed The Action Events that construction is obtained are sent to the custom object of addition, are rung Action Events by event by the custom object Answer chain to pass to response object and carry out event response, complete automatic test;Reduced in test process Action Events from touch The process of response is sent to, the accuracy of performance data for improving the degree of accuracy of test and collecting.
It should be noted that:Above-described embodiment provide automatic test device and system carry out automatic test when, Only with the division progress of above-mentioned each functional module for example, in practical application, as needed can distribute above-mentioned functions Completed by different functional modules, i.e., the internal structure of equipment is divided into different functional modules, it is described above to complete All or part of function.In addition, automatic test device that above-described embodiment is provided and system and automated testing method Embodiment of the method belongs to same design, and it implements process and refers to embodiment of the method, repeats no more here.
Figure 10 is refer to, the structural representation of the mobile terminal provided it illustrates one embodiment of the invention, the movement Terminal can be used for the automated testing method of the mobile terminal side provided in implementation above-described embodiment.Specifically:
Mobile terminal 1 000 can include RF (Radio Frequency, radio frequency) circuit 1010, include one or one The memory 1020 of above computer-readable recording medium, input block 1030, display unit 1040, sensor 1050, audio Circuit 1060, WiFi (wireless fidelity, Wireless Fidelity) module 1070, include one or more than one processing The parts such as the processor 1080 and power supply 1090 of core.It will be understood by those skilled in the art that the terminal knot shown in Figure 10 The restriction of structure not structure paired terminal, can be included than illustrating more or less parts, either combine some parts or not Same part arrangement.Wherein:
RF circuits 1010 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information is received, transfer to one or more than one processor 1080 is handled;In addition, being sent to up data are related to Base station.Generally, RF circuits 1010 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, It is subscriber identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), double Work device etc..In addition, RF circuits 1010 can also be communicated by radio communication with network and other equipment.The radio communication can be with Using any communication standard or agreement, including but not limited to GSM (Global System of Mobile communication, Global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..
Memory 1020 can be used for storage software program and module, and processor 1080 is stored in memory by operation 1020 software program and module, so as to perform various function application and data processing.Memory 1020 can mainly include Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can store the use according to mobile terminal 1 000 Data (such as voice data, phone directory etc.) created etc..In addition, memory 1020 can include high random access storage Device, can also include nonvolatile memory, and for example, at least one disk memory, flush memory device or other volatibility are solid State memory device.Correspondingly, memory 1020 can also include Memory Controller, to provide processor 1080 and input block The access of 1030 pairs of memories 1020.
Input block 1030 can be used for the numeral or character information for receiving input, and generation to be set with user and function The relevant keyboard of control, mouse, action bars, optics or the input of trace ball signal.Specifically, input block 1030 may include figure As input equipment 1031 and other input equipments 1032.Image input device 1031 can be camera or photoelectricity Scanning device.Except image input device 1031, input block 1030 can also include other input equipments 1032.Specifically, Other input equipments 1032 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One or more in trace ball, mouse, action bars etc..
Display unit 1040 can be used for the information and mobile terminal for showing the information inputted by user or being supplied to user 1000 various graphical user interface, these graphical user interface can be by figure, text, icon, video and its any combination To constitute.Display unit 1040 may include display panel 1041, optionally, can use LCD (Liquid Crystal Display, liquid crystal display), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) comes Configure display panel 1041.
Mobile terminal 1 000 may also include at least one sensor 1050, such as optical sensor, motion sensor and its His sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can root The brightness of display panel 1041 is adjusted according to the light and shade of ambient light, proximity transducer can be moved in one's ear in mobile terminal 1 000 When, close display panel 1041 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect each The size of (generally three axles) acceleration, can detect that size and the direction of gravity, available for identification mobile phone on direction when static The application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of posture, Vibration identification correlation function (such as meter step Device, percussion) etc.;Gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor that can also configure as mobile terminal 1 000 Etc. other sensors, it will not be repeated here.
Voicefrequency circuit 1060, loudspeaker 1061, microphone 1062 can provide the audio between user and mobile terminal 1 000 Interface.Electric signal after the voice data received conversion can be transferred to loudspeaker 1061, by loudspeaker by voicefrequency circuit 1060 1061 are converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1062, by audio Circuit 1060 is converted to voice data after receiving, then after voice data output processor 1080 is handled, through RF circuits 1010 with Such as another terminal is sent to, or voice data is exported to memory 1020 so as to further processing.Voicefrequency circuit 1060 Earphone jack is also possible that, to provide the communication of peripheral hardware earphone and mobile terminal 1 000.
WiFi belongs to short range wireless transmission technology, and mobile terminal 1 000 can help user to receive by WiFi module 1070 Send e-mails, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although figure 10 show WiFi module 1070, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal 1 000, completely may be used To be omitted as needed in the essential scope for do not change invention.
Processor 1080 is the control centre of mobile terminal 1 000, utilizes each of various interfaces and connection whole mobile phone Individual part, by operation or performs and is stored in software program and/or module in memory 1020, and calls and be stored in storage Data in device 1020, perform the various functions and processing data of mobile terminal 1 000, so as to carry out integral monitoring to mobile phone.Can Choosing, processor 1080 may include one or more processing cores;It is preferred that, processor 1080 can integrated application processor and tune Demodulation processor processed, wherein, application processor mainly handles operating system, user interface and application program etc., and modulatedemodulate is mediated Reason device mainly handles radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1080 In.
Mobile terminal 1 000 also includes the power supply 1090 (such as battery) powered to all parts, it is preferred that power supply can be with It is logically contiguous by power-supply management system and processor 1080, thus by power-supply management system realize management charging, electric discharge, with And the function such as power managed.Power supply 1090 can also include one or more direct current or AC power, recharging system, The random component such as power failure detection circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, mobile terminal 1 000 can also will not be repeated here including bluetooth module etc..Specifically in this implementation In example, terminal also includes memory, and one or more than one program, and one of them or more than one program is deposited It is stored in memory, and is configured to by one or more than one computing device.Said one or more than one program Include the instruction for being operated below:
Automatized script is performed to test test case;
During the automatized script is performed, the test case and/or the performance of the mobile terminal are gathered Data;
The performance test form of the test case is obtained according to the performance data.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of the mobile terminal, also comprising for performing the instruction operated below:
The event information in the automatized script is read, the automatized script includes at least one Action Events The event information, the event information is by test terminal after the Action Events are triggered, to capture the Action Events, And obtained from the Action Events;
The Action Events are obtained according to event information construction;
The Action Events are sent to custom object, the custom object is used to the Action Events passing through thing Part response chain passes to response object and carries out event response.
In the third the possible embodiment provided based on second of possible embodiment, the movement In the memory of terminal, also comprising for performing the instruction operated below:
Receive the automatized script that the test terminal is sent.
There is provided based on first any one possible embodiment into the third possible embodiment The 4th kind of possible embodiment in, in the memory of the mobile terminal, also comprising for performing the instruction operated below:
The first kind performance data for gathering at least one Action Events in the test case interior at preset time intervals, The first kind performance data include at least one Action Events in the test case from triggering to spent by response when At least one of the average display frame rate of length, electricity, network traffics and the mobile terminal in test process;
And/or,
Equations of The Second Kind performance data is obtained in predetermined instant sampling, the Equations of The Second Kind performance data includes the mobile terminal At least one of central processor CPU occupancy and EMS memory occupation.
There is provided based on first any one possible embodiment into the third possible embodiment The 5th kind of possible embodiment in, in the memory of the mobile terminal, also comprising for performing the instruction operated below:
The performance data is sent to test terminal, so that performance data described in the test terminal-pair analyze To performance data analysis result, the performance test form of the test case is generated according to the performance data analysis result;
Or,
The performance data analyze to obtain performance data analysis result;The performance data analysis result is sent Test terminal is given, so that the test terminal generates the performance test of the test case according to the performance data analysis result Form;
Or,
The performance data analyze to obtain performance data analysis result;Given birth to according to the performance data analysis result Into the performance test form of the test case.
In the 6th kind of possible embodiment provided based on the 5th kind of possible embodiment, the movement In the memory of terminal, also comprising for performing the instruction operated below:
The performance data is carried out to count the statistical result for obtaining the performance data;And/or,
The across comparison result that across comparison obtains the performance data is carried out to different types of performance data; And/or,
The performance data to identical type carries out longitudinal comparing result that longitudinal direction contrast obtains the performance data; And/or,
Compared the performance data alarming result for obtaining the performance data afterwards with preset alarm threshold value.
In summary, the mobile terminal that the present embodiment is provided, is tested test case by performing automatized script, During the automatized script is performed, the performance data of collecting test use-case and/or mobile terminal is obtained according to performance data To the performance test form of test case;Solve the event that prior art also rests on basis in the presence of the test to application program Test in terms of response, it is impossible to the problem of fully ensuring that the performance quality of application program;The test rank in application program is reached Section automatic data collection and analytical performance data, have both saved human cost, the effect of the performance quality of application program have been fully ensured that again Really.
Figure 11 is refer to, the structural representation of the test terminal provided it illustrates one embodiment of the invention, the test Terminal can be used for the automated testing method for testing end side for implementing to provide in above-described embodiment.The test terminal 1100 Including CPU (CPU) 1101 including random access memory (RAM) 1102 and read-only storage (ROM) 1103 System storage 1104, and connection system storage 1104 and the system bus 1105 of CPU 1101.It is described to survey Try also basic input/output (the I/O systems including transmitting information between each device in help computer of terminal 1100 System) 1106, and the mass-memory unit for storage program area 1113, application program 1114 and other program modules 1115 1107。
The basic input/output 1106 includes for the display 1108 of display information and for user's input The input equipment 1109 of such as mouse, keyboard etc of information.Wherein described display 1108 and input equipment 1109 all pass through The i/o controller 1110 for being connected to system bus 1105 is connected to CPU 1101.The basic input/defeated Going out system 1106 can also receive and handle tactile from keyboard, mouse or electronics including i/o controller 1110 Control the input of multiple other equipments such as pen.Similarly, i/o controller 1110 also provides output to display screen, printer Or other kinds of output equipment.
The mass-memory unit 1107 (is not shown by being connected to the bulk memory controller of system bus 1105 Go out) it is connected to CPU 1101.The mass-memory unit 1107 and its associated computer-readable medium are Test terminal 1100 and non-volatile memories are provided.That is, the mass-memory unit 1107 can include such as hard disk Or the computer-readable medium (not shown) of CD-ROM drive etc.
Without loss of generality, the computer-readable medium can include computer-readable storage medium and communication media.Computer Storage medium is included for information such as storage computer-readable instruction, data structure, program module or other data Volatibility and non-volatile, removable and irremovable medium that any method or technique is realized.Computer-readable storage medium includes RAM, ROM, EPROM, EEPROM, flash memory or other solid-state storages its technologies, CD-ROM, DVD or other optical storages, tape Box, tape, disk storage or other magnetic storage apparatus.Certainly, skilled person will appreciate that the computer-readable storage medium It is not limited to above-mentioned several.Above-mentioned system storage 1104 and mass-memory unit 1107 may be collectively referred to as memory.
According to various embodiments of the present invention, the test terminal 1100 can also pass through the network connections such as internet Remote computer operation on to network.Namely test terminal 1100 can be by the net that is connected on the system bus 1105 Network interface unit 1111 is connected to network 1112, in other words, can also use NIU 1111 to be connected to other classes The network or remote computer system (not shown) of type.
The memory also include one or more than one program, one or more than one program storage in In memory, and it is configured to by one or more than one CPU 1101 is performed.Said one or one with Upper program bag contains the instruction for being used for being operated below:
Record Test cases technology automatized script;
The automatized script is sent to mobile terminal, so that the mobile terminal performs the automatized script to institute State test case to be tested, during the automatized script is performed, gather the test case and/or the movement The performance data of terminal, the performance test form of the test case is obtained according to the performance data.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, it is described test terminal memory in, also comprising for performing the instruction operated below:
After Action Events in the test case are triggered, the Action Events are captured;
Obtain the event information of the Action Events;
The event information is preserved into the automatized script, the event information is used to receive in mobile terminal To after the automatized script, the event information in the automatized script is read, is configured to according to the event information To the Action Events, the Action Events are sent to custom object, the custom object is used for the operation thing Part passes to response object by event response chain and carries out event response;
Wherein, the test case includes at least one described Action Events.
In the third the possible embodiment provided based on second of possible embodiment, the test In the memory of terminal, also comprising for performing the instruction operated below:
The event forwarding function of object is received by the Hook Function Hook events for obtaining the Action Events;
Addition customized event forwarding function corresponding with the event forwarding function;
Function is forwarded to capture the Action Events by the customized event.
In the 4th kind of possible embodiment provided based on the third possible embodiment, the test In the memory of terminal, also comprising for performing the instruction operated below:
The event for retransmitting the Action Events to the Action Events receives the event forwarding function of object, the thing Part forwarding function is used to the Action Events passing to response object progress event response by event response chain.
There is provided based on any one possible embodiment in first to fourth kind of possible embodiment The 5th kind of possible embodiment in, it is described test terminal memory in, also comprising for performing the instruction operated below:
Receive the performance data that the mobile terminal is sent;The performance data analyze to obtain performance data analysis As a result;The performance test form of the test case is generated according to the performance data analysis result;
Or,
The performance data analysis result that the mobile terminal is sent is received, the performance data analysis result is the movement Obtained after performance data is analyzed described in terminal-pair;The test case is generated according to the performance data analysis result Performance test form.
In the 6th kind of possible embodiment provided based on the 5th kind of possible embodiment, the test In the memory of terminal, also comprising for performing the instruction operated below:
The performance data is carried out to count the statistical result for obtaining the performance data;And/or,
The across comparison result that across comparison obtains the performance data is carried out to different types of performance data; And/or,
The performance data to identical type carries out longitudinal comparing result that longitudinal direction contrast obtains the performance data; And/or,
Compared the performance data alarming result for obtaining the performance data afterwards with preset alarm threshold value.
In summary, the test terminal that the present embodiment is provided, will be automatic by recording Test cases technology automatized script Change script and be sent to mobile terminal;Mobile terminal performs the automatized script and test case is tested, and is performing automation During script, the performance data of collecting test use-case and/or mobile terminal obtains the property of test case according to performance data Can testing journal sheet;Solve the survey in terms of prior art also rests on the event response on basis in the presence of the test to application program Examination, it is impossible to the problem of fully ensuring that the performance quality of application program;Reached application program test phase automatic data collection and Analytical performance data, have both saved human cost, and the effect of the performance quality of application program has been fully ensured that again.
It should be appreciated that it is used in the present context, unless context clearly supports exception, singulative " one It is individual " (" a ", " an ", " the ") be intended to also include plural form.It is to be further understood that "and/or" used herein is Referring to includes any of one or more than one project listed in association and is possible to combine.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware To complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.

Claims (23)

1. a kind of automated testing method, in mobile terminal, it is characterised in that methods described includes:
Automatized script is performed to test test case;
During the automatized script is performed, the test case and/or the performance data of the mobile terminal are gathered;
The performance test form of the test case is obtained according to the performance data;
Wherein, the execution automatized script is tested test case, including:
The event information in the automatized script is read, the automatized script includes the event of at least one Action Events Information, the event information of the Action Events includes the corresponding coordinate position of the Action Events and Action Events correspondence Action;
The Action Events are obtained according to event information construction;
The Action Events are sent to custom object, the custom object is used to ring the Action Events by event Answer chain to pass to response object and carry out event response.
2. according to the method described in claim 1, it is characterised in that the execution automatized script is tested test case Before, in addition to:
Receive the automatized script that the test terminal is sent.
3. method according to claim 1 or 2, it is characterised in that described during the automatized script is performed, The performance data of the test case and/or the mobile terminal is gathered, including:
The first kind performance data of at least one Action Events in the interior collection test case, described at preset time intervals First kind performance data is including at least one Action Events in the test case from triggering to the duration spent by response, electricity At least one of amount, the average display frame rate of network traffics and the mobile terminal in test process;
And/or,
Equations of The Second Kind performance data is obtained in predetermined instant sampling, the Equations of The Second Kind performance data includes the center of the mobile terminal At least one of processor CPU usage and EMS memory occupation.
4. method according to claim 1 or 2, it is characterised in that described that the test is obtained according to the performance data The performance test form of use-case, including:
The performance data is sent to test terminal, so that performance data described in the test terminal-pair carries out analyzing obtaining property Energy data results, the performance test form of the test case is generated according to the performance data analysis result;
Or,
The performance data analyze to obtain performance data analysis result;The performance data analysis result is sent to survey Terminal is tried, so that the test terminal generates the performance test report of the test case according to the performance data analysis result Table;
Or,
The performance data analyze to obtain performance data analysis result;Institute is generated according to the performance data analysis result State the performance test form of test case.
5. method according to claim 4, it is characterised in that described to the performance data analyze obtaining performance number According to analysis result, including:
The performance data is carried out to count the statistical result for obtaining the performance data;And/or,
The across comparison result that across comparison obtains the performance data is carried out to different types of performance data;And/or,
The performance data to identical type carries out longitudinal comparing result that longitudinal direction contrast obtains the performance data;And/or,
Compared the performance data alarming result for obtaining the performance data afterwards with preset alarm threshold value.
6. a kind of automated testing method, for testing in terminal, it is characterised in that methods described includes:
Record Test cases technology automatized script;
The automatized script is sent to mobile terminal, surveyed so that the mobile terminal performs the automatized script to described Example on probation is tested, during the automatized script is performed, and gathers the test case and/or the mobile terminal Performance data, the performance test form of the test case is obtained according to the performance data;
Wherein, the record Test cases technology automatized script, including:
After Action Events in the test case are triggered, the Action Events are captured;
The event information of the Action Events is obtained, the event information of the Action Events includes the corresponding seat of the Action Events Cursor position and the corresponding action of the Action Events;
The event information is preserved into the automatized script, the event information is used in mobile terminal receiving State after automatized script, read the event information in the automatized script, institute is obtained according to event information construction Action Events are stated, the Action Events are sent to custom object, the custom object is used to lead to the Action Events Cross event response chain and pass to response object progress event response;
Wherein, the test case includes at least one described Action Events.
7. method according to claim 6, it is characterised in that the capture Action Events, including:
The event forwarding function of object is received by the Hook Function Hook events for obtaining the Action Events;
Addition customized event forwarding function corresponding with the event forwarding function;
Function is forwarded to capture the Action Events by the customized event.
8. method according to claim 7, it is characterised in that described to preserve the event information to the automation pin After in this, in addition to:
The event for retransmitting the Action Events to the Action Events receives the event forwarding function of object, and the event turns Number of sending a letter is used to the Action Events passing to response object progress event response by event response chain.
9. according to any described method of claim 6 to 8, it is characterised in that described that the automatized script is sent into shifting After dynamic terminal, in addition to:
Receive the performance data that the mobile terminal is sent;The performance data analyze to obtain performance data analysis knot Really;The performance test form of the test case is generated according to the performance data analysis result;
Or,
The performance data analysis result that the mobile terminal is sent is received, the performance data analysis result is the mobile terminal Obtained after analyzing the performance data;The performance of the test case is generated according to the performance data analysis result Testing journal sheet.
10. method according to claim 9, it is characterised in that described to the performance data analyze obtaining performance Data results, including:
The performance data is carried out to count the statistical result for obtaining the performance data;And/or,
The across comparison result that across comparison obtains the performance data is carried out to different types of performance data;And/or,
The performance data to identical type carries out longitudinal comparing result that longitudinal direction contrast obtains the performance data;And/or,
Compared the performance data alarming result for obtaining the performance data afterwards with preset alarm threshold value.
11. a kind of automatic test device, in mobile terminal, it is characterised in that described device includes:
Script execution module, is tested test case for performing automatized script;
Data acquisition module, for during the automatized script is performed, gathering the test case and/or the shifting The performance data of dynamic terminal;
Form obtains module, the performance test form for obtaining the test case according to the performance data;
Wherein, the script execution module, including:Information reading unit, event structural unit and event responds unit;
Described information reading unit, for reading the event information in the automatized script, the automatized script includes The event information of at least one Action Events, the event information of the Action Events includes the corresponding coordinate bit of the Action Events Put and the corresponding action of the Action Events;
The event structural unit, for obtaining the Action Events according to event information construction;
The event responds unit, for the Action Events to be sent into custom object, the custom object is used for will The Action Events pass to response object by event response chain and carry out event response.
12. device according to claim 11, it is characterised in that described device also includes:
Script receiving module, for receiving the automatized script that the test terminal is sent.
13. the device according to claim 11 or 12, it is characterised in that the data acquisition module, including:First collection Unit, and/or, the second collecting unit;
First collecting unit, at least one Action Events in the interior collection test case at preset time intervals First kind performance data, the first kind performance data includes at least one Action Events in the test case from triggering Into average display frame rate of duration, electricity, network traffics and the mobile terminal spent by response in test process At least one;
And/or,
Second collecting unit, for obtaining Equations of The Second Kind performance data, the Equations of The Second Kind performance data in predetermined instant sampling At least one of central processor CPU occupancy and EMS memory occupation including the mobile terminal.
14. the device according to claim 11 or 12, it is characterised in that the form obtains module, including:Opposite end is generated Unit;Or, data analysis unit and data transmission unit;Or, the data analysis unit and report generation unit;
The opposite end generation unit, for the performance data to be sent into test terminal, so as to described in the test terminal-pair Performance data analyze obtaining performance data analysis result, and the test case is generated according to the performance data analysis result Performance test form;
Or,
The data analysis unit, for the performance data analyze obtaining performance data analysis result;The data Transmitting element, for the performance data analysis result to be sent into test terminal, so that the test terminal is according to the property Energy data results generate the performance test form of the test case;
Or,
The data analysis unit, for the performance data analyze obtaining performance data analysis result;The form Generation unit, the performance test form for generating the test case according to the performance data analysis result.
15. device according to claim 14, it is characterised in that the data analysis unit, including:Data statistics is single Member;And/or, across comparison subelement;And/or, longitudinal contrast subunit;And/or, data alarm part-unit;
The data statistics subelement, for carrying out counting the statistical result for obtaining the performance data to the performance data; And/or,
The across comparison subelement, the performance number is obtained for carrying out across comparison to different types of performance data According to across comparison result;And/or,
Longitudinal contrast subunit, carries out longitudinal direction contrast for the performance data to identical type and obtains the performance number According to longitudinal comparing result;And/or,
The data alarm part-unit, for obtaining the performance data after being compared with preset alarm threshold value the performance data Alarming result.
16. a kind of automatic test device, for testing in terminal, it is characterised in that described device includes:
Script generation module, for recording Test cases technology automatized script;
Script sending module, for the automatized script to be sent into mobile terminal, so that mobile terminal execution is described Automatized script is tested the test case, during the automatized script is performed, and is gathered the test and is used The performance data of example and/or the mobile terminal, the performance test form of the test case is obtained according to the performance data;
Wherein, the script generation module, including:Event capturing unit, information acquisition unit and information holding unit;
The event capturing unit, after being triggered for the Action Events in the test case, captures the Action Events;
Described information acquiring unit, the event information for obtaining the Action Events, the event information bag of the Action Events Containing the corresponding coordinate position of the Action Events and the corresponding action of the Action Events;
Described information storage unit, for the event information to be preserved into the automatized script, the event information is used In after the automatized script is received, reading the event information in the automatized script in mobile terminal, according to The event information construction obtains the Action Events, and the Action Events are sent into custom object, described self-defined right As carrying out event response for the Action Events to be passed into response object by event response chain;
Wherein, the test case includes at least one described Action Events.
17. device according to claim 16, it is characterised in that the event capturing unit, including:Function hooks up sub single Member, function addition subelement and event capturing subelement;
The function hooks up subelement, and the thing of object is received for obtaining the event of the Action Events by Hook Function Hook Part forwards function;
The function adds subelement, for adding customized event forwarding function corresponding with the event forwarding function;
The event capturing subelement, forwards function to capture the Action Events by the customized event.
18. device according to claim 17, it is characterised in that the script generation module, in addition to:Event is retransmitted single Member;
The event retransmission unit, the thing of object is received for retransmitting the event of the Action Events to the Action Events Part forwards function, and the event forwarding function is used to the Action Events passing to response object progress by event response chain Event response.
19. the device according to any one of claim 16 to 18, it is characterised in that described device, in addition to:Data receiver Module, data analysis module and report generation module;Or, as a result acquisition module and the report generation module;
The data reception module, for receiving the performance data that the mobile terminal is sent;The data analysis module, is used for The performance data analyze to obtain performance data analysis result;The report generation module, for according to the performance Data results generate the performance test form of the test case;
Or,
The result acquisition module, for receiving the performance data analysis result that the mobile terminal is sent, the performance data Analysis result is obtained after the mobile terminal is analyzed the performance data;The report generation module, for root The performance test form of the test case is generated according to the performance data analysis result.
20. device according to claim 19, it is characterised in that the data analysis module, including:First analysis is single Member;And/or, the second analytic unit;And/or, the 3rd analytic unit;And/or, the 4th analytic unit;
First analytic unit, for carrying out counting the statistical result for obtaining the performance data to the performance data;With/ Or,
Second analytic unit, the performance data is obtained for carrying out across comparison to different types of performance data Across comparison result;And/or,
3rd analytic unit, carries out longitudinal direction contrast for the performance data to identical type and obtains the performance data Longitudinal comparing result;And/or,
4th analytic unit, the performance data is obtained for being compared with preset alarm threshold value the performance data afterwards Alarming result.
21. a kind of mobile terminal, it is characterised in that the mobile terminal includes automatic as described in claim 11 to 15 is any Change test device.
22. one kind test terminal, it is characterised in that the test terminal includes automatic as described in claim 16 to 20 is any Change test device.
23. a kind of automatization test system, it is characterised in that the system includes:Mobile terminal and test terminal;
The mobile terminal is mobile terminal as claimed in claim 21;
The test terminal is test terminal as claimed in claim 22.
CN201310661617.3A 2013-12-09 2013-12-09 Automated testing method, device, equipment and system Active CN104699598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310661617.3A CN104699598B (en) 2013-12-09 2013-12-09 Automated testing method, device, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310661617.3A CN104699598B (en) 2013-12-09 2013-12-09 Automated testing method, device, equipment and system

Publications (2)

Publication Number Publication Date
CN104699598A CN104699598A (en) 2015-06-10
CN104699598B true CN104699598B (en) 2017-09-29

Family

ID=53346753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310661617.3A Active CN104699598B (en) 2013-12-09 2013-12-09 Automated testing method, device, equipment and system

Country Status (1)

Country Link
CN (1) CN104699598B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294116A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 Record and the methods, devices and systems of reproduction process process
CN105243007B (en) * 2015-10-13 2018-09-11 广东欧珀移动通信有限公司 The ageing testing method and device of memory in mobile terminal
CN105446854B (en) * 2015-11-09 2018-03-20 小米科技有限责任公司 Consumption detection method, system and terminal
CN105450818B (en) * 2015-11-11 2018-06-29 中国联合网络通信集团有限公司 mobile terminal power consumption current measuring method and device
CN106911826A (en) * 2015-12-23 2017-06-30 联芯科技有限公司 The automation power consumption test method and system of a kind of terminal
CN105550117B (en) * 2016-01-22 2018-03-02 上海斐讯数据通信技术有限公司 A kind of method and mobile terminal of test application program operation frame per second
CN106547665A (en) * 2016-11-14 2017-03-29 合网络技术(北京)有限公司 For the Performance Test System and method of advertising business
CN106844883A (en) * 2016-12-29 2017-06-13 北京华大九天软件有限公司 It is a kind of that the method that interface is tested automatically is carried out by script
CN108415820B (en) * 2017-02-09 2021-05-14 腾讯科技(深圳)有限公司 Test method and device of application installation package
CN107193735A (en) * 2017-05-17 2017-09-22 武汉联影医疗科技有限公司 Method for testing software and system
CN108287790A (en) * 2017-12-29 2018-07-17 五八有限公司 Application program capacity test method, device and the electronic equipment of terminal
CN108255687A (en) * 2017-12-29 2018-07-06 五八同城信息技术有限公司 Application program internal memory monitoring test method, device and the electronic equipment of terminal
CN109344077A (en) * 2018-10-24 2019-02-15 郑州云海信息技术有限公司 RestAPI characteristic test method, device, equipment and storage medium
CN109582585A (en) * 2018-12-18 2019-04-05 网宿科技股份有限公司 A kind of method and apparatus of detection application traffic leakage
CN110232013B (en) * 2019-02-25 2022-09-06 上海蔚来汽车有限公司 Test method, test device, controller and medium
CN110022244B (en) * 2019-04-03 2020-08-28 北京字节跳动网络技术有限公司 Method and apparatus for transmitting information
CN112180890B (en) * 2019-07-05 2022-01-07 北京新能源汽车股份有限公司 Test case generation method, device and equipment
CN110502414B (en) * 2019-08-20 2023-08-29 Oppo广东移动通信有限公司 Terminal equipment performance test method and device, terminal equipment and storage medium
CN111061647A (en) * 2019-12-26 2020-04-24 行吟信息科技(上海)有限公司 Software performance automatic testing method and device and electronic equipment
CN111106983B (en) * 2019-12-27 2021-09-21 杭州迪普科技股份有限公司 Method and device for detecting network connectivity
CN111208989A (en) * 2019-12-27 2020-05-29 江苏南高智能装备创新中心有限公司 Data acquisition terminal capable of executing script
CN115051730B (en) * 2022-06-06 2024-07-12 重庆金美通信有限责任公司 Automatic testing device and method for wired network transmission equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212755A (en) * 2006-12-27 2008-07-02 上海晨兴电子科技有限公司 System for automatic limit testing of mobile telephone
CN102708049A (en) * 2012-04-21 2012-10-03 北京迈凯互动网络科技有限公司 Method and system for recording and replaying test results of mobile application
CN103425577A (en) * 2012-05-25 2013-12-04 腾讯科技(深圳)有限公司 Test method and device
CN103425574A (en) * 2012-05-25 2013-12-04 腾讯科技(深圳)有限公司 Method and device for testing applications

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6734898B2 (en) * 2001-04-17 2004-05-11 General Instrument Corporation Methods and apparatus for the measurement of video quality

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212755A (en) * 2006-12-27 2008-07-02 上海晨兴电子科技有限公司 System for automatic limit testing of mobile telephone
CN102708049A (en) * 2012-04-21 2012-10-03 北京迈凯互动网络科技有限公司 Method and system for recording and replaying test results of mobile application
CN103425577A (en) * 2012-05-25 2013-12-04 腾讯科技(深圳)有限公司 Test method and device
CN103425574A (en) * 2012-05-25 2013-12-04 腾讯科技(深圳)有限公司 Method and device for testing applications

Also Published As

Publication number Publication date
CN104699598A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN104699598B (en) Automated testing method, device, equipment and system
CN105376335B (en) Collected data uploading method and device
CN107102795A (en) A kind of log recording method, mobile terminal and computer-readable recording medium
CN105320701B (en) Screening technique, device and the terminal of function point test implementation
CN107454416A (en) Video flow sending method and device
CN106708676A (en) Interface test method and apparatus
CN106453767A (en) Method and device for detecting failure after dropping
CN107391518A (en) Count system, the method and device of page load performance information
CN107276602B (en) Radio frequency interference processing method, device, storage medium and terminal
CN107562539A (en) Applied program processing method and device, computer equipment, storage medium
CN104298686B (en) The method and apparatus for modifying server profile
CN107807861A (en) Freeze screen solution method, mobile terminal and computer-readable recording medium
CN104516624B (en) A kind of method and device inputting account information
CN106126411A (en) A kind of method and apparatus that tested program code is tested
CN105335653A (en) Abnormal data detection method and apparatus
CN104423822A (en) Automated test script recording method and device
CN107566255A (en) Unread message abstraction generating method and device
CN104699501B (en) A kind of method and device for running application program
CN106357480A (en) Method and device for monitoring network performance of application and mobile terminal
CN106294108A (en) Applied program testing method and device
CN104063400B (en) Data search method and data search device
CN103455602B (en) A kind of video URL grasping means, device and terminal device
CN109246233A (en) Data processing method, device, equipment and storage medium based on on-line monitoring
US10140377B2 (en) Data processing, data collection
CN110069407A (en) A kind of function test method and device of application program

Legal Events

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

Effective date of registration: 20210915

Address after: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right