CN106649106A - Test case generation method and device - Google Patents

Test case generation method and device Download PDF

Info

Publication number
CN106649106A
CN106649106A CN201611128924.5A CN201611128924A CN106649106A CN 106649106 A CN106649106 A CN 106649106A CN 201611128924 A CN201611128924 A CN 201611128924A CN 106649106 A CN106649106 A CN 106649106A
Authority
CN
China
Prior art keywords
test
use cases
test case
lists
case
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611128924.5A
Other languages
Chinese (zh)
Inventor
丁硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ruian Technology Co Ltd
Original Assignee
Beijing Ruian Technology 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 Beijing Ruian Technology Co Ltd filed Critical Beijing Ruian Technology Co Ltd
Priority to CN201611128924.5A priority Critical patent/CN106649106A/en
Publication of CN106649106A publication Critical patent/CN106649106A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Abstract

The embodiment of the invention discloses a test case generation method and device. The method comprises the steps that an RA list needed for a test case made by a user according to a test plan is acquired; paths of codes corresponding to RA designated by the user in the RA list are received; the codes corresponding to the RA in the RA list are acquired according to the paths; the codes corresponding to the RA are assembled into the test case according to the RA list. Through the test case generation method and device, the problem that codes need to be rewritten for the test case when a test is performed, and consequently the test is low in efficiency is solved, flexible assembling of the test case according to the codes corresponding to the RA is realized, an automatic test is completed, the test process is simplified, and test efficiency is improved.

Description

