CN108804305A - A kind of method and device of automatic test - Google Patents

A kind of method and device of automatic test Download PDF

Info

Publication number
CN108804305A
CN108804305A CN201710313758.4A CN201710313758A CN108804305A CN 108804305 A CN108804305 A CN 108804305A CN 201710313758 A CN201710313758 A CN 201710313758A CN 108804305 A CN108804305 A CN 108804305A
Authority
CN
China
Prior art keywords
test
case
tested
test script
functional test
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
CN201710313758.4A
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 Didi Infinity Technology and Development Co Ltd
Original Assignee
Beijing Didi Infinity Technology and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Didi Infinity Technology and Development Co Ltd filed Critical Beijing Didi Infinity Technology and Development Co Ltd
Priority to CN201710313758.4A priority Critical patent/CN108804305A/en
Publication of CN108804305A publication Critical patent/CN108804305A/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/3696Methods or tools to render software testable

Abstract

Embodiment of the invention discloses that a kind of automated testing method and device, this method is during treating test object and being tested, input uses a certain preset language, such as, the test case that Xml writes, can according to the contact of each functional test script in each functional test script in test case and test case, by the test case be parsed into the matched test case of the programming language of object to be tested, treat test object and tested.This method need not write test case for different objects to be detected using corresponding language, and it only needs with certain specific language, such as, Xml, write test case, automation use-case author only needs to possess the ability that the specific language can be used to write test case, and technical threshold is relatively low, the professional requirement for treating the use-case author that test object is checked that reduces.

Description

