CN109815128A - Execution method, apparatus, terminal and the computer readable storage medium of test case - Google Patents

Execution method, apparatus, terminal and the computer readable storage medium of test case Download PDF

Info

Publication number
CN109815128A
CN109815128A CN201811575155.2A CN201811575155A CN109815128A CN 109815128 A CN109815128 A CN 109815128A CN 201811575155 A CN201811575155 A CN 201811575155A CN 109815128 A CN109815128 A CN 109815128A
Authority
CN
China
Prior art keywords
test
case
function
page
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
CN201811575155.2A
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 QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201811575155.2A priority Critical patent/CN109815128A/en
Publication of CN109815128A publication Critical patent/CN109815128A/en
Pending legal-status Critical Current

Links

Abstract

The present invention provides a kind of execution method, apparatus of test case, terminal, computer readable storage mediums, this method comprises: multiple functional test use-cases are stored in advance, according to the testing requirement of test product, from pre-stored the multiple functional test use-case, pending functional test use-case is obtained;Obtain that the pending functional test use-case is corresponding default to execute sequence;According to it is described it is default execute sequence, run the pending functional test use-case, obtain test result.The present invention can flexibly select one or more functions test case to carry out flexible combination and multiplexing according to the difference of testing requirement, realize the extensive multiplexing to test case, and reduce the maintenance cost of test case.

Description