A kind of generation method and device of test case
Technical field
The present embodiments relate to field of signal processing, more particularly to a kind of generation method and device of test case.
Background technology
With the continuous enhancing of software function, version upgrading is more and more faster, as software test of automatic test Also therewith when the river rises the boat goes up for the status of an important ring, gradually forms one agitation in test industry, increasing software enterprise Industry adds the timetable of automatic test in their test plan, and for tester, if possess one kind or Various automatic test abilities also gradually become the important judging basis promoted and pass judgment on.
The exploitation of automation tools is as shown in figure 1, there is following flow process:The work of demand reception is carried out in the Document Creator stage Make, and be designed, produce design documentation.The development of automation tools is carried out in code compilation and control stage, is produced Automatized script and user guided handbook, the test of automation tools is carried out in the code walkthrough stage, is outputed test result, finally In code presentation stage, amended bug codes are merged, form final automation tools, complete demand.
At present during the design and use of automation tools, tester is needed to be provided simultaneously with code capacity, but In China, automatic test is also in a period for toddling, the technical merit of tester, especially to the palm of language Hold universal low, select the practitioner of test job often because being ignorant of code, it is impossible to undertake development and just move back and ask it There is developer and be ignorant of business in secondary therefore traditional automatic test, user of service is ignorant of the awkward problem of code, and test is used Example slightly changes and is accomplished by developer's modification code, increases the workload of developer so that automatic test is actual to be used Get up not efficient.
The content of the invention
The embodiment of the present invention provides a kind of generation method and device of test case, to solve when being tested, test Use-case needs to write code again, causes to test poorly efficient problem.
In a first aspect, embodiments providing a kind of generation method of test case, the method includes:
Obtain RA (Reusable Action, reusable row of the user according to needed for the test case that test plan is formulated For) list;
The path of the corresponding codes of RA in the RA lists that receive user is specified;
According to the path, the corresponding codes of RA in the RA lists are obtained;
According to the RA lists, the corresponding codes of the RA are assemblied into into the test case.
Further, after the corresponding codes of the RA to be assemblied into the test case, also include:
The test use cases that the test case described at least one that receive user is created is constituted.
Further, after the test use cases that the test case described at least one that receive user is created is constituted, Also include:
The execution time of test use cases described at least one of receive user setting;
According to the execution time, test use cases described in described at least one are performed.
Further, after test use cases described in described at least one are performed, also include:
Receive user check test result instruction when, show and perform the test knot that the test use cases are obtained Really.
Further, the method also includes:
Journal file of the record in the implementation procedure of the test use cases.
Second aspect, the embodiment of the present invention additionally provides a kind of generating means of test case, and the device includes:
RA list acquisition modules, for obtaining RA list of the user according to needed for the test case that test plan is formulated;
Path receiver module, the path of the corresponding codes of RA in the RA lists specified for receive user;
Code obtaining module, for according to the path, obtaining the corresponding codes of RA in the RA lists;
Test case assembling module, for according to the RA lists, the corresponding codes of the RA being assemblied into into the test Use-case.
Further, the device also includes:
Test use cases receiver module, for after the corresponding codes of the RA to be assemblied into the test case, connecing Receive the test use cases that the test case described at least one of user's establishment is constituted.
Further, the device also includes:
Execution time receiver module, the test that the test case described at least one for creating in receive user is constituted After set of uses case, receive user setting at least one described in test use cases the execution time;
Test use cases performing module, for according to the execution time, performing test case described in described at least one Collection.
Further, the device also includes:
Test result display module, for after test use cases described in described at least one are performed, receiving use Family check test result instruction when, show and perform the test result that the test use cases are obtained.
Further, the device also includes:
Journal file logging modle, for journal file of the record in the implementation procedure of the test use cases.
The embodiment of the present invention is by obtaining reusable behavior RA of the user according to needed for the test case that test plan is formulated List, according to the path of the corresponding codes of RA in the RA lists that user specifies, obtains the RA correspondences in the RA lists Code, according to the RA lists, the corresponding codes of the RA are assemblied into into the test case, realize corresponding according to RA Code carries out the flexible assembly of test case, completes automatic test, simplifies testing process, improves testing efficiency.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to making needed for embodiment description Accompanying drawing does one and simply introduces, it should be apparent that, drawings in the following description are some embodiments of the present invention, for this For the those of ordinary skill of field, on the premise of not paying creative work, can be with other according to these accompanying drawings acquisitions Accompanying drawing.
Fig. 1 is the development process figure of automation tools in prior art;
Fig. 2 is a kind of schematic flow sheet of the generation method of test case that the embodiment of the present invention one is provided;
Fig. 3 is a kind of test flow chart that the embodiment of the present invention one is provided;
Fig. 4 is a kind of schematic flow sheet of the generation method of test case that the embodiment of the present invention two is provided;
Fig. 5 is a kind of Organization Chart of test provided in an embodiment of the present invention;
Fig. 6 is a kind of flow chart of automatic test provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of the generating means of test case that the embodiment of the present invention three is provided.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, hereinafter with reference to the embodiment of the present invention in it is attached Figure, by embodiment technical scheme is clearly and completely described, it is clear that described embodiment is the present invention one Section Example, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, belong to the scope of protection of the invention.
Embodiment one
Fig. 2 is a kind of flow chart of the generation method of test case that the embodiment of the present invention one is provided.The skill of the present embodiment Art scheme goes for carrying out the situation of automatic test according to test plan generation test case.The method can be by this Performing, the device can be with by the way of software and/or hardware for a kind of generating means of test case that bright embodiment is provided Realize.The method specifically includes following operation:
The RA lists of S110, acquisition user according to needed for the test case that test plan is formulated.
Wherein, RA is reusable behavior, when test assignment is performed, it is possible to achieve a certain function, and can repeat to hold Capable step.RA lists are to be appropriate in the use-case of automatic test be divided not by function in the test case that screening is obtained The list arranged in order with RA.
Tester be the user when a test assignment is connected to, formulate test plan, according to test plan formulate Test case, the RA lists in need of test case correspondence.The generating means of test case obtain the RA lists, to arrange RA RA in table carries out corresponding operating.
Fig. 3 shows a kind of test flow chart, as illustrated, the test case formulated according to test plan can be test Personnel filter out the use-case for being appropriate to automatic test from manual test use-case, according to the automatic test cases for filtering out The step of write out RA lists, need putting in order for which RA and required RA for marking automatic test cases, be follow-up Assembly prepare.RA design documentations are write according to RA lists, the document is requirement documents when encoding to RA, it is stipulated that The behavior of RA and input/output argument, RA design documentations are carrying out being submitted to after evaluation is qualified.The general phase process is in the first round Complete before manual test, afterwards tester enters the manual test stage first round, automation circulation develops to second stage Stage.
When each step in manual test use-case is decomposed into into reusable RA, the behavior for recording each RA is needed to retouch State, behavior description is concrete steps.Exemplary, if RA is the function of realizing Website login, then the behavior of the RA is exactly to beat Browser is driven, certain webpage is logged in, user name password etc. is then input, each step will separate to be write, each in correspondence script Action, such developer just will appreciate which behavior needs is realized by the document.
Coding can be carried out using any wscript.exe and obtain the corresponding codes of RA, it is preferred to use QTP (Quick Test Professional, automated test tool) coding.
The QTP scripts of standard are programmed in test files, and benefit can be directly to run after the completion of writing Script is debugged, directly easy, but software size is big, and module is more, it may be desirable to which hundreds of RA is covered.If hundreds of Individual RA each writes the execution logic of oneself, in depositing in respective test files, then once version change, there is correlation Functions of modules there occurs change, then is accomplished by arriving corresponding test files respectively and goes down to change code, but the quantity of RA is such as On the premise of this is huge, it is easy to script is omitted during modification or mistake is produced, is so greatly lowered automatically The flexibility that chemical industry is made.Therefore, each RA is divided to for two parts of parameter setting and logical process, using the library file of QTP Function, parameter setting part is placed in test files, and logical process function according to the division of module unification be placed on at logic Under the related module of reason function, such as search for related RA logics and be all written in search this library file, so when correspondence mould When the feature release of block substitutes, it is only necessary to which changing this file can just play the purpose of change script, effectively Raising efficiency.
The path of the corresponding codes of RA in the RA lists that S120, receive user are specified.
When automatic test is carried out, user can specify the storage road that the corresponding codes of each RA in RA lists are located Footpath.The path of the corresponding codes of RA in the RA lists that receive user is specified, to facilitate the corresponding codes of RA are called.RA is corresponding The storage path of code, while being also the storage path of RA design documentations.Exemplary, the path can be:
C:\Transfer_automation\qtp\reusable\Transfer\common\login
Wherein " common " represents the classification belonging to RA design documentations, and " login " represents the title of behavior.
S130, according to the path, obtain the corresponding codes of RA in the RA lists.
The path of the corresponding codes of RA in the RA lists that the user according to receiving specifies, then can get RA lists In the corresponding codes of RA.
As shown in figure 3, developer is connected to the RA design documentations of tester's submission, and start to carry out QTP according to document The coding work of code, carries out in the completed corresponding evaluation, the parameter and behavior in check code whether fully according to Design documentation is encoded, and whether unit testing result passes through, and afterwards code is put in storage and is submitted to back in tester's hand, the rank Section is carried out simultaneously with first round manual test, is submitted in tester's hand before in the first round, test terminates, now automation stream Go to phase III, i.e. test phase.
RA after QTP codings need to should itself function of RA summarize.Exemplary, if RA is to access 91 assistant websites, to the software of a certain version version acquisition is carried out, and corresponds to the RA that this RA is logged on website, then in general introduction When, directly write this RA and be logged on 91 assistant's web sites functions.
To there is precondition, the precondition includes hardware condition and step condition to RA, and wherein hardware condition is represented The operation needs the tune of some equipment logical or hardware supported, than if desired for ten thousand Broadcoms, step condition includes that search website makes May need first to log in before.After having performed RA, with postcondition rear configuration state is listed.
In the corresponding inputs of RA and output parameter, each parameter, " must it is necessary to have the mark of " essential " or " optional " Choosing " represents that the value of the parameter can not be sky;" optional " represents that the parameter can be sky, or has default value.Behind each parameter It is also to fill out to also need to describe the parameter function, default value, span etc..Exemplary:Time-out (it is optional, create link Overtime duration, is defaulted as " 3 ");User name (essential, login username, be defaulted as sky).
S140, according to the RA lists, the corresponding codes of the RA are assemblied into into the test case.
The corresponding codes of the RA are assemblied into the test case by the RA orders in the RA lists.Wherein, RA Corresponding code can scan for obtaining in existing RA codes according to the logic function of each RA.If institute in RA lists There are the corresponding codes of RA to exist in existing RA codes, in this way it is no longer necessary to which developer is encoded, and can directly be made Existing code is used, testing process can be greatly simplified, improve testing efficiency;The corresponding codes of RA only in RA lists are Have when not existing in code, just returning to developer carries out the coding of the RA.
As shown in figure 3, tester enters within the time of the bug of webmastering software developer modification first round test submission Assembly work of the row to RA, it is possible thereby to ensure the parallel processing tested and develop, will not interfere each other.According to RA lists Order corresponding RA is assembled into into corresponding use-case and is evaluated, evaluation content assembled use-case as requested for whether. Use-case being submitted to after completing to evaluate and carrying out the automated execution of use-case, each use-case at least continuously performs three times and not any asking Entitled to perform by standard, to QTP codes itself or EMS, (Electro Magnetic Susceptibility, electromagnetism resists Interference performance) problem carry out the submission of bug, finally produce test report, QTP developer carries out correspondence code to problem Modification and checking work.
The technical scheme of the present embodiment, it is reusable according to needed for the test case that test plan is formulated by obtaining user Behavior RA lists, according to the path of the corresponding codes of RA in the RA lists that user specifies, in obtaining the RA lists The corresponding codes of RA, according to the RA lists, by the corresponding codes of the RA test case are assemblied into, and are realized according to RA Corresponding code carries out the flexible assembly of test case, completes automatic test, simplifies testing process, improves testing efficiency. When test case changes, if this use-case does not need new RA to support (without new method of operating), tester Member can just not need developer, oneself assembly RA again, complete the modification of automatic test cases, substantially increase effect Rate.
In a preferred embodiment of the present embodiment, by the code of the RA be assemblied into the test case it Afterwards, also include:
The test use cases that the test case described at least one that receive user is created is constituted.
Each test assignment can correspond at least one test case, and all of test case constitutes test use cases, surveys The test use cases being made up of at least one test case that trial work tool receive user is created, through this it is achieved that correspondence is identical Test assignment, tested by test use cases, it is ensured that the adequacy of test.
Embodiment two
Fig. 4 is a kind of flow chart of the generation method of test case that the embodiment of the present invention two is provided.The embodiment of the present invention On the basis of above-described embodiment, the test use cases that constitute of the test case described at least one created in receive user it Afterwards, the execution time of test use cases described at least one of receive user setting is further increased;According to during the execution Between, perform the operation of test use cases described in described at least one.
Accordingly, the method for the present embodiment includes:
The RA lists of S210, acquisition user according to needed for the test case that test plan is formulated.
The path of the corresponding codes of RA in the RA lists that S220, receive user are specified.
S230, according to the path, obtain the corresponding codes of RA in the RA lists.
S240, according to the RA lists, the corresponding codes of the RA are assemblied into into the test case.
S250, receive user setting at least one described in test use cases the execution time.
S260, according to the execution time, perform test use cases described in described at least one.
The execution time is the testing time.At least one test use cases of the execution are treated using test use cases Survey software to be tested.For different test assignments, different test use cases are set, can be set for each test use cases Surely the time tested, testing tool receive user setting at least one described in test use cases the execution time.Thus Can ensure that, user independently sets as needed the time that the test use cases of the different test assignment of correspondence are tested, and carries Consumer's Experience is risen, it is ensured that test assignment is in order carried out.
Need to carry out error handle during at least one test use cases are performed, that is, tackle the mistake of appearance The message of Wrong localization and be given process mistake behavior.Exemplary:If logged on failure, the then error message for showing For:" login failed for user ", corresponding follow-up behavior is:" FAIL " number Jia 1.
The embodiment of the present invention by receive user set at least one described in test use cases the execution time, according to institute The execution time is stated, test use cases described in execution described at least one are realized orderly according to the execution time of test use cases Automatically tested, it is ensured that the efficiency of test.
In a preferred embodiment of the present embodiment, after test use cases described in described at least one are performed, Also include:
Receive user check test result instruction when, show and perform the test knot that the test use cases are obtained Really.
Test result can be stored under a certain default file in the form of HTTP files.Test result can use cake The forms such as shape figure, block diagram or broken line graph show.
In a preferred embodiment of the present embodiment, this method also includes:Record holding in the test use cases Journal file during row.
The journal file can include the bug that the corresponding codes of RA of composition test case are present.If RA is corresponding There is bug in code, then need to return to developer and modify.
A kind of Organization Chart of test is shown in Fig. 5.Wherein, TLI (Transport Layer Interface, transport layer Interface) console and CLI (Command Line Interface, command line interface) console support that test object is input The form of character string, EMS GUI (Graphical User Interface, graphic user interface) support test object is GUI Form, it is possible thereby to ensure the comprehensive of test object.It can be seen that the part of layer 3 is exactly tester carries out RA spellings The interface of dress, preferred TK operation interfaces, T is a tool box that GUI is write using TCL scripts.The TK operates boundary The function in face includes test case management, and test case is assembled, test case arrangement, checks test result and record log.Its In, test case is assembled to be used to for the RA needed for test case to carry out assembly, and test case management is used to control test case Perform and do not perform, test case is used for setting the execution time of test case.Whole interface can be with arbitrarily support GUI Script complete, what is selected here is TCL (Tool Command Language, script), and user is by using this Function, can not contact the code of QTP and TCL can just complete the work such as case management, assembly, and each user can create independence Test use cases, load different test cases, can with according to the order for oneself needing come it is assembled with debug them, finally Implementing result can be monitored by intuitively test report.
What layer 2 was completed is the back partition of assembled instrument, realizes test case management, and test case is assembled, test case Arrange, check the function of test result and record log, and enter the work of line parameter transmission to RA.The function library bag of TCL itself All function libraries and the data file needed for TCL script managers is contained, TCL is operated to QTP by them and communicated, has passed Pass parameter and logical process.The order issued from TK layers is completed, the code of this layer is the core of TCL script management tools.
Layer 1 is the entity part of RA, and what this part was selected is that QTP is write, and QTP is by performing these RA directly under The management object in face is operated, and it is exactly or set in test case that each RA is actual, these actions connections Test case is just constituted together, it can be seen that the groundwork of QTP is exactly the part for constructing these test cases, use To complete automatic test.
Fig. 6 shows a kind of flow chart of automatic test.When a test assignment is started, demand rank is initially entered Section, tester's needs have detected whether new case, when there is new case, write use-case, and screen use-case, write use-case Corresponding RA lists, submit and evaluate whether RA lists pass through to, when passing through, write RA design documentations, submit and evaluate RA to and set Whether meter document passes through, and when passing through, RA design documentations are put in storage using CC document managers.Subsequently into coding stage, exploitation Personnel carry out QTP codings to RA design documentations, and whether evaluation code passes through, when by when, using CC document managers by code Warehouse-in.Test phase is finally entered, RA is assemblied into corresponding automatic test cases, is commented by the assembled orders of tester input RA Examine by when, run the automatic test cases, and verify whether RA codes have bug, when there is bug, return developer and enter Line code is changed, and code after modification is needed through testing and passing through, then using CC document managers by amended generation Code warehouse-in;When without bug, test is completed, and issue test report.
Embodiment three
Fig. 7 is a kind of structured flowchart of the generating means of test case that the embodiment of the present invention three is provided.The device is used for Perform a kind of generation method of test case that above-mentioned any embodiment is provided.The device includes:
RA lists acquisition module 310, for obtaining RA list of the user according to needed for the test case that test plan is formulated;
Path receiver module 320, the path of the corresponding codes of RA in the RA lists specified for receive user;
Code obtaining module 330, for according to the path, obtaining the corresponding codes of RA in the RA lists;
Test case assembling module 340, for according to the RA lists, the corresponding codes of the RA being assemblied into into the survey Example on probation.
Further, the device also includes:
Test use cases receiver module, for after the corresponding codes of the RA to be assemblied into the test case, connecing Receive the test use cases that the test case described at least one of user's establishment is constituted.
Further, the device also includes:
Execution time receiver module, the test that the test case described at least one for creating in receive user is constituted After set of uses case, receive user setting at least one described in test use cases the execution time;
Test use cases performing module, for according to the execution time, performing test case described in described at least one Collection.
Further, the device also includes:
Test result display module, for after test use cases described in described at least one are performed, receiving use Family check test result instruction when, show and perform the test result that the test use cases are obtained.
Further, the device also includes:
Journal file logging modle, for journal file of the record in the implementation procedure of the test use cases.
The generating means of the test case that the embodiment of the present invention three is provided, realize and are tested according to the corresponding codes of RA The flexible assembly of use-case, completes automatic test, simplifies testing process, improves testing efficiency.
The generating means of the test case that the embodiment of the present invention is provided can perform what any embodiment of the present invention was provided The generation method of test case, possesses the corresponding functional module of execution method and beneficial effect.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also More other Equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of generation method of test case, it is characterised in that include:
Obtain reusable behavior RA list of the user according to needed for the test case that test plan is formulated;
The path of the corresponding codes of RA in the RA lists that receive user is specified;
According to the path, the corresponding codes of RA in the RA lists are obtained;
According to the RA lists, the corresponding codes of the RA are assemblied into into the test case.
2. method according to claim 1, it is characterised in that use the corresponding codes of the RA are being assemblied into into the test After example, also include:
The test use cases that the test case described at least one that receive user is created is constituted.
3. method according to claim 2, it is characterised in that the test by described at least one created in receive user is used After the test use cases of example composition, also include:
The execution time of test use cases described at least one of receive user setting;
According to the execution time, test use cases described in described at least one are performed.
4. method according to claim 3, it is characterised in that perform test use cases described in described at least one it Afterwards, also include:
Receive user check test result instruction when, show and perform the test result that the test use cases are obtained.
5. method according to claim 3, it is characterised in that also include:
Journal file of the record in the implementation procedure of the test use cases.
6. a kind of generating means of test case, it is characterised in that include:
RA list acquisition modules, for obtaining RA list of the user according to needed for the test case that test plan is formulated;
Path receiver module, the path of the corresponding codes of RA in the RA lists specified for receive user;
Code obtaining module, for according to the path, obtaining the corresponding codes of RA in the RA lists;
Test case assembling module, for according to the RA lists, the corresponding codes of the RA being assemblied into into the test case.
7. device according to claim 6, it is characterised in that also include:
Test use cases receiver module, for after the corresponding codes of the RA to be assemblied into the test case, receiving and using The test use cases that the test case described at least one that family creates is constituted.
8. device according to claim 7, it is characterised in that also include:
Execution time receiver module, the test case that the test case described at least one for creating in receive user is constituted After collection, receive user setting at least one described in test use cases the execution time;
Test use cases performing module, for according to the execution time, performing test use cases described in described at least one.
9. device according to claim 8, it is characterised in that also include:
Test result display module, for after test use cases described in described at least one are performed, receiving user's When checking the instruction of test result, show and perform the test result that the test use cases are obtained.
10. device according to claim 8, it is characterised in that also include:
Journal file logging modle, for journal file of the record in the implementation procedure of the test use cases.
CN201611128924.5A 2016-12-09 2016-12-09 Test case generation method and device Pending CN106649106A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611128924.5A CN106649106A (en) 2016-12-09 2016-12-09 Test case generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611128924.5A CN106649106A (en) 2016-12-09 2016-12-09 Test case generation method and device

