CN104794049B - Applied program testing method and device - Google Patents

Applied program testing method and device Download PDF

Info

Publication number
CN104794049B
CN104794049B CN201410026100.1A CN201410026100A CN104794049B CN 104794049 B CN104794049 B CN 104794049B CN 201410026100 A CN201410026100 A CN 201410026100A CN 104794049 B CN104794049 B CN 104794049B
Authority
CN
China
Prior art keywords
test
types
application program
state
tested
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
CN201410026100.1A
Other languages
Chinese (zh)
Other versions
CN104794049A (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
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 CN201410026100.1A priority Critical patent/CN104794049B/en
Publication of CN104794049A publication Critical patent/CN104794049A/en
Application granted granted Critical
Publication of CN104794049B publication Critical patent/CN104794049B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of applied program testing method and devices.The applied program testing method includes the test-types of determining application program to be tested;Obtain test case corresponding with the test-types of application program to be tested;Obtain the workflow of test case;And test is executed to test case according to the workflow of test case.Through the invention, it solves the problems, such as that the accuracy tested in the prior art to application program is relatively low, and then has achieved the effect that improve Application testing accuracy.

Description

Applied program testing method and device
Technical field
The present invention relates to testing fields, in particular to a kind of applied program testing method and device.
Background technique
Before application program launch, generally require to carry out stability test to application program, to guarantee applying The stable operation in various terminals and system (such as Windows phone8) after program puts goods on the market, avoids the occurrence of program error Accidentally.
In the prior art, the use process of usual stochastic simulation triggering application program, and to the function being triggered at random into Row test, still, by the randomness in test process lead to not in application program institute it is functional covered comprehensively, So that certain functions of application program can not be tested, so as to cause test result inaccuracy.
For the relatively low problem of the accuracy tested in the prior art to application program, not yet propose at present effective Solution.
Summary of the invention
The main purpose of the embodiment of the present invention is to provide a kind of applied program testing method and device, to solve existing skill The relatively low problem of the accuracy that application program is tested in the prior art in art.
To achieve the goals above, according to an aspect of an embodiment of the present invention, a kind of Application testing side is provided Method.This method comprises: determining the test-types of application program to be tested;It obtains corresponding to the test-types of application program to be tested Test case;Obtain the workflow of test case;And survey is executed to test case according to the workflow of test case Examination.
To achieve the goals above, according to another aspect of an embodiment of the present invention, a kind of Application testing dress is provided It sets.The device includes: the first determination unit, for determining the test-types of application program to be tested;First acquisition unit is used for Obtain test case corresponding with the test-types of application program to be tested;Second acquisition unit, for obtaining test case Workflow;And execution unit, for executing test to test case according to the workflow of test case.
Through the embodiment of the present invention, using the test-types of determination application program to be tested;It obtains and applies journey with to be tested The corresponding test case of the test-types of sequence;Obtain the workflow of test case;And the workflow according to test case To test case execute test method, by obtain test case workflow, according to test case workflow into Row test, executes test due to obtaining the workflow of test case, and according to workflow, according to the work of test case Process executes that test coverage is more preferable, so that it is relatively low to solve the accuracy tested in the prior art to application program Problem, and then achieved the effect that improve Application testing accuracy.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present invention, schematic reality of the invention It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of applied program testing method according to an embodiment of the present invention;
Fig. 2 is the flow chart of the test method according to an embodiment of the present invention for carrying out the first test-types;
Fig. 3 is the flow chart of the test method according to an embodiment of the present invention for carrying out the second test-types;
Fig. 4 is the flow chart of the test method according to an embodiment of the present invention for carrying out random test;
Fig. 5 is the schematic diagram of Application testing device according to an embodiment of the present invention;
Fig. 6 is the schematic diagram of the test device according to an embodiment of the present invention for carrying out the first test-types;And
Fig. 7 is the schematic diagram of the test device according to an embodiment of the present invention for carrying out the second test-types.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein for example can be in addition to scheming herein Sequence other than those of showing or describe is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that In cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units need not Those of be limited to be clearly listed step or unit, but may include be not clearly listed or for these process, methods, The other step or units of product or equipment inherently.
The embodiment of the invention provides a kind of applied program testing methods.
Fig. 1 is the flow chart of applied program testing method according to an embodiment of the present invention.As shown, the application program is surveyed Method for testing includes the following steps:
Step S101 determines the test-types of application program to be tested.
After developing application program, it will usually stability test is carried out to the application program that exploitation obtains, using journey After sequence passes through stability test, which could be stable under different system environments states after putting goods on the market Operation.
Application program to be tested includes the application programs such as QQ browser, wechat, QQ music, but is not limited to these using journey Sequence corresponds to and carries out stability test from different systematic difference programs, such as to running in Windows phone8 system QQ browser carries out stability test.
Test-types include the test-types such as special test and Randomness test, wherein special project test is answered for one The pressure test carried out with a function of program, Randomness test are the spreadability tests carried out for an application program, Each function of application program is tested at random, to obtain the overall stability of an application program.
By taking QQ browser as an example:
When carrying out the stability test of QQ browser, it can be directed to including multiwindow, two dimensional code, web page access and lead The functions such as boat, bookmark are tested, if test-types are special test, for any one function in above-mentioned multiple functions It can be carried out special test, if test-types are random test, carried out for each function in above-mentioned multiple functions random Test.
It can be with committed memory situation of the test application program when executing some function, the function by special test It executes the time and whether with other applications has the problem of conflicting, can be simulated by random test and use this in nature situation The problem of committed memory situation, execution time and application program when application program conflict, according to test result to using journey Sequence improves and optimizes, to improve the stability of application program.
Step S102 obtains test case corresponding with the test-types of application program to be tested.
Test case includes simulating the program of the workflow of application program to be tested, below to this by taking QQ browser as an example Step is illustrated:
Special test is carried out to QQ browser:
The test case for carrying out special test includes simulating the use process of QQ browser, including click QQ browser chart Open browser, input network address opens webpage, calls menu and bookmark etc. is called to use movement.If to QQ browser is opened Time carries out special test, can call the test case, and execute the test case, opens browser in simulation QQ browser During, the execution time of opening browser movement is recorded, opens QQ browsing by being repeatedly opened QQ browser and recording The time of device analyzes the execution time of the opening QQ browser of record, and for analysis result to application program or Test case optimizes.
It should be noted that test case can be adjusted according to the function of application program to be measured, to QQ browser In the example for carrying out special test, test case only can open QQ browser by record triggering chart, and triggering is closed chart and closed This workflow of QQ browser can also record triggering chart and open QQ browser, then open new webpage, finally close This workflow of QQ browser can also be other more complicated workflows.
QQ browser is opened for record triggering chart, new webpage is then opened, finally closes this work of QQ browser Make process, other than it can record to the execution time for opening QQ browser, when can also record the opening of new web page Between, and analyzed for the opening time of new web page, and application program or test case are carried out based on the analysis results excellent Change.
From above explanation as can be seen that carrying out special test for a function of an application program can use one A test case for carrying out special test carries out stability test, and the test case for carrying out special test for one can be directed to One or more function of one application program carries out stability test.
Random test is carried out to QQ browser:
The test case of progress random test includes the process that application program is under different function state.QQ browser packet The states such as bookmark state, historic state and download state are included, the test case for carrying out random test includes bookmark state, history shape Relationship is jumped between the states such as state and download state, for example, the mutual switching between bookmark state and historic state, history shape Mutual switching between state and download state, the mutual switching between bookmark state and download state, can using the test case The committed memory situation that is switched under different function state with test application program, execute the time and it is abnormal exit etc. it is non- Normal condition, and record these improper states, according to the recorded content optimization application or test case.
It should be pointed out that the various states for carrying out random test to QQ browser include but is not limited to bookmark state, go through History state and download state are not intended to restrict the invention the technical solution of embodiment here solely for the purpose of illustration.Under There are also the detailed narration to special test and random test is carried out in the description in face, does not do and excessively repeat herein.
Step S103 obtains the workflow of test case.
After obtaining test case corresponding with the test-types of application program to be tested, the work of test case is obtained Process, to test according to the workflow of test case test case.
The workflow of test case and the workflow of application program are corresponding consistent, test case simulation application Workflow, enables the performance for really reflecting application program to the test result of test case, for example, application program occurs Exception or committed memory are excessive.
For the available test use for special project test of the special test of some function progress of an application program Example carry out stability test, for multiple functions carry out the available test case for the random test of random test into The test of row spreadability.
The test case for carrying out special test includes the workflow of function corresponding with special test, is measured at random Test case include the workflow jumped between multiple functions corresponding with random test.
Step S104 executes test to test case according to the workflow of test case.
Each test case has its workflow, executes test to test case according to its workflow, can be to survey All nodes in example on probation are tested, to avoid there is the case where test leakage.
The test case of the special test of progress can test the stability of some function of an application program, carry out random The test case of test can test the stability that an application program integrally energizes, and have more extensive spreadability.By special Test may determine that some function of application program committed memory situation in the process of running, execute the time and be Situations such as no appearance is abnormal, may determine that a program in the occupancy as a whole when carrying out function switch by random test Situation is deposited, the time is executed and whether situations such as abnormal occurs, when implementation of test cases is tested, can recorde test knot Fruit, to analyze test result.
Applied program testing method through the embodiment of the present invention, using the test-types of determination application program to be tested; Obtain test case corresponding with the test-types of application program to be tested;Obtain the workflow of test case;And according to The method that the workflow of test case executes test to test case, by obtaining the workflow of test case, according to survey The workflow of example on probation is tested, and executes test due to obtaining the workflow of test case, and according to workflow, It is more preferable according to the workflow execution test coverage of test case, to improve the effect of Application testing accuracy. Further, applied program testing method provided by the above embodiment, by carrying out special test to application program to be answered With the stability of the simple function of program, by carrying out random test to application program to obtain application program in function switch Stability, application program or test case are optimized.Whether special test or random test, according to using journey Therefore the test that the workflow of sequence carries out can be not in leakage to the functional carry out coverage test of the application program The case where survey, provides accurately and reliably foundation to guarantee the accuracy of test result for optimization application, to effectively protect , there is unstable problem in the stability for demonstrate,proving application program after avoiding application program from putting goods on the market.
Fig. 2 is the flow chart of the test method according to an embodiment of the present invention for carrying out the first test-types.As shown, Before determining the test-types for needing test application program, which further includes following steps:
Step S201 prompts user to select test-types.
Test-types include the first test-types and the second test-types, and the first test-types are in embodiment illustrated in fig. 1 The special test mentioned, the second test-types are the random test mentioned in embodiment illustrated in fig. 1.Special project test is for one The pressure test that one function of application program carries out, Randomness test are that the spreadability carried out for an application program is surveyed Examination.
It is special that user can select some function for the treatment of test application program to carry out according to the needs of application program to be tested Item test can also treat the whole of test application program and carry out random test.
Step S202 judges whether the test-types of user's selection are the first test-types, wherein the first test-types pair The test answered is to test the first function of application program.
After judging the test-types that user selects for the first test-types, test application is treated using the first test-types First function of program is tested.Here the first function is construed as any function in application program to be tested.
When carrying out special test to QQ browser, the first function includes but is not limited to following the description: multiwindow, two dimensional code, Web page access, the navigation of program window and bookmark etc..
When carrying out special test to wechat, the first function includes but is not limited to following the description: address list, sweeps one at circle of friends It sweeps, game center etc..
When carrying out special test to QQ music, the first function includes but is not limited to following the description: is listened under song, song online Load, desktop lyrics etc..
Above-mentioned application program and the first function are solely for the purpose of illustration, it should be understood that the embodiment of the present invention mentions The test method of confession can also be applied to other same or equivalent application program or function.
Step S203, if it is determined that the test-types of user's selection are the first test-types, it is determined that be tested to apply journey The test-types of sequence are the first test-types.
The test-types of application program to be tested are determined to obtain and surveying according to the first test-types after the first test-types Example on probation, and tested accordingly according to the test case got.
It is illustrated below in conjunction with the two dimensional code special project test in QQ browser.
Whether special project test two dimensional code verifying can be stuck using the process of two dimensional code, if stablizes.
Firstly, test case is obtained, then according to the survey of acquisition after determining that the test to two dimensional code is special test Example on probation executes test assignment.Wherein, the test case of acquisition includes executing two dimensional code opening steps and executing two dimensional code to exit Step.Time value is additionally provided in test case, the time value of setting is to open two dimensional code and between the time for exiting two dimensional code Every, which can be set to any positive integer between 50ms~1000ms, such as after first switching on two dimensional code, Two dimensional code is exited every 50ms, reopens two dimensional code using 100ms, two dimensional code is closed using 400ms, opens two dimension every time Code and exit two dimensional code time can any positive integer between 50ms~1000ms, each interval time can it is identical or Person is different.
Special test below in conjunction with page access in QQ browser is illustrated.
The special test of page access is able to verify that in accession page whether will appear it is stuck, when testing accession page Memory usage, and whether will appear abnormal (such as exiting the program) situation.
Test case for test page access includes test webpage pond, include in the webpage pond white list network address, Site map network address, quick links network address, bookmark and historical record network address etc..Firstly, simulating new window using the test case The movements such as opening, backstage window are opened, current window is opened, if held using the testing case test errors page After any webpage in row Test Network page pool, if the result for testing the webpage reach it is scheduled as a result, if from webpage pond Delete the webpage, if the result for testing the webpage do not reach it is scheduled as a result, if retain the webpage, and survey is repeated Examination.
Situations such as recording committed memory track, exception or warning during the test, for after task terminates Test result is analyzed.Certainly, during the test, if it find that EMS memory occupation is excessive or abnormal conditions excessively can be with Terminate or suspend test at any time, by after test analysis, can stop when time test or test Abnormality remove it After continue to test.
After testing application program, test log is recorded, and analyze the test log, according to analysis As a result it is optimized for application program or test case.
Fig. 3 is the flow chart of the test method according to an embodiment of the present invention for carrying out the second test-types.As shown, Before determining the test-types for needing test application program, which further includes following steps:
Step S301 prompts user to select test-types.
Test-types include the first test-types and the second test-types, and the first test-types are in embodiment illustrated in fig. 1 The special test mentioned, the second test-types are the random test mentioned in embodiment illustrated in fig. 1.
It is special that user can select some function for the treatment of test application program to carry out according to the needs of application program to be tested Item test can also treat the whole of test application program and carry out random test, and random test can test multiple functions and cut Committed memory situation or switching exception during changing etc..
Step S302 judges whether the test-types of user's selection are the second test-types, wherein the second test-types pair The test answered is to carry out spreadability test to application program.
After judging the test-types that user selects for the second test-types, test application is treated using the second test-types Program carries out spreadability test.Here spreadability test, which is interpreted as random test, can cover institute in application program to be tested It is functional, each function can be tested.
Step S303, if it is determined that the test-types of user's selection are the second test-types, it is determined that be tested to apply journey The test-types of sequence are the second test-types.
The test-types of application program to be tested are determined to obtain and surveying according to the second test-types after the second test-types Example on probation, and tested accordingly according to the test case got.
The test-types of application program to be tested are determined to carry out spreadability survey to application program after the second test-types The specific method of examination has a detailed description in the following embodiments, is not repeated herein.
Further, if it is determined that the test-types of user's selection are the second test-types, according to the test case It includes: the state for obtaining application program to be tested that workflow, which executes test to the test case, is judged to be tested using journey Whether the state of sequence is first state, if it is determined that the state of application program to be tested is first state, then in the first state, It is random to execute first event, judge whether first state is converted to the second state, if it is determined that first state is converted to the second shape State then executes second event at random.
The process of random test is as follows in the embodiment of the present invention:
When application program launching, there is an original state, then execute some event at random, after reaching some state, again Some event is executed at random.
Destination application used in the present embodiment is QQ browser, and QQ browser is generally divided into but is not limited to originate The page, Webpage, the bookmark page, history page download the page, and the page, menu page, eight pages such as two dimensional code page are arranged Face.Start page is usually the shortcut of network address;Webpage is usually that webpage itself is presented;The bookmark page is usually to store The bookmark that user saves;History page records the webpage that user browsed;The downloading page includes downloading and downloading Content;The setting page is for being arranged some essential attributes of browser and function;Menu page includes menu bar and webpage long-pressing dish It is single;The two dimensional code page is for executing browser two dimensional code function.The corresponding eight state, that is, original states of eight pages, page shape State, menu state, two dimensional code state is arranged in state, bookmark state, historic state, download state.In each state, also have Many sub- states, for example just include long-pressing menu state, rotation screen state, full frame state etc., specific sub- shape under page status The test logic of state is consistent with the processing logic of eight big states, can be surveyed with test method provided in an embodiment of the present invention Examination.By simulating the handoff procedure of different conditions, different conditions can be switched over infinitely, and is protected in handoff procedure It is all capped to demonstrate,prove different conditions, so that application program is tested comprehensively, does not omit any one function.
The particular state figure of random test is carried out as shown in figure 4, having chosen the principal states of QQ browser, Er Feiquan in figure Portion's state, it should be noted that QQ browser here is only convenient to be illustrated the embodiment of the present invention, is not intended to limit this hair Bright embodiment is only used for QQ browser, can also be other browser clients.
Original state: start application program by clicking application software icon, browser original state is entered, initial Under state, user can enter page status by clicking network address shortcut, and page status can be entered by input frame, is used Family click tools column can enter page status, bookmark state, historic state, download state, setting state, menu state etc. State.
Page status: initial state, bookmark state, historic state, download state, setting can be entered by toolbar The states such as state, menu state, if window, which is all closed, is also directly entered original state.It certainly, in this state, can be with The operation in some states is carried out, new link is such as opened, newly-built, closing and switch window etc..
Bookmark state: clicking some bookmark and be directly entered page status, and setting shape can be entered by clicking synchronous bookmarks button State, it is of course possible to the relevant operation of bookmark management is executed in the page.It executes to return to operate and may return to original state or the page State.
Historic state: clicking some historical record and enter page status, carries out long-pressing, selection addition to some historical record Bookmark then enters bookmark state, and executing return operation may return to original state or page status.
Setting state: being mainly the selection and configuration of some functions under the state, if clicking user feedback, product introduction Or online updating then enters page status.It executes to return to operate and may return to original state or page status.
Download state: download progress and downloading content are run, checked and is managed.It executes to return and operates and can return To original state or page status.
Menu state: two dimensional code button is clicked, into two dimensional code state.Execute return operation may return to original state or Page status.
Two dimensional code state: executing return operation may return to original state or page status.
Random test is illustrated by taking original state, webpage state, menu state as an example below with reference to Fig. 4.
Step S1, judges current state.
Step S2 judges whether current state is original state.
Step S3 selects the corresponding function shape of the next process under original state if current state is original state State (such as menu state) is tested.
Current state is revised as menu state by original state, then executes step by step S4 after the test is ended S1 thens follow the steps S5 if it is judged that current state is not original state.
Step S5 judges whether current state is page status, if current state is page status, selects page shape The corresponding functional status of next process under state is tested, if current state is not the page, thens follow the steps S6.
Step S6 judges whether current state is menu state, if current state is menu state, selects menu shape The corresponding functional status of next process under state is tested, if current state is not the page, executes other steps, herein The step of omitting other processes.
Random test can the function at random to an application program test, but the random process simulation application Process when program executes naturally is tested, and can be tested each function of application program, so that traversal one is answered It is functional and tested with the institute in program, so as to guarantee the stability of application program to be tested.
Preferably, described to answer after executing test to the test case according to the workflow of the test case With program testing method further include: will execute what test obtained to the test case according to the workflow of the test case Test result is stored in terminal locating for application program to be tested;Test result is exported from terminal;Obtain test result Analyze result;Utilize analysis result optimizing application program and/or test case.
After obtaining test result, test result is stored in terminal locating for application program to be tested, and to survey Test result is analyzed, and the program analyzed test result can be passed through with the application program other than application program to be tested After program in terminal analyzes test result, export analysis is as a result, simultaneously based on the analysis results to application from terminal Program or test case optimize.
Test result has recorded that exception occurs during the test in application program or committed memory is excessive, is tied according to test The problem of fruit shows optimizes application program accordingly, if occurring application program nothing in long period during the test Test problem then optimizes corresponding test case, therefore, can according to test result optimization application or test case, Require to optimize Shi Zeke in the two with optimization application and test case.
In embodiments of the present invention, test result can exist in the form of log, and log can be divided into following a few classes: when Between statistical log, Memory statistics log, alert statistical log, page access log, anomaly statistics log, special statistical log Deng.Time counts principal statistical and starts time, page switching time, webpage opening time, some specific functions execution times etc.; Memory statistics referred to every 1 second, exported the memory that current application program expends.Warning statistics refers to the ground of programmed logic mistake Side;Anomaly statistics refer to program exception;Page access refers to the successful number of page access;Special statistics, which refers to, to be needed to some mould Block has individual statistical demand.
By above method, the special test for simple function can be carried out to application program, it can also be for entire The random test that the overall stability of application program carries out, either special test or random test, all in accordance with test case Workflow tested, can be functional with the institute in test case, to ensure that the function of application program can be by It measures, and then improves the accuracy of test result.
The embodiment of the invention also provides a kind of Application testing devices.
The applied program testing method of the embodiment of the present invention provided application program can be surveyed through the embodiment of the present invention Trial assembly sets to execute, and the Application testing device of the embodiment of the present invention can be used for executing provided by the embodiment of the present invention Applied program testing method.
Fig. 5 is the schematic diagram of Application testing device according to an embodiment of the present invention.As shown, the application program is surveyed Trial assembly is set including the first determination unit 10, first acquisition unit 20, second acquisition unit 30 and execution unit 40.
First determination unit 10 is used to determine the test-types of application program to be tested.
After developing application program, it will usually stability test is carried out to the application program that exploitation obtains, using journey After sequence passes through stability test, which could be stable under different system environments states after putting goods on the market Operation.
Application program to be tested includes the application programs such as QQ browser, wechat, QQ music, but is not limited to these using journey Sequence corresponds to and carries out stability test from different systematic difference programs, such as to running in Windows phone8 system QQ browser carries out stability test.
Test-types include the test-types such as special test and Randomness test, wherein special project test is answered for one The pressure test carried out with a function of program, Randomness test are the spreadability tests carried out for an application program, Each function of application program is tested at random, to obtain the overall stability of an application program.
By taking QQ browser as an example:
When carrying out the stability test of QQ browser, it can be directed to including multiwindow, two dimensional code, web page access and lead The functions such as boat, bookmark are tested, if test-types are special test, for any one function in above-mentioned multiple functions It can be carried out special test, if test-types are random test, carried out for each function in above-mentioned multiple functions random Test.
It can be with committed memory situation of the test application program when executing some function, the function by special test It executes the time and whether with other applications has the problem of conflicting, can be simulated by random test and use this in nature situation The problem of committed memory situation, execution time and application program when application program conflict, according to test result to using journey Sequence improves and optimizes, to improve the stability of application program.
First acquisition unit 20 is for obtaining test case corresponding with the test-types of application program to be tested.
Test case includes simulating the program of the workflow of application program to be tested, below to this by taking QQ browser as an example Step is illustrated:
Special test is carried out to QQ browser:
The test case for carrying out special test includes simulating the use process of QQ browser, including click QQ browser chart Open browser, input network address opens webpage, calls menu and bookmark etc. is called to use movement.If to QQ browser is opened Time carries out special test, can call the test case, and execute the test case, opens browser in simulation QQ browser During, the execution time of opening browser movement is recorded, opens QQ browsing by being repeatedly opened QQ browser and recording The time of device analyzes the execution time of the opening QQ browser of record, and for analysis result to application program or Test case optimizes.
It should be noted that test case can be adjusted according to the function of application program to be measured, to QQ browser In the example for carrying out special test, test case only can open QQ browser by record triggering chart, and triggering is closed chart and closed This workflow of QQ browser can also record triggering chart and open QQ browser, then open new webpage, finally close This workflow of QQ browser can also be other more complicated workflows.
QQ browser is opened for record triggering chart, new webpage is then opened, finally closes this work of QQ browser Make process, other than it can record to the execution time for opening QQ browser, when can also record the opening of new web page Between, and analyzed for the opening time of new web page, and application program or test case are carried out based on the analysis results excellent Change.
From above explanation as can be seen that carrying out special test for a function of an application program can use one A test case for carrying out special test carries out stability test, and the test case for carrying out special test for one can be directed to One or more function of one application program carries out stability test.
Random test is carried out to QQ browser:
The test case of progress random test includes the process that application program is under different function state.QQ browser packet The states such as bookmark state, historic state and download state are included, the test case for carrying out random test includes bookmark state, history shape Relationship is jumped between the states such as state and download state, for example, the mutual switching between bookmark state and historic state, history shape Mutual switching between state and download state, the mutual switching between bookmark state and download state, can using the test case The committed memory situation that is switched under different function state with test application program, execute the time and it is abnormal exit etc. it is non- Normal condition, and record these improper states, according to the recorded content optimization application or test case.
It should be pointed out that the various states for carrying out random test to QQ browser include but is not limited to bookmark state, go through History state and download state are not intended to restrict the invention the technical solution of embodiment here solely for the purpose of illustration.Under There are also the detailed narration to special test and random test is carried out in the description in face, does not do and excessively repeat herein.
Second acquisition unit 30 is used to be tested by executing the test case obtained, obtains test result.
After obtaining test case corresponding with the test-types of application program to be tested, by executing the test obtained Use-case is tested.
Carrying out special test for a function of an application program can use the test for carrying out special test Use-case carries out stability test, the test case for carrying out special test for one can for one of an application program or The multiple functions of person carry out stability test.
The test case of the special test of progress can test the stability of some function of an application program, carry out random The test case of test can test the stability that an application program integrally energizes, and have more extensive spreadability.By special Test may determine that some function of application program committed memory situation in the process of running, execute the time and be Situations such as no appearance is abnormal, may determine that a program in the occupancy as a whole when carrying out function switch by random test Situation is deposited, the time is executed and whether situations such as abnormal occurs, when implementation of test cases is tested, can recorde test knot Fruit, to analyze test result.
Execution unit 40 is used to utilize test result optimization application and/or test case.
Test result has recorded that exception occurs during the test in application program or committed memory is excessive, is tied according to test The problem of fruit shows optimizes application program accordingly, if occurring application program nothing in long period during the test Test problem then optimizes corresponding test case, therefore, can according to test result optimization application or test case, Require to optimize Shi Zeke in the two with optimization application and test case.
Application testing device through the embodiment of the present invention due to obtaining the workflow of test case, and is pressed Test is executed according to workflow, it is more preferable according to the workflow execution test coverage of test case, to improve using journey The effect of sequence test accuracy.Further, the Application testing device provided through the foregoing embodiment, by using journey Sequence carries out special test to obtain the stability of the simple function of application program, by carrying out random test to application program to obtain Stability of the application program in function switch is obtained, application program or test case are optimized.Whether special test Or random test, according to application program workflow carry out test, therefore, can to the application program institute it is functional The case where carrying out coverage test, being not in test leakage, to guarantee the accuracy of test result, provides standard for optimization application True reliable foundation occurs unstable so that the stability of application program be effectively ensured after avoiding application program from putting goods on the market Problem.
Fig. 6 is the schematic diagram of the test device according to an embodiment of the present invention for carrying out the first test-types.As shown, should Test device includes the first prompt unit 11, the first judging unit 21 and the second determination unit 31.
First prompt unit 11 is used for before the test-types for determining application program to be tested, and user is prompted to select test Type.Test-types include the first test-types and the second test-types, and the first test-types are to mention in embodiment illustrated in fig. 1 Special test, the second test-types are the random test mentioned in embodiment illustrated in fig. 1.
It is special that user can select some function for the treatment of test application program to carry out according to the needs of application program to be tested Item test can also treat the whole of test application program and carry out random test.
First judging unit 21 is used to judge whether the test-types of user's selection to be the first test-types, wherein first The corresponding test of test-types is to test the first function of application program.
After judging the test-types that user selects for the first test-types, test application is treated using the first test-types First function of program is tested.Here the first function is construed as any function in application program to be tested.
When carrying out special test to QQ browser, the first function includes but is not limited to following the description: multiwindow, two dimensional code, Web page access, the navigation of program window and bookmark etc..
When carrying out special test to wechat, the first function includes but is not limited to following the description: address list, sweeps one at circle of friends It sweeps, game center etc..
When carrying out special test to QQ music, the first function includes but is not limited to following the description: is listened under song, song online Load, desktop lyrics etc..
Above-mentioned application program and the first function are solely for the purpose of illustration, it should be understood that the embodiment of the present invention mentions The test method of confession can also be applied to other same or equivalent application program or function.
Second determination unit 31 is used to determine to be tested when determining the test-types of user's selection is the first test-types The test-types of application program are the first test-types.
The test-types of application program to be tested are determined to obtain and surveying according to the first test-types after the first test-types Example on probation, and tested accordingly according to the test case got.
It is illustrated below in conjunction with the two dimensional code special project test in QQ browser.
Whether special project test two dimensional code verifying can be stuck using the process of two dimensional code, if stablizes.
Firstly, test case is obtained, then according to the survey of acquisition after determining that the test to two dimensional code is special test Example on probation executes test assignment.Wherein, the test case of acquisition includes executing two dimensional code opening steps and executing two dimensional code to exit Step.Time value is additionally provided in test case, the time value of setting is to open two dimensional code and between the time for exiting two dimensional code Every, which can be set to any positive integer between 50ms~1000ms, such as after first switching on two dimensional code, Two dimensional code is exited every 50ms, reopens two dimensional code using 100ms, two dimensional code is closed using 400, opens two dimensional code every time And exit two dimensional code time can any positive integer between 50ms~1000ms, each interval time can it is identical or It is different.
Special test below in conjunction with page access in QQ browser is illustrated.
The special test of page access is able to verify that in accession page whether will appear it is stuck, when testing accession page Memory usage, and whether will appear abnormal (such as exiting the program) situation.
Test case for test page access includes test webpage pond, include in the webpage pond white list network address, Site map network address, quick links network address, bookmark and historical record network address etc..Firstly, simulating new window using the test case The movements such as opening, backstage window are opened, current window is opened, if held using the testing case test errors page After any webpage in row Test Network page pool, if the result for testing the webpage reach it is scheduled as a result, if from webpage pond Delete the webpage, if the result for testing the webpage do not reach it is scheduled as a result, if retain the webpage, and survey is repeated Examination.
Situations such as recording committed memory track, exception or warning during the test, for after task terminates Test result is analyzed.Certainly, during the test, if it find that EMS memory occupation is excessive or abnormal conditions excessively can be with Terminate or suspend test at any time, by after test analysis, can stop when time test or test Abnormality remove it After continue to test.
After testing application program, test log is recorded, and analyze the test log, according to analysis As a result it is optimized for application program or test case.
Fig. 7 is the schematic diagram of the test device according to an embodiment of the present invention for carrying out the second test-types.As described in Figure, should Test device includes the second prompt unit 21, second judgment unit 22 and third determination unit 23.
Second prompt unit 21 is used for before the test-types for determining application program to be tested, and user is prompted to select test Type.Test-types include the first test-types and the second test-types, and the first test-types are to mention in embodiment illustrated in fig. 1 Special test, the second test-types are the random test mentioned in embodiment illustrated in fig. 1.
It is special that user can select some function for the treatment of test application program to carry out according to the needs of application program to be tested Item test can also treat the whole of test application program and carry out random test, and random test can test multiple functions and cut Committed memory situation or switching exception during changing etc..
Second judgment unit 22 is used to judge whether the test-types of user's selection to be the second test-types, wherein second The corresponding test of test-types is to application program progress spreadability test.
After judging the test-types that user selects for the second test-types, test application is treated using the second test-types Program carries out spreadability test.Here spreadability test, which is interpreted as random test, can cover institute in application program to be tested It is functional, each function can be tested.
Third determination unit 23 is used for when determining the test-types of user's selection is the second test-types, it is determined that be measured The test-types for trying application program are the second test-types.
The test-types of application program to be tested are determined to obtain and surveying according to the second test-types after the second test-types Example on probation, and tested accordingly according to the test case got.
The test-types of application program to be tested are determined to carry out spreadability survey to application program after the second test-types The specific method of examination has a detailed description in the following embodiments, is not repeated herein.
Further, second acquisition unit 30 is sentenced including acquisition module, first judgment module, the first execution module, second Disconnected module and the second execution module.
It obtains module to be used for when determining the test-types of user's selection is the second test-types, obtain to be tested using journey The state of sequence, first judgment module is for judging whether the state of application program to be tested is first state, the first execution module For in the first state, executing first event at random when the state for determining application program to be tested is first state, second Judgment module, for judging whether first state is converted to the second state, the second execution module, for determining first state turn It is changed to the second state, then executes second event at random.
The process of random test is as follows in the embodiment of the present invention:
When application program launching, there is an original state, then execute some event at random, after reaching some state, again Some event is executed at random.
Destination application used in the present embodiment is QQ browser, and QQ browser is generally divided into but is not limited to originate The page, Webpage, the bookmark page, history page download the page, and the page, menu page, eight pages such as two dimensional code page are arranged Face.Start page is usually the shortcut of network address;Webpage is usually that webpage itself is presented;The bookmark page is usually to store The bookmark that user saves;History page records the webpage that user browsed;The downloading page includes downloading and downloading Content;The setting page is for being arranged some essential attributes of browser and function;Menu page includes menu bar and webpage long-pressing dish It is single;The two dimensional code page is for executing browser two dimensional code function.The corresponding eight state, that is, original states of eight pages, page shape State, menu state, two dimensional code state is arranged in state, bookmark state, historic state, download state.In each state, also have Many sub- states, for example just include long-pressing menu state, rotation screen state, full frame state etc., specific sub- shape under page status The test logic of state is consistent with the processing logic of eight big states, can be surveyed with test method provided in an embodiment of the present invention Examination.By simulating the handoff procedure of different conditions, different conditions can be switched over infinitely, and is protected in handoff procedure It is all capped to demonstrate,prove different conditions, so that application program is tested comprehensively, does not omit any one function.
The particular state figure of random test is carried out as shown in figure 4, having chosen the principal states of QQ browser, Er Feiquan in figure Portion's state, it should be noted that QQ browser here is only convenient to be illustrated the embodiment of the present invention, is not intended to limit this hair Bright embodiment is only used for QQ browser, can also be other browser clients.
Original state: start application program by clicking application software icon, browser original state is entered, initial Under state, user can enter page status by clicking network address shortcut, and page status can be entered by input frame, is used Family click tools column can enter page status, bookmark state, historic state, download state, setting state, menu state etc. State.
Page status: initial state, bookmark state, historic state, download state, setting can be entered by toolbar The states such as state, menu state, if window, which is all closed, is also directly entered original state.It certainly, in this state, can be with The operation in some states is carried out, new link is such as opened, newly-built, closing and switch window etc..
Bookmark state: clicking some bookmark and be directly entered page status, and setting shape can be entered by clicking synchronous bookmarks button State, it is of course possible to the relevant operation of bookmark management is executed in the page.It executes to return to operate and may return to original state or the page State.
Historic state: clicking some historical record and enter page status, carries out long-pressing, selection addition to some historical record Bookmark then enters bookmark state, and executing return operation may return to original state or page status.
Setting state: being mainly the selection and configuration of some functions under the state, if clicking user feedback, product introduction Or online updating then enters page status.It executes to return to operate and may return to original state or page status.
Download state: download progress and downloading content are run, checked and is managed.It executes to return and operates and can return To original state or page status.
Menu state: two dimensional code button is clicked, into two dimensional code state.Execute return operation may return to original state or Page status.
Two dimensional code state: executing return operation may return to original state or page status.
Random test is illustrated by taking original state, webpage state, menu state as an example below with reference to Fig. 4.
Step S1, first judgment module judge current state.
Step S2, first judgment module judge whether current state is original state.
Step S3, the first execution module are used to select the next stream under original state when current state is original state The corresponding functional status of journey (such as menu state) is tested.
Current state is revised as menu state by original state, then executes step by step S4 after the test is ended S1 thens follow the steps S5 if it is judged that current state is not original state.
Step S5, the second judgment module judge whether current state is page status, if current state is page status, It then selects the corresponding functional status of next process under page status to be tested, if current state is not the page, executes Step S6.
Step S6 judges whether current state is menu state, if current state is menu state, the second execution module The corresponding functional status of next process under selection menu state is tested, if current state is not the page, second is executed The step of module executes other steps, omits other processes herein.
Random test can the function at random to an application program test, but the random process simulation application Process when program executes naturally is tested, and can be tested each function of application program, so that traversal one is answered It is functional and tested with the institute in program, so as to guarantee the stability of application program to be tested.
Preferably, Application testing device includes: storage unit, in the workflow according to the test case After executing test to the test case, test will be executed to the test case according to the workflow of the test case Obtained test result is stored in terminal locating for the application program to be tested, and lead-out unit includes for leading from terminal Test result out, third acquiring unit, for obtaining the analysis of test result as a result, optimization unit, analyzes result for utilizing Optimal inspection use-case.
After obtaining test result, test result is stored in terminal locating for application program to be tested, and to survey Test result is analyzed, and the program analyzed test result can be passed through with the application program other than application program to be tested After program in terminal analyzes test result, export analysis is as a result, simultaneously based on the analysis results to application from terminal Program or test case optimize.
Test result has recorded that exception occurs during the test in application program or committed memory is excessive, is tied according to test The problem of fruit shows optimizes application program accordingly, if occurring application program nothing in long period during the test Test problem then optimizes corresponding test case, therefore, can according to test result optimization application or test case, Require to optimize Shi Zeke in the two with optimization application and test case.
In embodiments of the present invention, test result can exist in the form of log, and log can be divided into following a few classes: when Between statistical log, Memory statistics log, alert statistical log, page access log, anomaly statistics log, special statistical log Deng.Time counts principal statistical and starts time, page switching time, webpage opening time, some specific functions execution times etc.; Memory statistics referred to every 1 second, exported the memory that current application program expends.Warning statistics refers to the ground of programmed logic mistake Side;Anomaly statistics refer to program exception;Page access refers to the successful number of page access;Special statistics, which refers to, to be needed to some mould Block has individual statistical demand.
By apparatus above, the special test for simple function can be carried out to application program, it can also be for entire The random test that the overall stability of application program carries out, either special test or random test, all in accordance with test case Workflow tested, can be functional with the institute in test case, to ensure that the function of application program can be by It measures, and then improves the accuracy of test result.
The embodiment of the invention also provides a kind of computer storage mediums.The computer storage medium can be stored with program, The program is for some or all of executing in above-mentioned applied program testing method step.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above description is only a preferred embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art For member, the invention may be variously modified and varied.All within the spirits and principles of the present invention, it is made it is any modification, Equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (8)

1. a kind of applied program testing method characterized by comprising
Determine the test-types of application program to be tested, wherein the test-types include the first test-types and the second test Type, first test-types are corresponding to be tested to carry out the special project of pressure test for a function of the application program Test, second test-types are corresponding to be tested to carry out spreadability test for the application program, and the spreadability is surveyed Examination is to each function progress random test in the application program;
Obtain test case corresponding with the test-types of the application program to be tested;
Obtain the workflow of the test case, wherein carrying out the special test case tested includes and the special project The workflow of corresponding function is tested, it includes corresponding with the random test more for carrying out the test case of the random test The workflow jumped between a function;And
Test is executed to the test case according to the workflow of the test case;
Wherein, when the test-types are the second test-types, the workflow according to the test case is to described It includes: the state for obtaining the application program to be tested that test case, which executes test,;Judge the shape of the application program to be tested Whether state is first state;If it is determined that the state of the application program to be tested is the first state, then described first Under state, first event is executed at random;Judge whether the first state is converted to the second state;If it is determined that first shape State is converted to second state, then executes second event at random.
2. applied program testing method according to claim 1, which is characterized in that in the survey for determining application program to be tested Before trying type, the applied program testing method further include:
User is prompted to select test-types;
Whether the test-types for judging user's selection are first test-types, wherein first test-types are corresponding Test is to test the first function of the application program;And
If it is determined that the test-types of user's selection are first test-types, it is determined that the test class of application program to be tested Type is first test-types.
3. applied program testing method according to claim 1, which is characterized in that in the survey for determining application program to be tested Before trying type, the applied program testing method further include:
User is prompted to select test-types;
Whether the test-types for judging user's selection are second test-types, wherein second test-types are corresponding Test is to application program progress spreadability test;And
If it is determined that the test-types of user's selection are second test-types, it is determined that the test class of application program to be tested Type is second test-types.
4. applied program testing method according to claim 1, which is characterized in that in the work according to the test case After process executes test to the test case, the applied program testing method further include:
Institute is stored in by the test result that test obtains is executed to the test case according to the workflow of the test case It states in terminal locating for application program to be tested;
The test result is exported from the terminal;
Obtain the analysis result of the test result;And
Utilize application program and/or the test case described in the analysis result optimizing.
5. a kind of Application testing device characterized by comprising
First determination unit, for determining the test-types of application program to be tested, wherein the test-types include the first survey Try type and the second test-types, the corresponding test of first test-types for a function for the application program into The special test of row pressure test, second test-types are corresponding to be tested to carry out spreadability survey for the application program Examination, the spreadability test is to each function progress random test in the application program;
First acquisition unit, for obtaining test case corresponding with the test-types of the application program to be tested;
Second acquisition unit, for obtaining the workflow of the test case, wherein the test for carrying out the special test is used Example includes the workflow of function corresponding with the special test, carry out the random test test case include with it is described The workflow jumped between the corresponding multiple functions of random test;And
Execution unit executes test to the test case for the workflow according to the test case;
Wherein, described device is also used to: when the test-types are the second test-types, obtaining the application program to be tested State;Whether the state for judging the application program to be tested is first state;If it is determined that the application program to be tested State be the first state then in said first condition execute first event at random;Whether judge the first state Be converted to the second state;If it is determined that the first state is converted to second state, then second event is executed at random.
6. Application testing device according to claim 5, which is characterized in that the Application testing device also wraps It includes:
First prompt unit, for prompting user to select test-types before the test-types for determining application program to be tested;
First judging unit, for judging whether the test-types of user's selection are first test-types, wherein described the The corresponding test of one test-types is to test the first function of the application program;And
Second determination unit, for determining to be tested when determining the test-types of user's selection is first test-types The test-types of application program are first test-types.
7. Application testing device according to claim 5, which is characterized in that the Application testing device also wraps It includes:
Second prompt unit, for prompting user to select test-types before the test-types for determining application program to be tested;
Second judgment unit, for judging whether the test-types of user's selection are second test-types, wherein described the The corresponding test of two test-types is to application program progress spreadability test;And
Third determination unit, for when determining the test-types of user's selection is second test-types, it is determined that be measured The test-types for trying application program are second test-types.
8. Application testing device according to claim 5, which is characterized in that the Application testing device also wraps It includes:
Storage unit will be by for after executing test to the test case according to the workflow of the test case According to the test case workflow to the test case execute the obtained test result of test be stored in it is described to be tested In terminal locating for application program;
Lead-out unit, for exporting the test result from the terminal;
Third acquiring unit, for obtaining the analysis result of the test result;And
Optimize unit, for utilizing application program and/or the test case described in the analysis result optimizing.
CN201410026100.1A 2014-01-20 2014-01-20 Applied program testing method and device Active CN104794049B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410026100.1A CN104794049B (en) 2014-01-20 2014-01-20 Applied program testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410026100.1A CN104794049B (en) 2014-01-20 2014-01-20 Applied program testing method and device

Publications (2)

Publication Number Publication Date
CN104794049A CN104794049A (en) 2015-07-22
CN104794049B true CN104794049B (en) 2019-05-24

Family

ID=53558858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410026100.1A Active CN104794049B (en) 2014-01-20 2014-01-20 Applied program testing method and device

Country Status (1)

Country Link
CN (1) CN104794049B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105022694B (en) * 2015-08-19 2018-07-13 上海斐讯数据通信技术有限公司 Method for generating test case and system for mobile terminal test
CN105574416A (en) * 2015-12-16 2016-05-11 北京神州绿盟信息安全科技股份有限公司 Detection method and device of browser bug
CN106095690A (en) * 2016-06-23 2016-11-09 维沃移动通信有限公司 The method of testing of application and mobile terminal
CN106341681B (en) * 2016-08-09 2018-08-07 青岛海信传媒网络技术有限公司 Television applications test method and device
CN106354628A (en) * 2016-08-12 2017-01-25 北京小米移动软件有限公司 Payment app test method and device thereof
CN106506762A (en) * 2016-09-23 2017-03-15 惠州Tcl移动通信有限公司 Test equipment
CN108134711B (en) * 2017-11-29 2021-07-16 海尔优家智能科技(北京)有限公司 Method for testing terminal APP, simulation household appliance system and storage medium
CN111651350B (en) * 2020-05-29 2024-03-08 泰康保险集团股份有限公司 Test case processing method, device, equipment and computer readable storage medium
CN113806212A (en) * 2020-06-17 2021-12-17 北京字节跳动网络技术有限公司 Application program exception positioning method and device and electronic equipment
CN113742224A (en) * 2021-08-27 2021-12-03 武汉联影智融医疗科技有限公司 Test system, method, device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231131A (en) * 2010-03-31 2011-11-02 微软公司 Testing software in electronic device
CN102467448A (en) * 2010-11-16 2012-05-23 安凯(广州)微电子技术有限公司 Test method and system of test case

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174240B (en) * 2006-11-03 2011-04-06 凌阳科技股份有限公司 Software testing management method and system thereof
CN102622294B (en) * 2011-01-28 2014-12-10 国际商业机器公司 Method and method for generating test cases for different test types

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231131A (en) * 2010-03-31 2011-11-02 微软公司 Testing software in electronic device
CN102467448A (en) * 2010-11-16 2012-05-23 安凯(广州)微电子技术有限公司 Test method and system of test case

Also Published As

Publication number Publication date
CN104794049A (en) 2015-07-22

Similar Documents

Publication Publication Date Title
CN104794049B (en) Applied program testing method and device
CN104050076B (en) Application software testing method, apparatus and system on mobile terminal
US9053435B2 (en) Generating application models based on discovery based machine learning
CN105468529B (en) A kind of accurate traversal method of Android application UI controls and device
CN105740138B (en) Test method, test device and the test macro of application
CN109408357A (en) A kind of automatic interface testing method and device
US20220350682A1 (en) Automatically Generating Testing Code for a Software Application
CN105095059B (en) A kind of method and apparatus of automatic test
CN110147320A (en) Interface test method, device and electronic equipment
US20130298110A1 (en) Software Visualization Using Code Coverage Information
CN111124919A (en) User interface testing method, device, equipment and storage medium
CN105335283A (en) Application testing method and device in terminal equipment
CN107707986B (en) A kind of method and device for simulating barrage message in the exploitation of live streaming software
CN106326104A (en) Terminal control test method and apparatus
CN109710506A (en) A kind of terminal APP spreadability test method and device based on tree traversal
Gomez et al. App store 2.0: From crowdsourced information to actionable feedback in mobile ecosystems
US8918762B2 (en) Generating test plans and test cases from service-oriented architecture and process models
CN107239397A (en) A kind of web automated testing methods and electronic equipment
CN105045574A (en) Software key function identification method based on complex network fault propagation
CN108268371A (en) The intelligent fuzzy test method applied towards Android
CN109255240A (en) A kind of loophole treating method and apparatus
CN110162457A (en) Test method, device, equipment and the storage medium of user interface
Holl et al. Mobile application quality assurance
CN108959067A (en) Test method, device and the computer readable storage medium of search engine
CN107896173A (en) Automated testing method, test equipment, automatization test system and storage medium

Legal Events

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