CN106528395A - Test case generation method and apparatus - Google Patents

Test case generation method and apparatus Download PDF

Info

Publication number
CN106528395A
CN106528395A CN201510570791.6A CN201510570791A CN106528395A CN 106528395 A CN106528395 A CN 106528395A CN 201510570791 A CN201510570791 A CN 201510570791A CN 106528395 A CN106528395 A CN 106528395A
Authority
CN
China
Prior art keywords
test case
parameter
template
test
data
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
CN201510570791.6A
Other languages
Chinese (zh)
Other versions
CN106528395B (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.)
Alibaba Singapore Holdings Pte Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510570791.6A priority Critical patent/CN106528395B/en
Publication of CN106528395A publication Critical patent/CN106528395A/en
Application granted granted Critical
Publication of CN106528395B publication Critical patent/CN106528395B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a test case generation method and apparatus. The generation method comprises the steps of obtaining test steps in a test case template, wherein the test steps are executed in sequence; if step parameters are set for the test steps, obtaining attribute values of the step parameters, and adding the attribute values of the step parameters into original data of the test steps to obtain updated step data; and generating test cases based on the updated step data. According to the method and the apparatus, the technical problem of low efficiency of performing UI automation testing is solved and the effect of improving UI test efficiency is achieved.

Description

The generation method of test case and device
Technical field
The application is related to internet arena, in particular to a kind of generation method of test case and device.
Background technology
Software test is indispensable in software development process, its objective is to find the defect in software of hiding, subtracts The cost of few software development and maintenance, promotes the lifting of software quality.The cost of software test accounts for whole software development The 30%-50% of journey, with the continuous improvement of software function complexity, corresponding automatization testing technique is also constantly being sent out Exhibition and progress
In various types of automatic tests, the test closest to user's request is related to user mutual, is commonly called as For ui (user interface) automatic test, with the script executive mode that simulating hand is operated, the page of automatization is realized Feature operation, reaches the test to page function accuracy, and generally using various test scripts in this scenario carries out UI The driving of automatic test, such as test data, crucial word drive, performance testing driving etc..
In various test script implementations, the technology for using is all based on certain type of data, by data and The combination of test code, realizes various effective test scripts, but in this scenario, when test code is performed, Test data is with implementation of test cases and returns test result for acquisition, and testing efficiency is low.
For it is above-mentioned carry out UI automatic tests when the low problem of efficiency, not yet propose effective solution at present.
The content of the invention
The embodiment of the present application provides a kind of generation method of test case and device, at least to solve to carry out UI automatizatioies The low technical problem of testing time-effectiveness rate.
According to the one side of the embodiment of the present application, there is provided a kind of generation method of test case, the generation method bag Include:Each testing procedure in test case template is obtained, wherein, each testing procedure is performed in order;If surveying Try is provided with step parameter suddenly, then the property value of obtaining step parameter, and the property value of step parameter is added into survey Step data in the rapid initial data of try, after being updated;Based on the step data genaration test case after renewal.
According to the another aspect of the embodiment of the present application, a kind of generating means of test case, the generating means are additionally provided Including:Acquisition module, for obtaining each testing procedure in test case template, wherein, each testing procedure is pressed Perform according to order;Processing module, if being provided with step parameter for testing procedure, the property value of obtaining step parameter, And the property value of step parameter is added in the initial data of testing procedure, the step data after being updated;Generate Module, for based on the step data genaration test case after renewal.
In the embodiment of the present application, after computer gets each testing procedure in test case template, judge Whether testing procedure is provided with step parameter, if testing procedure is provided with step parameter, the attribute of obtaining step parameter Value, and the property value of the step parameter is added in the initial data of testing procedure, the step data after being updated, In this scenario, before test case is generated, the category to the testing procedure setting steps parameter in test case template Property value, in the scheme based on data genaration test case the step of being added with the property value of step parameter, i.e. the present embodiment It is just to directly generate the test case of the property value with specific step parameter in the stage for creating test case, need not Test data (property value of i.e. above-mentioned step parameter) is obtained in the stage of implementation of test cases, solving carries out UI Efficiency low problem during automatic test, realizes the effect of the testing efficiency for improving UI automatic tests.
Description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, this Shen Schematic description and description please does not constitute the improper restriction to the application for explaining the application.In accompanying drawing In:
Fig. 1 is a kind of schematic diagram of the generation method of the test case according to prior art;
Fig. 2 is the hardware environment schematic diagram of the terminal according to the embodiment of the present application;
Fig. 3 is a kind of flow chart of the generation method of the test case according to the embodiment of the present application;
Fig. 4 is the flow chart of the generation method of a kind of optional test case according to the embodiment of the present application;
Fig. 5 is the schematic diagram at a kind of optional parameter setting interface according to the embodiment of the present application;
Fig. 6 is a kind of optional parameter display interface and the schematic diagram at parameter setting interface according to the embodiment of the present application;
Fig. 7 is the optional parameter display interface of another kind and the schematic diagram at parameter setting interface according to the embodiment of the present application;
The flow chart of the method for the step of Fig. 8 is a kind of optional modification test case according to the embodiment of the present application data;
Fig. 9 is a kind of schematic diagram of the generating means of the test case according to the embodiment of the present application;And
Figure 10 is the hardware block diagram of the terminal according to the embodiment of the present application.
Specific embodiment
In order that those skilled in the art more fully understand application scheme, below in conjunction with the embodiment of the present application Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present application, it is clear that described embodiment The only embodiment of the application part, rather than the embodiment of whole.Based on the embodiment in the application, ability The every other embodiment obtained under the premise of creative work is not made by domain those of ordinary skill, should all belong to The scope of the application protection.
It should be noted that the description and claims of this application and the term " first " in above-mentioned accompanying drawing, " Two " it is etc. for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that this The data that sample is used can be exchanged in the appropriate case, so as to embodiments herein described herein can with except Here the order beyond those for illustrating or describing is implemented.Additionally, term " comprising " and " having " and they Any deformation, it is intended that cover non-exclusive process, the side for including, for example, containing series of steps or unit Method, system, product or equipment are not necessarily limited to those steps clearly listed or unit, but may include unclear List or other intrinsic for these processes, method, product or equipment step or unit.
Embodiment 1
According to the embodiment of the present application, a kind of embodiment of the generation method of test case is additionally provided, it should be noted that Can perform in the such as computer system of one group of computer executable instructions the step of the flow process of accompanying drawing is illustrated, And, although show logical order in flow charts, but in some cases, can be with suitable different from herein Sequence performs shown or described step.
The embodiment of the method provided by the embodiment of the present application can be in mobile terminal, terminal or similar computing Perform in device.
In the generation method of traditional test case, generally based on the certain type of data (ginseng i.e. shown in Fig. 1 Several points), by the combination of data (i.e. parameter point) and test code, realize that various effective test scripts (are schemed Test case shown in 1).As shown in figure 1, arranging two parameter point (parameters i.e. shown in Fig. 1 in test code 2) point 1 and parameter point, in corresponding data list, are configured with the numerical value of 3 line parameter points, wherein, data list In data line one test case of correspondence, as shown in figure 1, the correspondence parameter point 1 and parameter point 2 of test case 1 Data be c1 and c2, test case 2 correspondence parameter point 1 and parameter point 2 data be d1 and d2, test case The data of 3 correspondence parameter points 1 and parameter point 2 are e1 and e2, then the test code upon execution, can circulate execution three It is secondary, wherein data line is taken on corresponding step parameter every time, form three test cases (such as the test in Fig. 1 Use-case 1, the execution 3) of test case 2 and test case returning result.
Alternatively, the generation method of the test case in the present embodiment can apply to 101 He of terminal as shown in Figure 2 In the hardware net environment constituted by server 103, as shown in Fig. 2 terminal 101 is by network and server 103 It is attached, above-mentioned network is included but is not limited to:Wide area network, Metropolitan Area Network (MAN) or LAN.
In the embodiment of the present application, above-mentioned terminal can be mobile terminal, PC or server.
Under above-mentioned running environment, this application provides the flow chart of the generation method of test case as shown in Figure 3.
As shown in figure 3, the generation method comprises the steps:
Step S302:Each testing procedure in test case template is obtained, wherein, each testing procedure is in order Perform.
Step S304:If testing procedure is provided with step parameter, the property value of obtaining step parameter, and step is joined Several property values is added in the initial data of testing procedure, the step data after being updated.
Step S306:Based on the step data genaration test case after renewal.
Alternatively, after test case is generated by above-mentioned steps, the generation method can also include:
Step S308:Test object is tested by the test case for generating.
Using the application, after computer gets each testing procedure in test case template, test step is judged Suddenly whether step parameter is provided with, if testing procedure is provided with step parameter, the property value of obtaining step parameter, and The property value of the step parameter is added in the initial data of testing procedure, the step data after being updated, at this In scheme, before test case is generated, the property value to the testing procedure setting steps parameter in test case template, It is being in wound based on the scheme of data genaration test case, i.e. the present embodiment the step of being added with the property value of step parameter The stage for building test case just directly generates the test case of the property value with specific step parameter, without the need for performing The stage of test case obtains test data (property value of i.e. above-mentioned step parameter), and solving carries out UI automatizatioies The low problem of testing time-effectiveness rate, realizes the effect of the testing efficiency for improving UI automatic tests.
In the above-described embodiments, not only can the data of step level be carried out with the setting of step parameter, and can be in wound The stage for building test case is just added into the property value of concrete steps parameter in the data of test case, and need not be The stage of implementation of test cases adds the property value of concrete steps parameter in the data of test case;Addition test case Test data when be to add according to step rank, that is, step to test case to be generated before generating test case Rapid data are done and are updated, and different test cases can have different step parameters and its property value, and not exist because not The data of same test case are that need that are unified and bringing carry out unnecessary maintenance pipe in the data of a data list The defect of reason mechanism, while it is that the data list content by step parameter with test forces to tie up to avoid because testing code Fixed, the caused maintenance cost problem that exponentially multiple rises, by above-described embodiment, not only reduces maintenance Cost, also improves the motility of maintenance.
In addition, by above-described embodiment, before test case is generated, adding the property value of step parameter to update The data of testing procedure, such that it is able to generate the test case with concrete steps parameter attribute value, above-described embodiment is kept away Exempted from by way of writing code arrange parameter point (i.e. testing procedure the step of parameter property value) brought not It is evitable to write, debug execution, and the process such as the multiple circulate operation of issue handling, it is not required that operator Possess certain ability for writing code, it is achieved thereby that improve motility, raising efficiency and reduce Code Edit into This effect.
Specifically, the detailed process for generating test case in the embodiment of the present application is described in detail with reference to Fig. 4.Such as Shown in Fig. 4, first testing procedure in each testing procedure in test case template is obtained, and is used from the test First testing procedure in example template starts to perform following steps, wherein, works as preamble in test case template Suddenly first testing procedure being initialized in the test case template:
Step S401:Obtain the current testing procedure in each testing procedure in test case template.
Specifically, each testing procedure in test case template is parsed, to each test step in test case template Suddenly carry out parameter point setting (i.e. above-mentioned step parameter).
Step S402:Judge whether current testing procedure is provided with step parameter.
That is, whether including step parameter in judging the data of current testing procedure (such as parameter point).
Wherein, if so, then need to change to deserve the rapid data of preamble, then execution step S403, if it is not, then without The data of current testing procedure need to be modified, namely deserve the data that the rapid data of preamble are the step, Execution step S404.
Step S403:The property value of the step of obtaining current testing procedure parameter, and the property value of the step parameter is added Step data in adding the initial data of the testing procedure, after being updated.
Specifically, the property value of the step of obtaining current testing procedure parameter is (such as actual input value, or from data base The value for reading), and the rapid property value of preamble is deserved in correspondence modification,
Step S404:The step of obtaining current testing procedure data.
Specifically, for the step of the current testing procedure for being not provided with step parameter, current testing procedure data for original Data;For the step of the current testing procedure for being provided with step parameter, current testing procedure data be update after step Rapid data.
Step S405:Judge that whether current testing procedure is last testing procedure in the test case template.If It is, then execution step S406;If it is not, execution step S407.
Step S406:Based on the step data genaration test case after above-mentioned renewal.
While step data genaration test case after based on above-mentioned renewal, the test case and test case is set up Incidence relation between template.
Step S407:Using the next testing procedure in test case template as the current testing procedure for circulating next time.
It is pointed out that above-mentioned steps are only have been introduced to the generating process of a test case, by testing use Can be by said method Mass production test case, wherein, each test case during example template generation test case The generating process of generating process test case all described above is consistent.
By above-described embodiment, the incidence relation that can be set up between the test case and test case template, so as to can The step of to associate each test case parameter and test case template.
Specifically, the step of test case, the corresponding technology of level parameter point (the step of being each testing procedure parameter) can By designing specific Data Structure and Algorithm, by test case step and parameter point fixed correlation.
Test case in above-described embodiment is independent object, and which can be word, scripted code or data structure Etc. data.The test case can be made up of multiple steps (i.e. testing procedure), each step (i.e. testing procedure) In can arrange or be not provided with step parameter, if setting steps parameter, step parameter can include one or more parameters Point.The set of multiple parameters point can be referred to as a step parameter, and the step parameter is a virtual object.Wherein, Each parameter point can include parameter name, parameter type and parameter value.
Above-mentioned test case template is actually a kind of template (i.e. template), is the prototype of each test case, Test case template can include testing procedure and step parameter, (the i.e. attribute of step parameter but not including that parameter value Value).Can be by arranging different assignment (arranging the property value of different step parameters) to each parameter point, so that it may Different test cases are generated to be backfilling in template (i.e. template), here it is by test case template batch Generate the process of use-case.The test case for so generating and template (i.e. template) will set up natural association and close System, the incidence relation is used for indicating the test case to be generated by certain template (i.e. template).
Alternatively, after computer gets testing procedure 1 and testing procedure 2 in test case template, judge Whether testing procedure 1 and testing procedure 2 are provided with step parameter, if testing procedure is provided with step parameter, above-mentioned tool Parameter point 1, parameter point 2 and parameter point 3 is provided with body embodiment in test case template, then obtains " account " Property value (as " a "), the property value (such as " 010 ") of " area code ", and the property value of " telephone number " is (such as " 12345678 "), and the property value of the above-mentioned step parameter is added in the initial data of testing procedure, obtain more Step data after new, in this scenario, are safeguarded step parameter, and step are joined with rank the step of test case Several property values are associated with test case, and the step data genaration after the property value based on the renewal step parameter is surveyed Example on probation, when testing to test object, need not write code carries out function maintenance without to which, improves survey Examination efficiency.
According to the above embodiments of the present application, the property value of obtaining step parameter can include:The parameter of obtaining step parameter Mark, wherein, parameter identification is used for describing the test case ownership of step parameter and step belongs to;From test case mould In plate, extracting parameter identifies corresponding parameter information, and parameter information includes parameter type and parameter name;From data base Read the property value of type of correspondence parameter and parameter name.
Wherein, above-mentioned parameter identification has been depicted the step parameter belongs to which step in which test case.
In the above-described embodiments, if each testing procedure that computer gets is provided with step parameter, first can obtain The parameter identification of step parameter is taken, corresponding parameter type and ginseng are extracted from test case template according to the parameter identification The parameter informations such as several titles;Read the property value corresponding with parameter information again from data base.So as to using parameter mark Know the incidence relation between establishment step parameter and the property value of step parameter, such that it is able to fast and accurately from data The property value corresponding with parameter information is obtained in storehouse, improves the treatment effeciency to the step parameter in use-case template.
Specifically, after computer gets each testing procedure in test case template, judge that testing procedure is It is no to be provided with step parameter, if testing procedure is provided with step parameter, the parameter identification of first obtaining step parameter, root The parameter informations such as corresponding parameter type and parameter name are extracted from test case template according to the parameter identification;Again from number According to the property value corresponding with parameter information of reading in storehouse, and the property value of the step parameter is added into into testing procedure In initial data, the step data after being updated are then based on the step data genaration test case after updating, lead to Cross the test case for generating to test test object.
It is discussed in detail by taking step parameter point PP as an example below and realizes principle using incidence relation algorithm:
(1) each testing procedure can include step parameter (such as parameter point PP).
(2) each parameter point PP can include the information (such as parameter point content) of one or more parameter points, each ginseng The information of several points is correspondingly arranged the parameter value (i.e. property value) of different parameter points.
(3) parameter point id (i.e. parameter identification) can uniquely indicate parameter point and its test case ownership and step is returned Category.
Alternatively, if step parameter includes a parameter point, in test case template, the data structure of testing procedure can be with For:
If step parameter includes multiple parameters point, in test case template, the data structure of testing procedure can be:
Below with the concrete manifestation form of test case template and test case illustrating.
Use-case template (i.e. test case model) can include two testing procedures, and its concrete manifestation form is as follows:
Testing procedure 1:Text box is input into [1 (type of parameter point:Text, parameter name:Account)].
The testing procedure 1 is provided with step parameter, and the step parameter includes a parameter point (i.e. parameter point 1), the ginseng The type of several points be text, the entitled account of the parameter point.
Testing procedure 2:Text box is input into [2 (type of parameter point:Text, parameter name:Area code) 3 (class of+parameter point Type:Text, parameter name:Telephone number)].
The testing procedure 2 is provided with step parameter, and the step parameter includes two parameter points, and first parameter point is (i.e. Parameter point type 2) be text, the entitled area code of the parameter point;The class of second parameter point (i.e. parameter point 3) Type is text, the entitled telephone number of parameter point.
Wherein, " [] " represents step parameter.
After above-mentioned test case template is parsed, judge whether testing procedure 1 and testing procedure 2 are provided with one by one Parameter point, is discussed in detail by taking the concrete process of testing procedure 1 as an example below:Getting parms a little, 1 corresponding property value is (such as A), the data of testing procedure 1, the data after being updated are changed using the property value:Text box is input into [a] (parameter The parameter name of point 1:Account, parameter value:A), also perform above-mentioned renewal to process to testing procedure 2, updated The data of testing procedure afterwards:Text box is input into [010+12345678] (parameter name of parameter point 2:Area code, parameter Value:010;The parameter name of parameter point 3:Telephone number, parameter value:12345678).
Specifically, testing procedure 1:Text box is input into [a] (parameter name of parameter point 1:Account, parameter value:a).
Testing procedure 2:Text box is input into [010+12345678] (parameter name of parameter point 2:Area code, parameter value: 010;The parameter name of parameter point 3:Telephone number, parameter value:12345678).
Test case 2, its form of expression can also be generated using same processing method after test case 1 is generated Can be:
Testing procedure 1:Text box is input into [b] (parameter name of parameter point 1:Account, parameter value:b);
Testing procedure 2:Text box is input into [020+0000000] (parameter name of parameter point 2:Area code, parameter value:020; The parameter name of parameter point 3:Telephone number, parameter value:0000000).
After Mass production test case, test object is tested using the test case for generating.
Alternatively, after computer gets testing procedure 1 and testing procedure 2 in test case template, judge Whether testing procedure 1 and testing procedure 2 are provided with step parameter, if testing procedure is provided with step parameter, above-mentioned tool 1 (type of parameter point is provided with body embodiment in test case template:Text, parameter name:Account), parameter point 2 (type:Text, parameter name:Area code) and 3 (type of parameter point:Text, parameter name:Telephone number), then Parameter identification based on parameter point 1 obtains the property value " a " of " account ", the parameter identification based on parameter point 2 and obtains The property value " 010 " of " area code ", and the property value of parameter identification acquisition " telephone number " based on parameter point 3 " 12345678 ", and the property value of the above-mentioned step parameter is added in the initial data of testing procedure, updated Step data afterwards, in this scenario, safeguard step parameter with rank the step of test case, and step parameter Property value associate with test case, the test of step data genaration after the property value based on the renewal step parameter Use-case, when testing to test object, need not write code carries out function maintenance without to which, improves test Efficiency.
According to the above embodiments of the present application, before the extracting parameter from test case template identifies corresponding parameter information, The generation method can also include:Obtain each testing procedure in initial test case template;By parameter setting Interface is testing procedure configuration step parameter, is obtained with the test case template for postponing, and wherein, each step parameter can Parameter name, parameter type, step ginseng are at least included with the information including one or more parameter points, each parameter point Several parameter identifications and property value.
In the above-described embodiments, during configuration step parameter, user can pass through interface attribute value, it is also possible to from data Property value is derived in storehouse.
In the above-described embodiments, user can be the testing procedure configuration step parameter that gets by parameter setting interface, Obtain with the test case template for postponing, i.e., improving the convenient degree of user input step parameter by visual interface, Also the test and maintenance work for the attendant of test case provides facility simultaneously.
With reference to Fig. 5 in detail the above embodiments of the present application are described in detail.
As shown in figure 5, the visualization interface (i.e. parameter setting interface) of test case template can show title (i.e. Use-case template in Fig. 5) and by use-case/parameter point (i.e. test case), log in account number (i.e. step parameter) and The step of parameter XXX (i.e. the property value of step parameter) is constituted parameter list, user can pass through the visualization interface For testing procedure configuration step parameter, such as can be input in the form hurdle of the use-case/parameter point of step parameter form to be measured Each test case of examination, (tests as being input into the use-case 1 (i.e. test case 1) shown in Fig. 5, use-case 2 2) and use-case 3 (i.e. test case 3) use-case;It is input in the form hurdle of login account (i.e. step parameter) to be measured The login account of examination, can such as be input into:Aaa, bbb and ccc.Simultaneously can be in parameter (the i.e. category of step parameter Property value) form hurdle in be input into correlation step parameter property value, can such as be input into:Ddd, eee and fff.Its In, in use-case template as shown in Figure 5, the property value of test case, step parameter and step parameter is to correspond Relation.I.e. the login account (i.e. step parameter) of use-case 1 (i.e. test case 1) is aaa, and corresponding parameter is (i.e. The property value of step parameter) it is ddd.Equally, the login account (i.e. step parameter) of use-case 2 (i.e. test case 2) For bbb, corresponding parameter (i.e. the property value of step parameter) is eee.Use-case 3 (i.e. test case 3) is logged in Account (i.e. step parameter) is ccc, and corresponding parameter (i.e. the property value of step parameter) is fff.User can be led to The Mass production button crossed in visualization interface (i.e. parameter setting interface) as shown in Figure 5 is carrying out to test case Mass production, that is, realize simultaneously generating use-case 1 (i.e. test case 1), use-case 2 (i.e. test case 2) and use Example 3 (i.e. test case 3) these three test cases.
(can be joined by visualization interface by the test and maintenance personnel of above-described embodiment, user or test case Number arranges interface) actual parameter value (can be the property value of step parameter) of each test case is input into, it is test step Rapid configuration step parameter, and the algorithm on the backstage by the visualization interface (i.e. parameter setting interface), realize criticizing Amount generates the purpose of test case.
According to the above embodiments of the present application, after obtaining with the test case template for postponing, the generation method can be with Including:The edit instruction being input into by the template for displaying interface of test case template is received, wherein, edit instruction is used for Information of the editor with the step parameter in the test case template for postponing;On the parameter display interface of step display parameter The step of showing to be changed parameter;The deletion instruction of the step for the treatment of change parameter is received by parameter display interface or is repaiied Change instruction;If receive deletion instruction, delete instruction indicate delete it is to be changed the step of parameter, after being updated Test case template;If receiving modification instruction, the ginseng of parameter the step of show to be changed on the screen of terminal Number arranges interface, receives and store modification information by parameter setting interface, the test case template after being updated.
Alternatively, the attendant in user or test case is testing procedure configuration step by parameter setting interface Parameter, obtains waiting to become with, after the test case template for postponing, terminal can be shown by parameter display interface More the step of parameter, and the parameter display interface receive user by test case template or attendant input volume Instruction is collected, if the edit instruction for receiving is deleted the deletion and instructs the step to be changed for indicating to delete for deleting instruction Rapid parameter, the test case template after being updated, if the edit instruction for receiving is modification instruction, in terminal The parameter setting interface of the step of this is to be changed parameter is shown on screen, is received and is stored by the parameter setting interface and repaiies Breath is converted to, the test case template after being updated.By above-described embodiment, can be by the interface of terminal Realize to each testing procedure of test case configuration parameter point on demand, and be input into according to user or maintainer Edit instruction, realizes deletion and modification to parameter the step of test case, improves the process to test case Motility, and improve the effect of visualization safeguarded to step parameter.
With reference to Fig. 6 and Fig. 7 in detail the above embodiments of the present application are described in detail.
The template for displaying interface of test case template can include:Title (such as the use-case template in Fig. 6), testing procedure (such as the step 1 in Fig. 6), edit instruction trigger button (such as the newly-increased parameter point in Fig. 6) and other correlation letters Breath (such as [login frame A] input account [XXX] in Fig. 6), treats change when terminal is received by parameter display interface The step of parameter modification instruct (such as the trigger of the newly-increased parameter point in Fig. 6), can show on the screen of terminal The parameter setting interface of the step of showing to be changed parameter, the parameter point arranges interface can be included:Title is (in Fig. 6 Parameter point arrange), step parameter (such as the parameter name in Fig. 6 and parameter type) and input window be (such as Fig. 6 In login account window and text box input window), can be by input window (the i.e. Fig. 6 on parameter setting interface In login account window and text box input window) receive modification information (as by the login account window in Fig. 6 The parameter name information of input, and the parameter type information being input into by text box input window), then receive to preserve and survey The trigger (trigger of save button as shown in Figure 6) of example on probation, preserves the modification information for receiving, And test case, the test case template after being updated are increased based on the modification information.
The template for displaying interface of test case template can also include:Title (such as the use-case template in Fig. 7), test step Suddenly (such as the step 1 in Fig. 7), edit instruction trigger button (such as the editing parameter point in Fig. 7) and other are related Information (such as [login frame A] input account [XXX] in Fig. 7), treats change when terminal is received by template for displaying interface More the step of parameter modification or delete instruction (such as the trigger of the editing parameter point button in Fig. 7), can be at end The parameter setting interface of the step of showing to be changed on the screen at end parameter, as shown in fig. 7, the parameter display interface can To include:Title (such as the parameter point list in Fig. 7), parameter point (as the parameter point 1 [login account] in Fig. 7, Parameter point 2 [XXX]) and Edit button (such as the modification button in Fig. 7 and deletion button), join in the step display The step of showing to be changed on several parameter display interfaces parameter (such as parameter point 1 and parameter point 2), it is possible to by ginseng Number display interface receives the deletion instruction of the step for the treatment of change parameter or changes instruction;If receiving deletion instruction (such as In Fig. 7 deletion button trigger), then delete instruction indicate delete it is to be changed the step of parameter, wherein, such as Shown in Fig. 7, each parameter point corresponds to a deletion button and modification button, if parameter display interface is received to deleting The trigger (deleting instruction) of button, then correspond to the information for deleting corresponding parameter point, obtain deleting the parameter point Test case template (test case template after updating) after information;If receiving modification by parameter display interface Instruction (such as the trigger of the modification button in Fig. 7), then parameter the step of show to be changed on the screen of terminal Parameter setting interface (as the parameter point in Fig. 7 arranges interface), the parameter setting interface can include:Title is (as schemed Parameter point in 7 is arranged), parameter point (such as the parameter name in Fig. 7 and parameter type) and input window be (as schemed Login account window and text box input window in 7), can be by the input window on parameter setting interface (as schemed Login account window and text box input window in 7), modification information is received (as by the login account window in Fig. 7 The parameter name information of mouth input, and the parameter type information being input into by text box input window), then receive and preserve The trigger (trigger of save button as shown in Figure 7) of test case, preserves the modification information for receiving, And test case, the test case template after being updated are increased based on the modification information.
By above-described embodiment, it is possible to achieve each testing procedure produced to test case by visualization interface is on demand Configuration parameter point, can directly defined parameters title and type (i.e. the property value of input step parameter) on visualization interface. The parameter point for having arranged can also be directly deleted or modified on visualization interface by visualization interface.
According to above-described embodiment, the generation method of test case can also include:Step data life after based on renewal While into test case, the incidence relation of test case and test case template is set up;Step after based on renewal After data genaration test case, the generation method also includes:Test object is surveyed by the test case for generating Examination.
Alternatively, while step data genaration test case after based on renewal, terminal can be by identifying association Test case and test case mould.
According to above-described embodiment, the generation method of test case can also include:The step of based on each testing procedure After data genaration test case, receive and ask for the modification for changing test case step in test case;Judge to survey Whether example step on probation is provided with step parameter;If test case step is not provided with step parameter, directly modification test The step of use-case step data, data and amended test case the step of obtain amended test case step; If test case step is provided with step parameter, judge whether to change the test case template associated with test case; If judging not change the test case template associated with test case, test case is released with test case template Association, and data the step of change test case step, data and repair the step of obtain amended test case step Test case after changing;If judging to change the test case template associated with test case, test case mould is changed The template data of correspondence step parameter in plate, and the association use-case of synchronized update test case template, wherein, association is used Example is the test case for having incidence relation with test case template.
In the above-described embodiments, can be after the modification request for receiving modification test case in terminal, according to test Use-case step is provided with the situation of step parameter, and the method for data is carried out the step of take different modification test cases Modification, it is to avoid change by the way of bound by the data list content of step parameter and test case Test case, is that the data list content by step parameter with test forces binding so as to avoid because testing code, And the step of cause parameter it is newly-increased, the maintenance function such as delete and need the operation of manual synchronous maintenance data list, When avoiding the single skimble-scamble use-case data in the data list to a test case and modifying, to all numbers The defect of identical operation carried out according to other data in list, exponentially multiple rises the maintenance cost for causing Problem.By above-described embodiment, the content (step of actual test case can be safeguarded by designing special algorithm Data) change, data the step of different test cases are treated with a certain discrimination, i.e., each different test are used Example has carried out isolation processing, weak so as to solve the problems, such as traditional mechanism test case independence.
As shown in figure 8, the method for data may include steps of the step of modification test case:
Wherein, step S801:Receive and ask for the modification for changing test case step in test case.
Specifically, terminal can pass through the modification request that interface receive user or maintainer are input into, and this is repaiied Changing request can include deleting test case or increase the request of test case.
Step S802:Judge whether test case step is provided with step parameter.
Specifically, if it is not, even test case step is not provided with step parameter, then execution step S803, if so, Even test case step is provided with step parameter, then execution step S804.
Step S803:The step of directly changing test case step data, obtain the step of amended test case step Rapid data and amended test case.
Specifically, when test case step is not provided with step parameter, it may not be necessary to consider test case with test mould Incidence relation between plate, directly change test case step the step of data.
Step S804:Judge whether to change the test case template associated with test case.
Specifically, if test case step is not provided with step parameter, between test case to be considered and test template Incidence relation, and judge whether change test case template, if without change test case template, i.e., if it is not, then Execution step S805, if judging to change the test case template that associates with test case, i.e. if so, then execution step S806。
Alternatively, judge whether that changing the test case template associated with test case can include:Judge whether to pass through The modification interface of modification test case receives the synchronous vacations instruction of the test case template that modification is associated with test case; If receiving synchronous vacations instruction by changing interface, judge to change the test case template associated with test case; If not receiving synchronous vacations instruction by changing interface, judge not change the test case associated with test case Template.
Step S805, releases associating for test case and test case template, and number the step of change test case step According to data and amended test case the step of obtain amended test case step.
Step S806, changes the template data of correspondence step parameter in test case template, and synchronized update test case The association use-case of template.
In the above-described embodiments, the test use that modification is associated with test case is received by the modification interface of test case The situation of the synchronous vacations instruction of example template, judges whether to change the test case template associated with test case.It is logical Cross above-described embodiment, it is possible to achieve meet the actual demand of user or attendant to synchronous vacations test case template.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore which is all expressed as one it is The combination of actions of row, but those skilled in the art should know, and the application is not limited by described sequence of movement System, because according to the application, some steps can adopt other orders or while carry out.Secondly, art technology Personnel should also know that embodiment described in this description belongs to preferred embodiment, involved action and module Not necessarily necessary to the application.
Through the above description of the embodiments, those skilled in the art is can be understood that according to above-mentioned enforcement The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but The former is more preferably embodiment in many cases.Based on such understanding, the technical scheme of the application substantially or Say that the part contributed to prior art can be embodied in the form of software product, the computer software product is deposited Storage is used so that a station terminal including some instructions in a storage medium (such as ROM/RAM, magnetic disc, CD) Equipment (can be mobile phone, computer, server, or network equipment etc.) is performed described in the application each embodiment Method.
Embodiment 2
According to the embodiment of the present application, a kind of embodiment for implementing the generating means of above-mentioned test case is additionally provided, As shown in figure 9, the generating means of the test case include:Acquisition module 20, processing module 40 and generation module 60。
Wherein, acquisition module 20, for obtaining each testing procedure in test case template, wherein, each test Step is performed in order.
Processing module 40, if being provided with step parameter, the property value of obtaining step parameter for testing procedure, and incites somebody to action The property value of step parameter is added in the initial data of testing procedure, the step data after being updated.
Generation module 60, for based on the step data genaration test case after renewal.
The generating means of the test case in above-described embodiment can also include:Test module 80.
Wherein, test module 80, test to test object for the test case by generating.
Using the application, after computer gets each testing procedure in test case template, test step is judged Suddenly whether step parameter is provided with, if testing procedure is provided with step parameter, the property value of obtaining step parameter, and The property value of the step parameter is added in the initial data of testing procedure, the step data after being updated, at this In scheme, before test case is generated, the property value to the testing procedure setting steps parameter in test case template, It is being in wound based on the scheme of data genaration test case, i.e. the present embodiment the step of being added with the property value of step parameter The stage for building test case just directly generates the test case of the property value with specific step parameter, without the need for performing The stage of test case obtains test data (property value of i.e. above-mentioned step parameter), and solving carries out UI automatizatioies The low problem of testing time-effectiveness rate, realizes the effect of the testing efficiency for improving UI automatic tests.
Alternatively, acquisition module can include:First acquisition submodule, extraction module and read module.
Wherein, the first acquisition submodule, for the parameter identification of obtaining step parameter, wherein, parameter identification is used for retouching The test case ownership and step for stating step parameter belongs to.
Extraction module, identifies corresponding parameter information for the extracting parameter from test case template, and parameter information includes Parameter type and parameter name.
Read module, for the property value for reading type of correspondence parameter and parameter name from data base.
In the above-described embodiments, if each testing procedure that computer gets is provided with step parameter, first can obtain The parameter identification of step parameter is taken, corresponding parameter type and ginseng are extracted from test case template according to the parameter identification The parameter informations such as several titles;Read the property value corresponding with parameter information again from data base.So as to using parameter mark Know the incidence relation between establishment step parameter and the property value of step parameter, such that it is able to fast and accurately from data The property value corresponding with parameter information is obtained in storehouse, improves the treatment effeciency to the step parameter in use-case template.
Alternatively, the generating means also include:Second acquisition submodule and configuration module.
Wherein, the second acquisition submodule, for identifying corresponding parameter information in the extracting parameter from test case template Before, obtain each testing procedure in initial test case template.
Configuration module, for being testing procedure configuration step parameter by parameter setting interface, obtains with the test for postponing Use-case template, wherein, each step parameter can include one or more parameter points, and the information of each parameter point is at least Including parameter name, parameter type, the parameter identification of step parameter and property value.
In the above-described embodiments, user can be the testing procedure configuration step parameter that gets by parameter setting interface, Obtain with the test case template for postponing, i.e., improving the convenient degree of user input step parameter by visual interface, Also the test and maintenance work for the attendant of test case provides facility simultaneously.
Alternatively, the generating means can also include:First receiver module, display module, the second receiver module, delete Except module and display module.
Wherein, the first receiver module, after obtaining with the test case template for postponing, for receiving by testing use The edit instruction of the template for displaying interface input of example template, wherein, edit instruction is used for editor with the test case for postponing The information of the step parameter in template.
Display module, parameter the step of for showing to be changed on the parameter display interface of step display parameter.
Second receiver module, for receiving the deletion instruction of the step for the treatment of change parameter or repairing by parameter display interface Change instruction.
Removing module, if deleting instruction for receiving, delete that deletion instruction indicates to delete it is to be changed the step of Parameter, the test case template after being updated.
Display module, if for receiving modification instruction, parameter the step of show to be changed on the screen of terminal Parameter setting interface, receives and stores modification information by parameter setting interface, the test case template after being updated.
In the above-described embodiments, the attendant in user or test case is testing procedure by parameter setting interface Configuration step parameter, obtains with after the test case template for postponing, and terminal can pass through parameter display interface The step of showing to be changed parameter, and the parameter display interface receive user by test case template or attendant The edit instruction of input, if the edit instruction for receiving is deleted the deletion instruction and indicates that what is deleted treats for deleting instruction The step of change parameter, the test case template after being updated, if the edit instruction for receiving for modification instruction, The parameter setting interface of the step of this is to be changed parameter is shown on the screen of terminal, is received by the parameter setting interface And modification information is stored, the test case template after being updated.By above-described embodiment, computer end can be passed through The configuration parameter point on demand of each testing procedure to test case is realized at the interface at end, and according to user or maintenance people The edit instruction of member's input, realizes deletion and modification to parameter the step of test case, improves to test case Process motility, and improve to step parameter safeguard effect of visualization.
Alternatively, the generating means can also include:Set up module and test module.
Wherein, module is set up, while for step data genaration test case after based on renewal, test is set up The incidence relation of use-case and test case template.
Test module, for the step data genaration test case after based on renewal after, by generate the survey Example on probation is tested to test object.
Alternatively, generating means can also include:3rd receiver module, the first judge module, the first modified module, Second judge module, the second modified module and the 3rd modified module.
Wherein, the 3rd receiver module, after the step data genaration test case after based on renewal, receives and uses The modification request of test case step in modification test case.
First judge module, for judging whether test case step is provided with step parameter.
First modified module, if being not provided with step parameter for test case step, directly changes test case step The step of data, data and amended test case the step of obtain amended test case step.
Second judge module, if being provided with step parameter for test case step, judges whether that modification is used with test The test case template of example association.
Second modified module, if for judging not change the test case template associated with test case, releasing and surveying Example on probation is associated with test case template, and data the step of change test case step, obtains amended test The step of use-case step data and amended test case.
3rd modified module, if for judging to change the test case template associated with test case, modification test The template data of correspondence step parameter in use-case template, and the association use-case of synchronized update test case template, wherein, Association use-case is the test case for having incidence relation with test case template.
In the above-described embodiments, can be after the modification request for receiving modification test case in terminal, according to test Use-case step is provided with the situation of step parameter, and the method for data is carried out the step of take different modification test cases Modification, by above-described embodiment, can safeguard the content (step of actual test case by designing special algorithm Data) change, data the step of different test cases are treated with a certain discrimination, i.e., each different test are used Example has carried out isolation processing, weak so as to solve the problems, such as traditional mechanism test case independence.
Alternatively, the second judge module can include:First judging submodule, the second judging submodule and the 3rd are sentenced Disconnected submodule.
Wherein, the first judging submodule, for judging whether to receive modification by changing the modification interface of test case The synchronous vacations instruction of the test case template associated with test case.
Second judging submodule, if for receiving synchronous vacations instruction by changing interface, judging modification and surveying The test case template of example association on probation.
3rd judging submodule, if for not receiving synchronous vacations instruction by changing interface, judge not change The test case template associated with test case.
In the above-described embodiments, the test use that modification is associated with test case is received by the modification interface of test case The situation of the synchronous vacations instruction of example template, judges whether to change the test case template associated with test case.It is logical Cross above-described embodiment, it is possible to achieve meet the actual demand of user or attendant to synchronous vacations test case template.
Embodiment 3
Embodiments herein can provide a kind of terminal, during the terminal can be terminal group Any one computer terminal.Alternatively, in the present embodiment, above computer terminal can also be replaced with The terminal units such as mobile terminal.
Alternatively, in embodiment as shown in Figure 10 terminal A is (i.e. such as the terminal in Figure 10 10) can include:One or more (only illustrating one in figure) processor 102, memorizeies 104, and transmission dress Put 106.
Wherein, memorizer can be used to store software program and module, the such as life of the test case in the embodiment of the present application Into the corresponding programmed instruction/module of method and device, processor by operation be stored in the software program in memorizer and Module, so as to perform various function application and data processing, that is, realizes above-mentioned vehicle positioning method.Memorizer can Including high speed random access memory, nonvolatile memory can also be included, such as one or more magnetic storage device, Flash memory or other non-volatile solid state memories.In some instances, memorizer can be further included relative to place The remotely located memorizer of reason device, these remote memories can be by network connections to terminal A.The reality of above-mentioned network Example includes but is not limited to the Internet, intranet, LAN, mobile radio communication and combinations thereof.
Processor can call information and the application program of memory storage by transmitting device, to perform following step: Each testing procedure in test case template is obtained, wherein, each testing procedure is performed in order;If test step Suddenly step parameter is provided with, then the property value of obtaining step parameter, and the property value of step parameter is added into into test step Step data in rapid initial data, after being updated;Based on the step data genaration test case after renewal.
Using the application, after computer gets each testing procedure in test case template, test step is judged Suddenly whether step parameter is provided with, if testing procedure is provided with step parameter, the property value of obtaining step parameter, and The property value of the step parameter is added in the initial data of testing procedure, the step data after being updated, at this In scheme, before test case is generated, the property value to the testing procedure setting steps parameter in test case template, It is being in wound based on the scheme of data genaration test case, i.e. the present embodiment the step of being added with the property value of step parameter The stage for building test case just directly generates the test case of the property value with specific step parameter, without the need for performing The stage of test case obtains test data (property value of i.e. above-mentioned step parameter), and solving carries out UI automatizatioies The low problem of testing time-effectiveness rate, realizes the effect of the testing efficiency for improving UI automatic tests.
Optionally, above-mentioned processor can also carry out following steps:The parameter identification of obtaining step parameter, wherein, ginseng Number mark belongs to for the test case ownership and step for describing step parameter;The extracting parameter mark from test case template Know corresponding parameter information, parameter information includes parameter type and parameter name;Correspondence parameter class is read from data base The property value of type and parameter name.
Optionally, above-mentioned processor can also carry out following steps:It is right to identify in the extracting parameter from test case template Before the parameter information answered, each testing procedure in initial test case template is obtained;By parameter setting interface For testing procedure configuration step parameter, obtain with the test case template for postponing, wherein, each step parameter can be wrapped Include one or more parameter points, the information of each parameter point at least includes parameter name, parameter type, step parameter Parameter identification and property value.
Optionally, above-mentioned processor can also carry out following steps:After obtaining with the test case template for postponing, The edit instruction being input into by the template for displaying interface of test case template is received, wherein, edit instruction is matched somebody with somebody for editor The information of the step parameter in the test case template for postponing;Show on the parameter display interface of step display parameter and treat The step of change parameter;The deletion instruction of the step for the treatment of change parameter is received by parameter display interface or instruction is changed; If receiving deletion instruction, delete that deletion instruction indicates to delete it is to be changed the step of parameter, after being updated Test case template;If receiving modification instruction, the parameter of parameter the step of show to be changed on the screen of terminal Interface is set, modification information is received and store by parameter setting interface, the test case template after being updated.
Optionally, above-mentioned processor can also carry out following steps:Data genaration the step of based on each testing procedure While test case, the incidence relation of test case and test case template is set up;Based on each testing procedure After step data genaration test case, test object is tested by the test case for generating.
Optionally, above-mentioned processor can also carry out following steps:Data genaration the step of based on each testing procedure After test case, receive and ask for the modification for changing test case step in test case;Judge that test case is walked Suddenly whether it is provided with step parameter;If test case step is not provided with step parameter, test case step is directly changed The step of data, data and amended test case the step of obtain amended test case step;If test is used Example step is provided with step parameter, then judge whether to change the test case template associated with test case;If judging The test case template associated with test case is not changed, then releases associating for test case and test case template, and The step of modification test case step data, data and amended survey the step of obtain amended test case step Example on probation;If judging to change the test case template associated with test case, correspondence in modification test case template The template data of step parameter, and the association use-case of synchronized update test case template, wherein, association use-case is and survey Example template on probation has the test case of incidence relation.
Optionally, above-mentioned processor can also carry out following steps:Judge whether modification circle by changing test case Face receives the synchronous vacations instruction of the test case template that modification is associated with test case;If being received by changing interface Instruct to synchronous vacations, then judge to change the test case template associated with test case;If not by changing interface Synchronous vacations instruction is received, then judges not changing the test case template associated with test case.
Using the application, after computer gets each testing procedure in test case template, test step is judged Suddenly whether step parameter is provided with, if testing procedure is provided with step parameter, the property value of obtaining step parameter, and The property value of the step parameter is added in the initial data of testing procedure, the step data after being updated, at this In scheme, the facilities of parameter according to the step of testing procedure judge whether the reality for needing to add the testing procedure The step of border parameter property value in the initial data of the testing procedure, so as to realize the renewal of step data, and base Step data genaration test case after the renewal, tests to test object.Avoid by by data (i.e. The step of testing procedure parameter property value) and the mode that combines of test code updating step data, caused lacks Few motility, realizes that efficiency is low and the phenomenon of Code Edit high cost, realizes the test for improving UI automatic tests The effect of efficiency, and then solve efficiency low technical problem when carrying out UI automatic tests.
It will appreciated by the skilled person that the structure shown in Figure 10 is only illustrated, terminal can also be Smart mobile phone (such as Android phone, iOS mobile phones etc.), panel computer, palm PC and mobile internet device The terminal unit such as (Mobile Internet Devices, MID), PAD.One of ordinary skill in the art will appreciate that All or part of step in the various methods of above-described embodiment can be by program, and to carry out command terminal device-dependent hard Completing, the program can be stored in a computer-readable recording medium part, and storage medium can include:Flash disk, Read only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), Disk or CD etc..
Figure 10 is a kind of hardware configuration of the terminal of generation method for test case of the embodiment of the present application Block diagram.As shown in Figure 10, terminal 10 can include one or more (only illustrating one in figure) processors 102 (processor 102 can include but is not limited to Micro-processor MCV or PLD FPGA etc. process dress Put), the memorizer 104 for data storage, and for the transmitting device 106 of communication function.Memorizer 104 can For storing software program and the module of application software, the such as generation method pair of the test case in the embodiment of the present application Programmed instruction/the module answered, processor 102 are stored in software program and module in memorizer 104 by operation, So as to perform various function application and data processing, that is, realize the generation method of above-mentioned test case.Memorizer 104 May include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic storage device, Flash memory or other non-volatile solid state memories.In some instances, memorizer 104 can be further included relatively In the remotely located memorizer of processor 102, these remote memories can be by network connection to terminal 10. The example of above-mentioned network includes but is not limited to the Internet, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is for via a network reception or transmission data.Above-mentioned network instantiation may include The wireless network that the communication providerses of terminal 10 are provided.In an example, transmitting device 106 includes one Network adapter (Network Interface Controller, NIC), which can be by base station and other network equipments It is connected so as to be communicated with the Internet.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, which is used for wirelessly being communicated with the Internet.
Embodiment 4
Embodiments herein additionally provides a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium Can be used for preserving the program code performed by the generation method of the test case provided by above-described embodiment one.
Alternatively, in the present embodiment, above-mentioned storage medium is may be located in computer network Computer terminal group In any one terminal, or in any one mobile terminal in mobile terminal group.
Alternatively, in the present embodiment, storage medium is arranged to store the program code for performing following steps: Each testing procedure in test case template is obtained, wherein, each testing procedure is performed in order;If test step Suddenly step parameter is provided with, then the property value of obtaining step parameter, and the property value of step parameter is added into into test step Step data in rapid initial data, after being updated.
Using the application, after computer gets each testing procedure in test case template, test step is judged Suddenly whether step parameter is provided with, if testing procedure is provided with step parameter, the property value of obtaining step parameter, and The property value of the step parameter is added in the initial data of testing procedure, the step data after being updated, at this In scheme, before test case is generated, the property value to the testing procedure setting steps parameter in test case template, It is being in wound based on the scheme of data genaration test case, i.e. the present embodiment the step of being added with the property value of step parameter The stage for building test case just directly generates the test case of the property value with specific step parameter, without the need for performing The stage of test case obtains test data (property value of i.e. above-mentioned step parameter), and solving carries out UI automatizatioies The low problem of testing time-effectiveness rate, realizes the effect of the testing efficiency for improving UI automatic tests.
Alternatively, in the present embodiment, storage medium is arranged to store the program code for performing following steps: The parameter identification of obtaining step parameter, wherein, parameter identification is used for describing the test case ownership of step parameter and step Ownership;From test case template, extracting parameter identifies corresponding parameter information, and parameter information includes parameter type and ginseng Several titles;The property value of type of correspondence parameter and parameter name is read from data base.
Alternatively, in the present embodiment, storage medium is arranged to store the program code for performing following steps: Before the extracting parameter from test case template identifies corresponding parameter information, obtain in initial test case template Each testing procedure;It is testing procedure configuration step parameter by parameter setting interface, obtains using with the test for postponing Example template, wherein, each step parameter can include one or more parameter points, and the information of each parameter point is at least wrapped Include parameter name, parameter type, the parameter identification of step parameter and property value.
Alternatively, in the present embodiment, storage medium is arranged to store the program code for performing following steps: After obtaining with the test case template for postponing, the volume being input into by the template for displaying interface of test case template is received Instruction is collected, wherein, edit instruction is used for information of the editor with the step parameter in the test case template for postponing;Aobvious Show the step of showing to be changed on the parameter display interface of step parameter parameter;Received by parameter display interface and treat change The deletion of parameter of more the step of is instructed or changes instruction;If receiving deletion instruction, delete the deletion instruction instruction and delete Remove it is to be changed the step of parameter, the test case template after being updated;If receiving modification instruction, in terminal Screen on the step of show to be changed parameter parameter setting interface, receive and store modification by parameter setting interface Information, the test case template after being updated.
Alternatively, in the present embodiment, storage medium is arranged to store the program code for performing following steps: While step data genaration test case after based on renewal, associating for test case and test case template is set up Relation;After step data genaration test case after based on renewal, by the test case of generation to test object Tested.
Alternatively, in the present embodiment, storage medium is arranged to store the program code for performing following steps: After step data genaration test case after based on renewal, receive for changing test case step in test case Modification request;Judge whether test case step is provided with step parameter;If test case step is not provided with step ginseng Number, then data the step of directly change test case step, the step of obtain amended test case step data and Amended test case;If test case step is provided with step parameter, judge whether that modification is closed with test case The test case template of connection;If judging not change the test case template associated with test case, release test and use Example is associated with test case template, and data the step of change test case step, obtains amended test case The step of step data and amended test case;If judging to change the test case template associated with test case, The template data of correspondence step parameter in test case template is then changed, and the association of synchronized update test case template is used Example, wherein, association use-case is the test case for having incidence relation with test case template.
Alternatively, in the present embodiment, storage medium is arranged to store the program code for performing following steps: Judge whether that changing the test case template associated with test case is included:Judge whether by changing repairing for test case Change the synchronous vacations instruction that interface receives the test case template that modification is associated with test case;If by changing interface Synchronous vacations instruction is received, then judges to change the test case template associated with test case;If not by modification Interface receives synchronous vacations instruction, then judge not changing the test case template associated with test case.
Above-mentioned the embodiment of the present application sequence number is for illustration only, does not represent the quality of embodiment.
In above-described embodiment of the application, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, other can be passed through Mode realize.Wherein, device embodiment described above is only schematic, such as division of described unit, It is only a kind of division of logic function, when actually realizing, can has other dividing mode, such as multiple units or component Can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, institute The coupling each other for showing or discussing or direct-coupling or communication connection can be by some interfaces, unit or mould The INDIRECT COUPLING of block or communication connection, can be electrical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can local to be located at one, or can also be distributed to On multiple NEs.Some or all of unit therein can be selected according to the actual needs to realize the present embodiment The purpose of scheme.
In addition, each functional unit in the application each embodiment can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.It is above-mentioned integrated Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit realized using in the form of SFU software functional unit and as independent production marketing or use when, Can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme essence of the application On all or part of part that in other words prior art is contributed or the technical scheme can be with software product Form is embodied, and the computer software product is stored in a storage medium, is used so that one including some instructions Platform computer equipment (can be personal computer, server or network equipment etc.) performs each embodiment institute of the application State all or part of step of method.And aforesaid storage medium includes:USB flash disk, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD Etc. it is various can be with the medium of store program codes.
The above is only the preferred implementation of the application, it is noted that for the ordinary skill people of the art For member, on the premise of without departing from the application principle, some improvements and modifications can also be made, these improve and moisten Decorations also should be regarded as the protection domain of the application.