Publications (1)

Publication Number Publication Date
CN106649106A true CN106649106A (en) 2017-05-10

Family

ID=58825696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611128924.5A Pending CN106649106A (en) 2016-12-09 2016-12-09 Test case generation method and device

Country Status (1)

Country Link
CN (1) CN106649106A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234948A (en) * 2023-11-10 2023-12-15 成都市楠菲微电子有限公司 Method for generating automatic use cases based on manual use cases

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102650966A (en) * 2011-02-24 2012-08-29 王轶辰 Multiplexing-oriented embedded software testing method and system
CN102768637A (en) * 2011-05-05 2012-11-07 阿里巴巴集团控股有限公司 Method and device for controlling test execution
CN103186460A (en) * 2011-12-30 2013-07-03 金蝶软件(中国)有限公司 Method, device and system for generating script of test case
CN103246601A (en) * 2012-02-10 2013-08-14 腾讯科技(深圳)有限公司 Testing method and device
CN103353859A (en) * 2013-07-26 2013-10-16 浪潮电子信息产业股份有限公司 Test case reusing method based on XML

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102650966A (en) * 2011-02-24 2012-08-29 王轶辰 Multiplexing-oriented embedded software testing method and system
CN102768637A (en) * 2011-05-05 2012-11-07 阿里巴巴集团控股有限公司 Method and device for controlling test execution
CN103186460A (en) * 2011-12-30 2013-07-03 金蝶软件(中国)有限公司 Method, device and system for generating script of test case
CN103246601A (en) * 2012-02-10 2013-08-14 腾讯科技(深圳)有限公司 Testing method and device
CN103353859A (en) * 2013-07-26 2013-10-16 浪潮电子信息产业股份有限公司 Test case reusing method based on XML

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
EALGE: ""QTP中不可重用操作与重用操作的应用"", 《HTTP://BLOG.SINA.COM.CN/S/BLOG_5007D1B10100PO56.HTML》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234948A (en) * 2023-11-10 2023-12-15 成都市楠菲微电子有限公司 Method for generating automatic use cases based on manual use cases
CN117234948B (en) * 2023-11-10 2024-01-23 成都市楠菲微电子有限公司 Method for generating automatic use cases based on manual use cases

