CN110297767A - Test case automatic execution method, device, equipment and storage medium - Google Patents

Test case automatic execution method, device, equipment and storage medium Download PDF

Info

Publication number
CN110297767A
CN110297767A CN201910476847.XA CN201910476847A CN110297767A CN 110297767 A CN110297767 A CN 110297767A CN 201910476847 A CN201910476847 A CN 201910476847A CN 110297767 A CN110297767 A CN 110297767A
Authority
CN
China
Prior art keywords
test
case
target detection
test result
page
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
Application number
CN201910476847.XA
Other languages
Chinese (zh)
Other versions
CN110297767B (en
Inventor
赵慧敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910476847.XA priority Critical patent/CN110297767B/en
Publication of CN110297767A publication Critical patent/CN110297767A/en
Application granted granted Critical
Publication of CN110297767B publication Critical patent/CN110297767B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/3688Test management for test execution, e.g. scheduling of test suites
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The present invention relates to research and development management domains, disclose test case automatic execution method, device, equipment and storage medium, for skipping execution error or the associated use-case to fall flat and verifying to the test page not responded for a long time, the execution efficiency of use-case is improved.The method of the present invention includes: reading target configuration file;Target detection set of uses case is loaded according to target configuration file, target detection set of uses case is multiple associated test cases;When receiving when executing instruction of target detection set of uses case, according to the target detection use-case that the preset sequence that executes, performance objective test case are concentrated, the test use cases for being used to indicate and executing in test process are executed instruction;Judge whether the test result of target detection use-case achieves the desired results, it is contemplated that effect includes expected textual value and expected field value;If the test result of target detection use-case falls flat, stop performance objective test use cases;Generate the test report of target detection set of uses case.

Description

Test case automatic execution method, device, equipment and storage medium
Technical field
The present invention relates to testing process improvement areas more particularly to test case automatic execution method, device, equipment and deposit Storage media.
Background technique
In software development process or after having developed, it usually needs dependence test is carried out to software, is found the problem in time, To guarantee that software can operate normally after distribution.Industry is by constantly having researched and developed a series of automatic test means To improve testing efficiency, shorten testing time and human cost.
The page automated test tool of industry mainstream is not complete for abnormal scene treatment mechanism at present, and test case executes Error will lead to associated test case and cannot execute, in addition in some processing scenes, the response speed of test page compared with Slowly, so that the automatic test to the page has requirements at the higher level.
Summary of the invention
The present invention provides a kind of test case automatic execution method, device, equipment and storage mediums, execute for skipping It malfunctions or the associated use-case that falls flat and the test page not responded for a long time is verified, improved The execution efficiency of use-case.
The first aspect of the embodiment of the present invention provides a kind of test case automatic execution method, comprising: reads target configuration File;Target detection set of uses case is loaded according to the target configuration file, the target detection set of uses case is multiple associated Test case;When receiving when executing instruction of the target detection set of uses case, sequence is executed according to preset, executes the mesh The target detection use-case that test case is concentrated is marked, it is described to execute instruction the test use cases for being used to indicate and executing in test process; Judge whether the test result of the target detection use-case achieves the desired results, it is contemplated that effect includes expected textual value and expection Field value;If the test result of the target detection use-case falls flat, stop executing the target detection use-case Collection;Generate the test report of the target detection set of uses case.
Optionally, in the first implementation of first aspect of the embodiment of the present invention, the judgement target detection Whether the test result of use-case achieves the desired results, it is contemplated that effect includes expected textual value and expected field value, comprising: pre- Whether the test result of page elements achieves the desired results on detection test page in the waiting time set, and detects the target and surveys Whether the back end test result of example on probation achieves the desired results;If the page on the test page within the preset waiting time The test result of surface element achieves the desired results, and the back end test result that the target detection object returns reaches expected effect Fruit, it is determined that the test result of the target detection use-case achieves the desired results;If not examined within the preset waiting time The test result of page elements on test page is measured, and the back end test result that the target detection object returns reaches expected As a result, it is determined that the test result of the target detection use-case achieves the desired results;If being examined within the preset waiting time The test result for measuring page elements on the test page fall flat or the target detection object return Back end test result is not up to expected results, it is determined that the test result of the target detection use-case falls flat.
Optionally, described in preset waiting time in second of implementation of first aspect of the embodiment of the present invention Whether the test result of page elements achieves the desired results on interior detection test page, comprising: enters the test page and mentions Hand over the request for carrying out test operation;After submitting the request for carrying out test operation, with it is preset when a length of detection cycle open Beginning detects the textual value of the page elements;When the textual value for detecting the page elements changes, stop detecting the survey Whether the textual value of page elements changes on the examination page;Count the detection cycle quantity at current time;By the preset duration Page response duration is measured multiplied by the number of detection cycles at the current time;When the page response duration be less than it is described pre- Expected text when the waiting time set, in the target text value and desired effect after page elements on the test page are changed This value is compared;If the target text value after the page elements change is consistent with the expected textual value, it is determined that described The test result of page elements has reached desired effect on test page;If the page elements change after target text value with The expected textual value is inconsistent, it is determined that the test result of page elements falls flat on the test page.
Optionally, in the third implementation of first aspect of the embodiment of the present invention, the detection target detection Whether the back end test result of use-case achieves the desired results, comprising: submits test request to target detection use-case described in rear end Target detection object;Obtain the test field value returned after the complete test request of the target detection object handles;By institute Test field value is stated to be compared with the expection field value in desired effect;If the test field value and the expected field value Unanimously, it is determined that the back end test result of the target detection use-case achieves the desired results;If testing field value and desired effect In expection field value it is inconsistent, it is determined that the back end test result of the target detection use-case falls flat.It is optional , in the 4th kind of implementation of first aspect of the embodiment of the present invention, the test for generating the target detection set of uses case Report, comprising: the test result of implementation of test cases is recorded in the test report;It is marked in the test report Test result achieves the desired results in the target detection set of uses case test case, the test result fall flat Test case and the test case that is not carried out.
Optionally, it in the 5th kind of implementation of first aspect of the embodiment of the present invention, is surveyed in the judgement target Whether the test result of example on probation achieves the desired results, it is contemplated that and effect includes expected textual value and is expected after field value, Before the test report for generating the target detection set of uses case, the method also includes: if the target detection use-case Test result achieves the desired results, then continues to execute by the preset execution sequence remaining in the target detection set of uses case Test case.
Optionally, in the 6th kind of implementation of first aspect of the embodiment of the present invention, the target survey is generated described After the test report for trying set of uses case, the method also includes: prompt the target detection set of uses case to execute failure;Call waiting The configuration file of set of uses case to be tested, carries out the test of next test use cases in process.
The second aspect of the embodiment of the present invention provides a kind of test case automatic execution device, comprising: reading unit is used In reading target configuration file;Loading unit, for loading target detection set of uses case, the mesh according to the target configuration file Mark test use cases are multiple associated test cases;First execution unit receives the target detection use-case for working as When executing instruction of collection, executes sequence according to preset, executes the target detection use-case in the target detection set of uses case, described Execute instruction the test use cases for being used to indicate and executing in test process;Judging unit judges the survey of the target detection use-case Whether test result achieves the desired results, it is contemplated that effect includes expected textual value and expected field value;Second execution unit, if institute The test result for stating target detection use-case falls flat, then for stopping executing the target detection set of uses case;It generates Unit, for generating the test report of the target detection set of uses case.
Optionally, in the first implementation of second aspect of the embodiment of the present invention, judging unit is specifically included: detection Whether module, the test result for detecting page elements on test page within preset waiting time achieve the desired results, Whether the back end test result for detecting the target detection use-case achieves the desired results;First determining module, if for described The test result of page elements achieves the desired results on the test page in preset waiting time, and the target detection pair As the back end test result of return achieves the desired results, it is determined that the test result of the target detection use-case reaches expected effect Fruit;Second determining module, if the test for page elements on test page to be not detected within the preset waiting time As a result, and the target detection object return back end test result reach expected results, it is determined that the target detection use-case Test result achieve the desired results;Third determining module, if for detecting the survey within the preset waiting time The back end test knot that the test result of page elements falls flat on the examination page or the target detection object returns Fruit is not up to expected results, it is determined that the test result of the target detection use-case falls flat.
Optionally, in second of implementation of second aspect of the embodiment of the present invention, detection module is specifically used for: entering The test page simultaneously submits the request for carrying out test operation;After submitting the request for carrying out test operation, with preset Shi Changwei detection cycle starts to detect the textual value of the page elements;When the textual value for detecting the page elements changes When, whether the textual value for stopping detecting page elements on the test page changes;Count the detection cycle quantity at current time; The preset duration is measured into page response duration multiplied by the number of detection cycles at the current time;When the page response When duration is less than the preset waiting time, target text value after page elements on the test page are changed and pre- Expection textual value in phase effect is compared;If target text value and the expected textual value after the page elements change Unanimously, it is determined that the test result of page elements has reached desired effect on the test page;If the page elements change Target text value afterwards and the expected textual value are inconsistent, it is determined that the test result of page elements is not on the test page It achieves the desired results.
Optionally, in the third implementation of second aspect of the embodiment of the present invention, detection module is specifically also used to: being mentioned Hand over test request to the target detection object of target detection use-case described in rear end;Obtain the complete institute of the target detection object handles State the test field value returned after test request;The test field value is compared with the expection field value in desired effect Compared with;If the test field value is consistent with the expected field value, it is determined that the back end test result of the target detection use-case It achieves the desired results;If testing field value and the expection field value in desired effect being inconsistent, it is determined that the target detection is used The back end test result of example falls flat.
Optionally, in the 4th kind of implementation of second aspect of the embodiment of the present invention, generation unit is specifically used for: will The test result of implementation of test cases is recorded in the test report;The target detection is marked to use in the test report Test case that example integrated test the result test case, the test result that achieve the desired results fall flat and The test case being not carried out.
Optionally, in the 5th kind of implementation of second aspect of the embodiment of the present invention, if the second execution unit is also used to The test result of the target detection use-case achieves the desired results, then continues to execute the target by the preset execution sequence Test case concentrates remaining test case.
Optionally, in the 6th kind of implementation of second aspect of the embodiment of the present invention, test case automatic execution device Further include: prompt unit, for prompting the target detection set of uses case to execute failure;The prompt unit is also used to call waiting The configuration file of set of uses case to be tested, carries out the test of next test use cases in process.
The third aspect of the embodiment of the present invention provides a kind of test case and executes equipment, including memory, processing automatically Device and it is stored in the computer program that can be run on the memory and on the processor, the processor executes the meter Test case automatic execution method described in any of the above-described embodiment is realized when calculation machine program.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, including instruction, when the finger When order is run on computers, so that computer executes test case automatic execution method described in any of the above-described embodiment Step.
In technical solution provided in an embodiment of the present invention, target configuration file is read;Added according to the target configuration file Target detection set of uses case is carried, the target detection set of uses case is multiple associated test cases;It is surveyed when receiving the target When executing instruction of set of uses case is tried, sequence is executed according to preset, the target detection executed in the target detection set of uses case is used Example, it is described to execute instruction the test use cases for being used to indicate and executing in test process;Judge the test of the target detection use-case As a result whether achieve the desired results, it is contemplated that effect includes expected textual value and expected field value;If the target detection use-case Test result fall flat, then stop executing the target detection set of uses case;Generate the target detection set of uses case Test report.The embodiment of the present invention, skip execute error or the associated use-case that falls flat and to it is long when Between the test page that does not respond verified, improve the execution efficiency of use-case.
Detailed description of the invention
Fig. 1 is one embodiment schematic diagram of test case automatic execution method in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of test case automatic execution method in the embodiment of the present invention;
Fig. 3 is one embodiment schematic diagram of test case automatic execution device in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of test case automatic execution device in the embodiment of the present invention;
Fig. 5 is one embodiment schematic diagram that test case executes equipment automatically in the embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of test case automatic execution method, device, equipment and storage mediums, for jumping It crosses and executes error or the associated use-case to fall flat and the test page not responded for a long time is verified, Improve the execution efficiency of use-case.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention The embodiment of the present invention is described in attached drawing.
Description and claims of this specification and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein Or the sequence other than the content of description is implemented.In addition, term " includes " or " having " and its any deformation, it is intended that covering is not Exclusive includes, for example, the process, method, system, product or equipment for containing a series of steps or units be not necessarily limited to it is clear Step or unit those of is listed on ground, but is not clearly listed or for these process, methods, product or is set Standby intrinsic other step or units.
Referring to Fig. 1, a kind of flow chart of test case automatic execution method provided in an embodiment of the present invention, specific to wrap It includes:
101, target configuration file is read.
Server reads target configuration file.Target configuration file includes following one or more information: target detection Parameter, environmental parameter, browser engine mark, user name and the password of set of uses case and specified uniform resource location (uniform resource locator, URL).
It needs to illustrate to be, target configuration file is used to determine the page or frame where target detection use-case operating procedure And the parameters such as the preset execution sequence of storage and preset waiting time.Tester can be by adjusting in target detection file Parameter change target detection set of uses case in target detection use-case execution sequence and server waiting time.
102, target detection set of uses case is loaded according to target configuration file, target detection set of uses case is multiple associated surveys Example on probation.
Server loads target detection set of uses case according to target configuration file, and target detection set of uses case is multiple associated Test case, and in the target detection use-case set, associated test case set according to preset execution sequence into Row arrangement.
It needs to illustrate to be, associated test case is the test case of implementing result of influencing each other.One test Use-case can be associated with another test case, for example, the execution condition of a test case A includes: and test case A Associated test case B runs succeeded, and when test case B associated with test case A executes failure, which is used Example A can not be executed.One test case can also be associated with other multiple test cases, for example, the execution of a test case C Condition includes: test case C associated with test case E and test case F, when test case E and test case F are held After going successfully, test case C could be executed.
103, when receiving when executing instruction of target detection set of uses case, according to the preset sequence that executes, performance objective is surveyed The target detection use-case that example on probation is concentrated, executes instruction the test use cases for being used to indicate and executing in test process.
When server receives when executing instruction of target detection set of uses case, server executes sequence according to preset, holds Target detection use-case in row target detection set of uses case executes instruction the test use cases for being used to indicate and executing in test process. Target detection use-case is the test input for the establishment of target detection object, execution condition, executes step and expected results.
It needs to illustrate to be, when the equipment for test is in idle condition, equipment can send to server and survey Examination is requested, and includes executing instruction in the test request, when server, which receives, to be executed instruction, can be called and be surveyed from test process Examination set of uses case is tested, and in test process, test use cases were ranked up according to the time of write-in test process.
Server performance objective test case, specifically, server is according to target configuration file, initialization test environment; Server is according to the browser engine mark and URL in target configuration file, into the target detection page;Server executes mesh Mark the page operations such as the operating procedure, including input, click, submission in test case.
Preset execution sequence is determined according to the incidence relation in target detection set of uses case between target detection use-case, For example, certain target detection use-case is concentrated with test case A, test case B and test case C, test case A and test case B association, it is precondition that test case B is able to carry out that test case A, which runs succeeded, and test case B and test case C are closed Connection, it is precondition that test case C is able to carry out that test case B, which runs succeeded, then for the target detection use-case, it is preset Execution sequence be to first carry out test case A, then implementation of test cases B, last implementation of test cases C.
104, judge whether the test result of target detection use-case achieves the desired results, it is contemplated that effect includes expected textual value And expected field value.
Server judges whether the test result of target detection use-case achieves the desired results, it is contemplated that effect includes expected text Value and expected field value.After test result is server performance objective test case, the result that is shown on test page or The test result that related objective test object returns in rear end, it is contemplated that effect is according to the preset desired value of demand.
Specifically, server within preset waiting time by judging that the test result of page elements is on test page It is no to achieve the desired results, and judge whether the back end test result of target detection use-case achieves the desired results, two kinds of authentications Formula verifies whether the test result of target detection use-case reaches expected results.It needs to illustrate to be, be shown in front end page Representation of the textual value in rear end it is different, and converted by preset translation interface in front-end and back-end, such as Certain application in, rear end using JS object numbered musical notation (java script object notation, JSON) data exchange Format, the textual value " hello " of certain element on test page, in rear end, the field value of corresponding JSON format is " a ".
If 105, the test result of target detection use-case falls flat, stop performance objective test use cases.
If the test result of target detection use-case falls flat, server stops performance objective test use cases In test case associated with target detection use-case, for example, concentrated in certain test case, test case A and test case B with And test case C is associated, preset execution sequence is to first carry out test case A, then implementation of test cases B finally executes survey Example C on probation;When the test result of test case B falls flat, server no longer implementation of test cases C.If target The test result of test case achieves the desired results, then server by preset execution sequence performance objective test case concentrate with The associated test case of target detection use-case.
It needs to illustrate to be, if the test result of target detection use-case falls flat, server will be prompted to target Test use cases execute failure and read the configuration file of set of uses case to be tested in waiting process, and server carries out next test The test of set of uses case.The mode of server prompts can be to be prompted by way of text and pop-up, is also possible to pass through language The mode of sound is prompted, and can also be other prompting modes, specifically herein with no restrictions.
106, the test report of target detection set of uses case is generated.
Server generates the test report of target detection set of uses case, specifically, server is by the survey of implementation of test cases Test result is recorded in the test report;Server marks test result in target detection set of uses case to reach in test report Test case, the test result test case to fall flat of desired effect and the test case being not carried out, so as to Tester differentiates the reason of test case and analysis error of error.
It needing to illustrate to be, the test result of test report record target detection use-case can be graphically, It can be in a text form, can also be other forms, specifically herein with no restrictions.
The embodiment of the present invention, for skip execute error or the associated use-case that falls flat and to it is long when Between the test page that does not respond verified, improve the execution efficiency of use-case.
Referring to Fig. 2, another embodiment of test case automatic execution method includes: in the embodiment of the present invention
201, target configuration file is read.
Server reads target configuration file.Target configuration file includes following one or more information: target detection Parameter, environmental parameter, browser engine mark, user name and the password and URL of set of uses case.
It needs to illustrate to be, target configuration file is used to determine the page or frame where target detection use-case operating procedure And the parameters such as the preset execution sequence of storage and preset waiting time.Tester can be by adjusting in target detection file Parameter change target detection set of uses case in target detection use-case execution sequence and server waiting time.
202, target detection set of uses case is loaded according to target configuration file, target detection set of uses case is multiple associated surveys Example on probation.
Server loads target detection set of uses case according to target configuration file, and target detection set of uses case is multiple associated Test case, and in the target detection use-case set, associated test case set according to preset execution sequence into Row arrangement.
It needs to illustrate to be, associated test case is the test case of implementing result of influencing each other.One test Use-case can be associated with another test case, for example, the execution condition of a test case A includes: and test case A phase Associated test case B runs succeeded, when test case B associated with test case A executes failure, the test case A can not be executed.One test case can also be associated with other multiple test cases, for example, the execution item of a test case C Part includes: test case C associated with test case E and test case F, when test case E and test case F are performed both by After success, test case C could be executed.
203, when receiving when executing instruction of target detection set of uses case, according to the preset sequence that executes, performance objective is surveyed The target detection use-case that example on probation is concentrated, executes instruction the test use cases for being used to indicate and executing in test process.
When server receives when executing instruction of target detection set of uses case, server executes sequence according to preset, holds Target detection use-case in row target detection set of uses case executes instruction the test use cases for being used to indicate and executing in test process. Target detection use-case is the test input for the establishment of target detection object, execution condition, executes step and expected results.
It needs to illustrate to be, when the equipment for test is in idle condition, equipment can send to server and survey Examination is requested, and includes executing instruction in the test request, when server, which receives, to be executed instruction, can be called and be surveyed from test process Examination set of uses case is tested, and in test process, test use cases were ranked up according to the time of write-in test process.
Server performance objective test case, specifically, server is according to target configuration file, initialization test environment; Server is according to the browser engine mark and URL in target configuration file, into the target detection page;Server executes mesh Mark the page operations such as the operating procedure, including input, click, submission in test case.
Preset execution sequence is determined according to the incidence relation in target detection set of uses case between target detection use-case, For example, certain target detection use-case is concentrated with test case A, test case B and test case C, test case A and test case B association, it is precondition that test case B is able to carry out that test case A, which runs succeeded, and test case B and test case C are closed Connection, it is precondition that test case C is able to carry out that test case B, which runs succeeded, then for the target detection use-case, it is preset Execution sequence be to first carry out test case A, then implementation of test cases B, last implementation of test cases C.
204, whether the test result that page elements on test page are detected within preset waiting time reaches expected effect Whether the back end test result of fruit, detection target detection use-case achieves the desired results.
Whether the test result that server detects page elements on test page within preset waiting time reaches expected Whether the back end test result of effect, detection target detection use-case achieves the desired results.Server is within preset waiting time Whether the test result of page elements achieves the desired results on detection test page specifically: server is tested in performance objective and used Example when, into test page and submit carry out test operation request;After submitting the request for carrying out test operation in server, clothes Business device with it is preset when a length of detection cycle start to detect the textual values of page elements;When server detects the text of page elements When this value changes, whether the textual value that server stops page elements on detection test page changes;When server statistics are current The detection cycle quantity at quarter;When preset duration is measured page response multiplied by the number of detection cycles at current time by server It is long;When page response duration is less than preset waiting time, server by test page page elements change after mesh Mark textual value is compared with the expection textual value in desired effect;If target text value and expected text after page elements change This value is consistent, then server determines that the test result of page elements has reached desired effect on test page;If page elements change Target text value and expected textual value after change is inconsistent, then server determines the test result of page elements on test page not It achieves the desired results.
For example, page response, refers to that after server submits the request of page operation, original element is related on the page There is non-native element in the change of value or the page.For example, monthly report is originally used for not submitting state on the page, when filling in After monthly report and submission operation is executed, monthly report does not submit state to become state to be confirmed, the sound of the page on the page Should refer to monthly report on the page does not submit state to be changed into state to be confirmed.The rear end that server detects target detection use-case is surveyed Whether test result achieves the desired results, specifically, server submits test request to survey to the target of target detection use-case in rear end Try object;Server obtains the test field value returned after the complete test request of target detection object handles;Server will test word Segment value is compared with the expection field value in desired effect;If it is consistent with expected field value to test field value, server is true The back end test result for the test case that sets the goal achieves the desired results;If testing the expection field value in field value and desired effect Inconsistent, then server determines that the back end test result of target detection use-case falls flat.
It needs to illustrate to be, representation of the text shown in front end page in rear end is different, and by default Translation interface converted in front-end and back-end, such as certain application in, rear end using JSON data interchange format, In the text " hello " that test page is shown, in rear end, corresponding JSON format is " a ".
It should be understood that the test result that server detects page elements on test page within preset waiting time is It is no achieve the desired results and the back end test result of server detection target detection use-case whether achieve the desired results be simultaneously Occur, but server gets the duration of the test result of page elements, gets back end test result greater than server Duration.
If 205, the test result of page elements achieves the desired results on test page within preset waiting time, and mesh The back end test result that mark test object returns achieves the desired results, it is determined that the test result of target detection use-case reaches expected Effect.
If server detects that the test result of page elements on test page reaches expected within preset waiting time Effect, and the back end test result that target detection object returns achieves the desired results, then server determines target detection use-case Test result achieves the desired results.For example, server detects that the textual value of page elements becomes within 5 seconds preset waiting times To be expected textual value: " to be confirmed ", and the test field value that target detection object returns in rear end is expected field value: " c ", Then the test result of server confirmation target detection use-case achieves the desired results.
It needs to illustrate to be, server is after the test result for determining target detection use-case achieves the desired results, service Device can execute sequence according to preset, continue to execute remaining test case in target detection set of uses case, until proper testing is complete Target detection set of uses case or remaining any test case fall flat, and generate the test report of target detection use-case It accuses.
If the test result of page elements on test page 206, is not detected within preset waiting time, and target is surveyed The back end test result that examination object returns reaches expected results, it is determined that the test result of target detection use-case reaches expected effect Fruit.
If the test result of page elements on test page is not detected in preset waiting time server for server, And the back end test result that target detection object returns reaches expected results, then server determines the test knot of target detection use-case Fruit achieves the desired results.For example, the textual value that page elements are not detected in server within 5 seconds preset waiting times changes, And the test field value that target detection object returns in rear end is expected field value: " c ", then server confirmation target detection is used The test result of example achieves the desired results.
It needs to illustrate to be, server is after the test result for determining target detection use-case achieves the desired results, service Device can execute sequence according to preset, continue to execute remaining test case in target detection set of uses case, until proper testing is complete The test result of target detection set of uses case or remaining any test case falls flat, and generates target detection use The test report of example.
If 207, detecting within preset waiting time, the test result of page elements on test page is not up to expected The back end test result that effect or target detection object return is not up to expected results, it is determined that the survey of target detection use-case Test result falls flat.
If server detects the test result of page elements on test page not in preset waiting time server It achieves the desired results or the back end test result of target detection object return is not up to expected results, then server determines mesh The test result of mark test case falls flat.For example, server detects the page within 5 seconds preset waiting times The textual value of element changes into " to be changed ", is not changed to expected textual value: target detection object in " to be confirmed " or rear end The test field value of return are as follows: " b " is not expected field value: " c ", then server confirms the test result of target detection use-case It falls flat.
If 208, the test result of target detection use-case falls flat, stop performance objective test use cases.
If the test result of target detection use-case falls flat, server stops performance objective test use cases In test case associated with target detection use-case, such as concentrated in certain test case, test case A and test case B with And test case C is associated, preset execution sequence is to first carry out test case A, then implementation of test cases B finally executes survey Example C on probation;When the test result of test case B falls flat, server no longer implementation of test cases C;If target The test result of test case achieves the desired results, then server by preset execution sequence performance objective test case concentrate with The associated test case of target detection use-case.
It needs to illustrate to be, if the test result of target detection use-case falls flat, server will be prompted to target Test use cases execute the configuration file of set of uses case to be tested in failure and call waiting process, and server carries out next test The test of set of uses case.The mode of server prompts can be to be prompted by way of text and pop-up, is also possible to pass through language The mode of sound is prompted, and can also be other prompting modes, specifically herein with no restrictions.
209, the test report of target detection set of uses case is generated.
Server generates the test report of target detection set of uses case, specifically, server is by the survey of implementation of test cases Test result is recorded in test report;Server marks test result in target detection set of uses case to reach expected in test report Test case, the test result test case to fall flat of effect and the test case being not carried out, to test Personnel differentiate the reason of test case and analysis error of error.
It needing to illustrate to be, the test result of test report record target detection use-case can be graphically, It can be in a text form, can also be other forms, specifically herein with no restrictions.
The embodiment of the present invention, for skip execute error or the associated use-case that falls flat and to it is long when Between the test page that does not respond verified, improve the execution efficiency of use-case.
Test case automatic execution method in the embodiment of the present invention is described above, below to the embodiment of the present invention Middle test case automatic execution device is described, referring to Fig. 3, test case automatic execution device in the embodiment of the present invention One embodiment includes:
Reading unit 301, for reading target configuration file;
Loading unit 302, for loading target detection set of uses case according to the target configuration file, the target detection is used Example collection is multiple associated test cases;
First execution unit 303, for when receiving when executing instruction of the target detection set of uses case, according to preset Execute sequence, execute the target detection use-case in the target detection set of uses case, it is described execute instruction to be used to indicate execute test Test use cases in process;
Judging unit 304, judges whether the test result of the target detection use-case achieves the desired results, it is contemplated that effect packet Include expected textual value and expected field value;
Second execution unit 305, if the test result of the target detection use-case falls flat, for stopping Execute the target detection set of uses case;
Generation unit 306, for generating the test report of the target detection set of uses case.
The embodiment of the present invention, for skip execute error or the associated use-case that falls flat and to it is long when Between the test page that does not respond verified, improve the execution efficiency of use-case.
Referring to Fig. 4, one embodiment of test case automatic execution device includes: in the embodiment of the present invention
Reading unit 301, for reading target configuration file;
Loading unit 302, for loading target detection set of uses case according to the target configuration file, the target detection is used Example collection is multiple associated test cases;
First execution unit 303, for when receiving when executing instruction of the target detection set of uses case, according to preset Execute sequence, execute the target detection use-case in the target detection set of uses case, it is described execute instruction to be used to indicate execute test Test use cases in process;
Judging unit 304, judges whether the test result of the target detection use-case achieves the desired results, it is contemplated that effect packet Include expected textual value and expected field value;
Second execution unit 305, if the test result of the target detection use-case falls flat, for stopping Execute the target detection set of uses case;
Generation unit 306, for generating the test report of the target detection set of uses case.
Optionally, judging unit 304 specifically includes:
Detection module 3041, the test result for detecting page elements on test page within preset waiting time are No to achieve the desired results, whether the back end test result for detecting the target detection use-case achieves the desired results;
First determining module 3042, if for the page elements on the test page within the preset waiting time Test result achieves the desired results, and the back end test result that the target detection object returns achieves the desired results, it is determined that The test result of the target detection use-case achieves the desired results;
Second determining module 3043, if for page member on test page to be not detected within the preset waiting time The test result of element, and the back end test result that the target detection object returns reaches expected results, it is determined that the target The test result of test case achieves the desired results;
Third determining module 3044, if for detecting the page on the test page within the preset waiting time The back end test result that the test result of element falls flat or the target detection object returns not up to is expected As a result, it is determined that the test result of the target detection use-case falls flat.
Optionally, detection module 3041 is specifically used for:
Into the test page and submit carry out test operation request;Submitting the request for carrying out test operation Afterwards, with it is preset when a length of detection cycle start to detect the textual values of the page elements;When detecting the page elements When textual value changes, whether the textual value for stopping detecting page elements on the test page changes;Count the inspection at current time Survey amount of cycles;The preset duration is measured into page response duration multiplied by the number of detection cycles at the current time;When Mesh when the page response duration is less than the preset waiting time, after page elements on the test page are changed Mark textual value is compared with the expection textual value in desired effect;If target text value and institute after the page elements change It is consistent to state expected textual value, it is determined that the test result of page elements has reached desired effect on the test page;If described Target text value and the expected textual value after page elements change is inconsistent, it is determined that page elements on the test page Test result fall flat.
Optionally, detection module 3041 is specifically also used to:
Submit test request to the target detection object of target detection use-case described in rear end;Obtain the target detection pair As having handled the test field value returned after the test request;By the expection field in the test field value and desired effect Value is compared;If the test field value is consistent with the expected field value, it is determined that the rear end of the target detection use-case Test result achieves the desired results;If testing field value and the expection field value in desired effect being inconsistent, it is determined that the mesh The back end test result of mark test case falls flat.
Optionally, generation unit 306 is specifically used for: the test is recorded in the test result of implementation of test cases and is reported In announcement;Marked in the test report test result achieves the desired results in the target detection set of uses case test case, The test case that the test result falls flat and the test case being not carried out.
Optionally, the second execution unit 305 is also used to:
If the test result of the target detection use-case achieves the desired results, continue to hold by the preset execution sequence Remaining test case in the row target detection set of uses case.
Optionally, test case automatic execution device further include:
Prompt unit 307, for prompting the target detection set of uses case to execute failure;
The prompt unit 307 is also used to the configuration file of set of uses case to be tested in call waiting process, carries out next The test of test use cases.
The embodiment of the present invention, for skip execute error or the associated use-case that falls flat and to it is long when Between the test page that does not respond verified, improve the execution efficiency of use-case.
Above figure 3 executes the test case in the embodiment of the present invention to Fig. 4 from the angle of modular functionality entity automatically Device is described in detail, and executes equipment automatically to test case in the embodiment of the present invention from the angle of hardware handles below and carries out Detailed description.
Fig. 5 is the structural schematic diagram that a kind of test case provided in an embodiment of the present invention executes equipment automatically, which uses The automatic equipment 500 that executes of example can generate bigger difference because configuration or performance are different, may include one or more Processor (central processing units, CPU) 501 (for example, one or more processors) and memory 509, one or more storage application programs 507 or data 506 storage medium 508 (such as one or more sea Amount storage equipment).Wherein, memory 509 and storage medium 508 can be of short duration storage or persistent storage.Storage is stored in be situated between The program of matter 508 may include one or more modules (diagram does not mark), and each module may include to test case The automatic series of instructions operation executed in equipment.Further, processor 501 can be set to logical with storage medium 508 Letter executes the series of instructions operation executed in storage medium 508 in equipment 500 in test case automatically.
It can also include one or more power supplys 502 that test case executes equipment 500 automatically, one or more Wired or wireless network interface 503, one or more input/output interfaces 504, and/or, one or more operations System 505, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD etc..Those skilled in the art can be with Understanding, test case shown in Fig. 5 executes device structure automatically and does not constitute the restriction for executing equipment automatically to test case, It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.Processor 501 Reading unit 301 in above-described embodiment, loading unit 302, the first execution unit 303, judging unit 304, second can be executed The function of execution unit 305, generation unit 306 and prompt unit 307.
The each component parts for executing equipment automatically to test case below with reference to Fig. 5 is specifically introduced:
Processor 501 is the control centre that test case executes equipment automatically, can be according to the information processing method of setting It is handled.Processor 501 executes the various pieces of equipment using various interfaces and the entire test case of connection automatically, leads to It crosses operation or executes the software program and/or module being stored in memory 509, and call and be stored in memory 509 Data, implementation of test cases executes the various functions and processing data of equipment automatically, to realize the automatic execution of test case. Storage medium 508 and memory 509 are all the carriers of storing data, and in embodiment, storage medium 508 can refer to storage volume It is smaller, but fireballing built-in storage, and memory 509 can be that storage volume is big, but the external memory that storage speed is slow.
Memory 509 can be used for storing software program and module, and processor 501 is stored in memory 509 by operation Software program and module, execute the various function application and data processing of equipment 500 automatically thereby executing test case. Memory 509 can mainly include storing program area and storage data area, wherein storing program area can storage program area, at least Application program needed for one function (such as performance objective test case etc.) etc.;Storage data area can be stored according to test case Automatic execution equipment uses created data (such as test report etc.) etc..In addition, memory 509 may include high speed with Machine access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or its His volatile solid-state part.It the test case automatic execution method program that provides in embodiments of the present invention and receives Data flow stores in memory, and when it is desired to be used, processor 501 is called from memory 509.
When loading on computers and executing the computer program instructions, entirely or partly generate according to of the invention real Apply process described in example or function.The computer can be general purpose computer, special purpose computer, computer network or its His programmable device.The computer instruction may be stored in a computer readable storage medium, or can from a computer Read storage medium transmitted to another computer readable storage medium, for example, the computer instruction can from a web-site, Computer, server or data center pass through wired (such as coaxial cable, optical fiber, twisted pair) or wireless (such as infrared, nothing Line, microwave etc.) mode transmitted to another web-site, computer, server or data center.It is described computer-readable Storage medium can be any usable medium that computer can store or include that one or more usable mediums are integrated The data storage devices such as server, data center.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, magnetic Band), optical medium (for example, CD) or semiconductor medium (such as solid state hard disk (solid state disk, SSD)) etc..
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in embodiments of the present invention can integrate in one processing unit, it is also possible to each A unit physically exists alone, and can also be integrated in one unit with two or more units.Above-mentioned integrated unit was both It can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic or disk etc. are various can store program The medium of code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of test case automatic execution method characterized by comprising
Read target configuration file;
Target detection set of uses case is loaded according to the target configuration file, the target detection set of uses case is multiple associated surveys Example on probation;
When receiving when executing instruction of the target detection set of uses case, sequence is executed according to preset, the target is executed and surveys The target detection use-case that example on probation is concentrated, it is described to execute instruction the test use cases for being used to indicate and executing in test process;
Judge whether the test result of the target detection use-case achieves the desired results, it is contemplated that effect include expected textual value and It is expected that field value;
If the test result of the target detection use-case falls flat, stop executing the target detection set of uses case;
Generate the test report of the target detection set of uses case.
2. test case automatic execution method according to claim 1, which is characterized in that the judgement target detection Whether the test result of use-case achieves the desired results, it is contemplated that effect includes expected textual value and expected field value, comprising:
Whether the test result that page elements on test page are detected within preset waiting time achieves the desired results, and detects institute Whether the back end test result for stating target detection use-case achieves the desired results;
If the test result of page elements achieves the desired results on the test page within the preset waiting time, and institute The back end test result for stating the return of target detection object achieves the desired results, it is determined that the test result of the target detection use-case It achieves the desired results;
If the test result of page elements on test page is not detected within the preset waiting time, and the target is surveyed The back end test result that examination object returns reaches expected results, it is determined that the test result of the target detection use-case reaches expected Effect;
If detecting within the preset waiting time, the test result of page elements on the test page is not up to expected The back end test result that effect or the target detection object return is not up to expected results, it is determined that the target detection The test result of use-case falls flat.
3. test case automatic execution method according to claim 2, which is characterized in that described in preset waiting time Whether the test result of page elements achieves the desired results on interior detection test page, comprising:
Into the test page and submit carry out test operation request;
After submitting the request for carrying out test operation, with it is preset when a length of detection cycle start to detect the page elements Textual value;
When the textual value for detecting the page elements changes, stop the text for detecting page elements on the test page Value;
Count the detection cycle quantity at current time;
The preset duration is measured into page response duration multiplied by the number of detection cycles at the current time;
When the page response duration is less than the preset waiting time, page elements on the test page are changed Target text value afterwards is compared with the expection textual value in desired effect;
If the target text value after the page elements change is consistent with the expected textual value, it is determined that on the test page The test result of page elements achieves the desired results;
If the target text value and the expected textual value after the page elements change are inconsistent, it is determined that the test page The test result of upper page elements falls flat.
4. test case automatic execution method according to claim 2, which is characterized in that the detection target detection Whether the back end test result of use-case achieves the desired results, comprising:
Submit test request to the target detection object of target detection use-case described in rear end;
Obtain the test field value returned after the complete test request of the target detection object handles;
The test field value is compared with the expection field value in desired effect;
If the test field value is consistent with the expected field value, it is determined that the back end test result of the target detection use-case It achieves the desired results;
If testing field value and the expection field value in desired effect being inconsistent, it is determined that the rear end of the target detection use-case is surveyed Test result falls flat.
5. test case automatic execution method according to any one of claims 1-4, which is characterized in that described in the generation The test report of target detection set of uses case, comprising:
The test result of implementation of test cases is recorded in the test report;
The test case, institute that test result achieves the desired results in the target detection set of uses case are marked in the test report State the test case that test result falls flat and the test case being not carried out.
6. test case automatic execution method according to any one of claims 1-4, which is characterized in that in the judgement institute Whether the test result for stating target detection use-case achieves the desired results, it is contemplated that effect includes expected textual value and expected field value Later, before the test report for generating the target detection set of uses case, the method also includes:
If the test result of the target detection use-case achieves the desired results, continue to execute institute by the preset execution sequence State remaining test case in target detection set of uses case.
7. test case automatic execution method described in -4 according to claim 1, which is characterized in that generate the mesh described After the test report for marking test use cases, the method also includes:
The target detection set of uses case is prompted to execute failure;
The configuration file of set of uses case to be tested, carries out the test of next test use cases in call waiting process.
8. a kind of test case automatic execution device characterized by comprising
Reading unit, for reading target configuration file;
Loading unit, for loading target detection set of uses case according to the target configuration file, the target detection set of uses case is Multiple associated test cases;
First execution unit, it is suitable according to preset execution for when receiving when executing instruction of the target detection set of uses case Sequence, executes the target detection use-case in the target detection set of uses case, and described execute instruction is used to indicate in execution test process Test use cases;
Judging unit, judges whether the test result of the target detection use-case achieves the desired results, it is contemplated that effect includes being expected Textual value and expected field value;
Second execution unit executes institute for stopping if the test result of the target detection use-case falls flat State target detection set of uses case;
Generation unit, for generating the test report of the target detection set of uses case.
9. a kind of test case executes equipment automatically, which is characterized in that including memory, processor and be stored in the memory Computer program that is upper and can running on the processor, the processor realize such as right when executing the computer program It is required that test case automatic execution method described in any one of 1-7.
10. a kind of computer readable storage medium, which is characterized in that including instruction, when described instruction is run on computers, So that computer executes the test case automatic execution method as described in any one of claim 1-7.
CN201910476847.XA 2019-06-03 2019-06-03 Automatic execution method, device, equipment and storage medium for test cases Active CN110297767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910476847.XA CN110297767B (en) 2019-06-03 2019-06-03 Automatic execution method, device, equipment and storage medium for test cases

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910476847.XA CN110297767B (en) 2019-06-03 2019-06-03 Automatic execution method, device, equipment and storage medium for test cases