Execution method, apparatus, terminal and the computer readable storage medium of test case
Technical field
The present invention relates to the field of test technology, more particularly to execution method, apparatus, terminal and the meter of a kind of test case Calculation machine readable storage medium storing program for executing.
Background technique
Test, which refers to the process of, to be checked product quality and is evaluated, by testing the quality that can be checked in product Problem makes objective and accurate evaluation to product, therefore, tests most important in the production process of entire product.And it tests Use-case is common a kind of description document in test, including test target, test environment, input data, testing procedure and expection As a result etc., product test may be implemented by implementation of test cases.
In the related technology, in order to be tested according to some demand a product, can for the product be arranged one or Multiple test cases, and each test case is executed, run the product according to each test case in multiple test cases, To obtain multiple test results.So when testing requirement changes or when product to be tested changes, then need to compile again It writes and test cases different before.
Inventor has found in the implementation of the present invention, lacks association between different test cases in the related technology, deposits The problem of being multiplexed on a large scale is difficult in test case.
Summary of the invention
The present invention provides execution method, apparatus, terminal and the computer readable storage mediums of a kind of test case, with solution Certainly test case present in the relevant technologies is difficult to the problem of being multiplexed on a large scale.
To solve the above-mentioned problems, according to an aspect of the present invention, the invention discloses a kind of execution of test case Method, comprising:
Multiple functional test use-cases are stored in advance;
According to the testing requirement of test product, from pre-stored the multiple functional test use-case, obtain pending Functional test use-case;
Obtain that the pending functional test use-case is corresponding default to execute sequence;
According to it is described it is default execute sequence, run the pending functional test use-case, obtain test result.
According to another aspect of the present invention, the invention also discloses a kind of executive devices of test case, comprising:
Memory module, for multiple functional test use-cases to be stored in advance;
First obtains module, for the testing requirement according to test product, from pre-stored the multiple functional test In use-case, pending functional test use-case is obtained;
Second obtains module, and for obtaining, the pending functional test use-case is corresponding default to execute sequence;
Run module, for according to it is described it is default execute sequence, the operation pending functional test use-case is surveyed Test result.
According to another aspect of the invention, the invention also discloses a kind of terminals, comprising: memory, processor and storage On the memory and the execution program of test case that can run on the processor, the execution journey of the test case The step of execution method of the test case as described in above-mentioned any one is realized when sequence is executed by the processor.
In accordance with a further aspect of the present invention, the invention also discloses a kind of computer readable storage medium, the computers The execution program of test case is stored on readable storage medium storing program for executing, it is real when the execution program of the test case is executed by processor The now step in the execution method of the test case as described in above-mentioned any one.
Compared with prior art, the present invention includes the following advantages:
The embodiment of the present invention is by developing multiple functional test use-cases in advance and storing, then when needing to survey product , then can be according to testing requirement, from pre-stored multiple functional test use-cases when examination, flexible selection and the testing requirement Matched pending functional test use-case, and it is suitable by obtaining the corresponding default execution of the pending functional test use-case Sequence executes sequence finally, presetting according to this, runs the pending functional test use-case, obtains test result.The present invention is implemented Example can flexibly select one or more functions test case to carry out flexible combination and answer according to the difference of testing requirement With realizing the extensive multiplexing to test case, and reduce the maintenance cost of test case.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of the test case of one embodiment of the invention;
Fig. 2 is a kind of step flow chart of the execution embodiment of the method for test case of the invention;
Fig. 3 is the step flow chart of the execution embodiment of the method for another test case of the invention;
Fig. 4 is the step flow chart of the execution embodiment of the method for another test case of the invention;
Fig. 5 is the step flow chart of the execution embodiment of the method for another test case of the invention;
Fig. 6 is a kind of structural block diagram of the executive device embodiment of test case of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
In order to solve the problems, such as that test case present in the relevant technologies is difficult to be multiplexed on a large scale, the present invention is developing in advance When test case, test case is divided into three classes according to rank size, rank is followed successively by atomic test use-case, function from small to large Test case and operational trials use-case.
Wherein, atomic test use-case, its rank is minimum, is small enough to the testing procedure that can not be split again, therefore, can Developing an atomic operation function for an atomic test use-case.Such as clicking operation function can be developed and be clicked for one The atomic test use-case of button can be developed for another example to the handling function of input frame input text to input text to input frame Atomic test use-case.
Functional test use-case is composed of two or more atomic test use-cases, forms a simple function Test case, functional test use-case is usually the test being directed to inside the single page, for example, the login frame into a page Input username and password after, click login button, verifying log in whether successful login function test case.
Operational trials use-case, its rank is maximum, is composed of two or more functional test use-cases, shape At a test case with complete business process.Operational trials use-case is usually the joint test between several pages.For example, Test case, test case of shopping process of Login Register business etc..
Wherein, functional test use-case can be individually performed with operational trials use-case and not interfere with each other, and can also combine execution, from And construct complicated test logic.So in the embodiment of the present invention, when being developed to test case, by test case Refinement is split with carrying out different grain size, so as to so that the reusability and maintainability of test case are greatly improved.
It, can also will be a variety of for example, atomic test use-case can be individually used for carrying out product test of some operation Atomic test use-case combines to be tested for some function to product;Similar, functional test use-case can be independent For carrying out the test of some function to product, can also combine with other function test case for certain to product A business is tested, so that the atomic test use-case of exploitation, functional test use-case have obtained higher multiplexing.Moreover, to open For for the atomic test use-case of hair, which can be not only used for the test of some operation of the product, It can be also used for the test of the same operation to other products, therefore, the test case of exploitation of the embodiment of the present invention can also To be multiplexed on different product.
Multiple functional test use-cases can be stored in advance in the embodiment of the present invention, and the combination of different function test case can be with structure At operational trials use-case, and each functional test use-case can include multiple atomic test use-cases.
Fig. 1 schematically illustrates the structural schematic diagram of the test case of exploitation of the embodiment of the present invention.
As shown in Figure 1, atomic test 1 (i.e. atomic test use-case 1) and atomic test 2, which can combine, constitutes function survey Try 1 (i.e. functional test use-case 1);Similar, functional test 1 and functional test 2 can also combine and constitute operational trials 1 (i.e. operational trials use-case 1).
So can not only reduce test case by means of the varigrained test case that the embodiment of the present invention is developed Maintenance cost, can also flexibly develop various functional test use-cases and various businesses test case, improve test The exploitation flexibility of use-case, and the test case for enabling to exploitation to obtain significantly is multiplexed.
Referring to Fig. 2, described in detail come the execution method for the test case developed to above-described embodiment.Such as Fig. 2 institute Show, it illustrates a kind of step flow charts of the execution embodiment of the method for test case of the invention, can specifically include as follows Step:
Step 100, multiple functional test use-cases are stored in advance;
Wherein, different function test case can be in advance for difference for testing different functions, the embodiment of the present invention Page function create different classes of pages, the corresponding page class object of the classes of pages is defined in each classes of pages to be executed Operation, i.e., operation function --- run () function.
Therefore, a functional test use-case may include a classes of pages.
Step 101, it is obtained from pre-stored the multiple functional test use-case according to the testing requirement of test product Take pending functional test use-case;
Wherein, test product can be system to be tested, software, application program, webpage etc..
When needing to test test product, it can be which test product determination needs to be implemented according to testing requirement A little functional test use-cases.
Wherein, testing requirement can be the external command triggered by user received, which can carry survey Examination demand ID and testing requirement type, wherein testing requirement type is operational trials or functional test.
And with the difference of testing requirement, the test case obtained here is also different.
Wherein, the embodiment of the present invention can configure testing requirement ID and testing requirement type in advance, and pre-stored Mapping relations between multiple functional test use-cases.
For example, operational trials demand 1 corresponds to functional test use-case 1 and functional test use-case 2;
Operational trials demand 2 corresponds to functional test use-case 1 and functional test use-case 3;
Functional test demand 1 corresponds to functional test use-case 2.
So, when the testing requirement includes operational trials demand, that is to say, that this testing requirement includes to survey One business of trial product is tested, and therefore, it is necessary to use operational trials use-case to be tested, and operational trials use-case is by more A functional test use-case is constituted.So can then be used from pre-stored the multiple functional test when executing step 101 In example, obtain and the matched multiple functional test use-cases of the operational trials demand.
For example, operational trials demand is above-mentioned operational trials demand 1, then need exist for obtaining functional test use-case 1 and function It can test case 2.
Wherein, as described above, for any one of functional test use-case, by multiple atomic test use-case structures At, and functional test use-case is then used to verify the simple function of the test product.
So when the testing requirement includes functional test demand, that is to say, that this testing requirement includes to survey One function of trial product is tested, then when executing step 101, can be used from pre-stored the multiple functional test In example, obtain and the matched functional test use-case of the functional test demand.
For example, functional test demand is above-mentioned functional test demand 1, then need exist for obtaining functional test use-case 2.
Certainly, which can also both include operational trials demand, also include functional test demand, thereby executing multiple Miscellaneous test logic.
Step 102, obtain that the pending functional test use-case is corresponding default to execute sequence;
Wherein, when testing requirement includes operational trials demand, then what the default execution that obtains here sequence referred to be with First between the corresponding pending multiple functional test use-cases of the operational trials demand default executes sequence.
It in embodiments of the present invention, in advance can be with the multiple of configuration service testing requirement and the corresponding operational trials demand First between functional test use-case default executes sequence.
Such as default execution sequence 1 can be configured to operational trials demand 1, i.e., successively execute functional test use-case 1 and function It can test case 2;
Default execution sequence 2 is configured to operational trials demand 2, i.e. successively functional test use-case 1 and functional test use-case 3.
And when testing requirement includes functional test demand, since the functional test demand corresponds only to a functional test Use-case, but a functional test use-case is made of multiple atomic test use-cases, therefore, this obtained in this step is pending Functional test use-case it is corresponding it is default execute sequence, can for multiple atomic test use-cases included by the functional test use-case it Between second default execute sequence.
It should be noted that when testing requirement not only included functional test demand, but also when including operational trials demand, first is pre- If mutually indepedent between execution sequence and the second default execution sequence, two groups of test cases of corresponding different testing requirements are being executed When do not interfere with each other.
Step 103, according to it is described it is default execute sequence, run the pending functional test use-case, obtain test knot Fruit.
Specifically, when testing requirement is operational trials demand, then here according to the described first default execution sequence according to It is secondary to execute multiple functional test use-cases corresponding with the operational trials demand, obtain operational trials result;When testing requirement is function When energy testing requirement, then multiple atomic test use-cases is executed according to the second default execution sequence here, obtains functional test results, Wherein, the corresponding functional test use-case of the functional test demand includes multiple atomic test use-case;When testing requirement both includes When business demand test includes functional test demand again, then above-mentioned multiple function are successively executed according to the described first default execution sequence Can test case, obtain operational trials as a result, and execute above-mentioned multiple atomic test use-cases according to the second default execution sequence, Functional test results are obtained, achieve the purpose that functional test and operational trials joint test.
Wherein, the operation result of the corresponding pending functional test use-case of a testing requirement, the as test product The test result corresponding to the testing requirement.
It will be seen that quality, the performance of the test product, according to the test result so as to carry out to the test product It checks and evaluates.
The embodiment of the present invention is by developing multiple functional test use-cases in advance and storing, then when needing to survey product , then can be according to testing requirement, from pre-stored multiple functional test use-cases when examination, flexible selection and the testing requirement Matched pending functional test use-case, and it is suitable by obtaining the corresponding default execution of the pending functional test use-case Sequence executes sequence finally, presetting according to this, runs the pending functional test use-case, obtains test result.The present invention is implemented Example can flexibly select one or more functions test case to carry out flexible combination and answer according to the difference of testing requirement With realizing the extensive multiplexing to test case, and reduce the maintenance cost of test case.
In addition, the embodiment of the present invention is used using the granularity developed in advance atomic test use-case from small to large, functional test Example, and the operational trials use-case being made of functional test use-case, to test test product, not according to testing requirement Together, the default execution between multiple test cases and multiple test cases that flexibly acquisition and the testing requirement match Sequentially, to reach the test purpose for carrying out meeting above-mentioned testing requirement to test product;Wherein, when testing requirement includes business It is when testing requirement, then available to be tested with the matched multiple functional test use-cases of the demand;When testing requirement includes function It is when energy testing requirement, then available to be tested with the matched multiple atomic test use-cases of demand, due to varigrained survey There is association between example on probation, so as to flexibly carry out spirit to varigrained test case according to the different of testing requirement Combination and multiplexing living, can satisfy the extensive multiplexing demand of test case, and reduce the maintenance cost of test case.
Optionally, in one embodiment, when the testing requirement includes operational trials demand, as shown in figure 3, holding When row step 101, then it can be realized by S201~S203, and when executing step 102, then it can be by S204 come real It is existing, and when executing step 103, then it can be realized by S205:
S201, according to the operational trials demand of test product, from pre-stored multiple classes of pages, identification and institute State the matched multiple first page noodles of operational trials demand;
Wherein, the embodiment of the present invention is in development function test case, since a function is generally directed to page Operation, therefore, the embodiment of the present invention develops multiple classes of pages (Class) in advance, and each classes of pages has class name, the page Class and test function correspond.
For the mapping relations between preconfigured testing requirement and functional test use-case, can be needed herein for test Seek the mapping relations between the class name of classes of pages.
For example, operational trials demand 1 corresponds to name1Class and name2Class;
Operational trials demand 2 corresponds to name1Class and name3Class;
Functional test demand 1 corresponds to name2Class.
It so, can be from pre-stored multiple classes of pages, using above-mentioned mapping relations, to recognize in this step With the matched multiple first page noodles of operational trials demand;
Multiple first page class objects are respectively created to the multiple first page noodles in S202;
Wherein, it when each function in invoking page class, needs to call using the class object of the classes of pages, therefore, This step needs create respective first page class object to each first page noodles, to obtain multiple first page noodles pair As.
Such as the operational trials demand is logon account, and searches for film, then, in the movie listings obtained to search One film plays out.
So the operational trials demand corresponds to log in page noodles, search page noodles, plays classes of pages, then being respectively created Page class object be followed successively by FeatureA, FeatureB, FeatureC.
S203 obtains run () function of the multiple first page class object;
Wherein, for any one classes of pages, the run () function for having the classes of pages is defined in classes of pages, here may be used To use the page class object of classes of pages, to call run () function in the classes of pages, the multiple the is obtained to reach The purpose of run () function of one classes of pages object.
Here the run () function and not running obtained, can be the process of a preloading.
S204 is obtained between run () function of the multiple first page class object according to the operational trials demand First default executes sequence;
Wherein, the run () function of different first page class objects is used to verify the different function of the test product, and When carrying out an operational trials, need to carry out joint test to different functions, so, it is above-mentioned multiple there is also the need to get First between run () function of first page class object default executes sequence.
The embodiment of the present invention operational trials demand can configure which first page noodles it includes in advance, further, it is also possible to It is configured, these first page noodles execute sequence.
Continue with the citing of above-mentioned example:
Operational trials demand 1 corresponds to name1Class and name2Class, and the execution sequence 1 of configuration is successively to execute Name1Class and name2Class;
Operational trials demand 2 corresponds to name1Class and name3Class, and the execution sequence 2 of configuration is successively to execute Name1Class and name3Class.
In fact, the execution sequence of each classes of pages is exactly that default execution between run () function of each classes of pages is suitable Sequence.
In a specific example, since above-mentioned operational trials demand is logon account, and film is searched for, it is then, right The film searched in obtained movie listings plays out, therefore, to multiple first pages of operational trials demand configuration The default execution sequence of the first of noodles is to first carry out login function use-case, execute function of search use-case again, finally executes and plays electricity Shadow use-case.So the available default execution sequence to run () function corresponding with the operational trials demand is to first carry out FeatureA.run (), then FeatureB.run () is executed, finally execute FeatureC.run ().
S205 successively calls run () letter of the multiple first page class object according to the described first default execution sequence Number, obtains test result.
Continue with above-mentioned for example bright, successively execute FeatureA.run (), FeatureB.run (), FeatureC.run (), to obtain the test result corresponding to above-mentioned operational trials demand.
Wherein, since the internal logic of run () function of any one page class object then includes that multiple atomic tests are used Example, accordingly, with respect to FeatureA.run (), FeatureB.run (), FeatureC.run () each run () function it is interior Portion executes logic, illustrates in Fig. 4 and Fig. 5 embodiment, which is not described herein again.
Wherein, FeatureA, FeatureB, FeatureC in following codes respectively indicate these three page class objects The execution logic of run () function, specific explanations are referred to S304~S306 and Fig. 5 embodiment of following Fig. 4 embodiments.
FeatureA=driver.page (" login page ") .input (" ID ", " user name ", " userName ") .input (" ID ", " password ", " 12345 ") .click (" ID ", " login ");
FeatureB=driver.page (" searched page ") .input (" ID ", " search box ", " film ") .click (" ID ", " search ") .click (" Type ", " list ", " 0 ");
FeatureC=FeatureB.click (" ID ", " broadcasting ");
In embodiments of the present invention, when testing requirement includes operational trials demand, the method for the embodiment of the present invention then may be used To obtain matching multiple first page noodles according to operational trials demand, and first page is created to each first page noodles Noodles object, and call run () function of each first page class object and run () letter of different first page class objects Between number first it is default execute sequence, herein the run () function of each first page class object for verify the test production Each function of the product in the operational trials demand, and run () function of page class object and the page class object, that is, suitable In a functional test use-case, finally, run () function of each page class object is successively executed according to default execution sequence, So as to realize the operational trials to the above-mentioned operational trials demand of test product, reaches and execute an operational trials use-case Purpose is multiplexed functional test use-case in operational trials use-case implementation procedure, reduces opening for operational trials use-case Hair cost and the development time for reducing operational trials use-case.
Optionally, when the testing requirement includes functional test demand, as shown in figure 4, when executing step 101, then It can be realized by S301~S304, and when executing step 102, then it can be realized by S305, and executing step When 103, then it can be realized by S306:
Wherein, S304 and S305 is by calling run () function of second page class object to realize.
S301, according to the functional test demand of test product, from pre-stored multiple classes of pages, identification and institute State the matched second page noodles of functional test demand;
As described above, the embodiment of the present invention can be pre-configured with the pass of the mapping between testing requirement and functional test use-case System, herein can mapping relations between testing requirement and the class name of classes of pages, such as functional test demand 1 corresponds to name2Class.It so, can be from pre-stored multiple classes of pages, using above-mentioned mapping relations, to know in this step It is clipped to the classes of pages for being known as name2 with the matched class name of functional test demand 1;
Such as the functional test demand is login function testing requirement, then with the matched classes of pages of functional test demand For log in page noodles (second page noodles here).
S302 creates second page class object to the second page noodles;
Wherein, login page class object (second page class object here) can be created to the log in page noodles here, Such as FeatureA.
S303 obtains run () function of the second page class object;
Similar with the principle of the S203 of above-described embodiment, for any one classes of pages, definition has this in classes of pages Run () function of classes of pages, may be used herein the page class object of classes of pages, to call run () letter in the classes of pages Number, to achieve the purpose that the run () function for obtaining the second page class object.
Here the run () function and not running obtained, can be the process of a preloading.
S304 calls run () function of the second page class object, to obtain the multiple of the second page class object The test parameter of atomic operation function, each atomic operation function;
S305 calls run () function of the second page class object, to obtain between the multiple atomic operation function Second default execute sequence;
As S304 and S305 obtain as a result, being all as obtained from run () function of calling second page class object. Therefore, Unify legislation is carried out to S304 and S305 here.
In building log in page noodles in advance, such as such entitled page is defined not only in the log in page noodles The execution logic of run () function, also defining login function test case needs the execution of multiple atomic operation functions to be used Logic, for example, atomic operation function here may include driver () function page () function, input () function and Click () function.
Wherein, the effect of page () function is creation login page class object, while returning the result is also log in page noodles Type.
In addition, in building log in page noodles in advance, the execution logic of run () function in log in page noodles may include First executes code, for obtaining each atomic operation function defined in log in page noodles;Second executes code, for obtaining Second between each atomic operation function default executes sequence;Third executes code, for obtaining above-mentioned each atomic operation The test parameter of function, certainly not each atomic operation function has test parameter, such as driver () function does not have Test parameter.
Wherein, an atomic test use-case may include an atomic operation function and the atomic operation letter here Several test parameters.
When so by executing FeatureA.run (), so that it may execute above-mentioned three groups of execution generations in run () function Code, to reach execution logical code, the multiple atomic operation function for obtaining multiple atomic operation functions of FeatureA Between second it is default execute sequence, each atomic operation function test parameter purpose.
The embodiment of the present invention in specific implementation, testing tool can be used and carry out above-mentioned execution method, therefore, it is necessary to Any one above-mentioned test case is run in test product by the driving of testing tool, so, in building log in page in advance When noodles, not only definition has driver () function of the driving in the log in page noodles.The effect of driver () function is to make to survey Example on probation brings into operation, and executes test script.
In addition, it is necessary to explanation, since when executing the test of login function, the same atomic operation function may quilt It executes repeatedly, therefore, in the above-mentioned second default execution sequence, the same atomic operation function can be in different execution position weights It appears again existing.
In addition, it is necessary to explanation, each function in log in page noodles (including run () function, driver () function, Page () function and input () function and Click () function) result type that returns after execution is login page The type of class, so that the result returned can continue to call each function defined in above-mentioned log in page noodles.
S306, according to the test parameter of each atomic operation function, successively according to the described second default execution sequence The multiple atomic operation functions for calling the second page class object, obtain test result.
When executing functional test use-case, the embodiment of the present invention executes functional test use-case using chain code agreement Code, chain code agreement are as follows:
[driving] [page] (Page Name) [manipulation] (element parameter) [manipulation] (element parameter) [manipulation] (element Parameter) ...
Include in above-mentioned chain code agreement bracket [] is certain atomic operation function, includes in round bracket () Be test parameter needed for the atomic operation function.
Specific paraphrase is as follows:
[driving] refers to test bottom layer driving, is the execution entrance of functional test use-case.
[page] refers to the page to be measured, needs to transmit Page Name to position the specific page.
[manipulation] refers to executing specified element certain test instruction (executing certain atomic operation function), including But it is not limited to click, input, slides and test instruction etc., needing to transmit design parameter, (parameter may include component identification, input The information such as test text).
It is linked together by way of point " " between respectively being instructed in above-mentioned chain code agreement, therefore, referred to as Chain code, can be with infinite expanding.Pass through chain code, it is ensured that test the reusability of code, while semantic meaning representation is more Succinctly, convenient for the exploitation of test case and execution.
Here by taking the corresponding login function test case of log in page noodles as an example, to be further elaborated to S304.
Code sample is as follows:
It executes FeatureA.run (), so as to the described of each atomic operation function for being obtained according to run () function Test parameter successively executes multiple atomic operation letters of the FeatureA according to the described second default execution sequence of acquisition Number, obtains test result;
Wherein, FeatureA here calls the code after multiple atomic operation functions to execute logic are as follows:
Driver.page (" login page ") .input (" ID ", " user name ", " userName ") .input (" ID ", " Password ", " 12345 ") .click (" ID ", " login ");
Wherein, the data in above-mentioned code in the bracket of each function are the parameter of each function.
Above-mentioned code indicates: page () function of log in page noodles is called and executed using driving, thus to Page Name The page for " login page " proceeds as follows, and concrete operations are to input in the input frame that ID is " user name " first " userName " then inputs " 12345 " in the input frame that ID is " password ", finally, clicking ID in the page is " login " Button, thus complete to Page Name be " login page " the page login function test, obtain test result.
Wherein, it should be noted that in the operational trials use-case embodiment of Fig. 3, carry out any one page executing S205 When run () function of noodles object is executed, it can come referring to the specific implementation of the S304~S306 of the present embodiment At to obtain the test result of the corresponding functional test use-case of each page class object.
In embodiments of the present invention, when testing requirement includes functional test demand, the method for the embodiment of the present invention then may be used To obtain a matching second page noodles according to functional test demand, and second page noodles are created to second page noodles Object, and run () function by executing second page class object obtains multiple atomic operation letters of second page class object The second default test parameter for executing sequence, each atomic operation function between several, multiple atomic operation functions, and an original Sub- test case may include the test parameter of an atomic operation function and the atomic operation function, finally, according to every The test parameter of a atomic test use-case, and preset according to the second of each atomic test use-case execute along come successively execute this Multiple atomic operation functions in multiple atomic test use-cases of two page class objects, to obtain the test knot of the functional test Fruit.In functional test use-case implementation procedure, atomic test use-case is multiplexed, reduces the exploitation of functional test use-case Cost and development time and the maintenance cost for reducing functional test use-case.
Following codes, which are shown, so to be understood to the execution method of the operational trials use-case of Fig. 3 embodiment convenient for reader Correspond to above-mentioned operational trials demand (logon account, and search for film, then, one in movie listings that search is obtained A film plays out), implementing result code when S205 is executed to each functional test use-case:
FeatureA.run();
FeatureB.run();
FeatureC.run();
FeatureA=driver.page (" login page ") .input (" ID ", " user name ", " userName ") .input (" ID ", " password ", " 12345 ") .click (" ID ", " login ");
FeatureB=driver.page (" searched page ") .input (" ID ", " search box ", " film ") .click (" ID ", " search ") .click (" Type ", " list ", " 0 ");
FeatureC=FeatureB.click (" ID ", " broadcasting ");
The paraphrase of above-mentioned code are as follows: successively execute FeatureA.run ();FeatureB.run();FeatureC.run ();And when executing FeatureA.run (), then it is referred to multiple atomic operation functions on the right side of "=" of FeatureA Execute logical code successively to execute each atomic operation function, specifically:
Page () function of log in page noodles is called and executed using driving, to be " login page " to Page Name The page proceeds as follows, and concrete operations are to input " userName " first in the input frame that ID is " user name ", then, ID is to input " 12345 " in the input frame of " password ", finally, the button that ID in the page is " login " is clicked, thus completion pair Page Name is the test of the login function of the page of " login page ".Here test result is not prompted, because not here being function It can test, but operational trials.
And when executing FeatureB.run (), then it is referred to multiple atoms on the right side of "=" of above-mentioned FeatureB and grasps Make the execution logical code of function successively to execute each atomic operation function, specifically:
Page () function of search page noodles is called and executed using driving, to be " searched page " to Page Name The page proceeds as follows, and concrete operations are to input " film " first in the input frame that ID is " search box ", then, clicks ID Film search result column are obtained so that completing is the film search in " searched page " to Page Name for the button of " search " Table then carries out clicking operation to the 0th row option that " Type " is " list ", i.e., in above-mentioned film search result list First search result seen by person carries out clicking operation, to open first film record in search result list The film introduction page.
And when executing FeatureC.run (), then it is referred to multiple atoms on the right side of "=" of above-mentioned FeatureB and grasps Make the execution logical code of function successively to execute each atomic operation function, specifically:
Here FeatureC is more special, that references FeatureB object, so as to omit to driver.page (" Searched page ") .input (" ID ", " search box ", " film ") .click (" ID ", " search ") .click (" Type ", " column Table ", " 0 ") reference, and directly the button that " ID " in the above-mentioned film introduction page is " broadcasting " is clicked, to survey Try the film playing function of the film introduction page.
After successively having executed FeatureA.run (), FeatureB.run (), FeatureC.run (), so that it may The test result tested to the business demand.
In addition, it is necessary to illustrate, in the execution code logic of above-mentioned each atomic operation function, the test text of input It is fixed text, such as cryptogram is " 12345 ", and it is proper use of in order to ensure each function and/or business, in reality In the test process of border, the data type of the test text parameter of input can be changed to it is macro etc., and in macro middle configuration various types Test text, to be promoted to the test completeness of product.
Such as FeatureA=driver.page (" login page ") .input (" ID ", " user name ", " UserName ") .input (" ID ", " password ", KPasswordText) .click (" ID ", " login ").
#define KPasswordText"12345"。
That is, the text of all inputs can be come out using constant definition in macrostructure.Constant as shown here KPasswordText defines input text " 12345 ".
Optionally, when executing S303 and S305, as shown in figure 5, can be realized by following steps:
S401 calls run () function of the second page class object, to read the default of the second page class object Array, wherein the preset group be previously stored between the multiple atomic operation function second it is default execute sequence, with And it is stored with the incidence relation of each atomic operation function and test parameter;
Wherein, when constructing each classes of pages in advance, a preset group can also be defined in classes of pages, such as Steps array, it is default can store second between each atomic operation function in the classes of pages in the steps array Sequence is executed, by taking above-mentioned login page class as an example, such as steps [0]=driver, steps [1]=page, steps [2]= Input, steps [3]=input, steps [4]=click.In addition, the classes of pages can also be stored in the steps array In each atomic operation function and respective test parameter incidence relation, continuation said by taking above-mentioned login page class as an example It is bright, such as page () function is associated with " login page ", input () function is associated with " ID, user name, userName ", There is also another incidence relations for input () function, are also associated with " ID, password, 12345 ", click () function with " ID, Log in " association.
Since the number of parameters of each atomic operation function is different, the dimension of steps array here is not limited to One-dimension array can be Multidimensional numerical.
S402 obtains second between the multiple atomic operation function and default executes sequence according to the preset group;
Wherein it is possible to be held from default between the multiple atomic operation functions read in the steps array in the classes of pages Row sequence.
S403 is obtained each in the multiple atomic operation function according to the incidence relation in the preset group The test parameter of atomic operation function.
Wherein, it can also read and be grasped with each atom in the classes of pages from the above-mentioned incidence relation of the steps array Make functional dependence connection test parameter, here, the test parameter of an atomic operation function can be zero, one, one with On, the present invention is not intended to limit this.
In this way, the embodiment of the present invention is held by presetting second between atomic operation functions multiple in functional test use-case The relevant parameter of row sequence and each atomic operation function is individually stored into an array, so as to survey in atom In example granularity on probation, also realize to the decoupling between data and function, then when need to some atomic test use-case or some When functional test use-case is modified, then it can be recompiled to avoid to test case, only need local directed complete set.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
It is corresponding with method provided by the embodiments of the present invention, referring to Fig. 6, show a kind of test case of the present invention Executive device embodiment structural block diagram, can specifically include following module:
Memory module 61, for multiple functional test use-cases to be stored in advance;
First obtains module 62, for the testing requirement according to test product, surveys from pre-stored the multiple function In example on probation, pending functional test use-case is obtained;
Second obtains module 63, and for obtaining, the pending functional test use-case is corresponding default to execute sequence;
Run module 64, for according to it is described it is default execute sequence, the operation pending functional test use-case obtains Test result.
Optionally, when the testing requirement includes operational trials demand, then the pending functional test use-case packet It includes and the matched multiple functional test use-cases of the operational trials demand;
When the testing requirement includes functional test demand, then the pending functional test use-case include with it is described The matched functional test use-case of functional test demand;
Wherein, a functional test use-case is made of multiple atomic test use-cases, and a functional test use-case is for testing Demonstrate,prove the simple function of the test product.
Optionally, the first acquisition module 62 includes:
First acquisition submodule, for when the testing requirement includes operational trials demand, according to the institute of test product Operational trials demand is stated, from pre-stored multiple classes of pages, identification and the operational trials demand matched multiple first Classes of pages;
First creation submodule, for multiple first page class objects to be respectively created to the multiple first page noodles;
Second acquisition submodule, for obtaining the operation function of the multiple first page class object;
Described second, which obtains module 63, includes:
Third acquisition submodule, for obtaining the multiple first page class object according to the operational trials demand First between operation function default executes sequence, wherein the operation function of a first page class object is for described in verifying One function of test product;
The operation module 64 includes:
First operation submodule, for successively calling the multiple first page noodles according to the described first default execution sequence The operation function of object, obtains test result.
Optionally, the first acquisition module 62 includes:
4th acquisition submodule, for when the testing requirement includes functional test demand, according to the institute of test product Functional test demand is stated, from pre-stored multiple classes of pages, identification and the matched second page of functional test demand Class;
Second creation submodule, for creating second page class object to the second page noodles;
5th acquisition submodule, for obtaining the operation function of the second page class object;
First calls submodule, for calling the operation function of the second page class object, to obtain the second page The test parameter of multiple atomic operation functions of noodles object, each atomic operation function, wherein an atomic test use-case packet Include the test parameter of an atomic operation function and the atomic operation function;
Described second, which obtains module 63, includes:
Described first calls submodule, described more to obtain for calling the operation function of the second page class object Second between a atomic operation function default executes sequence;
The operation module 64 includes:
Second operation submodule, it is pre- according to described second for the test parameter according to each atomic operation function If execution sequence successively calls multiple atomic operation functions of the second page class object, test result is obtained.
Optionally, the first calling submodule includes:
Call unit, for calling the operation function of the second page class object, to read the second page noodles pair The preset group of elephant, wherein what the preset group was previously stored between the multiple atomic operation function second default holds Row sequence, and it is stored with the incidence relation of each atomic operation function and test parameter;
First acquisition unit, for obtaining second between the multiple atomic operation function according to the preset group It is default to execute sequence;
Second acquisition unit, for obtaining the multiple atom behaviour according to the incidence relation in the preset group Make the test parameter of each atomic operation function in function.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
According to still another embodiment of the invention, the present invention also provides a kind of terminals, comprising: memory, processor and It is stored in the execution program for the test case that can be run on the memory and on the processor, the test case is held The step of the execution method of the test case as described in any one above-mentioned embodiment is realized when line program is executed by the processor Suddenly.
Still another embodiment in accordance with the present invention, the present invention also provides a kind of computer readable storage medium, the meter The execution program of test case is stored on calculation machine readable storage medium storing program for executing, the execution program of the test case is executed by processor Step in the execution method of test case of the Shi Shixian as described in any one above-mentioned embodiment.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of execution method of test case provided by the present invention, a kind of executive device of test case, one Kind of terminal, a kind of computer readable storage medium, are described in detail, and specific case used herein is to original of the invention Reason and embodiment are expounded, and the above embodiments are only used to help understand, and method and its core of the invention is thought Think;At the same time, for those skilled in the art, according to the thought of the present invention, in specific embodiments and applications There will be changes, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (12)

