CN108255702A - A kind of test case creation method, apparatus, equipment and storage medium - Google Patents

A kind of test case creation method, apparatus, equipment and storage medium Download PDF

Info

Publication number
CN108255702A
CN108255702A CN201710857301.XA CN201710857301A CN108255702A CN 108255702 A CN108255702 A CN 108255702A CN 201710857301 A CN201710857301 A CN 201710857301A CN 108255702 A CN108255702 A CN 108255702A
Authority
CN
China
Prior art keywords
code
test
keyword
test case
drag
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
CN201710857301.XA
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201710857301.XA priority Critical patent/CN108255702A/en
Priority to PCT/CN2018/080850 priority patent/WO2019056726A1/en
Publication of CN108255702A publication Critical patent/CN108255702A/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/3676Test management for coverage analysis
    • 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 present invention relates to technical field of automation, the present invention provides a kind of test case creation method, apparatus, equipment and storage medium, test case creation method and includes:The corresponding code of the execution action of test case in test case data library is divided into disparate modules by read test use-case data library, and each module is formed removable motion block and shown in the form of keyword on the screen;Permutation and combination is carried out to keyword to the drag operation of different keywords according to user, forms different test cases;Keyword in test case searches corresponding test script code and generates automatic test script;Verify the code integrity of automatic test script, the code of automatic test script is made to meet the code of automated test tool code specification, by this operation, greatly reduces the difficulty for creating test case, make code visualization, allow ordinary person that can also create test case.

Description