Publications (2)

Publication Number Publication Date
CN110297767A true CN110297767A (en) 2019-10-01
CN110297767B CN110297767B (en) 2024-02-23

Family

ID=68027483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910476847.XA Active CN110297767B (en) 2019-06-03 2019-06-03 Automatic execution method, device, equipment and storage medium for test cases

Country Status (1)

Country Link
CN (1) CN110297767B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111177014A (en) * 2020-02-24 2020-05-19 重庆长安新能源汽车科技有限公司 Software automatic test method, system and storage medium
CN111767217A (en) * 2020-06-24 2020-10-13 中国工商银行股份有限公司 JS unit test case generation method and device
CN112231219A (en) * 2020-10-22 2021-01-15 中国平安人寿保险股份有限公司 Automatic test monitoring method, device, equipment and storage medium
CN112699040A (en) * 2020-12-30 2021-04-23 深圳前海微众银行股份有限公司 Pressure testing method, device, equipment and computer readable storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523052A (en) * 2011-12-01 2012-06-27 无锡中星微电子有限公司 Testing method and testing device
CN103377101A (en) * 2012-04-18 2013-10-30 百度在线网络技术(北京)有限公司 Testing system and testing method
CN105955880A (en) * 2016-04-22 2016-09-21 乐视控股(北京)有限公司 Method and system for distributing automated test case, and distribution server
US9514037B1 (en) * 2015-12-16 2016-12-06 International Business Machines Corporation Test program scheduling based on analysis of test data sets
CN107729234A (en) * 2017-09-29 2018-02-23 郑州云海信息技术有限公司 The scheduling of test case performs method, apparatus, equipment and computer-readable storage medium
CN108255738A (en) * 2018-04-09 2018-07-06 平安普惠企业管理有限公司 Automated testing method, device, computer equipment and storage medium
US20180307583A1 (en) * 2017-04-24 2018-10-25 Facebook, Inc. Dynamic scheduling of test cases
CN109032870A (en) * 2018-08-03 2018-12-18 百度在线网络技术(北京)有限公司 Method and apparatus for test equipment
CN109324969A (en) * 2018-09-27 2019-02-12 平安普惠企业管理有限公司 Generation method, device, computer equipment and the storage medium of test report
CN109597753A (en) * 2018-10-22 2019-04-09 平安科技(深圳)有限公司 Method, apparatus, computer equipment and the storage medium of interface testing
CN109726093A (en) * 2017-10-27 2019-05-07 伊姆西Ip控股有限责任公司 Method, equipment and computer program product for implementation of test cases

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523052A (en) * 2011-12-01 2012-06-27 无锡中星微电子有限公司 Testing method and testing device
CN103377101A (en) * 2012-04-18 2013-10-30 百度在线网络技术(北京)有限公司 Testing system and testing method
US9514037B1 (en) * 2015-12-16 2016-12-06 International Business Machines Corporation Test program scheduling based on analysis of test data sets
CN105955880A (en) * 2016-04-22 2016-09-21 乐视控股(北京)有限公司 Method and system for distributing automated test case, and distribution server
US20180307583A1 (en) * 2017-04-24 2018-10-25 Facebook, Inc. Dynamic scheduling of test cases
CN107729234A (en) * 2017-09-29 2018-02-23 郑州云海信息技术有限公司 The scheduling of test case performs method, apparatus, equipment and computer-readable storage medium
CN109726093A (en) * 2017-10-27 2019-05-07 伊姆西Ip控股有限责任公司 Method, equipment and computer program product for implementation of test cases
CN108255738A (en) * 2018-04-09 2018-07-06 平安普惠企业管理有限公司 Automated testing method, device, computer equipment and storage medium
CN109032870A (en) * 2018-08-03 2018-12-18 百度在线网络技术(北京)有限公司 Method and apparatus for test equipment
CN109324969A (en) * 2018-09-27 2019-02-12 平安普惠企业管理有限公司 Generation method, device, computer equipment and the storage medium of test report
CN109597753A (en) * 2018-10-22 2019-04-09 平安科技(深圳)有限公司 Method, apparatus, computer equipment and the storage medium of interface testing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曾强 等: "软件回归测试中的自动测试生成方法", 计算机应用研究, no. 06 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111177014A (en) * 2020-02-24 2020-05-19 重庆长安新能源汽车科技有限公司 Software automatic test method, system and storage medium
CN111177014B (en) * 2020-02-24 2023-02-24 重庆长安新能源汽车科技有限公司 Software automatic test method, system and storage medium
CN111767217A (en) * 2020-06-24 2020-10-13 中国工商银行股份有限公司 JS unit test case generation method and device
CN111767217B (en) * 2020-06-24 2024-02-02 中国工商银行股份有限公司 JS unit test case generation method and device
CN112231219A (en) * 2020-10-22 2021-01-15 中国平安人寿保险股份有限公司 Automatic test monitoring method, device, equipment and storage medium
CN112699040A (en) * 2020-12-30 2021-04-23 深圳前海微众银行股份有限公司 Pressure testing method, device, equipment and computer readable storage medium
CN112699040B (en) * 2020-12-30 2024-02-23 深圳前海微众银行股份有限公司 Pressure testing method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN110297767B (en) 2024-02-23