1. a kind of execution method of test case, which is characterized in that multiple functional test use-cases are stored in advance, comprising:
Pending function is obtained from pre-stored the multiple functional test use-case according to the testing requirement of test product It can test case;
Obtain that the pending functional test use-case is corresponding default to execute sequence;
According to it is described it is default execute sequence, run the pending functional test use-case, obtain test result.
2. the method according to claim 1, wherein
When the testing requirement includes operational trials demand, then the pending functional test use-case includes and the business The matched multiple functional test use-cases of testing requirement;
When the testing requirement includes functional test demand, then the pending functional test use-case includes and the function The matched functional test use-case of testing requirement;
Wherein, a functional test use-case is made of multiple atomic test use-cases, and a functional test use-case is for verifying institute State the simple function of test product.
3. the method according to claim 1, wherein when the testing requirement includes operational trials demand, institute The testing requirement according to test product is stated, from pre-stored the multiple functional test use-case, obtains pending function Test case, comprising:
According to the operational trials demand of test product, from pre-stored multiple classes of pages, identification is surveyed with the business The matched multiple first page noodles of examination demand;
Multiple first page class objects are respectively created to the multiple first page noodles;
Obtain the operation function of the multiple first page class object;
It is described to obtain that the pending functional test use-case is corresponding default to execute sequence, comprising:
According to the operational trials demand, obtains first between the operation function of the multiple first page class object and default hold Row sequence, wherein the operation function of a first page class object is used to verify a function of the test product;
It is described according to it is described it is default execute sequence, run the pending functional test use-case, obtain test result, comprising: The operation function that the multiple first page class object is successively called according to the described first default execution sequence, obtains test knot Fruit.
4. the method according to claim 1, wherein when the testing requirement includes functional test demand, institute The testing requirement according to test product is stated, from pre-stored the multiple functional test use-case, obtains pending function Test case, comprising:
According to the functional test demand of test product, from pre-stored multiple classes of pages, identification is surveyed with the function The matched second page noodles of examination demand;
Second page class object is created to the second page noodles;
Obtain the operation function of the second page class object;
The operation function of the second page class object is called, to obtain multiple atomic operation letters of the second page class object The test parameter of several, each atomic operation function, wherein an atomic test use-case includes an atomic operation function and institute State the test parameter of atomic operation function;
It is described to obtain that the pending functional test use-case is corresponding default to execute sequence, comprising:
The operation function of the second page class object is called, is preset with obtaining second between the multiple atomic operation function Execute sequence;
It is described according to it is described it is default execute sequence, run the pending functional test use-case, obtain test result, comprising:
According to the test parameter of each atomic operation function, described the is successively called according to the described second default execution sequence Multiple atomic operation functions of two page class objects, obtain test result.
5. according to the method described in claim 4, it is characterized in that, call the operation function of the second page class object, with Obtain multiple atomic operation functions of the second page class object, test parameter of each atomic operation function, the multiple Second between atomic operation function default executes sequence, comprising:
The operation function of the second page class object is called, to read the preset group of the second page class object, wherein The preset group be previously stored between the multiple atomic operation function second it is default execute sequence, and be stored with every The incidence relation of a atomic operation function and test parameter;
According to the preset group, obtains second between the multiple atomic operation function and default execute sequence;
According to the incidence relation in the preset group, each atomic operation letter in the multiple atomic operation function is obtained Several test parameters.
6. a kind of executive device of test case characterized by comprising
Memory module, for multiple functional test use-cases to be stored in advance;
First obtains module, for the testing requirement according to test product, from pre-stored the multiple functional test use-case In, obtain pending functional test use-case;
Second obtains module, and for obtaining, the pending functional test use-case is corresponding default to execute sequence;
Run module, for according to it is described it is default execute sequence, run the pending functional test use-case, obtain test and tie Fruit.
7. device according to claim 6, which is characterized in that
When the testing requirement includes operational trials demand, then the pending functional test use-case includes and the business The matched multiple functional test use-cases of testing requirement;
When the testing requirement includes functional test demand, then the pending functional test use-case includes and the function The matched functional test use-case of testing requirement;
Wherein, a functional test use-case is made of multiple atomic test use-cases, and a functional test use-case is for verifying institute State the simple function of test product.
8. device according to claim 6, which is characterized in that
Described first, which obtains module, includes:
First acquisition submodule, for when the testing requirement includes operational trials demand, according to the industry of test product Testing requirement of being engaged in identifies and the matched multiple first pages of the operational trials demand from pre-stored multiple classes of pages Class;
First creation submodule, for multiple first page class objects to be respectively created to the multiple first page noodles;
Second acquisition submodule, for obtaining the operation function of the multiple first page class object;
Described second, which obtains module, includes:
Third acquisition submodule, for obtaining the operation of the multiple first page class object according to the operational trials demand First between function default executes sequence, wherein the operation function of a first page class object is for verifying the test One function of product;
The operation module includes:
First operation submodule, for successively calling the multiple first page class object according to the described first default execution sequence Operation function, obtain test result.
9. device according to claim 6, which is characterized in that
First, which obtains module, includes:
4th acquisition submodule, for when the testing requirement includes functional test demand, according to the function of test product Energy testing requirement, from pre-stored multiple classes of pages, identification and the matched second page noodles of the functional test demand;
Second creation submodule, for creating second page class object to the second page noodles;
5th acquisition submodule, for obtaining the operation function of the second page class object;
First calls submodule, for calling the operation function of the second page class object, to obtain the second page noodles The test parameter of multiple atomic operation functions of object, each atomic operation function, wherein an atomic test use-case includes one The test parameter of a atomic operation function and the atomic operation function;
Described second, which obtains module, includes:
Described first calls submodule, for calling the operation function of the second page class object, to obtain the multiple original Second between sub-operation function default executes sequence;
The operation module includes:
Second operation submodule is preset according to described second and is held for the test parameter according to each atomic operation function Row sequence successively calls multiple atomic operation functions of the second page class object, obtains test result.
10. device according to claim 9, which is characterized in that it is described first calling submodule include:
Call unit, for calling the operation function of the second page class object, to read the second page class object Preset group, wherein the second default execution that the preset group is previously stored between the multiple atomic operation function is suitable Sequence, and it is stored with the incidence relation of each atomic operation function and test parameter;
First acquisition unit is preset for according to the preset group, obtaining second between the multiple atomic operation function Execute sequence;
Second acquisition unit, for obtaining the multiple atomic operation letter according to the incidence relation in the preset group The test parameter of each atomic operation function in number.
11. a kind of terminal characterized by comprising memory, processor and be stored on the memory and can be at the place The execution program of the test case run on reason device, is realized such as when the execution program of the test case is executed by the processor The step of execution method of test case described in any one of claims 1 to 5.
12. a kind of computer readable storage medium, which is characterized in that be stored with test on the computer readable storage medium and use The execution program of example is realized when the execution program of the test case is executed by processor such as any one of claims 1 to 5 institute Step in the execution method for the test case stated.
CN201811575155.2A 2018-12-21 2018-12-21 Execution method, apparatus, terminal and the computer readable storage medium of test case Pending CN109815128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811575155.2A CN109815128A (en) 2018-12-21 2018-12-21 Execution method, apparatus, terminal and the computer readable storage medium of test case

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811575155.2A CN109815128A (en) 2018-12-21 2018-12-21 Execution method, apparatus, terminal and the computer readable storage medium of test case