Similar Documents

Publication Publication Date Title
CN110347395B (en) Software release method and device based on cloud computing platform
US9754059B2 (en) Graphical design verification environment generator
CN101046767B (en) Method and system for automated testing of a graphic-based programming tool
US20090019427A1 (en) Method and Apparatus for Providing Requirement Driven Static Analysis of Test Coverage for Web-Based, Distributed Processes
US20140129173A1 (en) Application Component Testing
CN109189479B (en) Parallel automatic verification method for processor instruction set
CN103180834A (en) An automated operating system test framework
CN112732579B (en) Automatic test method and system for WebUI
CN101263498A (en) Development of assertions for integrated circuit design simulation
Tierno et al. Open issues for the automotive software testing
Zhu et al. A test automation solution on gui functional test
Sayagh et al. What should your run-time configuration framework do to help developers?
CN106649106A (en) Test case generation method and device
CN111382065B (en) Verification flow management system and method based on test template
Mwaura End-to-End Web Testing with Cypress: Explore techniques for automated frontend web testing with Cypress and JavaScript
CN111143228A (en) Test code generation method and device based on decision table method
CN115176233B (en) Performing tests in deterministic order
Badri et al. Automated State-Based Unit Testing for Aspect-Oriented Programs: A Supporting Framework.
Salam et al. Advanced Framework for Automated Testing of Mobile Applications
Santiago et al. Towards Domain-Specific Testing Languages for Software-as-a-Service.
CN103593284A (en) Test method and test device
Bajaj Hybrid Test Automation Framework for managing Test Data
CN105683938A (en) Recording an application test
Kriuchkova CREATION OF REQUIREMENTS SPECIFICATION FOR TEST FRAMEWORKS
Al-Bayati Pros and cons of manual and automated testing in software project

Legal Events

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

Application publication date: 20170510

RJ01 Rejection of invention patent application after publication