Similar Documents

Publication Publication Date Title
CN110297767A (en) Test case automatic execution method, device, equipment and storage medium
CN102231131B (en) Testing software in electronic device
US11500762B2 (en) System and method for automated intelligent mobile application testing
EP1214656B1 (en) Method for web based software object testing
CN106294134B (en) The collapse localization method and device of code
US4984239A (en) Automatic verification system for maintenance/diagnosis facility in computer system
CN110147320A (en) Interface test method, device and electronic equipment
CN111414172A (en) Automatic deployment and release system and method for application software
CN106649084A (en) Function call information obtaining method and apparatus, and test device
CN107679061A (en) Mix APP page navigation method, device, terminal and storage medium
CN111124919A (en) User interface testing method, device, equipment and storage medium
CN110457211A (en) Script performance test methods, device and equipment and computer storage medium
CN104915297B (en) A kind of automated testing method of the APP power consumption of android equipment
CN110287696A (en) A kind of detection method, device and the equipment of the shell process that rebounds
CN110493812A (en) Processing method, device, system, processor and the main control device of distribution test
CN108228438A (en) The performance test methods and device of a kind of mobile terminal
CN108459958A (en) The creation method of function and performance test script, device, equipment and storage medium
CN110515808A (en) Database monitoring method, device, computer equipment and storage medium
Panigrahi et al. An approach to prioritize the regression test cases of object-oriented programs
CN107729249A (en) Browser compatibility method of testing, device, system and electronic equipment
CN109104337A (en) A kind of method, device and equipment of test network access control tool
CN106059860A (en) Method and device for testing network cards
CN111628910B (en) TTCN software testing system of cellular communication terminal protocol stack
CN109697164A (en) Test method, device, storage medium and the terminal of App have been adjusted in browser
CN107402883B (en) A kind of data test treating method and apparatus

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