Claims (14)

1. a kind of generation method of test case, it is characterised in that include:
Each testing procedure in test case template is obtained, wherein, described each testing procedure is held in order OK;
If the testing procedure is provided with step parameter, the property value of the step parameter is obtained, and will be described The property value of step parameter is added in the initial data of the testing procedure, the step data after being updated;
Based on the step data genaration test case after the renewal.
2. generation method according to claim 1, it is characterised in that the property value for obtaining the step parameter includes:
The parameter identification of the step parameter is obtained, wherein, the parameter identification is used for describing the step parameter Test case ownership and step belong to;
The corresponding parameter information of the parameter identification, the parameter information bag is extracted from the test case template Include parameter type and parameter name;
The property value of the correspondence parameter type and the parameter name is read from data base.
3. generation method according to claim 2, it is characterised in that extracting institute from the test case template Before stating the corresponding parameter information of parameter identification, the generation method also includes:
Obtain each the described testing procedure in initial test case template;
It is that the testing procedure configures the step parameter by parameter setting interface, obtains with the survey for postponing Example template on probation, wherein, each described step parameter can include one or more parameter points, each described ginseng The information of several points at least include the parameter name, the parameter type, the step parameter parameter identification with And the property value.
4. generation method according to claim 3, it is characterised in that obtaining with the test case mould for postponing After plate, the generation method also includes:
Receive the edit instruction being input into by the template for displaying interface of the test case template, wherein, the volume Instruction is collected for editing the information of the step parameter with the test case template for postponing;
The step of showing to be changed on the parameter display interface of step display parameter parameter;
By the parameter display interface receive to it is described change the step of parameter deletion instruction or change instruct;
If receive it is described delete instruction, delete it is described delete that instruction indicates to delete it is described to be changed the step of Parameter, the test case template after being updated;
If receiving the modification instruction, the ginseng of parameter the step of to be changed described in display on the screen of terminal Number arranges interface, receives and stores modification information by the parameter setting interface, obtain the survey after the renewal Example template on probation.
5. generation method according to claim 1, it is characterised in that
While step data genaration test case after based on the renewal, the generation method also includes:
Set up the incidence relation of the test case and the test case template;
After step data genaration test case after based on the renewal, the generation method also includes:It is logical Cross the test case for generating to test test object.
6. generation method according to claim 5, it is characterised in that the step data life after based on the renewal Into after test case, the generation method also includes:
Receive and ask for the modification for changing test case step in the test case;
Judge whether the test case step is provided with the step parameter;
If the test case step is not provided with the step parameter, the test case step is directly changed Step data, data and amended test case the step of obtain amended test case step;
If the test case step is provided with the step parameter, judge whether to change and the test case The test case template of association;
If judging not change the test case template associated with the test case, the test case is released With associating for the test case template, and data the step of change the test case step, after being changed Test case step the step of data and amended test case;
If judging to change the test case template associated with the test case, the test case mould is changed The template data of the correspondence step parameter in plate, and the association use-case of test case template described in synchronized update, Wherein, the association use-case is the test case for having the incidence relation with the test case template.
7. generation method according to claim 6, it is characterised in that judge whether that modification and the test case are closed The test case template of connection includes:
Judging whether, modification is received by the modification interface of the modification test case is associated with the test case Test case template synchronous vacations instruction;
If the synchronous vacations instruction is received by the modification interface, judge to change and use with the test The test case template of example association;
If not receiving the synchronous vacations instruction by the modification interface, judge not change and the survey The test case template of example association on probation.
8. a kind of generating means of test case, it is characterised in that include:
Acquisition module, for obtaining each testing procedure in test case template, wherein, described each test Step is performed in order;
Processing module, if being provided with step parameter for the testing procedure, obtains the category of the step parameter Property value, and the property value of the step parameter is added in the initial data of the testing procedure, updated Step data afterwards;
Generation module, for based on the step data genaration test case after the renewal.
9. generating means according to claim 8, it is characterised in that the acquisition module includes:
First acquisition submodule, for obtaining the parameter identification of the step parameter, wherein, the parameter identification Test case for describing the step parameter belongs to and step belongs to;
Extraction module, for extracting the corresponding parameter information of the parameter identification from the test case template, The parameter information includes parameter type and parameter name;
Read module, for the property value for reading the correspondence parameter type and the parameter name from data base.
10. generating means according to claim 9, it is characterised in that the generating means also include:
Second acquisition submodule, for extracting the corresponding ginseng of the parameter identification from the test case template Before number information, each the described testing procedure in initial test case template is obtained;
Configuration module, for being that the testing procedure configures the step parameter by parameter setting interface, obtains With the test case template for postponing, wherein, each described step parameter can include one or more parameters Point, the information of each parameter point at least include the parameter name, the parameter type, step ginseng Several parameter identifications and the property value.
11. generating means according to claim 10, it is characterised in that the generating means also include:
First receiver module, after obtaining with the test case template for postponing, for receiving by described The edit instruction of the template for displaying interface input of test case template, wherein, the edit instruction is used for editor institute State the information with the step parameter in the test case template for postponing;
Display module, parameter the step of for showing to be changed on the parameter display interface of step display parameter;
Second receiver module, for by the parameter display interface receive to it is described to be changed the step of parameter Delete instruction or change instruction;
Removing module, if for receiving the institute deleted instruction, delete that the deletion instruction indicates to delete The step of stating to be changed parameter, the test case template after being updated;
Display module, if for receiving the modification instruction, show on the screen of terminal described in wait to change The step of parameter parameter setting interface, receive and store modification information by the parameter setting interface, obtain Test case template after the renewal.
12. generating means according to claim 8, it is characterised in that the generating means also include:
Module is set up, while for step data genaration test case after based on the renewal, institute is set up State the incidence relation of test case and the test case template;
Test module, for the step data genaration test case after based on the renewal after, by generate The test case test object is tested.
13. generating means according to claim 12, it is characterised in that the generating means also include:
3rd receiver module, after the step data genaration test case after based on the renewal, receives Modification for changing test case step in the test case is asked;
First judge module, for judging whether the test case step is provided with the step parameter;
First modified module, if being not provided with the step parameter for the test case step, directly changes The step of test case step data, the step of obtain amended test case step after data and modification Test case;
Second judge module, if being provided with the step parameter for the test case step, judges whether The test case template that modification is associated with the test case;
Second modified module, if for judging not change the test case template associated with the test case, Associating for the test case and the test case template is then released, and changes the step of the test case step Rapid data, data and amended test case the step of obtain amended test case step;
3rd modified module, if for judging to change the test case template associated with the test case, The template data of the correspondence step parameter in the test case template is changed, and test is used described in synchronized update The association use-case of example template, wherein, the association use-case is there is the association to close with the test case template The test case of system.
14. generating means according to claim 13, it is characterised in that second judge module includes:
First judging submodule, is repaiied for judging whether to be received by the modification interface of the modification test case Change the synchronous vacations instruction of the test case template associated with the test case;
Second judging submodule, if for receiving the synchronous vacations instruction by the modification interface, sentence Break the test case template for that modification is associated with the test case;
3rd judging submodule, if for not receiving the synchronous vacations instruction by the modification interface, Judge not change the test case template associated with the test case.
CN201510570791.6A 2015-09-09 2015-09-09 The generation method and device of test case Active CN106528395B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510570791.6A CN106528395B (en) 2015-09-09 2015-09-09 The generation method and device of test case

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510570791.6A CN106528395B (en) 2015-09-09 2015-09-09 The generation method and device of test case