Publications (1)

Publication Number Publication Date
CN109815128A true CN109815128A (en) 2019-05-28

Family

ID=66602374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811575155.2A Pending CN109815128A (en) 2018-12-21 2018-12-21 Execution method, apparatus, terminal and the computer readable storage medium of test case

Country Status (1)

Country Link
CN (1) CN109815128A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475412A (en) * 2020-04-01 2020-07-31 广州虎牙科技有限公司 Software testing method and device, electronic equipment and computer readable storage medium
CN112100077A (en) * 2020-09-27 2020-12-18 中国银行股份有限公司 Transaction testing method and device
CN112395188A (en) * 2020-11-06 2021-02-23 武汉木仓科技股份有限公司 Test-oriented software project development method and device, electronic equipment and storage medium
CN113760771A (en) * 2021-09-14 2021-12-07 中国农业银行股份有限公司 Execution method and device of integrated test case

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104820640A (en) * 2015-05-19 2015-08-05 广州华多网络科技有限公司 Webpage testing method and device
CN106991048A (en) * 2017-03-31 2017-07-28 杭州迪普科技股份有限公司 Webpage method of testing and device
CN107885660A (en) * 2017-10-31 2018-04-06 平安科技(深圳)有限公司 Fund system automatic test management method, device, equipment and storage medium
CN108170602A (en) * 2017-12-28 2018-06-15 上海璞恒新能源科技有限公司 A kind of method for generating test case, device, terminal and computer-readable medium
CN108845940A (en) * 2018-06-14 2018-11-20 云南电网有限责任公司信息中心 A kind of enterprise information system automated function test method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104820640A (en) * 2015-05-19 2015-08-05 广州华多网络科技有限公司 Webpage testing method and device
CN106991048A (en) * 2017-03-31 2017-07-28 杭州迪普科技股份有限公司 Webpage method of testing and device
CN107885660A (en) * 2017-10-31 2018-04-06 平安科技(深圳)有限公司 Fund system automatic test management method, device, equipment and storage medium
CN108170602A (en) * 2017-12-28 2018-06-15 上海璞恒新能源科技有限公司 A kind of method for generating test case, device, terminal and computer-readable medium
CN108845940A (en) * 2018-06-14 2018-11-20 云南电网有限责任公司信息中心 A kind of enterprise information system automated function test method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张添: "基于Selenium的Web自动化测试", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
罗雅文: "IBM Web产品自动化测试系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475412A (en) * 2020-04-01 2020-07-31 广州虎牙科技有限公司 Software testing method and device, electronic equipment and computer readable storage medium
CN111475412B (en) * 2020-04-01 2024-02-09 广州虎牙科技有限公司 Software testing method, device, electronic equipment and computer readable storage medium
CN112100077A (en) * 2020-09-27 2020-12-18 中国银行股份有限公司 Transaction testing method and device
CN112100077B (en) * 2020-09-27 2024-04-16 中国银行股份有限公司 Transaction testing method and device
CN112395188A (en) * 2020-11-06 2021-02-23 武汉木仓科技股份有限公司 Test-oriented software project development method and device, electronic equipment and storage medium
CN112395188B (en) * 2020-11-06 2022-12-27 武汉木仓科技股份有限公司 Test-oriented software project development method and device, electronic equipment and storage medium
CN113760771A (en) * 2021-09-14 2021-12-07 中国农业银行股份有限公司 Execution method and device of integrated test case

