CN109446059A - The generation method and device of test template script - Google Patents

The generation method and device of test template script Download PDF

Info

Publication number
CN109446059A
CN109446059A CN201811064684.6A CN201811064684A CN109446059A CN 109446059 A CN109446059 A CN 109446059A CN 201811064684 A CN201811064684 A CN 201811064684A CN 109446059 A CN109446059 A CN 109446059A
Authority
CN
China
Prior art keywords
script
test
parameter
argument
type
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
CN201811064684.6A
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 University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201811064684.6A priority Critical patent/CN109446059A/en
Publication of CN109446059A publication Critical patent/CN109446059A/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 present invention provides the generation method and device of a kind of test template script, wherein method includes: to define corresponding keyword to the component type and action type of examining system, establishes key word library;Test case document is write with natural language, test case document is used to describe all steps of test assignment;According to preset TCDL scripting language grammer and key word library, all steps in test case document are converted into script sentence;Data Connection Pool is created, the parameter in Data Connection Pool is corresponding with script argument in script sentence, and script argument is replaced with corresponding parameter, obtains test template script.The generation method and device of test template script provided in an embodiment of the present invention, by replacing design parameter with the parameter of Data Connection Pool, realize the separation of test template script and data, so as to quickly generate a large amount of test cases, the technical requirements that software test personnel use automated test tool are reduced, testing efficiency is significantly improved.

Description

