CN109086199A - A kind of automation generates the method for test script, terminal and can storage medium - Google Patents
A kind of automation generates the method for test script, terminal and can storage medium Download PDFInfo
- Publication number
- CN109086199A CN109086199A CN201810653802.0A CN201810653802A CN109086199A CN 109086199 A CN109086199 A CN 109086199A CN 201810653802 A CN201810653802 A CN 201810653802A CN 109086199 A CN109086199 A CN 109086199A
- Authority
- CN
- China
- Prior art keywords
- test
- test script
- configuration file
- end component
- test 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.)
- Granted
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 158
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000006243 chemical reaction Methods 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 claims description 4
- 238000012549 training Methods 0.000 claims description 2
- 230000006872 improvement Effects 0.000 description 11
- 238000001514 detection method Methods 0.000 description 6
- 238000013507 mapping Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 239000013589 supplement Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000012812 general test Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000012956 testing procedure Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present embodiments relate to testing field, discloses a kind of automation and generate the method for test script, terminal and can storage medium.In the present invention, the method that automation generates test script, comprising: the test case for analyzing user parses the parameter information in the precondition of test case, wherein, parameter information is the parameter information of the required configuration file determined according to the application scenarios of back-end component to be measured;When converting test cases to the test script of back-end component to be measured, corresponding configuration template is found out according to required configuration file;According to parameter information and configuration template, the corresponding configuration file of back-end component to be measured is generated, when so that realizing automatic test, back-end component class testing script is automatically generated.
Description
Technical field
The present embodiments relate to testing fields, the in particular to technology of automation generation test script.
Background technique
In automatic test field, generally there are three types of methods for the exploitation of automatic test script: the first is to pass through hand
Labour movement row is once tested, while using the recording function of automated test tool, the operation note carried out is got off, and is generated and is surveyed
Training sheet.The script playback success rate that this technology generates is relatively low, and later maintenance is also relatively difficult.Second method be using
Test frame, tester call the automatic test script of test frame interface according to use-case operational requirements, hand-coding, this
Kind method is more demanding to the code level of tester.The third method is directly to carry out automation survey using natural language
Examination, this method is not high to tester's code calls but writes extremely stringent grammer to automatic test cases and wants
It asks, compiling procedure is not convenient.
In addition, the inventors discovered that in the prior art there is a problem in that: general test script conversion method is all
For the test of web, it is not directed to the test script of back-end component, at present back-end component tester in automatic test
It has write after automating use-case, it is also necessary to individually write one and be directed to the automatic test script of this use-case, while prepare structure
Configuration file needed for making automatic test script operation, is then tested using automated test tool Run Script.It surveys
Maintenance between example on probation and test script is more complicated, write automatic test script and the construction configuration file time spend compared with
It is long.
Summary of the invention
A kind of automation of being designed to provide of embodiment of the present invention generates the method for test script, terminal and can store
Medium, when so that realizing automatic test, back-end component class testing script is automatically generated.
In order to solve the above technical problems, embodiments of the present invention provide a kind of side of automation generation test script
Method, comprising:
The test case for analyzing user, parses the parameter information in the precondition of the test case, wherein described
Parameter information is the parameter information of the required configuration file determined according to the application scenarios of back-end component to be measured;By the test
When use-case is converted into the test script of the back-end component to be measured, corresponding configuration mould is found out according to the required configuration file
Plate;According to the parameter information and the configuration template, the corresponding configuration file of the back-end component to be measured is generated.
Embodiments of the present invention additionally provide a kind of terminal, comprising: at least one processor;And with it is described at least
The memory of one processor communication connection;Wherein, the memory be stored with can by least one described processor execute
Instruction, described instruction is executed by least one described processor, so that at least one described processor is able to carry out as above-mentioned
The method that automation generates test script.
Embodiments of the present invention additionally provide a kind of computer readable storage medium, are stored with computer program, special
Sign is that the computer program realizes the method that above-mentioned automation generates test script when being executed by processor.
In terms of existing technologies, the main distinction and its effect are embodiment of the present invention: embodiment of the present invention
It was found that the operation of current back-end component needs a series of support of configuration files, and cannot achieve in the prior art configuration file from
It is dynamic to generate.The present invention increases the parameter information of configuration file newly in the precondition of test case in advance, while default correspondence is matched
The configuration template of file is set, later when test script is converted, is automatically generated and is matched according to preset parameter information and configuration template
File is set, realizes and generates test script and configuration file convenient for back-end component.In addition, only being needed if necessary to return to modification
The precondition in test case is rewritten, corresponding configuration file can be obtained in subsequent conversion, it is to be measured without being individually for
Back-end component constructs configuration file, to improve the efficiency of automatic test, reduces resource consumption and maintenance complexity.
As a further improvement, the parameter information includes following one or any combination thereof: configuration file type, configuration
File number, the naming rule of configuration file.The parameter information of several needs is listed, so that generating accurately fast when configuration file
Speed.
As a further improvement, further include: in the test foot that the test case is converted into the back-end component to be measured
This when, increases first code, the first generation if the precondition includes preset characters in test script after conversion
Code is for quoting the specified configuration file of the preset characters.Embodiment of the present invention increases the multiplexing method of configuration file, subtracts
The scheme that configuration file reduces redundancy is generated less.
As a further improvement, the type of the configuration file is greater than one kind, every kind of configuration file corresponds to a kind of institute
State configuration template.Using the different inhomogeneous configuration files of template generation, so that the generation of configuration file is more accurate.
As a further improvement, the configuration template is pre-stored in system.
As a further improvement, before the test script for converting test cases to the back-end component to be measured, also
Include: whether the detection test case meets preset requirement, if not meeting, adjusts the format of the test case;It is described
The test script of the back-end component to be measured is converted test cases to, specifically: the test case after adjustment format is converted
At the test script of the back-end component to be measured.Further the method for adjustment test case format is protected, can be reduced
User writes the call format of test case.
As a further improvement, the preset requirement include: the test case every row text in include up to one
Keyword;The format of the adjustment test case, specifically includes: being disconnected more than the row of a keyword in the test case
Row.Embodiment of the present invention is according to the format for adjusting keyword in test case, so that test case meets existing conversion requirements.
As a further improvement, the keyword in the test case is identified using preset keyword list.
As a further improvement, the keyword in keyword list can be by user setting.
As a further improvement, the test case of the user is pre-stored in system.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys
The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove
Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is that automation generates the method flow diagram of test script in first embodiment according to the present invention;
Fig. 2 is that automation generates the method flow diagram of test script in third embodiment according to the present invention;
Fig. 3 be according to the present invention in third embodiment automation generate test script method system architecture diagram;
Fig. 4 is the structural schematic diagram of terminal in the 4th embodiment according to 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 attached drawing to the present invention
Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention
In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details
And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
The first embodiment of the present invention is related to a kind of methods that automation generates test script, and present embodiment is with to be measured
Function be back-end component for be illustrated.Its process is as shown in Figure 1, specific as follows:
Step 101, the test case prestored is extracted.
Specifically, this step is extracted use-case in memory, and analysis later can take out test from memory and use
Example is analyzed.That is, being pre-stored in system after test case can be write by user.
It should be noted that since different back-end components needs different configuration files, so pre- in present embodiment
There are the mapping relations of back-end component and required configuration file, each back-end component may need a configuration file, it is also possible to
Need multiple configuration files.
Step 102, the precondition of the test case of user is parsed.
Specifically, this step can be parsed out the parameter information in the precondition of test case;Wherein, parameter information
For according to the parameter information of the determining required configuration file of the application scenarios of back-end component to be measured and the back-end component institute to be measured
Need the information of configuration file.
Furtherly, this step parameter information includes following one or any combination thereof: configuration file type, configuration file
Number, the naming rule of configuration file.
Step 103, corresponding configuration template is found out according to required configuration file.
Specifically, present embodiment provides configuration template for configuration file, and the type of required configuration file can be with
More than one, every kind of configuration file correspond to a kind of configuration template, the pattern of configuration template can according to specific test product into
Row design, will not enumerate herein.
Step 104, according to parameter information and configuration template, the corresponding configuration file of back-end component to be measured is generated.
Specifically, configuration file type and number be may include in the precondition of present embodiment, based on context
Relationship and naming rule generate base configuration file.More specifically, if identifying individual configuration files from preposition file
Particular arrangement, then it is perfect for the supplement that particular arrangement content carries out individual configuration files, generate matching of using of test execution
Set file.It is further illustrated below by way of two examples:
Example 1: it parses: channel 4
Can then correspond to generation _ case.chn1.conf, _ case.chn2.conf, _ case.chn3.conf, _
Four configuration files of case.chn4.conf name, only configurations information in the configuration file of generation.
Example 2: it parses: channel (1) configuration: route.a 100
It can then search whether in configuration file _ case.chn1.conf of generation comprising this configuration item of route.a, if depositing
Route.a 100 is then being used to replace the original route.a configuration of configuration file _ case.chn1.conf, it is then additional if it does not exist to mend
It is charged in configuration file _ case.chn1.conf.
Above-mentioned steps 102-104 statement, according to the precondition of test case, configuration needed for generating test execution
File needs then to describe below the conversion of test case ontology.
Step 105, automatic test script is converted test cases to.
Specifically, this step specifically includes: addition test case information, tag, title, utilize keyword and script generation
The mapping table of code, identifies the keyword for including in test case, and each keyword is respectively converted into scripted code, and
The number of parameters according to needed for keyword get parms carry out script argument supplement it is perfect.The foot after being converted by keyword is combined later
This code generates automatic test script.Wherein, the keyword in test case can be identified according to keyword list.
Also think explanation, the keyword in keyword list in present embodiment can be customized by the user, also
It is to say, user can increase keyword and corresponding code newly in mapping table, can thus be adapted to for greater flexibility more
More application scenarios.
For example: exist in test case: " 1s is waited to guarantee file output " utilizes the test foot in present embodiment
Following scripted code can be generated in this generation method:
Sleep 1s
Wherein, " waiting " is keyword, and " 1s " is the parameter of keyword, and " guaranteeing file output " is the body when step is write
Existing the purpose of this step corresponds to without directly operation, is identified as non-keyword, so directly giving up as ornamental word content.
It is noted that above-mentioned steps 105 and the sequence of step 102-104 can exchange, that is to say, that practical application
In, step 105 can also be first carried out, then execute step 102-104, can also be executed parallel with two parts, details are not described herein.
As it can be seen that present embodiment is in terms of existing technologies, the main distinction and its effect are: the present inventor
It was found that the operation of current back-end component needs a series of support of configuration files, and cannot achieve in the prior art configuration file from
It is dynamic to generate.Present embodiment increases the parameter information of configuration file, while default pair newly in the precondition of test case in advance
The configuration template of configuration file is answered, later when test script is converted, is given birth to automatically according to preset parameter information and configuration template
At configuration file, realizes and generate test script and configuration file convenient for back-end component.In addition, it can be seen that returning if necessary
Return something for repairs and change, need to only rewrite precondition in test case, subsequent conversion it is former can automatic conversion, to obtain corresponding match
File is set, is reduced without being individually for back-end component construction configuration file to be measured to improve the efficiency of automatic test
Resource consumption and maintenance complexity.
Second embodiment of the present invention is related to a kind of method that automation generates test script.Second embodiment be
It is further improved on the basis of first embodiment, mainly thes improvement is that: in second embodiment of the invention,
When parsing precondition, the identification of spcial character has been increased newly, while having increased in the test script of generation for quoting configuration
The predetermined code of file, so that a case where test case may need same profiles in multiple test scenes, nothing
Configuration file need to be repeatedly generated, only existing configuration file need to be multiplexed, reduce the generation of redundant file.
The method that automation generates test script in present embodiment further include: converting test cases to backstage to be measured
When the test script of component, if precondition includes preset characters, increase first code in test script after conversion,
In first code be used to quote the specified configuration file of preset characters.
Specifically, it when parsing the precondition of test case of user, can detecte with the presence or absence of preset characters, in advance
If character, which may include, indicates identical with certain configuration file prompt information, such as: " other configurations are with * * * " simultaneously, preset characters
It can specify identical configuration file, that is, " * * * " therein, after detecting this kind of preset characters, can will test
Increase when use-case is converted into the test script of back-end component to be measured, in test script after conversion for quoting specified configuration text
The scripted code of part, that is to say, that after the scripted code after combination is converted by keyword, add the first generation mentioned above
Code, some configuration file can be called so automatically by being performed in test script, without repeatedly generating.
It further illustrates, since use-case writes the requirement of specification, before the character of " other configurations are with * * * " class is generally present in
The last line of file is set, so directly can also detect whether this kind of word occur in last line when parsing precondition
Symbol reduces detection time, accelerates detection speed.
As it can be seen that increasing the identification to preset characters in configuration file in present embodiment, show in precondition
When identical with other use-case scenes character of configuration file, the reference for generating configuration file used in other use-case scenes is closed
System, using multiplex mode, avoids generating duplicate configuration file, reduces the generation of redundant file.Furthermore it is possible to further limit
The detection range of these characters accelerates detection speed, raising efficiency.
Third embodiment of the present invention is related to a kind of method that automation generates test script.Third embodiment be
Be further improved on the basis of first embodiment, mainly the improvement is that: convert test cases to it is to be measured
Before the test script of back-end component, the format of adjustment test case is first determined the need for, such as determines and needs, then after the adjustment again
The step of carrying out conversion testing script.
Automation in present embodiment generates the method flow diagram of test script as shown in Fig. 2, specific as follows:
Step 101 of the step 201 into step 204 and first embodiment in present embodiment is similar to step 104
Seemingly, details are not described herein.
Step 205, whether detection test case meets preset requirement;If meeting, 207 are thened follow the steps;If not meeting,
Execute step 206.
Specifically, preset requirement can the test case format according to as defined in test script be configured, such as test use
Every row text of example can only include at most a keyword, more specifically, can use keyword list in test case
Identidication key, keyword list can come from the mapping table of nature language keyword and code.
Step 206, the format of test case is adjusted.
Specifically, the mode for adjusting format, which can be, is grouped keyword, and every group only includes a keyword, more specifically
Say, the mode of grouping can be the row line-break in test case more than a keyword, occur both keyword in a row
When, the just line-break before the second keyword, referred to as two row texts.
The step 105 in step 207 and first embodiment in present embodiment is similar, and details are not described herein.
For example, exist in certain test case: " addition channel 1, which is reconfigured and waited to fringe node, to be reconfigured
Complete ", by the conversion of present embodiment, scripted code is generated by corresponding:
Add Channel${CURDIR}/_ws_chn1.com.conf${CURDIR}/_appa.conf1
Reload Configuration And Wait
Wherein " addition channel ", " reconfigured and waited and reconfigure completion " are keyword, " channel ", " fringe node "
For proper noun.Step will be divided into two groups: one of set of keyword is " addition channel ", proper noun " channel " with
" fringe node " is automatically recognized as the parameter of keyword;Another set of keyword is " to be reconfigured and waited and reconfigured
At ", printenv.
It is noted that automation generates the system tray of the method for test script in practical applications in present embodiment
Composition can be as shown in figure 3, therein, test case management can store one or more for the test case of prestored user
It is a.It automates self defining keywords library to be used for for user's self defining keywords, self defining keywords module is for receiving user certainly
The keyword of definition, and store to keyword and code mapping table.Test case read module, for when needing to convert, from
The middle test case for extracting a needs, and it is sent to configuration file generation module, it is carried out by configuration file generation module preposition
The parsing of condition generates integrated configuration file needed for tested back-end component when automatized script executes, and generates proper noun
With the corresponding relationship of profile name.Finally code is carried out using keyword and code mapping table by testing procedure conversion module
Shifting combination etc., finally obtains automatic test script.It should be noted that can be prestored in configuration file generation module all kinds of
The template of configuration file, when generating configuration file, more quick and precisely according to template generation.It is further to note that this
Involved each module is logic module in embodiment, and in practical applications, a logic unit can be an object
Unit is managed, is also possible to a part of a physical unit, can also be realized with the combination of multiple physical units.
As it can be seen that the step of present embodiment is increased to test case format adjust automatically, so that writing test case
Even if user is unfamiliar with defined format, the test case not in full conformity with call format has been write, format tune can also be passed through
Whole step is improved, and not will cause the case where conversion equipment can not be converted, can be reduced user in this way and be write test case
Call format, increase test script conversion success rate.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or
Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection scope of this patent
It is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changed
Core design with process is all in the protection scope of the patent.
Four embodiment of the invention is related to a kind of terminal, as shown in Figure 4, comprising:
At least one processor;And
The memory being connect at least one processor communication;Wherein,
Memory is stored with the instruction that can be executed by least one processor, and instruction is executed by least one processor, with
Being able to carry out at least one processor, into third embodiment, any one automation is generated such as above-mentioned first embodiment
The method of test script.
Wherein, memory is connected with processor using bus mode, and bus may include the bus of any number of interconnection
And bridge, bus is by one or more processors together with the various circuit connections of memory.Bus can also will be such as peripheral
Together with various other circuit connections of management circuit or the like, these are all well known in the art for equipment, voltage-stablizer
, therefore, it will not be further described herein.Bus interface provides interface between bus and transceiver.Transceiver
Can be an element, be also possible to multiple element, such as multiple receivers and transmitter, provide for over a transmission medium with
The unit of various other device communications.The data handled through processor are transmitted on the radio medium by antenna, further,
Antenna also receives data and transfers data to processor.
Processor is responsible for managing bus and common processing, can also provide various functions, including periodically, peripheral interface,
Voltage adjusting, power management and other control functions.And memory can be used for storage processor and execute operation when institute
The data used.
Fifth embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program.Computer
Above method embodiment is realized when program is executed by processor.
That is, it will be understood by those skilled in the art that implement the method for the above embodiments be can be with
Relevant hardware is instructed to complete by program, which is stored in a storage medium, including some instructions are to make
It obtains an equipment (can be single-chip microcontroller, chip etc.) or processor (processor) executes each embodiment method of the application
All or part of the steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention,
And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.
Claims (11)
1. a kind of method that automation generates test script characterized by comprising
The test case for analyzing user, parses the parameter information in the precondition of the test case, wherein the parameter
Information is the parameter information of the required configuration file determined according to the application scenarios of back-end component to be measured;
When the test case to be converted into the test script of the back-end component to be measured, looked into according to the required configuration file
Find out corresponding configuration template;
According to the parameter information and the configuration template, the corresponding configuration file of the back-end component to be measured is generated.
2. the method that automation according to claim 1 generates test script, which is characterized in that the parameter information includes
Following one or any combination thereof: configuration file type, configuration file number, the naming rule of configuration file.
3. the method that automation according to claim 1 generates test script, which is characterized in that further include:
When the test case to be converted into the test script of the back-end component to be measured, if the precondition includes default
Character, then increase first code in test script after conversion, the first code is specified for quoting the preset characters
Configuration file.
4. the method that automation according to claim 1 generates test script, which is characterized in that the class of the configuration file
Type is greater than one kind, and every kind of configuration file corresponds to a kind of configuration template.
5. the method that automation according to claim 4 generates test script, which is characterized in that the configuration template prestores
In system.
6. the method that automation according to claim 1 generates test script, which is characterized in that described by test case
Before being converted into the test script of the back-end component to be measured, further includes:
It detects whether the test case meets preset requirement, if not meeting, adjusts the format of the test case;
The test script for converting test cases to the back-end component to be measured, specifically: by the test after adjustment format
Use-case is converted into the test script of the back-end component to be measured.
7. the method that automation according to claim 6 generates test script, which is characterized in that
The preset requirement include: the test case every row text in include up to a keyword;
It is described adjustment test case format, specifically include: in the test case more than the row line-break of a keyword.
8. the method that automation according to claim 7 generates test script, which is characterized in that in the test case
Keyword is identified using preset keyword list.
9. the method that automation according to claim 8 generates test script, which is characterized in that in the keyword list
Keyword can be by user setting.
10. a kind of terminal characterized by comprising
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one
It manages device to execute, so that at least one described processor is able to carry out the automation as described in any in claim 1 to 9 and generates survey
The method of training sheet.
11. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program is located
Reason device realizes the method that automation generates test script described in any one of claims 1 to 9 when executing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810653802.0A CN109086199B (en) | 2018-06-22 | 2018-06-22 | Method, terminal and storage medium for automatically generating test script |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810653802.0A CN109086199B (en) | 2018-06-22 | 2018-06-22 | Method, terminal and storage medium for automatically generating test script |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109086199A true CN109086199A (en) | 2018-12-25 |
CN109086199B CN109086199B (en) | 2022-06-07 |
Family
ID=64840148
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810653802.0A Expired - Fee Related CN109086199B (en) | 2018-06-22 | 2018-06-22 | Method, terminal and storage medium for automatically generating test script |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109086199B (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109688599A (en) * | 2019-01-11 | 2019-04-26 | 北京华力创通科技股份有限公司 | Terminal tester packet domain dispatching method and device |
CN109818833A (en) * | 2019-03-14 | 2019-05-28 | 北京信而泰科技股份有限公司 | A kind of ethernet test system and ethernet test method |
CN109857671A (en) * | 2019-02-15 | 2019-06-07 | 广州视源电子科技股份有限公司 | Generation method, device, server and the storage medium of test case |
CN109901999A (en) * | 2019-01-31 | 2019-06-18 | 国核自仪系统工程有限公司 | The emulation mode and system of programmable logic based on UVM |
CN110347598A (en) * | 2019-07-10 | 2019-10-18 | 上海达梦数据库有限公司 | A kind of test script generation method, device, server and storage medium |
CN110532182A (en) * | 2019-08-22 | 2019-12-03 | 锐捷网络股份有限公司 | A kind of automated testing method and device of virtual platform |
CN111459818A (en) * | 2020-03-31 | 2020-07-28 | 中国银行股份有限公司 | Visual test method and device |
CN111651358A (en) * | 2020-06-05 | 2020-09-11 | 北京金山云网络技术有限公司 | Method for generating test case, software testing method, device and server |
CN111866137A (en) * | 2020-07-20 | 2020-10-30 | 北京百度网讯科技有限公司 | Data acquisition dynamic control method and device, electronic equipment and medium |
CN111881042A (en) * | 2020-07-27 | 2020-11-03 | 云账户技术(天津)有限公司 | Automatic test script generation method and device and electronic equipment |
CN112052184A (en) * | 2020-09-29 | 2020-12-08 | 北京智芯微电子科技有限公司 | Automatic generation method and device for test script and storage medium |
CN113360381A (en) * | 2021-06-07 | 2021-09-07 | 中国工商银行股份有限公司 | Case proofreading system and method in automatic test of platform under host |
CN113407229A (en) * | 2020-03-17 | 2021-09-17 | 百度在线网络技术(北京)有限公司 | Method and device for generating offline script |
CN113742202A (en) * | 2020-05-29 | 2021-12-03 | 上海商汤智能科技有限公司 | AI chip verification system, method, device and storage medium |
CN113760730A (en) * | 2021-01-27 | 2021-12-07 | 北京京东振世信息技术有限公司 | Automatic testing method and device |
CN113986441A (en) * | 2021-11-05 | 2022-01-28 | 中国航空无线电电子研究所 | Automatic testing method for man-machine interaction interface of airplane ground station software |
CN116346598A (en) * | 2023-05-31 | 2023-06-27 | 四川中普盈通科技有限公司 | Site configuration method for data transmission control and network access system |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101212362A (en) * | 2006-12-26 | 2008-07-02 | 中兴通讯股份有限公司 | Automatic testing device and method incorporating a variety of testing tools |
CN101339534A (en) * | 2008-06-17 | 2009-01-07 | 金蝶软件(中国)有限公司 | Software test apparatus and test method |
CN102567193A (en) * | 2010-12-09 | 2012-07-11 | 北京新媒传信科技有限公司 | Method and system for converting test case to automated testing script |
CN102567164A (en) * | 2011-12-23 | 2012-07-11 | 中国科学院自动化研究所 | Instruction set batch testing device and method for processor |
CN102693183A (en) * | 2012-05-30 | 2012-09-26 | 瑞斯康达科技发展股份有限公司 | Method and system for realizing automatic software testing |
CN103441900A (en) * | 2013-08-27 | 2013-12-11 | 上海新炬网络技术有限公司 | Centralization cross-platform automated testing system and control method thereof |
US20140281721A1 (en) * | 2013-03-14 | 2014-09-18 | Sap Ag | Automatic generation of test scripts |
CN104407973A (en) * | 2014-11-25 | 2015-03-11 | 珠海格力电器股份有限公司 | Automatic unit test realizing method and device |
CN104484269A (en) * | 2014-11-27 | 2015-04-01 | 北京广利核系统工程有限公司 | Method for automatically generating testing script |
CN104636254A (en) * | 2015-01-16 | 2015-05-20 | 北京创毅视讯科技有限公司 | Method and device for generating test case, testing method and testing equipment |
CN105068929A (en) * | 2015-08-06 | 2015-11-18 | 网易(杭州)网络有限公司 | Test script generation method, test script generation device, testing method, testing device and testing system |
CN106294150A (en) * | 2016-08-09 | 2017-01-04 | 北京神州绿盟信息安全科技股份有限公司 | A kind of test loading method and device |
WO2017162210A1 (en) * | 2016-03-25 | 2017-09-28 | 中兴通讯股份有限公司 | Test configuration method and device |
CN107844421A (en) * | 2017-10-31 | 2018-03-27 | 平安科技(深圳)有限公司 | Interface test method, device, computer equipment and storage medium |
-
2018
- 2018-06-22 CN CN201810653802.0A patent/CN109086199B/en not_active Expired - Fee Related
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101212362A (en) * | 2006-12-26 | 2008-07-02 | 中兴通讯股份有限公司 | Automatic testing device and method incorporating a variety of testing tools |
CN101339534A (en) * | 2008-06-17 | 2009-01-07 | 金蝶软件(中国)有限公司 | Software test apparatus and test method |
CN102567193A (en) * | 2010-12-09 | 2012-07-11 | 北京新媒传信科技有限公司 | Method and system for converting test case to automated testing script |
CN102567164A (en) * | 2011-12-23 | 2012-07-11 | 中国科学院自动化研究所 | Instruction set batch testing device and method for processor |
CN102693183A (en) * | 2012-05-30 | 2012-09-26 | 瑞斯康达科技发展股份有限公司 | Method and system for realizing automatic software testing |
US20140281721A1 (en) * | 2013-03-14 | 2014-09-18 | Sap Ag | Automatic generation of test scripts |
CN103441900A (en) * | 2013-08-27 | 2013-12-11 | 上海新炬网络技术有限公司 | Centralization cross-platform automated testing system and control method thereof |
CN104407973A (en) * | 2014-11-25 | 2015-03-11 | 珠海格力电器股份有限公司 | Automatic unit test realizing method and device |
CN104484269A (en) * | 2014-11-27 | 2015-04-01 | 北京广利核系统工程有限公司 | Method for automatically generating testing script |
CN104636254A (en) * | 2015-01-16 | 2015-05-20 | 北京创毅视讯科技有限公司 | Method and device for generating test case, testing method and testing equipment |
CN105068929A (en) * | 2015-08-06 | 2015-11-18 | 网易(杭州)网络有限公司 | Test script generation method, test script generation device, testing method, testing device and testing system |
WO2017162210A1 (en) * | 2016-03-25 | 2017-09-28 | 中兴通讯股份有限公司 | Test configuration method and device |
CN106294150A (en) * | 2016-08-09 | 2017-01-04 | 北京神州绿盟信息安全科技股份有限公司 | A kind of test loading method and device |
CN107844421A (en) * | 2017-10-31 | 2018-03-27 | 平安科技(深圳)有限公司 | Interface test method, device, computer equipment and storage medium |
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109688599A (en) * | 2019-01-11 | 2019-04-26 | 北京华力创通科技股份有限公司 | Terminal tester packet domain dispatching method and device |
CN109901999B (en) * | 2019-01-31 | 2021-01-29 | 国核自仪系统工程有限公司 | Simulation method and system of programmable logic based on UVM |
CN109901999A (en) * | 2019-01-31 | 2019-06-18 | 国核自仪系统工程有限公司 | The emulation mode and system of programmable logic based on UVM |
CN109857671A (en) * | 2019-02-15 | 2019-06-07 | 广州视源电子科技股份有限公司 | Generation method, device, server and the storage medium of test case |
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 |
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 |
CN110532182B (en) * | 2019-08-22 | 2023-05-16 | 锐捷网络股份有限公司 | Automatic testing method and device for virtualization platform |
CN110532182A (en) * | 2019-08-22 | 2019-12-03 | 锐捷网络股份有限公司 | A kind of automated testing method and device of virtual platform |
CN113407229A (en) * | 2020-03-17 | 2021-09-17 | 百度在线网络技术(北京)有限公司 | Method and device for generating offline script |
CN113407229B (en) * | 2020-03-17 | 2024-05-14 | 百度在线网络技术(北京)有限公司 | Method and device for generating offline scripts |
CN111459818B (en) * | 2020-03-31 | 2023-11-21 | 中国银行股份有限公司 | Visual test method and device |
CN111459818A (en) * | 2020-03-31 | 2020-07-28 | 中国银行股份有限公司 | Visual test method and device |
CN113742202A (en) * | 2020-05-29 | 2021-12-03 | 上海商汤智能科技有限公司 | AI chip verification system, method, device and storage medium |
CN111651358A (en) * | 2020-06-05 | 2020-09-11 | 北京金山云网络技术有限公司 | Method for generating test case, software testing method, device and server |
CN111651358B (en) * | 2020-06-05 | 2024-04-12 | 北京金山云网络技术有限公司 | Method for generating test case, software test method, device and server |
CN111866137A (en) * | 2020-07-20 | 2020-10-30 | 北京百度网讯科技有限公司 | Data acquisition dynamic control method and device, electronic equipment and medium |
CN111881042A (en) * | 2020-07-27 | 2020-11-03 | 云账户技术(天津)有限公司 | Automatic test script generation method and device and electronic equipment |
CN111881042B (en) * | 2020-07-27 | 2024-06-25 | 云账户技术(天津)有限公司 | Automatic test script generation method and device and electronic equipment |
CN112052184A (en) * | 2020-09-29 | 2020-12-08 | 北京智芯微电子科技有限公司 | Automatic generation method and device for test script and storage medium |
CN113760730A (en) * | 2021-01-27 | 2021-12-07 | 北京京东振世信息技术有限公司 | Automatic testing method and device |
CN113360381A (en) * | 2021-06-07 | 2021-09-07 | 中国工商银行股份有限公司 | Case proofreading system and method in automatic test of platform under host |
CN113986441A (en) * | 2021-11-05 | 2022-01-28 | 中国航空无线电电子研究所 | Automatic testing method for man-machine interaction interface of airplane ground station software |
CN116346598B (en) * | 2023-05-31 | 2023-09-01 | 四川中普盈通科技有限公司 | Site configuration method for data transmission control and network access system |
CN116346598A (en) * | 2023-05-31 | 2023-06-27 | 四川中普盈通科技有限公司 | Site configuration method for data transmission control and network access system |
Also Published As
Publication number | Publication date |
---|---|
CN109086199B (en) | 2022-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109086199A (en) | A kind of automation generates the method for test script, terminal and can storage medium | |
CN110018955B (en) | Generating automated test scripts by transforming manual test cases | |
CN109062563B (en) | Method and device for generating page | |
CN112104709B (en) | Intelligent contract processing method, device, medium and electronic equipment | |
CN109446099A (en) | Automatic test cases generation method, device, medium and electronic equipment | |
CN107463409A (en) | A kind of interface conversion method, interface convertor, storage medium and electric terminal | |
US20180067846A1 (en) | Apparatus and method for expanding the scope of systems management applications by runtime independence | |
US20220284349A1 (en) | Techniques to generate network simulation scenarios | |
CN110688096B (en) | Method and device for constructing application program containing plug-in, medium and electronic equipment | |
CN109614312A (en) | Method for generating test case, device, electronic equipment and storage medium | |
US10262055B2 (en) | Selection of data storage settings for an application | |
CN111767217B (en) | JS unit test case generation method and device | |
CN113821616A (en) | Domain-adaptive slot filling method, device, equipment and storage medium | |
CN112988583A (en) | Method and device for testing syntax compatibility of database | |
CN111399828A (en) | Model-driven logic device modeling method and terminal | |
US10789404B1 (en) | System, method, and computer program product for generating a formal verification model | |
CN115833964A (en) | Performance test method and performance test system of dual-mode communication module | |
CN110471708B (en) | Method and device for acquiring configuration items based on reusable components | |
CN113822002B (en) | Data processing method, device, computer equipment and storage medium | |
CN110888036A (en) | Test item determination method and device, storage medium and electronic equipment | |
EP4338395A1 (en) | Artificial intelligence based cognitive test script generation | |
US11797277B2 (en) | Neural network model conversion method server, and storage medium | |
CN114647568A (en) | Automatic testing method and device, electronic equipment and readable storage medium | |
CN110659215A (en) | Open type industrial APP rapid development and test verification method | |
CN117574817B (en) | Design automatic verification method, system and verification platform for self-adaptive time sequence change |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220607 |