Similar Documents

Publication Publication Date Title
CN109815128A (en) Execution method, apparatus, terminal and the computer readable storage medium of test case
McGeoch A guide to experimental algorithmics
Li et al. On evaluating commercial cloud services: A systematic review
US10656907B2 (en) Translation of natural language into user interface actions
Van der Aalst et al. Process discovery: An introduction
Avanzini et al. On probabilistic term rewriting
Zhang et al. Environmental modeling for automated cloud application testing
Holl et al. Mobile application quality assurance
CN109840198A (en) The method, apparatus and computer equipment of test software based on automatic testing instrument
US11010286B1 (en) Software testing with machine learning models
CN107608878A (en) A kind of Web automated testing methods and device
US20050114836A1 (en) Block box testing in multi-tier application environments
Li et al. Structure reduction of liveness‐enforcing Petri nets using mixed integer programming
CN107766230A (en) A kind of method and apparatus tested based on configuration file
CN109189688A (en) A kind of generation method, generating means and the electronic equipment of test case script
CN108399125A (en) Automated testing method, device, computer equipment and storage medium
US20240086165A1 (en) Systems and methods for building and deploying machine learning applications
Yevtushenko et al. Evaluating the complexity of deriving adaptive homing, synchronizing and distinguishing sequences for nondeterministic FSMs
CN103955425A (en) Webpage (WEB) exploring testing device and method
Mayer et al. On the applicability of workflow management systems for the preservation of business processes
Haghighatkhah Test case prioritization using build history and test distances: an approach for improving automotive regression testing in continuous integration environments
Colaço et al. Drecpy: A python framework for developing deep learning-based recommenders
Abdelgawad et al. Model-based testing of a real-time adaptive motion planning system
CN110209572A (en) Ui testing method, ui testing system and terminal
Patel et al. Feature interaction testing of variability intensive systems

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