The generation method and device of test template script
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of generation methods and dress of test template script It sets.
Background technique
With the rapid development of Internet technology, the demand of software development is more and more.In software development process, generally Used time longest and most cumbersome process are software tests.The purpose of software test is with less time and manpower, systematically Potential various mistakes and defect in software are found out, while the function of certifying software and performance are consistent with software requirement.With The quantity of software development is more and more, and the software size developed is increasing, occur in software development process defect or The chance of mistake becomes more.Along with understanding of the market for the importance of software quality gradually increases, software test is soft Importance in the part project implementation process also becomes increasingly conspicuous.
Existing software development model, generally iterative development, in software iterative process, it is also necessary to which multiple regression is surveyed Examination.Therefore, software test is a very many and diverse job.During manual testing, there are many duplicate processes, mesh Preceding mainstream is using the method tested using automated test tool.However, the automation journey of existing testing tool Spend lower, most of there is still a need for pass through script typing testing procedure, inefficiency before test;And the Input Process of script is still It is so the more demanding process of complexity, a technical level.
Currently, being able to solve the above problem still without a kind of method.
Summary of the invention
In view of the problems of the existing technology, the embodiment of the present invention provides the generation method and dress of a kind of test template script It sets.
The embodiment of the present invention provides a kind of generation method of test template script, comprising:
Component type and action type to examining system define corresponding keyword, establish key word library;
Test case document is write with natural language, the test case document is used to describe all steps of test assignment Suddenly;
According to preset TCDL scripting language grammer and key word library, all steps in the test case document are turned It is changed to script sentence;
Data Connection Pool is created, the parameter in the Data Connection Pool is corresponding with script argument in the script sentence, The script argument is replaced with into corresponding parameter, obtains test template script.
The embodiment of the present invention provides a kind of generating means of test template script, comprising:
Construct module, for examining system component type and action type define corresponding keyword, establish crucial Character library;
Collector, for writing test case document with natural language, the test case document is for describing test All steps of task;
Conversion module is used for according to preset TCDL scripting language grammer and key word library, by the test case document In all steps be converted to script sentence;
Generation module, for creating Data Connection Pool, foot in the parameter and the script sentence in the Data Connection Pool This parameter is corresponding, and the script argument is replaced with corresponding parameter, obtains test template script.
The generation method and device of test template script provided in an embodiment of the present invention are compiled according to TCDL scripting language and are surveyed Document is tried, by, instead of design parameter, realizing the separation of test template script and data with the parameter of Data Connection Pool, so as to Enough a large amount of test cases are quickly generated, software test personnel are reduced by configuring different script arguments in practice Using the technical requirements of automated test tool, the efficiency of software test is greatly improved.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram of the generation method of test template of embodiment of the present invention script;
Fig. 2 is the structural schematic diagram of the generating means of test template of embodiment of the present invention script;
Fig. 3 is electronic devices structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
The industrialized development of Software Industry is proposed high requirement to the quality and its development efficiency of software, and software is surveyed The key for software quality assurance in Software Develop Project Management is studied, increasingly important role is just being played.Automation is surveyed It studies to improve the important means of Efficiency of Software Testing, is also paid attention to by more software developers.
Existing automated test tool generally requires programming personnel and goes to write the test script that can be run;And this hair It is bright to provide a set of new scripting language TCDL (Test Case Describe Language, case description language), by this Scripting language compiler test step forms final test template script after treatment.Pass through the parameter of test template script It is set as the mode of the parameter of Data Connection Pool, realizes the separation of test script template and real data.Therefore, with survey In the practical application for trying script template, a large amount of test scripts can be quickly generated after treatment by configuring different data, It is simpler quick compared to the prior art, reduce the requirement for tester's technical level, while also significant improving Testing efficiency.
It should be understood that the professional technique noun being mentioned above, is usual meaning understood by one of ordinary skill in the art Justice.
Fig. 1 is the generation method flow chart of test template script of the present invention, as shown in Figure 1, comprising:
S1, corresponding keyword is defined to the component type and action type of examining system, establishes key word library.
It should be noted that being defined a set of firstly the need of component and action type for being likely to occur in examining system Keyword establishes key word library.Examining system can be UI (User Interface, user interface) system or integrated system etc. Deng, it should be appreciated that the present invention to the type of examining system with no restriction.In order to make it easy to understand, hereafter will be with UI system Example.It is keyword webEdit by input frame Component Type Definitions for example, being keyword button by button assembly type definition, It is keyword lable etc. by label assembly type definition;Will click on Operation Definition is keyword click, will input Operation Definition For keyword set etc..Then in one file by all set of keywords, key word library is formed.Such as an information Management system, can define Webedit (Text Entry), button (button), label (label), set (filling in value), A set of keywords such as click (click).After establishing key word library, when being subsequently generated test template, pass can be called directly Key character library.
S2, test case document is write with natural language, test case document is used to describe all steps of test assignment.
It should be noted that test case document refers to the description to test assignment.Natural language can be used, test is appointed The step of business, which is depicted, comes, and is enumerated in order.For example, the test for information management system login interface, can incite somebody to action Test assignment natural language description are as follows: " step 1 inputs user name in the user name input field of login interface xiaoming;Step 2 inputs password 123456 in the Password Input column of login interface;Step 3 clicks login interface Login button ".
S3, according to preset TCDL scripting language grammer and key word library, all steps in test case document are turned It is changed to script sentence.
It should be noted that, according to the grammer of TCDL scripting language, passing through calling after having write test case document All steps in test case document are converted to script sentence by key word library.For example, for upper in test case document " inputting user name xiaoming in the user name input field of login interface " is stated in step 1, according to the language of TCDL scripting language Method is described with TCDL scripting language, available corresponding script sentence are as follows:
" UI (" login interface ") .Webedit (" user name ") .set (" xiaoming ");".Similarly, available all The script sentence of step are as follows:
" UI (" login interface ") .Webedit (" user name ") .set (" xiaoming ");
UI (" login interface ") .Webedit (" password ") .set (" 123456 ");
UI (" login interface ") .button (" login ") .click ();".
S4, for creating Data Connection Pool, the parameter in Data Connection Pool is corresponding with script argument in script sentence, will Script argument replaces with corresponding parameter, obtains test template script.
It should be noted that can be on the basis of script sentence, by substituting script with the parameter of Data Connection Pool Parameter, to realize the separation of script Yu specific test data, realizes the highly automated of test to generate test template script Change.It will be apparent to those skilled in the art that parameter (parameter, formal parameter) is in defined function name and function body Wait the parameter used, it is therefore an objective to the parameter being passed to when calling the function for receiving.By the script argument replacement in script sentence For corresponding parameter, to obtain test template script;Wherein, parameter is stored in Data Connection Pool.For example, for above-mentioned foot This sentence can indicate parameter with the mode of " Data.TableColumn (" parameter column name ") ", by the script in script sentence Parameter is replaced, the test template script obtained from are as follows:
" UI (" login interface ") .Webedit (" user name ") .set (Data.TableColumn (" user name "));
UI (" login interface ") .Webedit (" password ") .set (Data.TableColumn (" password "));
UI (" login interface ") .button (" login ") .click ();#Data.TableColumn (" login ");".
Wherein, with the form of #Data.TableColumn (" login "), to whether clicking login button and carry out parametrization mark Note, that is to say, that in data form, the value of " login " this column will determine whether click login button in test.
After generating test template script, a large amount of test cases can be quickly generated using test template script as foundation.? In practical application, it is only necessary to configure different test datas in Data Connection Pool, after being combined with test template script, just can Quickly generate a large amount of test case.According to different situation performance test use-cases, by handling, translating, for surveying accordingly Trial work tool executes.
The generation method of test template script provided in an embodiment of the present invention indicates test step with TCDL scripting language Suddenly, by with the parameter of Data Connection Pool replace design parameter, realize test template script and data separation, so as to By configuring different script arguments in practice, a large amount of test cases are quickly generated, software test personnel use is reduced The technical requirements of automated test tool greatly improve the efficiency of software test.
On the basis of the above embodiments, Data Connection Pool is created, later further include: creation data form, data form For storing argument corresponding with the parameter, correspondingly, parameter records position of the corresponding argument in the data form.
It should be noted that argument is stored in the form of data form, can store in such as database, and shape Ginseng is stored in Data Connection Pool, indicates position of the corresponding argument in data form.For example, for following script sentence:
" UI (" login interface ") .Webedit (" login name input frame ") .set (Data.TableColumn (" is logged in Name "));";
Wherein, " Data.TableColumn (" login name ") " is a parameter, is stored in Data Connection Pool, represents The argument of " login name " this column in data form, argument can be such as " xiaoming " etc..
On the basis of the above embodiments, test template script is obtained, later further include: according to what is recorded in the parameter The corresponding argument is replaced the parameter, to obtain test script by position of the corresponding argument in the data form.
It should be noted that can use test template script after obtaining test template script and tested.In reality In, by configuring corresponding data in the corresponding position of data form, a large amount of test cases can be quickly generated;For example, Various parameters or some simple script sentences are configured, to obtain different test scripts according to actual needs.
For example, according to TCDL scripting language grammer, for the test case of " inputting user name in login name input frame " The sentence of document calls key word library to generate script sentence are as follows:
" UI (" login interface ") .Webedit (" login name input frame ") .set (" xiaoming ");";
Then, by the way that specific script argument " xiaoming " to be replaced with to the parameter of Data Connection Pool " Data.TableColumn (" login name ") ", obtains:
" UI (" login interface ") .Webedit (" login name input frame ") .set (Data.TableColumn (" is logged in Name "));";
Test template script is obtained as a result,.It, can be in number when performance test template script generates test case Corresponding data are configured according to the corresponding position of table, for example, in the position of test template script corresponding " login name ", configuration is stepped on Entitled " xiaohong " is recorded, test script just can be directly generated are as follows:
" UI (" login interface ") .Webedit (" login name input frame ") .set (" xiaohong ");".
It should be understood that in actual application process, it can be according to the different demands of test, to the test mould of generation Plate script is further parsed, and test case is ultimately generated.For example, the processing of above-mentioned test script can be parsed into Groovy script:
" WebEdit_SeleniumImpl.getInstance () .LocateTestObject (" login name ", " login name Input frame ") .Set (" xiaohong ");
ScriptExecuteTools.Reporter.log (" ", " in input frame<"+" login name "+">input value: " +"xiaohong");".
On the basis of the above embodiments, the grammer for presetting TCDL scripting language includes: the foot of default TCDL scripting language This parameter type and statement law.Script argument type includes expression formula or random parameter.Wherein, expression formula can be atom Value, variable name, tool generic attribute, arithmetic, character string, function call, bracket, logical operator, sequence and dictionary class One of type is a variety of;Expression formula can be combined or nesting.
It should be noted that script argument type includes expression formula, expression formula can be following type or its any group Close: value of atom, variable name, tool generic attribute, arithmetic, character string, function call, bracket, logical operator, sequence and Dictionary etc..Wherein, value of atom can be character string constant (including double quotation marks), decimal, integer or Boolean;Arithmetic Including+(adding) ,-(subtracting), * (multiplying) ,/(removing);Logical operator includes and and or.Script argument type further includes random parameter, Random parameter can be the parameter of Data Generator generation.Data Generator can be customized some tool functions, can Automatically generate random number, random letters, current date or a certain range of numerical value, letter and date etc..
On the basis of the above embodiments, presetting statement law includes default statement type, and statement type includes object behaviour Make type, direct function call type and tool-class static function call type.
It should be noted that for Object Operations type, corresponding statement law are as follows:
" UI (" UI title ") component type (" component Name ") action type (" parameter ");", for example, " UI (" is logged in Interface ") .WebEdit (" login name input frame ") .set (" xiaoming ");".
For direct function call type, corresponding statement law are as follows: function name (" parameter "), such as: random (10).
For tool-class static function call type, corresponding statement law are as follows: static tool name static function name (" ginseng Number "), such as: " Reproter.log (" hello world ") ".
The embodiment of the present invention is a kind of for describing the scripting language of automatic test step by defining, and utilizes the foot This language conveniently and efficiently writes test script, then by configuring different data, reaches and quickly generates a large amount of test cases Purpose, so as to largely reduce the repeated work of software test personnel, reduce software test personnel use it is automatic Change the technical requirements of testing tool, greatly improve the efficiency of software test, there is wide application space.
Fig. 2 is the generating means example structure schematic diagram of test template script of the present invention, as shown in Fig. 2, including building Module 201, collector 202, conversion module 203 and generation module 204, in which: building module 201 is used for examining system Component type and action type define corresponding keyword, establish key word library;Collector 202 with natural language for being write Test case document, test case document are used to describe all steps of test assignment;Conversion module 203 is used for according to preset All steps in test case document are converted to script sentence by TCDL scripting language grammer and key word library;Generation module 204 for creating Data Connection Pool, and the parameter in Data Connection Pool is corresponding with script argument in script sentence, by script argument Corresponding parameter is replaced with, test template script is obtained.
It should be noted that building module 201 defines one for the component and action type that are likely to occur in system under test (SUT) Keyword is covered, key word library is established, when being subsequently generated test template, key word library can be called directly.Then, collector 202, according to the needs of test, write corresponding test case document.Natural language can be used, by the automatic test of needs Step, which is depicted, to be come, and is enumerated in order.After having write test case document, conversion module 203 is according to TCDL foot The grammer of this language generates script sentence by calling key word library.On the basis of script sentence, generation module 204 is logical It crosses and substitutes script argument with the parameter of Data Connection Pool, to generate test template script, to realize script and specific test number According to separation, realize the increasingly automated of test.
The generating means of test template script provided in an embodiment of the present invention provide a kind of for describing automatic test The scripting language of step, and according to TCDL scripting language compiler test document, it is specific by being replaced with the parameter of Data Connection Pool Parameter, realize test template script and data separation, so as in practice by configuring different script arguments, A large amount of test cases are quickly generated, so as to largely reduce the repeated work of software test personnel, software is reduced and surveys Examination personnel use the technical requirements of automated test tool, greatly improve the efficiency of software test.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
For example as follows:
Fig. 3 illustrates a kind of entity structure schematic diagram of server, as shown in figure 3, the server may include: processor (processor) 310, communication interface (Communications Interface) 320, memory (memory) 330 and communication Bus 340, wherein processor 310, communication interface 320, memory 330 complete mutual communication by communication bus 340. Processor 310 can call the logical order in memory 330, to execute following method: to the component type of examining system and Action type defines corresponding keyword, establishes key word library;Test case document, test case document are write with natural language For describing all steps of test assignment;According to preset TCDL scripting language grammer and key word library, by test case text All steps in shelves are converted to script sentence;Create Data Connection Pool, foot in the parameter and script sentence in Data Connection Pool This parameter is corresponding, and script argument is replaced with corresponding parameter, obtains test template script.
In addition, the logical order in above-mentioned memory 330 can be realized by way of SFU software functional unit and conduct Independent product when selling or using, can store in a computer readable storage medium.Based on this understanding, originally Substantially the part of the part that contributes to existing technology or the technical solution can be in other words for the technical solution of invention The form of software product embodies, which is stored in a storage medium, including some instructions to So that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation of the present invention The all or part of the steps of example the method.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. it is various It can store the medium of program code.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium Matter stores computer instruction, which makes computer execute the generation of test template script provided by above-described embodiment Method, for example, component type and action type to examining system define corresponding keyword, establish key word library;With Natural language writes test case document, and test case document is used to describe all steps of test assignment;According to preset All steps in test case document are converted to script sentence by TCDL scripting language grammer and key word library;Create data Connection pool, the parameter in Data Connection Pool is corresponding with script argument in script sentence, and script argument is replaced with corresponding shape Ginseng obtains test template script.
In addition, those skilled in the art are it should be understood that in application documents of the invention, term " includes ", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion so that include a series of elements process, Method, article or equipment not only include those elements, but also including other elements that are not explicitly listed, or are also wrapped It includes as elements inherent to such a process, method, article, or device.In the absence of more restrictions, by sentence " including One ... " limit element, it is not excluded that there is also another in the process, method, article or apparatus that includes the element Outer identical element.
In specification of the invention, numerous specific details are set forth.It should be understood, however, that the embodiment of the present invention can To practice without these specific details.In some instances, well known method, structure and skill is not been shown in detail Art, so as not to obscure the understanding of this specification.Similarly, it should be understood that disclose in order to simplify the present invention and helps to understand respectively One or more of a inventive aspect, in the above description of the exemplary embodiment of the present invention, each spy of the invention Sign is grouped together into a single embodiment, figure, or description thereof sometimes.
However, should not explain the method for the disclosure is in reflect an intention that i.e. the claimed invention requirement Features more more than feature expressly recited in each claim.More precisely, as claims are reflected Like that, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows the power of specific embodiment Thus sharp claim is expressly incorporated in the specific embodiment, wherein each claim itself is as independent reality of the invention Apply example.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of generation method of test template script characterized by comprising
Component type and action type to examining system define corresponding keyword, establish key word library;
Test case document is write with natural language, the test case document is used to describe all steps of test assignment;
According to the grammer of preset TCDL scripting language and the key word library, by all steps in the test case document Be converted to script sentence;
Data Connection Pool is created, the parameter in the Data Connection Pool is corresponding with script argument in the script sentence, by institute It states script argument and replaces with corresponding parameter, obtain test template script.
2. the method according to claim 1, wherein the creation Data Connection Pool, later further include: creation number According to table, the data form is for storing argument corresponding with the parameter, and correspondingly, the parameter records corresponding argument Position in the data form.
3. according to the method described in claim 2, it is characterized in that, the acquisition test template script, later further include:
According to position of the corresponding argument recorded in the parameter in the data form, the corresponding argument is replaced The parameter, to obtain test script.
4. the method according to claim 1, wherein the grammer for presetting the TCDL scripting language includes: default The script argument type and statement law of TCDL scripting language.
5. according to the method described in claim 4, it is characterized in that, presetting the statement law includes: default statement type, institute Stating statement type includes Object Operations type, direct function call type and tool-class static function call type.
6. according to the method described in claim 4, it is characterized in that, the script argument type includes: expression formula or random ginseng Number.
7. according to the method described in claim 6, it is characterized in that, the expression formula can be value of atom, variable name, tool-class One of attribute, arithmetic, character string, function call, bracket, logical operator, sequence and dictionary type are a variety of; Wherein, the expression formula can combine or nested.
8. a kind of generating means of test template script characterized by comprising
Construct module, for examining system component type and action type define corresponding keyword, establish key word library;
Collector, for writing test case document with natural language, the test case document is for describing test assignment All steps;
Conversion module is used for according to preset TCDL scripting language grammer and key word library, will be in the test case document All steps are converted to script sentence;
Generation module, for creating Data Connection Pool, script is joined in the parameter and the script sentence in the Data Connection Pool Number is corresponding, and the script argument is replaced with corresponding parameter, obtains test template script.
9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that realized when the processor executes described program and test mould as described in any one of claim 1 to 7 The step of generation method of plate script.
10. a kind of non-transient computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer It is realized when program is executed by processor as described in any one of claim 1 to 7 the step of the generation method of test template script.
CN201811064684.6A 2018-09-12 2018-09-12 The generation method and device of test template script Pending CN109446059A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811064684.6A CN109446059A (en) 2018-09-12 2018-09-12 The generation method and device of test template script

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811064684.6A CN109446059A (en) 2018-09-12 2018-09-12 The generation method and device of test template script

