CN110262962A - Generate the method and device of test script - Google Patents
Generate the method and device of test script Download PDFInfo
- Publication number
- CN110262962A CN110262962A CN201910423408.2A CN201910423408A CN110262962A CN 110262962 A CN110262962 A CN 110262962A CN 201910423408 A CN201910423408 A CN 201910423408A CN 110262962 A CN110262962 A CN 110262962A
- Authority
- CN
- China
- Prior art keywords
- interface
- tested
- attributes information
- message
- target
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 52
- 238000000034 method Methods 0.000 title claims abstract description 49
- 239000002131 composite material Substances 0.000 claims description 18
- 238000004321 preservation Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 5
- 238000004364 calculation method Methods 0.000 claims 1
- 150000001875 compounds Chemical class 0.000 claims 1
- 230000008569 process Effects 0.000 abstract description 7
- 238000005516 engineering process Methods 0.000 abstract description 4
- 238000013522 software testing Methods 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 8
- 230000004044 response Effects 0.000 description 6
- 230000008901 benefit Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 241000208340 Araliaceae Species 0.000 description 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 2
- 235000003140 Panax quinquefolius Nutrition 0.000 description 2
- 235000008434 ginseng Nutrition 0.000 description 2
- 241000406668 Loxodonta cyclotis Species 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000010979 ruby Substances 0.000 description 1
- 229910001750 ruby Inorganic materials 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
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Abstract
The present invention relates to software testing technology fields, more particularly to generate the method and device of test script, which comprises obtain the interface message of destination service;The interface message is parsed, determines more than one interface, and obtains interface attributes information corresponding with each interface;Respectively according to the interface attributes information of each interface, object to be tested is obtained;Target interface object is determined from all objects to be tested obtained;According to the interface attributes information in the target interface object, interface testing script corresponding with the target interface object is generated.This invention simplifies the processes for generating interface testing script, improve the efficiency of interface testing.
Description
Technical field
The present invention relates to software testing technology fields, more particularly to generate the method and device of test script.
Background technique
With the quick update and development of software technology, many new technologies and new frame emerge rapidly in large numbersBamboo shoots after a spring rain as appearance, it is such as micro-
Service etc..Micro services are a kind of new architectures that application and service is disposed in cloud, these application and service in micro services can
Independently to be developed, be managed and be accelerated.Micro services are used in the component of dispersion, can make deployment, management and service function
Can deliver becomes simpler.
Respective services in micro services all include interface, and interface can be realized the internal subsystems of service and service
Interaction between external system.Therefore, can the state of interface work normally service most important.Utilize interface testing foot
Originally it can be realized the test to interface, however, the process that the prior art generates interface testing script is complicated, lead to testing efficiency
It is low.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
State the method and device of the generation test script of problem.
First aspect according to the present invention, the present invention provide a kind of method for generating test script, which comprises
Obtain the interface message of destination service;
The interface message is parsed, determines more than one interface, and obtain connect corresponding with each interface
Mouth attribute information;
Respectively according to the interface attributes information of each interface, object to be tested is obtained;
Target interface object is determined from all objects to be tested obtained;
According to the interface attributes information in the target interface object, generate corresponding with the target interface object
Interface testing script.
Preferably, the interface message for obtaining destination service, comprising:
The interface message is obtained from the interface definition document defined in a manner of Swagger in the destination service.
Preferably, according to the interface attributes information of each interface, object to be tested is obtained, comprising:
By the interface attributes information preservation of the interface be Json file, and using the Json file as described in
Test object.
Preferably, the interface attributes information include interface name, interface uniform resource locator, interface method type,
Interface enters to join position, interface enters to join type and at least one of interface return parameters type.
Preferably, when the interface attributes information includes that the interface enters to join type and/or the interface return parameters class
Type, and the interface enters to join type and/or the interface return parameters type when being composite object, in the acquisition and each institute
After stating the corresponding interface attributes information of interface, and before the acquisition object to be tested, the method also includes:
The parameter information of each subobject in the composite object is obtained respectively;
Wherein, described respectively according to the interface attributes information of each interface, obtain object to be tested, comprising:
According to the parameter information of subobject each in the composite object, the object to be tested is obtained.
The second aspect according to the present invention, the present invention provide a kind of device for generating test script, and described device includes:
Module is obtained, for obtaining the interface message of destination service;
First determining module determines more than one interface for parsing to the interface message, and obtain with it is each
The corresponding interface attributes information of the interface;
Module is obtained, for according to the interface attributes information of each interface, obtaining object to be tested respectively;
Second determining module, for determining target interface object from all objects to be tested obtained;
Generation module, for generating and the target according to the interface attributes information in the target interface object
The corresponding interface testing script of interface object.
Preferably, the acquisition module, is specifically used for:
The interface message is obtained from the interface definition document defined in a manner of Swagger in the destination service.
Preferably, the acquisition module, is specifically used for:
By the interface attributes information preservation of the interface be Json file, and using the Json file as described in
Test object.
In terms of third according to the present invention, a kind of computer readable storage medium is provided, computer is stored thereon with
Program is realized when the program is executed by processor such as the method and step in aforementioned first aspect.
According to the present invention the 4th aspect, provides a kind of computer equipment, including memory, processor and is stored in
On memory and the computer program that can run on a processor, the processor realize such as aforementioned first when executing described program
Method and step in a aspect.
The method and device according to the present invention for generating test script connects firstly, obtaining the interface message of destination service
, interface message is parsed, determines more than one interface, and obtain interface attributes information corresponding with each interface, then
Respectively according to the interface attributes information of each interface, object to be tested is obtained, is determined from all objects to be tested obtained
Target interface object, finally, generating connect corresponding with target interface object according to the interface attributes information in target interface object
Mouth test script, simplifies the process for generating interface testing script, improves the efficiency of interface testing.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, identical component is indicated with identical reference pattern.In the accompanying drawings:
Fig. 1 shows the flow chart that the method for test script is generated in first embodiment of the invention;
Fig. 2 shows the structure charts for the device that test script is generated in second embodiment of the invention;
Fig. 3 shows the structure chart of computer equipment in fourth embodiment of the invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
First embodiment of the invention provides a kind of method for generating test script, for carrying out interface survey to destination service
Examination.As shown in Figure 1, which comprises
Step 101: obtaining the interface message of destination service.
Step 102: the interface message being parsed, determines more than one interface, and obtain and each interface
Corresponding interface attributes information.
Step 103: respectively according to the interface attributes information of each interface, obtaining object to be tested.
Step 104: determining target interface object from all objects to be tested obtained.
Step 105: according to the interface attributes information in the target interface object, generating and the target interface pair
As corresponding interface testing script.
Specifically, destination service has generally comprised multiple interfaces, each interface is required to carry out interface testing.
Interface in destination service can use destination document definition mode and be defined, destination document definition mode be Word mode,
Excel mode or Swagger mode.In this application, it is defined using interface of the Swagger mode to destination service, it can
To support online query interface to define content, realize Fast synchronization interface message, as long as in addition, programmer developed function can
To see interface document in Swagger, interface document is write without specially spending the time to, the interface definition in Swagger
Using RESTfull style, interface definition can be made to be more clear, it is readily appreciated that.After being defined to interface, it will generate
One interface definition document, the interface message of the total interface in interface definition document comprising destination service.
For further, for step 101, the interface definition defined in a manner of Swagger from destination service is literary
The interface message of destination service is obtained in shelves.When obtaining, the api-doc of Swagger can be accessed by object program language
Interface, to obtain the total interface information in the interface definition document that Swagger mode defines.Object program language is
Python, java, c, c++, ruby or perl.
After obtaining interface message, step 102 is executed.Specifically, interface message is shown in a manner of Json,
And in the way of Key-value, the value of response [' path '] and response [' definitions '] are obtained respectively,
The each layer for traversing response [' path '], determines each interface that destination service includes, and corresponding to each interface
Interface attributes information.Interface attributes information includes that interface name, interface uniform resource locator, interface method type, interface enter
Ginseng position, interface enter to join at least one of type and interface return parameters type.For example, passing through traversal response
Each layer of [' path '], obtain destination service include first interface and second interface, and obtain first interface interface name,
Interface uniform resource locator, interface method type, interface enter to join position, interface enters to join type and interface return parameters type,
And the interface name of acquisition second interface, interface uniform resource locator, interface method type, interface enter to join position, interface
Enter to join type and interface return parameters type.
For further, when interface attributes information includes that interface enters to join type and/or interface return parameters type, if connecing
When mouthful to enter to join type and/or interface return parameters type be composite object, every height pair in composite object can be also further obtained
The parameter information of elephant.Wherein, each subobject in composite object can be obtained by traversing response [' definitions ']
Parameter information.For example, composite object includes the first subobject and the second subobject if it is composite object that interface, which enters to join type,
Then, using the ID of composite object, traverse response [' definitions '] can obtain the parameter information of the first subobject with
And second subobject parameter information, wherein parameter information includes interface name, interface uniform resource locator, interface method
Type, interface enter to join position, interface enters to join type and at least one of interface return parameters type.If interface return parameters class
When type is composite object, the parameter information of each subobject in each composite object is similarly obtained.
For further, after obtaining interface attributes information, in step 103, respectively by the interface category of each interface
Property information preservation be Json file, using Json file as object to be tested.For example, by the interface name of first interface, interface
Uniform resource locator, interface method type, interface enter to join position, interface enters to join type and interface return parameters type saves as
The interface name of second interface, interface uniform resource locator, interface method type, interface are entered to join position by the first Json file
It sets, interface enters to join type and interface return parameters type saves as the 2nd Json file.First Json file and the 2nd Json text
Part belongs to object to be tested, and the first Json file can be referred to as the first object to be tested, and the 2nd Json file can be claimed
For the second object to be tested.Since the interface attributes information defined in a manner of Swagger is (that is, interface name, interface unified resource
Finger URL, interface method type, interface enter to join position, interface enters to join type and interface return parameters type) scatter display is not
Same position is not easy to obtain field value.Therefore, the application is by being Json text by the interface attributes information preservation of each interface
Part realizes and re-assemblies definition to interface, facilitates and subsequent automatically generates interface testing script.
In addition, the parameter information of each subobject is saved as respectively after the parameter information for obtaining each subobject
Json file, using Json file as object to be tested.For example, by the interface name of the first subobject in composite object, connecing
Mouth uniform resource locator, interface method type, interface enters to join position, interface enters to join type and interface return parameters type saves
For the 3rd Json file, by the interface name of the second subobject in composite object, interface uniform resource locator, interface method
Type, interface enter to join position, interface enters to join type and interface return parameters type saves as the 4th Json file.3rd Json text
Part and the 4th Json file belong to object to be tested.
It should be noted that the application carries out the interface attributes information for needing interface to be tested in a manner of Json file
Classification saves, and is individually checked convenient for the subsequent information to each interface, improves testing efficiency.
After obtaining object to be tested, step 104 is executed.Specifically, can based on the selection operation of user, to
More than one target interface object is determined in test object.Target interface object is actually Json file.For example, working as
It is preceding there are the first object to be tested and the second object to be tested, the selection operation based on user can be true by the first object to be tested
It is set to target interface object, the first object to be tested and the second object to be tested can also be determined as target interface object,
Wherein, the first object to be tested is first object interface object, and the second object to be tested is the second target interface object.
Further, after determining target interface object, step 105 is executed, target interface object is read and obtains target
Interface attributes information (or parameter information) in interface object, and according in target interface object interface attributes information (or ginseng
Number information) generate interface testing script corresponding with target interface object.For example, reading the interface attributes in the first Json file
Information, and first interface test script is generated according to the information read, first interface test script is the test of first interface
Script.
It should be noted that needing Json file being converted into interface testing script after generating Json file.Interface
Test script can use the execution of the testing tools such as robot framework, python, jmeter or postman, and by Json
It is python, C, C++, perl, php or java that file, which is converted into program language applied by the process of interface testing script,.
It should be noted that testing whether success for determining interface, the disconnected of default can be also generated in interface testing script
Speech.
In this application, interface message can be interface return information.
The application reduces the requirement to tester's code without manually compiler test script, and can be certainly
It is dynamic to generate script, the various lower level errors occurred by personal reason are largely reduced, and can guarantee writing for script
Style is unified, improves the readability of script.
Based on the same inventive concept, second embodiment of the invention also provides a kind of device for generating test script, such as Fig. 2 institute
Show, described device includes:
Module 201 is obtained, for obtaining the interface message of destination service;
First determining module 202 determines more than one interface for parsing to the interface message, and obtain with
The corresponding interface attributes information of each interface;
Module 203 is obtained, for according to the interface attributes information of each interface, it to be to be tested right to obtain respectively
As;
Second determining module 204, for determining target interface object from all objects to be tested obtained;
Generation module 205, for generating and the mesh according to the interface attributes information in the target interface object
Mark the corresponding interface testing script of interface object.
Preferably, module 201 is obtained, is specifically used for:
The interface message is obtained from the interface definition document defined in a manner of Swagger in the destination service.
Preferably, module 203 is obtained, is specifically used for:
By the interface attributes information preservation of the interface be Json file, and using the Json file as described in
Test object.
Preferably, the interface attributes information include interface name, interface uniform resource locator, interface method type,
Interface enters to join position, interface enters to join type and at least one of interface return parameters type.
Preferably, when the interface attributes information includes that the interface enters to join type and/or the interface return parameters class
Type, and the interface enters to join type and/or the interface return parameters type when being composite object, described device further include:
Gain of parameter module, for obtaining the parameter information of each subobject in the composite object respectively;
Wherein, the acquisition module, is specifically used for:
According to the parameter information of subobject each in the composite object, the object to be tested is obtained.
Based on the same inventive concept, third embodiment of the invention also provides a kind of computer readable storage medium, deposits thereon
Computer program is contained, method and step described in aforementioned first embodiment is realized when which is executed by processor.
Based on the same inventive concept, fourth embodiment of the invention additionally provides a kind of computer equipment, as shown in figure 3, being
Convenient for explanation, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, please refers to the present invention
Embodiment method part.The computer equipment can be include mobile phone, tablet computer, PDA (Personal Digital
Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), any terminal device such as vehicle-mounted computer,
By taking computer equipment is mobile phone as an example:
Fig. 3 shows the block diagram of part-structure relevant to computer equipment provided in an embodiment of the present invention.With reference to figure
3, which includes: memory 301 and processor 302.It will be understood by those skilled in the art that being counted shown in Fig. 3
It calculates machine equipment structure and does not constitute the restriction to computer equipment, may include than illustrating more or fewer components or group
Close certain components or different component layouts.
It is specifically introduced below with reference to each component parts of the Fig. 3 to computer equipment:
Memory 301 can be used for storing software program and module, and processor 302 is stored in memory 301 by operation
Software program and module, thereby executing various function application and data processing.Memory 301 can mainly include storage journey
Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;It storage data area can storing data (such as audio data, phone directory etc.)
Deng.In addition, memory 301 may include high-speed random access memory, it can also include nonvolatile memory, for example, at least
One disk memory, flush memory device or other volatile solid-state parts.
Processor 302 is the control centre of computer equipment, by running or executing the software being stored in memory 301
Program and/or module, and the data being stored in memory 301 are called, perform various functions and handle data.Optionally,
Processor 302 may include one or more processing units;Preferably, processor 302 can integrate application processor and modulation /demodulation
Processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor master
Handle wireless communication.
In embodiments of the present invention, processor 302 included by the computer equipment can have in previous embodiment and appoint
Function corresponding to one method and step.
In short, the method and device according to the present invention for generating test script, firstly, obtaining the interface letter of destination service
Breath, then, parses interface message, determines more than one interface, and obtains interface attributes letter corresponding with each interface
Breath, then object to be tested is obtained according to the interface attributes information of each interface respectively, from all objects to be tested obtained really
Target interface object is made, finally, generating corresponding with target interface object according to the interface attributes information in target interface object
Interface testing script, simplify generate interface testing script process, improve the efficiency of interface testing.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize one of some or all components according to embodiments of the present invention
A little or repertoire.The present invention is also implemented as setting for executing some or all of method as described herein
Standby or program of device (for example, computer program and computer program product).It is such to realize that program of the invention deposit
Storage on a computer-readable medium, or may be in the form of one or more signals.Such signal can be from because of spy
It downloads and obtains on net website, be perhaps provided on the carrier signal or be provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
Claims (10)
1. a kind of method for generating test script, which is characterized in that the described method includes:
Obtain the interface message of destination service;
The interface message is parsed, determines more than one interface, and obtains interface category corresponding with each interface
Property information;
Respectively according to the interface attributes information of each interface, object to be tested is obtained;
Target interface object is determined from all objects to be tested obtained;
According to the interface attributes information in the target interface object, interface corresponding with the target interface object is generated
Test script.
2. the method as described in claim 1, which is characterized in that the interface message for obtaining destination service, comprising:
The interface message is obtained from the interface definition document defined in a manner of Swagger in the destination service.
3. the method as described in claim 1, which is characterized in that according to the interface attributes information of each interface, obtain
Obtain object to be tested, comprising:
It is Json file by the interface attributes information preservation of the interface, and using the Json file as described to be tested
Object.
4. the method as described in claim 1, which is characterized in that the interface attributes information includes interface name, interface unification
Resource Locator, interface method type, interface enter to join position, interface enters to join type and interface return parameters type at least one
Kind.
5. method as claimed in claim 4, which is characterized in that when the interface attributes information includes that the interface enters to join type
And/or the interface return parameters type, and the interface enters to join type and/or the interface return parameters type is compound right
As when, after acquisition interface attributes information corresponding with each interface, and the acquisition object to be tested it
Before, the method also includes:
The parameter information of each subobject in the composite object is obtained respectively;
Wherein, described respectively according to the interface attributes information of each interface, obtain object to be tested, comprising:
According to the parameter information of subobject each in the composite object, the object to be tested is obtained.
6. a kind of device for generating test script, which is characterized in that described device includes:
Module is obtained, for obtaining the interface message of destination service;
First determining module determines more than one interface for parsing to the interface message, and obtain with it is each described
The corresponding interface attributes information of interface;
Module is obtained, for according to the interface attributes information of each interface, obtaining object to be tested respectively;
Second determining module, for determining target interface object from all objects to be tested obtained;
Generation module, for generating and the target interface according to the interface attributes information in the target interface object
The corresponding interface testing script of object.
7. device as claimed in claim 6, which is characterized in that the acquisition module is specifically used for:
The interface message is obtained from the interface definition document defined in a manner of Swagger in the destination service.
8. device as claimed in claim 6, which is characterized in that the acquisition module is specifically used for:
It is Json file by the interface attributes information preservation of the interface, and using the Json file as described to be tested
Object.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
Method and step as claimed in any one of claims 1-5 is realized when row.
10. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, which is characterized in that the processor is realized when executing described program such as any claim institute in claim 1-5
The method and step stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910423408.2A CN110262962A (en) | 2019-05-21 | 2019-05-21 | Generate the method and device of test script |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910423408.2A CN110262962A (en) | 2019-05-21 | 2019-05-21 | Generate the method and device of test script |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110262962A true CN110262962A (en) | 2019-09-20 |
Family
ID=67914957
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910423408.2A Pending CN110262962A (en) | 2019-05-21 | 2019-05-21 | Generate the method and device of test script |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110262962A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130262934A1 (en) * | 2012-03-27 | 2013-10-03 | Ge Medical Systems Global Technology Company, Llc | Method and apparatus for automatically generating a test script for a graphical user interface |
CN109240923A (en) * | 2018-08-31 | 2019-01-18 | 福建天泉教育科技有限公司 | The generation method and computer readable storage medium of interface testing script |
CN109408375A (en) * | 2018-09-27 | 2019-03-01 | 深圳壹账通智能科技有限公司 | The generation method and device of interface document |
CN109446072A (en) * | 2018-09-27 | 2019-03-08 | 深圳壹账通智能科技有限公司 | The generation method and device of test script |
CN109491894A (en) * | 2018-10-25 | 2019-03-19 | 深圳壹账通智能科技有限公司 | A kind of method and apparatus of interface testing |
CN109614336A (en) * | 2018-12-14 | 2019-04-12 | 深圳壹账通智能科技有限公司 | A kind of generation method and equipment of test script |
-
2019
- 2019-05-21 CN CN201910423408.2A patent/CN110262962A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130262934A1 (en) * | 2012-03-27 | 2013-10-03 | Ge Medical Systems Global Technology Company, Llc | Method and apparatus for automatically generating a test script for a graphical user interface |
CN109240923A (en) * | 2018-08-31 | 2019-01-18 | 福建天泉教育科技有限公司 | The generation method and computer readable storage medium of interface testing script |
CN109408375A (en) * | 2018-09-27 | 2019-03-01 | 深圳壹账通智能科技有限公司 | The generation method and device of interface document |
CN109446072A (en) * | 2018-09-27 | 2019-03-08 | 深圳壹账通智能科技有限公司 | The generation method and device of test script |
CN109491894A (en) * | 2018-10-25 | 2019-03-19 | 深圳壹账通智能科技有限公司 | A kind of method and apparatus of interface testing |
CN109614336A (en) * | 2018-12-14 | 2019-04-12 | 深圳壹账通智能科技有限公司 | A kind of generation method and equipment of test script |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170329506A1 (en) | Visual workflow model | |
CN104115143B (en) | Multiple tabss stack user interface | |
CN103810196A (en) | Method for testing performance of database on basis of business model | |
CN106648556B (en) | Method and device for front-end and back-end integrated development test | |
US10382313B2 (en) | Test building for testing server operation | |
CN112352444B (en) | Location platform for managing and providing user experience | |
US10379826B1 (en) | Determining inputs to an integration flow component | |
US8661356B2 (en) | Time application having an intergrated check engine | |
CN103714002B (en) | Project testing method and device based on configuration system | |
CN109710528A (en) | A kind of test script generation method, device, equipment and medium | |
CN111881042A (en) | Automatic test script generation method and device and electronic equipment | |
CN111309624B (en) | Test method, test device, test equipment and storage medium | |
CN109800165A (en) | A kind of front end system test method and device | |
CN113778878A (en) | Interface testing method and device, electronic equipment and storage medium | |
CN103955425A (en) | Webpage (WEB) exploring testing device and method | |
CN107291619A (en) | EMS memory occupation analysis method and device | |
CN116149666A (en) | Grammar checking method and system of SQL sentence, electronic equipment and readable storage medium | |
US20230153566A1 (en) | Erroneous cell detection using an artificial intelligence model | |
CN110262962A (en) | Generate the method and device of test script | |
CN105426541B (en) | A kind of storage method and device of general data | |
CN111831277B (en) | Virtual data generation method, system, device and computer readable storage medium | |
US11334475B1 (en) | Graph based event-driven computing | |
US11556523B2 (en) | Calculating order dependency in configuration activation for complex scenarios | |
CN113506099A (en) | Configuration system, method, computer device and storage medium for reporting service | |
US9886435B2 (en) | Pseudo internal numbering mechanism |
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: 20190920 |