A kind of method and device of automatic test
Technical field
The present invention relates to internet technical field of measurement and test, more particularly, to a kind of method and device of automatic test.
Background technology
It is the frame increased income or class and the group of Programming with Pascal Language that the use-case of automatic test at this stage, which writes universal scheme, It closes.For example, using a kind of combination of Selenium (automated test tool) and Java (programming language), Web automations are realized It tests (webpage automatic test), the combination of Appium (a kind of automated test tool) and Python (programming language), realizes App automatic tests (automatic test of software), (" hypertext pre-processes a kind of phpunit (automated test tool)+php Device ", one kind are increased income script) combination, realize service end interface automatic test.
During realizing the embodiment of the present invention, inventor has found existing automated testing method, automates use-case Author needs to be grasped different frames or class and programming language for different platform, to automating the energy of use-case author Power is more demanding, and technical threshold is higher.
Invention content
The technical problem to be solved by the present invention is to existing automated testing method, use-case author is not for for automation Different frames or class and programming language are needed to be grasped with platform, skill higher to the Capability Requirement for automating use-case author The higher problem of art threshold.
For the above technical problem, the embodiment provides a kind of methods of automatic test, including:
It obtains and treats the test case and the test case that test object is tested using what preset language was write In the first functional test script and previously according to the mapping between the second functional test script of the object encapsulation to be tested Relationship;
According to the mapping relations, the test case is resolved to the target being made of second functional test script Test case;
Automatic test is carried out to the object to be tested using the target detection use-case.
Optionally, described that automatic test is carried out to the object to be tested using the target detection use-case, including:
The target detection use-case is run to the object to be tested, records the test knot of second functional test script Fruit and test data;
According to the test result and the Test data generation standardization report, the standardization report is shown.
Optionally, the test case treated test object and tested write using preset language in the acquisition, with And the first functional test script in the test case and the second functional test previously according to the object encapsulation to be tested Before mapping relations between script, further include:
First functional test script write using the preset language is obtained, and according to the object to be tested Second functional test script of encapsulation;
Establish the mapping relations between the second functional test script and the first corresponding functional test script.
Optionally, described according to the mapping relations, the test case is resolved to by the second functional test foot The target detection use-case of this composition, including:
For first functional test script the second corresponding functional test is found according to the mapping relations Script;
According to the relationship between the first functional test script in the test case, to by the second functional test foot Originally it is combined, obtains the target detection use-case.
Optionally, the preset language is extensible markup language.
The automated testing method that the embodiment of the present invention provides, it is defeated during treating test object and being tested Enter to use a certain preset language, for example, the test case that Xml (expansible programming language) writes, you can according in test case The contact of each functional test script in functional test script and test case, by the test case be parsed into it is to be tested right The matched test case of programming language of elephant, treats test object and is tested.This method need not be directed to different to be detected Object writes test case using corresponding language, and only needs with certain specific language, for example, Xml, writes test and use Example.Automation use-case author only needs to possess the ability that the specific language can be used to write test case, technology The professional requirement for treating the use-case author that test object is checked that threshold is relatively low, reduces.
Second aspect, the embodiments of the present invention also provide a kind of devices of automatic test, including:
Acquisition module, for obtaining the test case treated test object and tested for using preset language to write, with And the first functional test script in the test case and the second functional test previously according to the object encapsulation to be tested Mapping relations between script;
Parsing module, for according to the mapping relations, the test case to be resolved to by second functional test The target detection use-case of script composition;
Test module, for carrying out automatic test to the object to be tested using the target detection use-case.
Optionally, the test module is additionally operable to run the target detection use-case to the object to be tested, records institute State the test result and test data of the second functional test script;According to the test result and the Test data generation standard Change report, shows the standardization report.
Optionally, further include creation module, the creation module is used in pair for obtaining and being write using preset language The first functional test script in test case and the test case that object to be tested is tested with previously according to institute Before stating the mapping relations between the second functional test script of object encapsulation to be tested, obtains and write using the preset language First functional test script, and the second functional test script according to the object encapsulation to be tested;Establish second Mapping relations between functional test script and the first corresponding functional test script.
Optionally, the parsing module is additionally operable to be looked for according to the mapping relations for first functional test script To the second corresponding functional test script;According to the relationship between the first functional test script in the test case, To second functional test script to be combined, the target detection use-case is obtained.
Optionally, the preset language is extensible markup language.
The automatic test device that the embodiment of the present invention provides, it is defeated during treating test object and being tested Enter to use a certain preset language, for example, the test case that Xml (expansible programming language) writes, you can according in test case The contact of each functional test script in functional test script and test case, by the test case be parsed into it is to be tested right The matched test case of programming language of elephant, treats test object and is tested.The device need not be directed to different to be detected Object writes test case using corresponding language, and only needs with certain specific language, for example, Xml, writes test and use Example.Automation use-case author only needs to possess the ability that the specific language can be used to write test case, technology The professional requirement for treating the use-case author that test object is checked that threshold is relatively low, reduces.
Description of the drawings
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 technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Some bright 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 method for automatic test provided by one embodiment of the present invention;
Fig. 2 is the schematic diagram of the implementation procedure for the automatic test that another embodiment of the present invention provides;
Fig. 3 is the structure diagram of the device for the automatic test that another embodiment of the present invention provides;
Fig. 4 is the entity structure schematic diagram for a kind of electronic equipment that another embodiment of the present invention provides.
Specific implementation mode
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 The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the flow diagram of the method for automatic test provided in this embodiment.Referring to Fig. 1, this method includes:
101:It obtains and treats the test case and the test that test object is tested using what preset language was write The first functional test script in use-case and previously according between the second functional test script of the object encapsulation to be tested Mapping relations;
102:According to the mapping relations, the test case is resolved to and is made of second functional test script Target detection use-case;
103:Automatic test is carried out to the object to be tested using the target detection use-case.
It should be noted that object to be tested refers to webpage, software or server etc..In general, treating test object During being tested, need to write test case according to the programming language and structural framing of object to be tested itself, it is this Test method is strong to the professional requirement of tester.In order to reduce the requirement to tester, reduces the cost of test, provide The method of the present embodiment, this method only needs tester to grasp a certain programming language, therefore reduces to tester The requirement of member, reduces the cost of test.
Preset language can be this speech like sound of such as Xml, as long as the test case solution that can will be write using preset language Analysis is the target detection use-case with object matching to be tested, realizes the test for treating test object, the present embodiment is to default Language is not particularly limited.Wherein, test case is by several first functional test scripts according to certain logical order group At one section of code.Mapping relations can correspond to the first functional test script and the second corresponding functional test script The tabular relationship of storage can also be the relationship stored according to a certain mapping ruler, as long as can pass through the first functional test foot Originally corresponding second functional test script is found, the present embodiment is not particularly limited.
After finding corresponding second functional test script of each first functional test script, according in test case Relationship between each first functional test script combines the second function script, that is, realizes test case and used to target detection The parsing of example, target detection use-case are the test case with object matching to be tested.Finally, pass through the test of object to be tested The test for treating test object can be realized in interface.
The automated testing method that the embodiment of the present invention provides, it is defeated during treating test object and being tested Enter to use a certain preset language, for example, the test case that Xml (expansible programming language) writes, you can according in test case The contact of each functional test script in each functional test script and test case, by the test case be parsed into it is to be measured The matched test case of programming language for trying object, treats test object and is tested.This method need not be directed to different wait for Detection object writes test case using corresponding language, and only needs with certain specific language, for example, Xml, writes survey Example on probation.Automation use-case author only needs to possess the ability that the specific language can be used to write test case, The professional requirement for treating the use-case author that test object is checked that technical threshold is relatively low, reduces.
Further, on the basis of the above embodiments, described to use the target detection use-case to described to be tested right As progress automatic test, including:
The target detection use-case is run to the object to be tested, records the test knot of second functional test script Fruit and test data;
According to the test result and the Test data generation standardization report, the standardization report is shown.
Test result and test data can be shown in digital form as a result, can also be to be shown with graphic form As a result, for example, carry out sectional drawing with the relevant picture of test result during the test pair, using as whether judging object to be tested Foundation defective or that defect is searched.
Standardization report is the report for the performance for showing entire object various aspects to be tested, can be with by standardization report Trace and reappear the object problem to be tested.
The embodiment provides treat the side that test object is detected using the target detection use-case after parsing Method is recorded and is preserved to test result and test data, convenient to trace and answer according to test result and test data in time The problem of existing object to be tested.
Further, on the basis of above-mentioned each embodiment, it is described obtain using preset language write to be measured The first functional test script in test case and the test case that examination object is tested is waited for previously according to described Before mapping relations between second functional test script of test object encapsulation, further include:
First functional test script write using the preset language is obtained, and according to the object to be tested Second functional test script of encapsulation;
Establish the mapping relations between the second functional test script and the first corresponding functional test script.
For example, treating the function of test object test as needed, the first of the function can be realized by being write using Xml language Functional test script, identical function can be realized with the first functional test script by then finding, and be used and object to be tested The second functional test script that the identical language of programming language is write establishes the first test script that can realize identical function And the second incidence relation and storage between test script.
Alternatively, the second functional test script of the programming language encapsulation previously according to object to be tested is obtained, according to second Functional test script writes the first functional test script corresponding with the second functional test script using Xml language, by the second work( The mapping relations of energy test script and corresponding first functional test script store.
When being parsed to test case, it is only necessary to each in the test case write according to tester Then first functional test script finds the second functional test script corresponding with each the first functional test script, then By the second functional test script according to composition of relations the second functional test foot between the first functional test script in test case This, you can obtain target detection use-case.
Mapping relations between every 1 second functional test script and the first corresponding functional test script can lead to Table is crossed to be stored, can also the mode of (for example, Hash table) by other means stored, as long as first can be passed through Functional test script finds corresponding second functional test script.
Present embodiments provide mapping relations between a kind of generation the first functional test script and the second functional test script Method, pass through the fast resolving that the test case to writing using preset language may be implemented in this method.
Further, described according to the mapping relations on the basis of above-mentioned each embodiment, by the test case The target detection use-case being made of second functional test script is resolved to, including:
For first functional test script the second corresponding functional test is found according to the mapping relations Script;
According to the relationship between the first functional test script in the test case, to by the second functional test foot Originally it is combined, obtains the target detection use-case.
It present embodiments provides and a kind of resolving to the test case write using preset language and object matching to be tested Target detection use-case method, can test case quickly be resolved into corresponding target detection use-case, realized to be tested The test of object.
Further, on the basis of above-mentioned each embodiment, the preset language is extensible markup language.
On the one hand, extensible markup language (Xml is relatively easy, convenient for study) is convenient for tester's study and practicality, separately On the one hand, the method for generating test case with respect to interface layout, this method have more stable test result.This It is, when interface layout changes, to be malfunctioned according to the test logic that operational order generates since the dependence of interface layout is strong Probability it is very big, the test logic of mistake may cause to can not test Web.This method only requires that tester uses The format of Xml writes inspection code, reduces and requires the profession of tester, on the other hand, tester is writing Xml generations Logic adjustment appropriate can be done when code according to object to be tested, the accuracy for testing code is high, ensure that and is given birth to by test code At target detection code exploitativeness.
As a kind of more specifically embodiment, as shown in Fig. 2, using the format input test use-case 201 of Xml, parsing Device 202 verifies Platform Type and (for example, if Windows or Mac systems, can determine that as the ends Web;If Linux or Unix systems System, can determine that as server-side;If Android or ios systems, can determine that as mobile terminal), after the type for judging object to be tested, According to the functional test script being encapsulated in object to be tested, the test case of Xml is parsed (for example, by test case In functional test script be mapped to the method function under corresponding platform individually developed and encapsulate, i.e. functional test script, then The parameter sets defined in XML are assembled, the parameter set as function is incoming, one by one iteration, can will include in a complete XML Multiple functional test scripts resolve to the set of the code block arranged in order one by one) obtain target detection use-case.
Then actuator 203 is treated test object using target detection use-case and is tested, and executes each code block successively, And collect return value, system output, process record (such as:Sectional drawing) etc. contents, these result informations are stored in result set 204 In.Standardized report is generated, including global and substep result and data, allow user that can get information about conclusion, together When facilitate according to abundant data record come trace, reproduction problem.
As more specifically embodiment, for example, being to the step of ends Web automatic test:
The test case for opening Chrome browsers (Google's browser) is write using the format of Xml;
Then according to the pass between each functional test script in the functional test script and test case of the storage of the ends Web System, which, which is resolved to use, can drive Chrome WebDriver (Google's browser driver) to realize corresponding behaviour The target detection use-case that the programming language of work is write;
The ends Web are detected using the target detection use-case, for example, executing the target detection use-case, access some Network address clicks corresponding button, tests the Chrome browsers, obtains test result and test data, generates standard Change report, whether correct verifies the official documents and correspondence.
For another example, it is to the step of ends App automatic test:
The test case for opening the App is write using the format of Xml;
Then according between each functional test script in the functional test script and test case of the ends App storage Relationship, which, which is resolved to use, can drive Android/iOS AppDriver (Android or IOS systematic differences Driven by program) realize the target detection use-case that the programming language of corresponding operating is write;
The ends App are tested using the target detection use-case, for example, inputting text in input frame, are clicked corresponding Button, which is tested, test result and test data are obtained, standardization report is generated, whether verifies the official documents and correspondence Correctly.
For another example, it is to the step of ends Server automatic test:
The interface URL (uniform resource locator) for constructing the ends Server, the functional test foot stored according to the ends Server Relationship in sheet and test case between each functional test script, which, which is resolved to use, can call Server Hold function (such as:Http is called, and localization is called) the target detection use-case write of programming language;
The ends Server are tested using the target detection use-case, for example, the repeatedly information of transmission interface request, verification Whether returning the result for receiving be identical.
Second aspect present embodiments provides a kind of device 300 of automatic test, including acquisition module 301, parsing mould Block 302 and test module 303, wherein
Acquisition module 301, for obtaining the test case treated test object and tested for using preset language to write, And the first functional test script in the test case is surveyed with the second function previously according to the object encapsulation to be tested Mapping relations between training sheet;
Parsing module 302, for according to the mapping relations, the test case being resolved to and is surveyed by second function The target detection use-case of this composition of training;
Test module 303, for carrying out automatic test to the object to be tested using the target detection use-case.
The device 300 of automatic test provided in this embodiment is suitable for the automatic test described in above-described embodiment Method, details are not described herein.
The automatic test device that the embodiment of the present invention provides, it is defeated during treating test object and being tested Enter to use a certain preset language, for example, the test case that Xml (expansible programming language) writes, you can according in test case The contact of each functional test script in each functional test script and test case, by the test case be parsed into it is to be measured The matched test case of programming language for trying object, treats test object and is tested.The device need not be directed to different wait for Detection object writes test case using corresponding language, and only needs with certain specific language, for example, Xml, writes survey Example on probation.Automation use-case author only needs to possess the ability that the specific language can be used to write test case, The professional requirement for treating the use-case author that test object is checked that technical threshold is relatively low, reduces.
Optionally, the test module is additionally operable to run the target detection use-case to the object to be tested, records institute State the test result and test data of the second functional test script;According to the test result and the Test data generation standard Change report, shows the standardization report.
Optionally, further include creation module, the creation module is used in pair for obtaining and being write using preset language The first functional test script in test case and the test case that object to be tested is tested with previously according to institute Before stating the mapping relations between the second functional test script of object encapsulation to be tested, obtains and write using the preset language First functional test script, and the second functional test script according to the object encapsulation to be tested;Establish second Mapping relations between functional test script and the first corresponding functional test script.
Optionally, the parsing module is additionally operable to be looked for according to the mapping relations for first functional test script To the second corresponding functional test script;According to the relationship between the first functional test script in the test case, To second functional test script to be combined, the target detection use-case is obtained.
Optionally, the preset language is extensible markup language.
Fig. 4 is the entity structure schematic diagram of electronic equipment provided in an embodiment of the present invention, with reference to Fig. 4, including:It is at least one Processor (processor) 401;
And at least one processor (memory) 402, the bus 403 being connect with the processor 401;Wherein,
The processor 401, memory 402 complete mutual communication by the bus 403;
The processor 401 is used to call the program instruction in the memory 402, to execute above-mentioned each method embodiment The method provided, such as including:The test case treated test object and tested write using preset language is obtained, with And the first functional test script in the test case and the second functional test previously according to the object encapsulation to be tested Mapping relations between script;According to the mapping relations, the test case is resolved to by the second functional test foot The target detection use-case of this composition;Automatic test is carried out to the object to be tested using the target detection use-case.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating Computer program on machine readable storage medium storing program for executing, the computer program include program instruction, when described program instruction is calculated When machine executes, computer is able to carry out the method that above-mentioned each method embodiment is provided, such as including:It obtains and uses preset language The first functional test script treated in the test case and the test case that test object is tested write with it is pre- First according to the mapping relations between the second functional test script of the object encapsulation to be tested;It, will according to the mapping relations The test case resolves to the target detection use-case being made of second functional test script;It is used using the target detection Example carries out automatic test to the object to be tested.
The present embodiment provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium Computer instruction is stored, the computer instruction makes the computer execute the method that above-mentioned each method embodiment is provided, example Such as include:It obtains and treats the test case and the test case that test object is tested using what preset language was write In the first functional test script and previously according to the mapping between the second functional test script of the object encapsulation to be tested Relationship;According to the mapping relations, the test case is resolved to and is surveyed by the target that second functional test script forms Example on probation;Automatic test is carried out to the object to be tested using the target detection use-case.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer read/write memory medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or light The various media that can store program code such as disk.
The embodiments such as electronic equipment described above are only schematical, illustrate as separating component wherein described Unit may or may not be physically separated, and the component shown as unit may or may not be object Manage unit, you can be located at a place, or may be distributed over multiple network units.It can select according to the actual needs Some or all of module therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying wound In the case of the labour for the property made, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It is realized by the mode of software plus required 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 expressed in the form of software products in other words, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, 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.
Finally it should be noted that:The above various embodiments is only to illustrate the technical solution of the embodiment of the present invention rather than right It is limited;Although the embodiment of the present invention is described in detail with reference to foregoing embodiments, the ordinary skill of this field Personnel should understand that:It still can be with technical scheme described in the above embodiments is modified, or to which part Or all technical features carries out equivalent replacement;And these modifications or replacements, it does not separate the essence of the corresponding technical solution The range of each embodiment technical solution of the embodiment of the present invention.

Claims (10)

1. a kind of method of automatic test, which is characterized in that including:
It obtains and is treated in the test case and the test case that test object is tested using what preset language was write First functional test script and previously according to the mapping relations between the second functional test script of the object encapsulation to be tested;
According to the mapping relations, the test case is resolved to the target detection being made of second functional test script Use-case;
Automatic test is carried out to the object to be tested using the target detection use-case.
2. according to the method described in claim 1, which is characterized in that described to use the target detection use-case to described to be measured It tries object and carries out automatic test, including:
The target detection use-case is run to the object to be tested, record second functional test script test result and Test data;
According to the test result and the Test data generation standardization report, the standardization report is shown.
3. according to the method described in claim 1, which is characterized in that it is described obtain using preset language write to be measured The first functional test script in test case and the test case that examination object is tested is waited for previously according to described Before mapping relations between second functional test script of test object encapsulation, further include:
First functional test script write using the preset language is obtained, and according to the object encapsulation to be tested The second functional test script;
Establish the mapping relations between the second functional test script and the first corresponding functional test script.
4. according to the method described in claim 1, which is characterized in that it is described according to the mapping relations, the test is used It is the target detection use-case being made of second functional test script to illustrate analysis, including:
For first functional test script the second corresponding functional test script is found according to the mapping relations;
According to the relationship between the first functional test script in the test case, to by second functional test script into Row combination, obtains the target detection use-case.
5. according to the method described in claim 1, which is characterized in that the preset language is extensible markup language.
6. a kind of device of automatic test, which is characterized in that including:
Acquisition module, for obtaining the test case treated test object and tested for using preset language to write, Yi Jisuo State the first functional test script in test case and the second functional test script previously according to the object encapsulation to be tested Between mapping relations;
Parsing module, for according to the mapping relations, the test case to be resolved to by second functional test script The target detection use-case of composition;
Test module, for carrying out automatic test to the object to be tested using the target detection use-case.
7. according to the device described in claim 6, which is characterized in that the test module is additionally operable to the object to be tested The target detection use-case is run, the test result and test data of second functional test script are recorded;According to the survey Test result and the Test data generation standardization report, show the standardization report.
8. according to the device described in claim 6, which is characterized in that further include creation module, the creation module is used for Described obtain is treated using what preset language was write in the test case and the test case that test object is tested First functional test script and previously according to the mapping relations between the second functional test script of the object encapsulation to be tested Before, first functional test script write using the preset language is obtained, and is sealed according to the object to be tested Second functional test script of dress;Establish reflecting between the second functional test script and the first corresponding functional test script Penetrate relationship.
9. according to the device described in claim 6, which is characterized in that the parsing module is additionally operable to be directed to first function Test script finds the second corresponding functional test script according to the mapping relations;According in the test case Relationship between first functional test script obtains the target detection to second functional test script to be combined Use-case.
10. according to the device described in claim 6, which is characterized in that the preset language is extensible markup language.
CN201710313758.4A 2017-05-05 2017-05-05 A kind of method and device of automatic test Pending CN108804305A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710313758.4A CN108804305A (en) 2017-05-05 2017-05-05 A kind of method and device of automatic test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710313758.4A CN108804305A (en) 2017-05-05 2017-05-05 A kind of method and device of automatic test

Publications (1)

Publication Number Publication Date
CN108804305A true CN108804305A (en) 2018-11-13

Family

ID=64054839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710313758.4A Pending CN108804305A (en) 2017-05-05 2017-05-05 A kind of method and device of automatic test

Country Status (1)

Country Link
CN (1) CN108804305A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109491920A (en) * 2018-11-28 2019-03-19 郑州云海信息技术有限公司 A kind of method and apparatus increasing use-case function declaration for test case
CN109800395A (en) * 2019-01-25 2019-05-24 广东电网有限责任公司 A kind of automation of transformation substations apparatus testing method
CN109815127A (en) * 2018-12-21 2019-05-28 浙江数链科技有限公司 Automatized script conversion method, device, computer equipment and storage medium
CN110515848A (en) * 2019-08-29 2019-11-29 行吟信息科技(上海)有限公司 Automatization test system and automated testing method
CN111324526A (en) * 2018-12-14 2020-06-23 北京金山云网络技术有限公司 Interface test system, method and server
CN111382055A (en) * 2018-12-29 2020-07-07 贝壳技术有限公司 Automatic unit testing method and device based on unified description language
CN111694738A (en) * 2020-06-04 2020-09-22 贵州易鲸捷信息技术有限公司 Method for generating SQL test script
CN112667505A (en) * 2020-12-25 2021-04-16 杭州群核信息技术有限公司 Terminal testing method and device, storage medium and electronic device
CN116126739A (en) * 2023-04-18 2023-05-16 北京安锐卓越信息技术股份有限公司 Module updating method and device of APP product and electronic equipment
CN117171052A (en) * 2023-10-30 2023-12-05 浙江禾川科技股份有限公司 Script testing method, device, equipment and medium based on XML language
CN111324526B (en) * 2018-12-14 2024-04-26 北京金山云网络技术有限公司 Interface test system, method and server

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103984628A (en) * 2014-05-15 2014-08-13 中国南方航空股份有限公司 Automatic function test method and system applied to BS (browser/server) framework
US20150026665A1 (en) * 2013-07-17 2015-01-22 Ebay Inc. Automated test on applications or websites in mobile devices
CN104778124A (en) * 2015-04-13 2015-07-15 上海新炬网络信息技术有限公司 Automatic testing method for software application
CN105068929A (en) * 2015-08-06 2015-11-18 网易(杭州)网络有限公司 Test script generation method, test script generation device, testing method, testing device and testing system
CN105335287A (en) * 2015-10-15 2016-02-17 广东欧珀移动通信有限公司 Automatic test method and device
CN105701000A (en) * 2014-11-25 2016-06-22 中兴通讯股份有限公司 Service testing method and device
CN106201873A (en) * 2016-07-01 2016-12-07 网易(杭州)网络有限公司 The treating method and apparatus of test script
CN106598834A (en) * 2015-10-19 2017-04-26 腾讯科技(深圳)有限公司 UI (User Interface) testing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150026665A1 (en) * 2013-07-17 2015-01-22 Ebay Inc. Automated test on applications or websites in mobile devices
CN103984628A (en) * 2014-05-15 2014-08-13 中国南方航空股份有限公司 Automatic function test method and system applied to BS (browser/server) framework
CN105701000A (en) * 2014-11-25 2016-06-22 中兴通讯股份有限公司 Service testing method and device
CN104778124A (en) * 2015-04-13 2015-07-15 上海新炬网络信息技术有限公司 Automatic testing method for software application
CN105068929A (en) * 2015-08-06 2015-11-18 网易(杭州)网络有限公司 Test script generation method, test script generation device, testing method, testing device and testing system
CN105335287A (en) * 2015-10-15 2016-02-17 广东欧珀移动通信有限公司 Automatic test method and device
CN106598834A (en) * 2015-10-19 2017-04-26 腾讯科技(深圳)有限公司 UI (User Interface) testing method and device
CN106201873A (en) * 2016-07-01 2016-12-07 网易(杭州)网络有限公司 The treating method and apparatus of test script

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109491920A (en) * 2018-11-28 2019-03-19 郑州云海信息技术有限公司 A kind of method and apparatus increasing use-case function declaration for test case
CN111324526A (en) * 2018-12-14 2020-06-23 北京金山云网络技术有限公司 Interface test system, method and server
CN111324526B (en) * 2018-12-14 2024-04-26 北京金山云网络技术有限公司 Interface test system, method and server
CN109815127A (en) * 2018-12-21 2019-05-28 浙江数链科技有限公司 Automatized script conversion method, device, computer equipment and storage medium
CN109815127B (en) * 2018-12-21 2022-11-15 浙江数链科技有限公司 Automatic script conversion method and device, computer equipment and storage medium
CN111382055B (en) * 2018-12-29 2023-09-15 贝壳技术有限公司 Automatic unit testing method and device based on unified description language
CN111382055A (en) * 2018-12-29 2020-07-07 贝壳技术有限公司 Automatic unit testing method and device based on unified description language
CN109800395A (en) * 2019-01-25 2019-05-24 广东电网有限责任公司 A kind of automation of transformation substations apparatus testing method
CN110515848A (en) * 2019-08-29 2019-11-29 行吟信息科技(上海)有限公司 Automatization test system and automated testing method
CN111694738A (en) * 2020-06-04 2020-09-22 贵州易鲸捷信息技术有限公司 Method for generating SQL test script
CN112667505A (en) * 2020-12-25 2021-04-16 杭州群核信息技术有限公司 Terminal testing method and device, storage medium and electronic device
CN116126739A (en) * 2023-04-18 2023-05-16 北京安锐卓越信息技术股份有限公司 Module updating method and device of APP product and electronic equipment
CN117171052A (en) * 2023-10-30 2023-12-05 浙江禾川科技股份有限公司 Script testing method, device, equipment and medium based on XML language
CN117171052B (en) * 2023-10-30 2024-02-09 浙江禾川科技股份有限公司 Script testing method, device, equipment and medium based on XML language

Similar Documents

Publication Publication Date Title
CN108804305A (en) A kind of method and device of automatic test
CN107908541B (en) Interface testing method and device, computer equipment and storage medium
US20190213116A1 (en) Generation of automated testing scripts by converting manual test cases
US8977739B2 (en) Configurable frame work for testing and analysis of client-side web browser page performance
US10540269B2 (en) Inter-process communication automated testing framework
WO2018010552A1 (en) Test method and device
US8745641B1 (en) Automatic verification and anomaly detection in a representational state transfer (REST) application programming interface
CN107291438B (en) Automatic script generation method and device and electronic equipment
CN111061526B (en) Automatic test method, device, computer equipment and storage medium
US20060101404A1 (en) Automated system for tresting a web application
US20180004640A1 (en) Automated http user flows simulator
WO2019216976A1 (en) Analytics for an automated application testing platform
CN108459850B (en) Method, device and system for generating test script
CN107026773B (en) Automatic association method for interface automation test
CN106776318A (en) A kind of test script method for recording and system
Nyamathulla et al. A review on selenium web driver with python
Choudhary et al. A cross-browser web application testing tool
CN108153667B (en) Automatic test method, device and system
US9274933B2 (en) Pretest setup planning
CN110765010A (en) Online debugging method and device for visual development based on Flink
CN111078529B (en) Client writing module testing method and device and electronic equipment
CN115514677B (en) Method and system for server dial testing
CN108334446A (en) A kind of method of calibration of web page template, device and computer readable storage medium
US20140281719A1 (en) Explaining excluding a test from a test suite
CN114398283A (en) Automatic testing method and device for user interface, electronic equipment and storage medium

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