Publications (2)

Publication Number Publication Date
CN106528395A true CN106528395A (en) 2017-03-22
CN106528395B CN106528395B (en) 2019-08-23

Family

ID=58345414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510570791.6A Active CN106528395B (en) 2015-09-09 2015-09-09 The generation method and device of test case

Country Status (1)

Country Link
CN (1) CN106528395B (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102941A (en) * 2017-03-30 2017-08-29 腾讯科技(深圳)有限公司 The generation method and device of a kind of test case
CN108228460A (en) * 2018-01-04 2018-06-29 广东睿江云计算股份有限公司 A kind of visual testing scenario generation method and system
CN108319550A (en) * 2017-12-28 2018-07-24 华为技术有限公司 A kind of test system and test method
CN108490922A (en) * 2018-04-27 2018-09-04 北京新能源汽车股份有限公司 A kind of generation method and device of unified diagnostic service test case
CN109213671A (en) * 2017-06-30 2019-01-15 中国航发商用航空发动机有限责任公司 Method for testing software and its platform
CN109471796A (en) * 2018-10-16 2019-03-15 平安证券股份有限公司 Interface test method, device, computer equipment and storage medium
CN109697167A (en) * 2018-12-27 2019-04-30 江苏满运软件科技有限公司 Management method, system, electronic equipment and the storage medium of test variable
CN110297762A (en) * 2019-05-24 2019-10-01 平安银行股份有限公司 Plug-in type automatic test approach, device, computer equipment and storage medium
CN110704329A (en) * 2019-10-30 2020-01-17 一汽轿车股份有限公司 System with automatic code conversion function of electrical test case and conversion method
CN110874326A (en) * 2019-11-21 2020-03-10 望海康信(北京)科技股份公司 Test case generation method and device, computer equipment and storage medium
CN110888818A (en) * 2019-12-22 2020-03-17 普信恒业科技发展(北京)有限公司 Test case configuration system and method, automatic test system and method
CN111159028A (en) * 2019-12-23 2020-05-15 望海康信(北京)科技股份公司 Webpage testing method and device
CN111239626A (en) * 2020-01-21 2020-06-05 福建时代星云科技有限公司 Method for automatically generating automobile battery rapid detection scheme
CN111400186A (en) * 2020-03-19 2020-07-10 时时同云科技(成都)有限责任公司 Performance test method and system
CN112256571A (en) * 2020-10-20 2021-01-22 苏州市软件评测中心有限公司 Test case generation method and device and storage medium
CN112667494A (en) * 2020-12-08 2021-04-16 上海纳恩汽车技术股份有限公司 Automobile UDS automatic testing method and system based on configuration table and storage medium
CN113297056A (en) * 2020-02-24 2021-08-24 阿里巴巴集团控股有限公司 Test data setting method, test data application method, device and related equipment
CN114116449A (en) * 2021-10-25 2022-03-01 合众新能源汽车有限公司 Automatic test case parameterization method and device and electronic equipment
CN114328214A (en) * 2021-12-27 2022-04-12 深圳市六度人和科技有限公司 Method and device for improving efficiency of interface test case of report software and computer equipment
CN115687140A (en) * 2022-11-10 2023-02-03 江苏衫数科技集团有限公司 Test case compiling method and system based on automatic test

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777023A (en) * 2010-03-30 2010-07-14 成都市华为赛门铁克科技有限公司 Method and device for generating test cases
CN102831052A (en) * 2011-06-16 2012-12-19 中国银联股份有限公司 Automatic generating device and method for test case
CN102999320A (en) * 2011-09-15 2013-03-27 阿里巴巴集团控股有限公司 Automatic test case generation method and system
CN103176896A (en) * 2011-12-23 2013-06-26 阿里巴巴集团控股有限公司 Generating method and generating device of test cases
CN103186457A (en) * 2011-12-29 2013-07-03 阿里巴巴集团控股有限公司 Method and device for automatically generating test case
CN103235759A (en) * 2013-05-15 2013-08-07 百度在线网络技术(北京)有限公司 Method and device for generating test cases
CN103577168A (en) * 2012-07-27 2014-02-12 鸿富锦精密工业(深圳)有限公司 Test case creation system and method
US20140189646A1 (en) * 2012-12-31 2014-07-03 Ca, Inc. Rule based syntax software test case generator
CN104503900A (en) * 2014-11-21 2015-04-08 北京奇虎科技有限公司 Test case generation method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777023A (en) * 2010-03-30 2010-07-14 成都市华为赛门铁克科技有限公司 Method and device for generating test cases
CN102831052A (en) * 2011-06-16 2012-12-19 中国银联股份有限公司 Automatic generating device and method for test case
CN102999320A (en) * 2011-09-15 2013-03-27 阿里巴巴集团控股有限公司 Automatic test case generation method and system
CN103176896A (en) * 2011-12-23 2013-06-26 阿里巴巴集团控股有限公司 Generating method and generating device of test cases
CN103186457A (en) * 2011-12-29 2013-07-03 阿里巴巴集团控股有限公司 Method and device for automatically generating test case
CN103577168A (en) * 2012-07-27 2014-02-12 鸿富锦精密工业(深圳)有限公司 Test case creation system and method
US20140189646A1 (en) * 2012-12-31 2014-07-03 Ca, Inc. Rule based syntax software test case generator
CN103235759A (en) * 2013-05-15 2013-08-07 百度在线网络技术(北京)有限公司 Method and device for generating test cases
CN104503900A (en) * 2014-11-21 2015-04-08 北京奇虎科技有限公司 Test case generation method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
覃正等: "《"IT操作风险管理理论与实务"》", 31 July 2009, 北京:清华大学出版社 *

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102941B (en) * 2017-03-30 2021-01-08 腾讯科技(深圳)有限公司 Test case generation method and device
CN107102941A (en) * 2017-03-30 2017-08-29 腾讯科技(深圳)有限公司 The generation method and device of a kind of test case
CN109213671A (en) * 2017-06-30 2019-01-15 中国航发商用航空发动机有限责任公司 Method for testing software and its platform
CN108319550A (en) * 2017-12-28 2018-07-24 华为技术有限公司 A kind of test system and test method
CN108228460A (en) * 2018-01-04 2018-06-29 广东睿江云计算股份有限公司 A kind of visual testing scenario generation method and system
CN108490922B (en) * 2018-04-27 2020-03-24 北京新能源汽车股份有限公司 Generation method and device of unified diagnostic service test case
CN108490922A (en) * 2018-04-27 2018-09-04 北京新能源汽车股份有限公司 A kind of generation method and device of unified diagnostic service test case
CN109471796A (en) * 2018-10-16 2019-03-15 平安证券股份有限公司 Interface test method, device, computer equipment and storage medium
CN109697167A (en) * 2018-12-27 2019-04-30 江苏满运软件科技有限公司 Management method, system, electronic equipment and the storage medium of test variable
CN109697167B (en) * 2018-12-27 2022-03-25 江苏满运软件科技有限公司 Method and system for managing test variables, electronic device and storage medium
CN110297762A (en) * 2019-05-24 2019-10-01 平安银行股份有限公司 Plug-in type automatic test approach, device, computer equipment and storage medium
CN110704329A (en) * 2019-10-30 2020-01-17 一汽轿车股份有限公司 System with automatic code conversion function of electrical test case and conversion method
CN110874326A (en) * 2019-11-21 2020-03-10 望海康信(北京)科技股份公司 Test case generation method and device, computer equipment and storage medium
CN110874326B (en) * 2019-11-21 2023-10-27 望海康信(北京)科技股份公司 Test case generation method and device, computer equipment and storage medium
CN110888818A (en) * 2019-12-22 2020-03-17 普信恒业科技发展(北京)有限公司 Test case configuration system and method, automatic test system and method
CN111159028A (en) * 2019-12-23 2020-05-15 望海康信(北京)科技股份公司 Webpage testing method and device
CN111239626B (en) * 2020-01-21 2022-06-14 福建时代星云科技有限公司 Method for automatically generating automobile battery rapid detection scheme
CN111239626A (en) * 2020-01-21 2020-06-05 福建时代星云科技有限公司 Method for automatically generating automobile battery rapid detection scheme
CN113297056A (en) * 2020-02-24 2021-08-24 阿里巴巴集团控股有限公司 Test data setting method, test data application method, device and related equipment
CN111400186A (en) * 2020-03-19 2020-07-10 时时同云科技(成都)有限责任公司 Performance test method and system
CN112256571A (en) * 2020-10-20 2021-01-22 苏州市软件评测中心有限公司 Test case generation method and device and storage medium
CN112667494A (en) * 2020-12-08 2021-04-16 上海纳恩汽车技术股份有限公司 Automobile UDS automatic testing method and system based on configuration table and storage medium
CN114116449A (en) * 2021-10-25 2022-03-01 合众新能源汽车有限公司 Automatic test case parameterization method and device and electronic equipment
CN114116449B (en) * 2021-10-25 2024-05-07 合众新能源汽车股份有限公司 Parameterization method and device for automatic test case and electronic equipment
CN114328214A (en) * 2021-12-27 2022-04-12 深圳市六度人和科技有限公司 Method and device for improving efficiency of interface test case of report software and computer equipment
CN115687140A (en) * 2022-11-10 2023-02-03 江苏衫数科技集团有限公司 Test case compiling method and system based on automatic test
CN115687140B (en) * 2022-11-10 2024-01-30 江苏衫数科技集团有限公司 Test case writing method and system based on automatic test

Also Published As

Publication number Publication date
CN106528395B (en) 2019-08-23

Similar Documents

Publication Publication Date Title
CN106528395A (en) Test case generation method and apparatus
CN107608874A (en) Method of testing and device
CN104156414B (en) A kind of method for cleaning of garbage files, device and terminal
CN104765678B (en) The method and device tested the application on mobile terminal device
CN104978258B (en) Automatic software test method and system
CN106033393B (en) A kind of applied program testing method and system and mobile terminal
CN108197114A (en) Detection method, device, storage medium and the electronic device of list data
CN107018523A (en) WIFI module method of testing and device
DE102008010290A1 (en) Mobile radio device testing method, involves analyzing information over mobile radio network by analyzer, converting information to instruction sequence, and simulating mobile radio network by executing part of sequence by protocol tester
CN107038118B (en) Universal processing method for testing different electronic equipment assemblies
CN114003451B (en) Interface testing method, device, system and medium
CN107392982A (en) Photographing On-line method, apparatus and system
CN102411540A (en) Automatic management system of workflow-based common software testing process
CN110493812A (en) Processing method, device, system, processor and the main control device of distribution test
CN106776350A (en) The accurate method of testing and device of a kind of program
CN106528429A (en) UI testing method and device
CN108205477A (en) Server stress test method
CN107315586A (en) Using the methods, devices and systems of packing
CN110768863A (en) Scheme for simulation test of AIOT equipment
CN110196804A (en) The test method and device of business, storage medium, electronic device
CN103559098B (en) Smart card test number control, Apparatus and system
CN105487978A (en) Method and system for automatically testing application software based on UFT
CN106301976A (en) A kind of intelligent substation schedule information automated testing method
CN105786694A (en) Automatic test system and method, and mobile terminals
CN104270269A (en) Method for automatically configuring network cards

Legal Events

Date Code Title Description
C06 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
TR01 Transfer of patent right

Effective date of registration: 20240218

Address after: # 01-21, Lai Zan Da Building 1, 51 Belarusian Road, Singapore

Patentee after: Alibaba Singapore Holdings Ltd.

Country or region after: Singapore

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: ALIBABA GROUP HOLDING Ltd.

Country or region before: Cayman Islands

TR01 Transfer of patent right