Publications (1)

Publication Number Publication Date
CN109446059A true CN109446059A (en) 2019-03-08

Family

ID=65530368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811064684.6A Pending CN109446059A (en) 2018-09-12 2018-09-12 The generation method and device of test template script

Country Status (1)

Country Link
CN (1) CN109446059A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109818833A (en) * 2019-03-14 2019-05-28 北京信而泰科技股份有限公司 A kind of ethernet test system and ethernet test method
CN110162468A (en) * 2019-04-26 2019-08-23 腾讯科技(深圳)有限公司 A kind of test method, device and computer readable storage medium
CN110334019A (en) * 2019-06-18 2019-10-15 平安普惠企业管理有限公司 A kind of test method, device and readable storage medium storing program for executing
CN110347598A (en) * 2019-07-10 2019-10-18 上海达梦数据库有限公司 A kind of test script generation method, device, server and storage medium
CN110888818A (en) * 2019-12-22 2020-03-17 普信恒业科技发展(北京)有限公司 Test case configuration system and method, automatic test system and method
CN110928775A (en) * 2019-11-12 2020-03-27 许继集团有限公司 Test script configuration method and device for IEC61850 consistency test
CN111176979A (en) * 2019-11-20 2020-05-19 四川蜀天梦图数据科技有限公司 Test case generation method and device of graph database
CN111798833A (en) * 2019-04-04 2020-10-20 北京京东尚科信息技术有限公司 Voice test method, device, equipment and storage medium
CN112162915A (en) * 2020-08-27 2021-01-01 杭州大搜车汽车服务有限公司 Test data generation method, device, equipment and storage medium
CN112306841A (en) * 2019-07-26 2021-02-02 比亚迪股份有限公司 Automatic testing method, device and equipment for track service
CN112597037A (en) * 2020-12-28 2021-04-02 江苏苏宁银行股份有限公司 Java and Python combined automatic script development method and device
CN113986441A (en) * 2021-11-05 2022-01-28 中国航空无线电电子研究所 Automatic testing method for man-machine interaction interface of airplane ground station software
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
CN104484269A (en) * 2014-11-27 2015-04-01 北京广利核系统工程有限公司 Method for automatically generating testing script
US9098632B2 (en) * 2010-12-03 2015-08-04 Dcs Consultancy Services Limited Computer program testing
CN107133161A (en) * 2016-02-26 2017-09-05 中国移动(深圳)有限公司 One kind generation client performance test script method and device
CN107807877A (en) * 2016-09-08 2018-03-16 北京京东尚科信息技术有限公司 A kind of method and apparatus of code performance test
CN107943689A (en) * 2017-11-16 2018-04-20 北京卫星信息工程研究所 Automated testing method and test system based on parametrization test script

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9098632B2 (en) * 2010-12-03 2015-08-04 Dcs Consultancy Services Limited Computer program testing
CN104484269A (en) * 2014-11-27 2015-04-01 北京广利核系统工程有限公司 Method for automatically generating testing script
CN107133161A (en) * 2016-02-26 2017-09-05 中国移动(深圳)有限公司 One kind generation client performance test script method and device
CN107807877A (en) * 2016-09-08 2018-03-16 北京京东尚科信息技术有限公司 A kind of method and apparatus of code performance test
CN107943689A (en) * 2017-11-16 2018-04-20 北京卫星信息工程研究所 Automated testing method and test system based on parametrization test script

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王明兰等: "测试用例描述语言研究", 《计算机工程与设计》 *

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109818833A (en) * 2019-03-14 2019-05-28 北京信而泰科技股份有限公司 A kind of ethernet test system and ethernet test method
CN109818833B (en) * 2019-03-14 2021-08-17 北京信而泰科技股份有限公司 Ethernet test system and Ethernet test method
CN111798833B (en) * 2019-04-04 2023-12-01 北京京东尚科信息技术有限公司 Voice test method, device, equipment and storage medium
CN111798833A (en) * 2019-04-04 2020-10-20 北京京东尚科信息技术有限公司 Voice test method, device, equipment and storage medium
CN110162468A (en) * 2019-04-26 2019-08-23 腾讯科技(深圳)有限公司 A kind of test method, device and computer readable storage medium
CN110334019A (en) * 2019-06-18 2019-10-15 平安普惠企业管理有限公司 A kind of test method, device and readable storage medium storing program for executing
CN110334019B (en) * 2019-06-18 2024-01-05 天航长鹰(江苏)科技有限公司 Test method, test device and readable storage medium
CN110347598A (en) * 2019-07-10 2019-10-18 上海达梦数据库有限公司 A kind of test script generation method, device, server and storage medium
CN110347598B (en) * 2019-07-10 2023-11-28 上海达梦数据库有限公司 Test script generation method and device, server and storage medium
CN112306841B (en) * 2019-07-26 2022-09-09 比亚迪股份有限公司 Automatic testing method, device and equipment for track service
CN112306841A (en) * 2019-07-26 2021-02-02 比亚迪股份有限公司 Automatic testing method, device and equipment for track service
CN110928775A (en) * 2019-11-12 2020-03-27 许继集团有限公司 Test script configuration method and device for IEC61850 consistency test
CN111176979B (en) * 2019-11-20 2023-05-12 四川蜀天梦图数据科技有限公司 Test case generation method and device of graph database
CN111176979A (en) * 2019-11-20 2020-05-19 四川蜀天梦图数据科技有限公司 Test case generation method and device of graph database
CN110888818A (en) * 2019-12-22 2020-03-17 普信恒业科技发展(北京)有限公司 Test case configuration system and method, automatic test system and method
CN112162915A (en) * 2020-08-27 2021-01-01 杭州大搜车汽车服务有限公司 Test data generation method, device, equipment and storage medium
CN112597037B (en) * 2020-12-28 2022-07-22 江苏苏宁银行股份有限公司 Java and Python combined automatic script development method and device
CN112597037A (en) * 2020-12-28 2021-04-02 江苏苏宁银行股份有限公司 Java and Python combined automatic script development method and device
CN113986441A (en) * 2021-11-05 2022-01-28 中国航空无线电电子研究所 Automatic testing method for man-machine interaction interface of airplane ground station software
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
CN109446059A (en) The generation method and device of test template script
Laaziri et al. A Comparative study of PHP frameworks performance
US8196113B2 (en) Realtime creation of datasets in model based testing
US20090193391A1 (en) Model-based testing using branches, decisions , and options
CN110008113B (en) Test method and device and electronic equipment
CN105320589B (en) The automatic resolution system of test script and its implementation in cloud test environment
US20130097583A1 (en) Systems and Methods For Automating the Application of a Software Methodology
CN108345532A (en) A kind of automatic test cases generation method and device
CN108984155B (en) Data processing flow setting method and device
CN110941467A (en) Data processing method, device and system
CN110941427B (en) Code generation method and code generator
CN108388515A (en) Test data generating method, device, equipment and computer readable storage medium
Tufail et al. Model-driven development of mobile applications: A systematic literature review
Verdecchia et al. Guidelines for architecting android apps: A mixed-method empirical study
CN111881042A (en) Automatic test script generation method and device and electronic equipment
CN111158656A (en) Method and device for generating test codes based on fruit tree method
Colombo et al. Verifying web applications: from business level specifications to automated model-based testing
Sharma et al. Automated bug reporting system in web applications
CN109800147B (en) Test case generation method and terminal equipment
US11669332B1 (en) Systems and methods for modernizing legacy applications
CN116225902A (en) Method, device and equipment for generating test cases
WO2023287795A1 (en) Artificial intelligence approach to solving industrial data transformation problems
CN114297961A (en) Chip test case processing method and related device
Frajták et al. Using the interaction flow modelling language for generation of automated front-end tests.
Shatnawi et al. Generating a language-independent graphical user interfaces from UML models.

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190308