A kind of test case creation method, apparatus, equipment and storage medium
Technical field
The present invention relates to automatization testing technique field more particularly to a kind of test case creation method, apparatus, equipment and Storage medium.
Background technology
At present, in automatic test, tester has been write after use-case, it is also necessary to which script developer individually writes one Item is directed to the automatic test script of this use-case, is then tested using automated test tool Run Script, test case Once change, tester reprograms again, and this test method requires height to personnel's program capability, and resource cost is big, work It is low to make efficiency.
Invention content
It, can be with dragging the purpose of the present invention is to provide a kind of test case creation method, apparatus, equipment and storage medium The mode dragged realizes the establishment of test case, and realizes the automation generation of test script, creates use-case and is no longer compiled by personnel The influence of Cheng Nengli.
The invention is realized in this way first aspect present invention provides a kind of test case creation method, the test is used Example creation method includes:
Read test use-case data library, by the corresponding code of the execution action of the test case in test case data library It is divided into disparate modules, each module is made to form removable motion block on the screen and is shown in the form of keyword;
Permutation and combination is carried out to keyword to the drag operation of keyword according to user, forms different test cases;
Keyword in test case searches corresponding test script code and generates automatic test script;
It verifies the code integrity of automatic test script, the code of automatic test script is made to meet automatic test work Has the code of code specification.
Second aspect of the present invention provides a kind of test case creation device, and the test case creation device includes:
Key generator module, for read test use-case data library, by the test case in test case data library The corresponding code of execution action is divided into disparate modules, and each module is made to form removable motion block on the screen and with the shape of keyword Formula is shown;
Test cases technology module carries out permutation and combination to keyword to the drag operation of keyword according to user, is formed Different test cases;
Test script generation module carries out permutation and combination to the drag operation of different keywords according to user to keyword, Form different test cases;
Authentication module verifies the code integrity of automatic test script, and the code of automatic test script is made to meet certainly The code of dynamicization testing tool code specification.
Third aspect present invention provides a kind of terminal device, including memory, processor and is stored in the memory In and the computer program that can run on the processor, the processor realize such as this hair when performing the computer program The step of bright first aspect the method.
Fourth aspect present invention provides a kind of computer readable storage medium, and the computer-readable recording medium storage has Computer program, when the computer program is executed by processor realize as described in the first aspect of the invention method the step of.
The embodiment of the present invention provides a kind of test case creation method, will read test case resolves into different moulds Block, each module correspond to keyword and show on the screen, and the drag operation of keyword arranges keyword according to user Combination, forms different test cases, and the keyword in the test case of formation searches corresponding test script code simultaneously Automatic test script is generated, the code integrity of automatic test script is verified, meets the code of automatic test script The code of automated test tool code specification.The module that this method forms code forms Keywords Dictionary, and make it can Depending on change, the requirement for creating test case to personnel's program capability is greatly reduced.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of flow chart for test case creation method that an embodiment of the present invention provides;
Fig. 2 is a kind of implementation of the step S40 in a kind of test case creation method that an embodiment of the present invention provides The particular flow sheet that mode provides;
Fig. 3 is the idiographic flow of the step S20 in a kind of test case creation method that an embodiment of the present invention provides Figure;
Fig. 4 is that the another embodiment in a kind of test case creation method that an embodiment of the present invention provides provides Particular flow sheet;
Fig. 5 is the structure diagram of a kind of test case creation device that another embodiment of the invention provides;
Fig. 6 is the structure diagram of a kind of test case creation device that another embodiment of the invention provides;
Fig. 7 is that the structure of the authentication module in a kind of test case creation device that another embodiment of the invention provides is shown It is intended to;
Fig. 8 is the structure diagram of terminal device that another embodiment of the invention provides.
Fig. 9 is terminal device schematic diagram in the present embodiment.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In order to illustrate technical scheme of the present invention, illustrated below by specific embodiment.
The embodiment of the present invention provides a kind of test case creation method, as shown in Figure 1, the test case creation method packet It includes:
Step S10. read test use-case datas library, the execution action institute of the test case in test case data library is right The code answered is divided into disparate modules, and each module is made to form removable motion block on the screen and is shown in the form of keyword.
In step slo, the test case in read test use-case data library, reading manner can connect certain tool, For example, can read test use-case be come with connecting test case management tool;Piecemeal is carried out to test case, is by test case number It is divided into disparate modules according to the corresponding code of the execution action of the test case in library, the module being divided into is to realize a function The unit of minimum code, keyword are the titles in code mapping table corresponding with the operational order in test case.Such as:
Above-mentioned code is the use-case for changing a rolling item, wherein<Style type=" text/css ">body {scrollbar-face-color:#330033;}</style>, to realize the minimum code unit of a function;Each module The step of generating removable motion block and being shown in the form of keyword, be code visualization, for example, with keyword ' scroll bar The removable motion block of surface color setting ' display, the code hidden below are<Style type=" text/css ">body {scrollbar-face-color:#330033;}</style>.
It should be noted that key word library is updated according to the update in test case data library read.For example, pass through The test case management tool of connection by networking or a collection of test case of artificial importing, is then updated key word library.
Step S20. carries out permutation and combination to the drag operation of the keyword according to user to keyword, forms test and uses Example.
In step S20, when detecting drag operation of the user to the keyword, for example, detecting user's mouse When pulling some keyword, the keyword is made to be moved according to the place that user drags, the dragging behavior for user, surface On be recombination to keyword, the recombination for the code actually upset by module, be the new test case of generation process.Example Such as, user is by pulling " beginning, last registration, continues broadcasting, time setting, end at login ", you can creates a new use Example.
Keywords of the step S30. in test case searches corresponding test script code and generates automatic test Script.
In step s 30, the keyword in test case searches corresponding test script code and generates automation Test script.There are many lookup methods of test script, for example, the keyword in test case is reflected in keyword and code It is searched in firing table;Generate automatic test script, the step for dependent on automated test tool, common automatic test work Have, Quicktest Professional, IBM Rational Functional Tester and Silk Test etc..Example Such as, the script by default in the present embodiment is generation for this automatic test of IBM Rational Functional Tester The code of tool tool.
Step S40. verifies the code integrity of the automatic test script, meets the code of automatic test script The code of automated test tool code specification.
In step s 40, it is to check whether the script for automating generation is complete and whether has syntax error.
For the step S40 in above-described embodiment, as a kind of embodiment, as shown in Fig. 2, including:
The test case information of step S401. addition generations.
Step S402. adds exception handling code, exception handling code try- in the outer layer of automatic test script Catch codes.
Whether step S403. has syntax error according to try-catch code checks automatic test script, if nothing, holds Row step S405, directly generates final version;If so, then perform step S404.
If try will correctly be done directly test, if try mistakes will walk catch codes, and then grammer is detected Whether mistake.
Step S404. sends out miscue, and tester is made to be modified according to miscue.
Step S405. directly generates final version.
The embodiment of the present invention provides a kind of test case creation method, will read test case resolves into different moulds Block, each module correspond to keyword and show on the screen, and the drag operation of keyword arranges keyword according to user Combination, forms different test cases, and the keyword in the test case of formation searches corresponding test script code simultaneously Automatic test script is generated, the code integrity of automatic test script is verified, meets the code of automatic test script The code of automated test tool code specification.The module that this method forms code forms Keywords Dictionary, and make it can Depending on change, the requirement for creating test case to personnel's program capability is greatly reduced.
For the step S20 in above-described embodiment, as a kind of embodiment, as shown in figure 3, according to user to keyword Drag operation to keyword carry out permutation and combination, form different test cases, including:
Step S201. obtains the drag operation that user carries out, and corresponding pull of the keyword for obtaining drag operation is prompted Information.
In step s 201, when user drags keyword, the corresponding prompt message of keyword is detected at this time, it should Prompt message can be the prompt message that keyword itself carries, such as rule of keyword etc. or user are more Some of self-defining are prompted before dynamic keyword, such as logical place belonging to keyword etc..
Step S202. shows the drag prompt information, and is dragged according to the movement of the motion track of the drag operation Prompt message is dragged, so that user can view the drag prompt information during operation is dragged described in progress.
In step S202, when pulling keyword movement, prompt message is moved with track is pulled.As one kind Embodiment, the color of word is different from the color of keyword in prompt message, and in prompt message word font size not Be same as the font size of keyword, for example, when keyword color and font is black four, text color in prompt message and Font is red small by five.The present embodiment is conducive to user and sees prompt message constantly, and do not obscure mutually with keyword.
For the step S202 in above-described embodiment, as a kind of embodiment, as shown in figure 4, including:
Step S2021. when pulling keyword to certain positions, prompt to prompt by the drag prompt information display parameters The different parameter of user setting.
In step S2021, when pulling keyword to certain positions, in order to adapt to the position, need in keyword Certain parameters in portion's code are modified, and can send out modification parameter prompts at this time, and user can voluntarily be set according to demand Parameter.
Step S2022. sends out wrong drag prompt information and carries out when the position that keyword is dragged to is not inconsistent logical Prompting.
In step S2022, occur the main reason for miscue be under keyword hide code logic according to dragging Sequence it is unworkable, prompt user replace position or replace keyword.
The embodiment of the present invention shows the prompt message of keyword, user is made to be believed according to prompting when user pulls keyword Breath more accurately carries out keyword composition and forms test case, provides the efficiency that user creates test case.
As another embodiment, as shown in figure 5, the test case creation method further includes:
For step S301. when the mark of the sound code file of dragged keyword is changed, generation includes the following contents Mapping relations:The language covered in the mark of the use-case, the relevant sound code file of the keyword and the sound code file by use-case The covering marking of sentence row.
The covering marking of statement line in step S302. detection keywords, then what is found has the keyword of covering mark The use-case at place is determined as the use-case for needing to return, and returns the use-case.
Generation includes in step S301:Generate mark, the relevant sound code file of the keyword and the source code text of use-case The covering marking of the statement line covered in part by use-case, including:
A1. after each use-case end of run, the mark of the use-case is recorded.
A2. the relevant sound code file of the use-case is generated;
A3. the sound code file of the relevant each keyword of the use-case is directed to, generation is covered comprising the use-case in the sound code file The keyword of the sentence coverage information of the sentence line identifier of lid;
A4. the content that the keyword of each sentence coverage information of aggregation step A3 generations includes, it is relevant to obtain use-case Coverage rate message file, the relevant coverage rate message file of use-case include each relevant sound code file of the use-case and each The covering marking of the statement line of relevant sound code file covering.
A5. the content included according to the mark of use-case and the relevant coverage rate message file of use-case, generation is comprising following The mapping relations of content:It is covered in the mark of the use-case, the relevant sound code file of the keyword and the sound code file by use-case Statement line mark.
Generation covering mark when the information of statement line is changed in sound code file in the embodiment of the present invention, and be based on being somebody's turn to do Mapping relations between covering mark generation use-case, keyword and modification sentence, are searched according to the covering marking of the statement line The mapping relations of the covering mark are included, the use-case in the mapping relations found only is identified corresponding use-case is determined as needing The use-case of recurrence, compared with the prior art, can quickly, be accurately positioned out needs recurrence use-case.
Another kind embodiment of the invention provides a kind of test case creation device 50, as shown in fig. 6, test case creation fills 50 are put to include:
Key generator module 501, for read test use-case data library, by the test case in test case data library The corresponding code of execution action be divided into disparate modules, each module forms removable motion block and on the screen with the shape of keyword Formula is shown;
Test cases technology module 502 carries out arrangement group to the drag operation of different keywords according to user to keyword It closes, forms different test cases;
Test case script generation module 503 arranges keyword the drag operation of different keywords according to user Row combination, forms different test cases;
Authentication module 504 verifies the code integrity of automatic test script, meets the code of automatic test script The code of automated test tool code specification.
Further, as shown in fig. 7, test case creation device 50 further includes:
Prompt message module 505 for obtaining the drag operation of user's progress, and obtains the keyword of the drag operation Corresponding drag prompt information shows the drag prompt information of the acquisition, and is moved according to the motion track of the drag operation The drag prompt information is moved, so that user can view described pull during the drag operation is carried out and prompt letter Breath.
Further, as shown in figure 8, authentication module 504 includes:
Test case information adding device 510, for adding test case information, including:Test case title and ID;
Exception handling code adding device 511, for adding abnormality processing generation in the outer layer of the automatic test script Code, the exception handling code are try-catch codes;
Whether errors validity unit 512 has for the automatic test script according to the try-catch code verifications Grammer and mistake is write, if verification does not pass through, send out miscue, if passing through, generate final automatic test script.
The specific work process of module in above-mentioned terminal device can refer to the corresponding process in preceding method embodiment, Details are not described herein.
Another kind embodiment of the invention provides a computer readable storage medium, is stored on the computer readable storage medium There is computer program, which realizes the noise processing method of the cloud rail in above-described embodiment when being executed by processor, To avoid repeating, which is not described herein again.It is used alternatively, the computer program is realized to test in above-described embodiment when being executed by processor The function of each module/unit, repeats, which is not described herein again to avoid in example creating device.
Fig. 9 is the schematic diagram of terminal device in the present embodiment.As shown in figure 9, terminal device 6 includes processor 60, storage Device 61 and it is stored in the computer program 62 that can be run in memory 61 and on processor 60.Processor 60 performs computer Realize each step of test case creation method in above-described embodiment during program 62, such as step S10, S20 shown in FIG. 1, S30 and S40.Alternatively, processor 60 realizes each mould of test case creation device in above-described embodiment when performing computer program 62 The function of block/unit, key generator module 501 as shown in Figure 7, Test cases technology module 502, the generation of test case script The function of module 503, authentication module 504.
Illustratively, computer program 62 can be divided into one or more module/units, one or more mould Block/unit is stored in memory 61, and is performed by processor 60, to complete the present invention.One or more module/units can To be the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing computer program 62 at end Implementation procedure in end equipment 6.For example, computer program 62 can be divided into key generator module 501, test case Generation module 502, test case script generation module 503, authentication module 504.
The terminal device 6 can be the computing devices such as desktop PC, notebook, palm PC and cloud server. Terminal device may include, but be not limited only to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 9 is only The example of terminal device 6 does not form the restriction to terminal device 6, can include than illustrate more or fewer components or Combine certain components or different components, for example, terminal device can also include input-output equipment, network access equipment, Bus etc..
Alleged processor 60 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
Memory 61 can be the internal storage unit of terminal device 6, such as the hard disk or memory of terminal device 6.Storage Device 61 can also be the plug-in type hard disk being equipped on the External memory equipment of terminal device 6, such as terminal device 6, intelligent storage Block (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc.. Further, memory 61 can also both include the internal storage unit of terminal device 6 or including External memory equipment.Memory 61 other programs and data for storing computer program and needed for terminal device.Memory 61 can be also used for temporarily Store the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion The all or part of function of description.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and be independent product sale or In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium It can include:Any entity of the computer program code or device, recording medium, USB flash disk, mobile hard disk, magnetic can be carried Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to aforementioned reality Example is applied the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each Technical solution recorded in embodiment modifies or carries out equivalent replacement to which part technical characteristic;And these are changed Or replace, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

  1. A kind of 1. test case creation method, which is characterized in that the test case creation method includes:
    Read test use-case data library, by the corresponding code of the execution action of the test case in the test case data library It is divided into disparate modules, each module is made to form removable motion block on the screen and is shown in the form of keyword;
    Permutation and combination is carried out to keyword to the drag operation of the keyword according to user, forms test case;
    Keyword in the test case searches corresponding test script code and generates automatic test script;
    It verifies the code integrity of the automatic test script, the code of the automatic test script is made to meet automation and is surveyed Trial work has the code of code specification.
  2. 2. use-case method is created as described in claim 1, which is characterized in that the module is to realize the minimum generation of a function The unit of code;
    The keyword is the title in code mapping table corresponding with the operational order in test case.
  3. 3. use-case method is created as described in claim 1, which is characterized in that according to user to the drag operation of different keywords Permutation and combination is carried out to keyword, including:
    Obtain the drag operation that user carries out, and the corresponding drag prompt information of keyword for obtaining the drag operation;
    It shows the drag prompt information, and the drag prompt information is moved according to the motion track of the drag operation, with Make user that can view the drag prompt information during operation is dragged described in progress.
  4. 4. use-case method is created as claimed in claim 3, which is characterized in that show the drag prompt information, and according to institute The motion track for stating drag operation moves the drag prompt information, so that user's energy during the drag operation is carried out The drag prompt information is enough viewed, including:
    When pulling keyword to certain positions, the drag prompt information display parameters prompt to prompt user setting different Parameter;
    When the position that the keyword is dragged to is not inconsistent logical, sends out wrong drag prompt information and prompted.
  5. 5. use-case method is created as described in claim 1, which is characterized in that verify that the code of the automatic test script is complete Whole property makes the code of automatic test script meet the code of automated test tool code specification, including:
    The test case information is added, including:Test case title and ID;
    Exception handling code is added in the outer layer of the automatic test script, the exception handling code is try-catch generations Code;
    Whether grammer is had according to the try-catch code verifications automatic test script and writes mistake, if verification does not pass through, Miscue is then sent out, if being verified, generates final test script.
  6. 6. a kind of test case creation device, which is characterized in that including:
    Key generator module, for read test use-case data library, by the test case in the test case data library The corresponding code of execution action is divided into disparate modules, and each module is made to form removable motion block on the screen and with the shape of keyword Formula is shown;
    Test cases technology module carries out permutation and combination to keyword to the drag operation of different keywords according to user, is formed Different test cases;
    Test case script generation module carries out permutation and combination to the drag operation of different keywords according to user to keyword, Form different test cases;
    Authentication module verifies the code integrity of the automatic test script, accords with the code of the automatic test script Close the code of automated test tool code specification.
  7. 7. creating device as claimed in claim 6, which is characterized in that the creating device further includes:
    Prompt message module, for obtaining the drag operation of user's progress, and the keyword for obtaining the drag operation is corresponding Drag prompt information shows the drag prompt information of the acquisition, and according to the movement of the motion track of the drag operation Drag prompt information, so that user can view the drag prompt information during the drag operation is carried out.
  8. 8. creating device as claimed in claim 6, which is characterized in that the authentication module includes:
    Test case information adding device, for adding test case information, including:Test case title and ID;
    Exception handling code adding device, it is described for adding exception handling code in the outer layer of the automatic test script Exception handling code is try-catch codes;
    Errors validity unit, for the automatic test script according to the try-catch code verifications whether have grammer and Mistake is write, if verification does not pass through, miscue is sent out, if being verified, generates final automatic test script.
  9. 9. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 5 when performing the computer program The step of any one the method.
  10. 10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 5 the method.
CN201710857301.XA 2017-09-21 2017-09-21 A kind of test case creation method, apparatus, equipment and storage medium Pending CN108255702A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710857301.XA CN108255702A (en) 2017-09-21 2017-09-21 A kind of test case creation method, apparatus, equipment and storage medium
PCT/CN2018/080850 WO2019056726A1 (en) 2017-09-21 2018-03-28 Test case creation method and device, equipment, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710857301.XA CN108255702A (en) 2017-09-21 2017-09-21 A kind of test case creation method, apparatus, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108255702A true CN108255702A (en) 2018-07-06

Family

ID=62722218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710857301.XA Pending CN108255702A (en) 2017-09-21 2017-09-21 A kind of test case creation method, apparatus, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN108255702A (en)
WO (1) WO2019056726A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459810A (en) * 2020-03-25 2020-07-28 南阳柯丽尔科技有限公司 Method of constructing application program, programming apparatus, and computer-readable storage medium
CN112286813A (en) * 2020-10-30 2021-01-29 上海纳恩汽车技术有限公司 Automatic generation system and method for case keywords
CN112506756A (en) * 2020-11-11 2021-03-16 东风汽车集团有限公司 Vehicle controller test case script generation method and device
CN113220595A (en) * 2021-06-11 2021-08-06 中国农业银行股份有限公司 Test method and device
CN113626326A (en) * 2021-08-09 2021-11-09 三峡高科信息技术有限责任公司 Dragging type zero code front end automatic test system based on image recognition
CN113742238A (en) * 2021-09-14 2021-12-03 南方电网深圳数字电网研究院有限公司 Test case generation method and device
CN113760730A (en) * 2021-01-27 2021-12-07 北京京东振世信息技术有限公司 Automatic testing method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567193A (en) * 2010-12-09 2012-07-11 北京新媒传信科技有限公司 Method and system for converting test case to automated testing script
CN103034582A (en) * 2011-09-28 2013-04-10 腾讯科技(深圳)有限公司 Method and system for positioning regression cases
CN103441900A (en) * 2013-08-27 2013-12-11 上海新炬网络技术有限公司 Centralization cross-platform automated testing system and control method thereof
US20130339332A1 (en) * 2012-06-18 2013-12-19 Mark Ellery Ogram News reporting system
CN103530041A (en) * 2013-08-19 2014-01-22 贝壳网际(北京)安全技术有限公司 Dragging processing method and device and terminal equipment
CN104932980A (en) * 2015-06-30 2015-09-23 北京奇虎科技有限公司 Automatic software test method and device
CN106649097A (en) * 2016-11-04 2017-05-10 江苏电力信息技术有限公司 Mobile automatic testing method based on object separation management

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722437B (en) * 2012-05-29 2015-12-16 北京空间飞行器总体设计部 A kind of spacecraft-testing system based on assembly and script and method of testing
CN104461855B (en) * 2013-09-22 2019-03-26 腾讯科技(北京)有限公司 A kind of Web automated testing method, system and device
CN105677306A (en) * 2014-11-18 2016-06-15 中兴通讯股份有限公司 Automation script compiling method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567193A (en) * 2010-12-09 2012-07-11 北京新媒传信科技有限公司 Method and system for converting test case to automated testing script
CN103034582A (en) * 2011-09-28 2013-04-10 腾讯科技(深圳)有限公司 Method and system for positioning regression cases
US20130339332A1 (en) * 2012-06-18 2013-12-19 Mark Ellery Ogram News reporting system
CN103530041A (en) * 2013-08-19 2014-01-22 贝壳网际(北京)安全技术有限公司 Dragging processing method and device and terminal equipment
CN103441900A (en) * 2013-08-27 2013-12-11 上海新炬网络技术有限公司 Centralization cross-platform automated testing system and control method thereof
CN104932980A (en) * 2015-06-30 2015-09-23 北京奇虎科技有限公司 Automatic software test method and device
CN106649097A (en) * 2016-11-04 2017-05-10 江苏电力信息技术有限公司 Mobile automatic testing method based on object separation management

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459810A (en) * 2020-03-25 2020-07-28 南阳柯丽尔科技有限公司 Method of constructing application program, programming apparatus, and computer-readable storage medium
CN112286813A (en) * 2020-10-30 2021-01-29 上海纳恩汽车技术有限公司 Automatic generation system and method for case keywords
CN112286813B (en) * 2020-10-30 2023-12-12 上海纳恩汽车技术股份有限公司 Automatic generation system and method for use case keywords
CN112506756A (en) * 2020-11-11 2021-03-16 东风汽车集团有限公司 Vehicle controller test case script generation method and device
CN113760730A (en) * 2021-01-27 2021-12-07 北京京东振世信息技术有限公司 Automatic testing method and device
CN113220595A (en) * 2021-06-11 2021-08-06 中国农业银行股份有限公司 Test method and device
CN113220595B (en) * 2021-06-11 2023-10-03 中国农业银行股份有限公司 Test method and test equipment
CN113626326A (en) * 2021-08-09 2021-11-09 三峡高科信息技术有限责任公司 Dragging type zero code front end automatic test system based on image recognition
CN113742238A (en) * 2021-09-14 2021-12-03 南方电网深圳数字电网研究院有限公司 Test case generation method and device

Also Published As

Publication number Publication date
WO2019056726A1 (en) 2019-03-28

Similar Documents

Publication Publication Date Title
CN108255702A (en) A kind of test case creation method, apparatus, equipment and storage medium
CN108459957A (en) Test method, device, equipment and the storage medium of fund system test case
CN106844217B (en) Method and device for embedding point of applied control and readable storage medium
US8819642B2 (en) Method and system for generating and processing black box test cases
Tao et al. Testing and quality validation for ai software–perspectives, issues, and practices
CN106104472A (en) Specify logic checking rule and logic checking rule is applied to data
Gupta et al. Neural attribution for semantic bug-localization in student programs
US10380011B2 (en) Method, apparatus, and computer-readable medium for performing functional testing of software
CN104391934A (en) Data calibration method and device
CN110096434A (en) A kind of interface test method and device
CN105760292B (en) A kind of assertion verification method and apparatus for unit testing
WO2007001108A1 (en) System for providing feature-oriented software product line engineering environment
CN106250319B (en) Static code scanning result treating method and apparatus
Oliveira et al. Automated test oracles: State of the art, taxonomies, and trends
CN105975269B (en) A kind of requirements verification method based on procedural model
CN103425584A (en) Large-scale application regression testing information processing method based on Java bytecode
CN104572463A (en) Method and device for testing interface information
US9304893B1 (en) Integrated software development and test case management system
CN108460068A (en) Method, apparatus, storage medium and the terminal that report imports and exports
CN106843878A (en) A kind of model generating method and system
CN109582906A (en) Determination method, apparatus, equipment and the storage medium of data reliability
CN106250755A (en) For generating the method and device of identifying code
CN109165209A (en) The data verification method, device of object type, equipment and medium in database
CN111859862A (en) Text data labeling method and device, storage medium and electronic device
CN110209572A (en) Ui testing method, ui testing system and terminal

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: 20180706

RJ01 Rejection of invention patent application after publication