[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN102135939A - Test case operation dispatching device and method - Google Patents

Test case operation dispatching device and method Download PDF

Info

Publication number
CN102135939A
CN102135939A CN2011100786720A CN201110078672A CN102135939A CN 102135939 A CN102135939 A CN 102135939A CN 2011100786720 A CN2011100786720 A CN 2011100786720A CN 201110078672 A CN201110078672 A CN 201110078672A CN 102135939 A CN102135939 A CN 102135939A
Authority
CN
China
Prior art keywords
test case
module
test
data
model
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
CN2011100786720A
Other languages
Chinese (zh)
Other versions
CN102135939B (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.)
Jiangsu Retech Digital Industry Park Co ltd
Original Assignee
ZHENJIANG RETECH INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZHENJIANG RETECH INFORMATION TECHNOLOGY Co Ltd filed Critical ZHENJIANG RETECH INFORMATION TECHNOLOGY Co Ltd
Priority to CN201110078672.0A priority Critical patent/CN102135939B/en
Publication of CN102135939A publication Critical patent/CN102135939A/en
Application granted granted Critical
Publication of CN102135939B publication Critical patent/CN102135939B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a test case operation dispatching device. The device comprises a data storage module, a preset data module, an operation module and an output module, wherein the data storage module comprises a test case management module, a calculation function management module and a flow chart management module; and the preset data module comprises a preset data generation module and a process calling module. The invention also discloses a test case operation dispatching method utilizing the device. The device can customize an automatic operation sequence of the test case, and automatically write an expected result of the last test cast into an input entry of the next test case when the expected result of the last test case is used by the next test case.

Description

A kind of test case operation dispatching device and method
Technical field
The present invention relates to the computer software testing field, relate to the device and method of test case operation dispatching in particular.
Background technology
Along with the emphasis of people to software test, the development of software test industry is more and more faster, and a lot of testing tools are also answered wind and given birth to.The software testing management instrument also more and more obtains paying attention to and using in project, test and management instrument in the market is divided into two classes basically: a class is exactly that the whole flow process of software test is integrated (test plan, testing requirement, test case, test execution, bug report); Another kind of is exactly independent the extracting of bug report, makes a instrument, can not be called the test and management instrument, more should be referred to as the bug management tool.The second class testing instrument is because function is fairly simple, we do not go the too much general introduction of going, at first kind test and management instrument, two large problems on using, project is arranged: first, all test cases all are independently, test case are not associated according to operation flow, go to carry out even if use-case is put in the test to concentrate, also be the notion of a set basically, can not accomplish the order that automatically performs at the professional next self-defined test case of project; Second, the expected results of last test case (output), when being used (input), need artificial going to define voluntarily, and can not be automatically converted to the output of last use-case the input of a back use-case automatically by a back test case, this is both time-consuming, the work of waste of manpower again, simultaneously owing to be manual operation, the initial conditions of last test, the output valve of output is write very possible generation mistake inferior.More than 2 points, on project is used, wasted a lot of human costs.
Summary of the invention
Goal of the invention: the objective of the invention is to weak point at the prior art existence, a kind of test case operation dispatching device is provided, this device can self-defined test case automatically perform order, and, when the expected results of last test case is used by a back test case, automatically the expected results of last test case is write the input item of a back test case.
Another object of the present invention is to provide the method for this test case operation dispatching.
Technical scheme: test case operation dispatching device of the present invention comprises data memory module, initialize data module, execution module and output module;
Described data memory module comprises, the test case management module is used for the required test case of maintenance test model; The computing function administration module is used for the script of typing computing function, and provides test model required computing function; The process flow diagram administration module is used for the typing business process map;
Described initialize data module comprises, the initialize data generation module, from the test case management module of data memory module and computing function administration module, select required test case and computing function according to operation flow, and, the input item of first test case is set the test case ordering;
Invocation of procedure module is used to call test model and initialize data;
Described execution module, according to the test model that calls in the invocation of procedure module, initialize data, the output data that test case is generated is written to the input item of next test case, generates new test case;
Described output module is used to derive new test case or new test case is input to the automation tools interface, is provided with a plurality of distinct interfaces in the described output module, can be respectively connects with different automated test tool.
Select mistake for fear of test model, comprise test model inspection module in the described invocation of procedure module, be used to judge whether selected test model meets testing process.
Select mistake for fear of test case, comprise test case inspection module in the described initialize data generation module, be used to judge whether selected test case meets testing process.
When selecting needed test model,, also be provided with the model editing module in the described invocation of procedure module, be used to edit required model if this model does not exist in the option according to process flow diagram.
A kind of test case operation dispatching method comprises data typing step, the initialize data step, and execution in step and output step,
Described data typing step comprises the test case that typing is required; Needed computing function in the system is write script; Draw all business process maps according to the traffic profile instructions;
Described initialize data step comprises, calls test model according to business process map; Call required test case according to invoked test model; According to business process map the test case of calling is sorted, the input item of first test case is set; Filter out the computing function that meets testing process according to business process map; Test case that combined sorting goes out and computing function form initialize data;
Described execution in step is carried out described initialize data and test model, and the output data of test case is written to the input item of next test case, generates new test case;
Described output step derives or is input to the automation tools interface with new test case.
Select mistake for fear of test model, described calling after the test model step also comprises test model inspection step, and the pattern checking point is set, compare checking according to data and testing process related data that the checkpoint obtained, judge whether selected test model meets this testing process.
Select mistake for fear of test case, described filtering out after the test case step that meets testing process, also comprise test case inspection step, the testing process checkpoint is set, compare according to the data that the checkpoint obtained and the related data of test case, judge whether selected test case belongs to this testing process.
Describedly call in the test model step,, can directly edit needed model if this model does not exist in the option according to business process map.
Beneficial effect: the present invention compared with prior art, its beneficial effect is:
1, the present invention has realized the robotization that test case is used by test case and operation flow are associated, and has improved the service property (quality) of test case;
2, the present invention is applied to next bar test case with the output valve of a last test case output automatically, has reduced tester's workload, has improved work efficiency;
3, that testing process is the required model conversation of the present invention is the code on backstage, has saved writing of operation steps and control script, and is easy to use;
4, the invention provides graphic interface, be easy to grasp, can drop into project fast;
5, the present invention writes the connecting interface with a plurality of popular automated test tools, can be connected with a plurality of popular automated test tools.
Description of drawings
Fig. 1 is the workflow diagram of test case operation dispatching device and method;
Embodiment
Below in conjunction with accompanying drawing, technical solution of the present invention is elaborated, but protection scope of the present invention is not limited to described embodiment.
Embodiment: a kind of test case operation dispatching device, comprise data memory module, the initialize data module, execution module and output module, described data typing module comprises that the test case that provides test model required is provided the test case management module; The computing function administration module is used for the script of typing computing function, and provides test model required computing function; Described initialize data module comprises that the process flow diagram administration module is used for the typing business process map; The initialize data generation module, according to required test case and the computing function of business process map screening, and test case is sorted, the input item of first test case is set, wherein, comprise test case inspection module in the described initialize data generation module, be used to judge whether selected test case meets testing process; Invocation of procedure module, be used to call test model and initialize data, wherein, comprise test model inspection module and model editing module in the described invocation of procedure module, test model checks module is used to judge whether selected test model meets testing process, and the model editing module is used to edit required model; Described execution module, according to the test model that calls in the invocation of procedure module, initialize data, the output data that test case is generated is written to the input item of next test case, generates new test case; Described output module is used to derive new test case or new test case is input to the automation tools interface, and output module provides the connecting interface with a plurality of popular automated test tools.
As shown in Figure 1, the course of work of test case operation dispatching device of the present invention is:
Data typing step:
Enter the test case management module, the typing test case.The test case of design AUT (Application Under Testing) does not need to design the input item data of use-case, and that this module provides is newly-increased, modification, inquiry and delete function, can safeguard test case as required.
Enter the computing function administration module, the script of typing computing function.That this module provides is newly-increased, modification, inquiry and delete function, can safeguard the script of computing function as required.
Enter the process flow diagram administration module, the typing process flow diagram.That this module provides is newly-increased, modification, inquiry and delete function, can safeguard process flow diagram as required.
The initialize data step:
Enter invocation of procedure module, call required model according to the selection of process flow diagram, if required model does not exist, direct edit model.Behind the preference pattern, the pattern checking point is set, compares checking, judge whether selected test model meets this testing process according to data and the testing process related data that the checkpoint obtained.
Model Selection finishes, enter the initialize data generation module, call required test case according to invoked test model, according to business process map the test case of calling is sorted, filter out the test case that meets testing process, the input item of selected first test case is set, and filters out the computing function that meets testing process according to business process map; Test case that combined sorting goes out and computing function form initialize data.Wherein, after the test case screening finishes, can check that inspection method is for being provided with the testing process checkpoint to test case, compare according to the data that the checkpoint obtained and the related data of test case, judge whether selected test case belongs to this testing process.
Execution in step:
Carry out described initialize data and test model, the output data of test case is written to the input item of next test case, generate new test case.
The output step:
The form of new test case with form derived, be used for follow-up testing procedure or be directly inputted to the automation tools interface testing.Output module provides the connecting interface with a plurality of popular automated test tools, and interface is corresponding mutually with automated test tool.
As mentioned above, although represented and explained the present invention that with reference to specific preferred embodiment it shall not be construed as the restriction to the present invention self.Under the spirit and scope of the present invention prerequisite that does not break away from the claims definition, can make various variations in the form and details to it.

Claims (9)

1. a test case operation dispatching device comprises data memory module, initialize data module, execution module and output module, it is characterized in that: described data memory module comprises,
The test case management module is used for the required test case of maintenance test model;
The computing function administration module is used for the script of typing computing function, and provides test model required computing function;
The process flow diagram administration module is used for the typing business process map,
Described initialize data module comprises,
The initialize data generation module is selected required test case and computing function according to operation flow from the test case management module of data memory module and computing function administration module, and with the test case ordering, the input item of first test case is set;
Invocation of procedure module is used to call test model and initialize data;
Described execution module is used for the output data that test case generates is written to next test case input item, generates new test case;
Described output module is used to derive new test case or new test case is input to the automation tools interface.
2. test case operation dispatching device according to claim 1 is characterized in that: comprise test model inspection module in the described invocation of procedure module, be used to judge whether selected test model meets testing process.
3. test case operation dispatching device according to claim 1 and 2 is characterized in that: comprise test case inspection module in the described initialize data generation module, be used to judge whether selected test case meets testing process.
4. test case operation dispatching device according to claim 1 is characterized in that: comprise the model editing module in the described invocation of procedure module, be used to edit required model.
5. test case operation dispatching device according to claim 1 is characterized in that: be provided with a plurality of distinct interfaces in the described output module, can be respectively connect with different automated test tool.
6. a test case operation dispatching method comprises data typing step, the initialize data step, and execution in step and output step, it is characterized in that: described data typing step comprises,
The test case that typing is required;
Needed computing function in the system is write script;
Draw all business process maps according to the traffic profile instructions;
Described initialize data step comprises,
Call test model according to business process map;
Call required test case according to invoked test model;
According to business process map the test case of calling is sorted, the input item of first test case is set;
Filter out the computing function that meets testing process according to business process map;
Test case that combined sorting goes out and computing function form initialize data;
Described execution in step is carried out described initialize data and test model, and the output data of test case is written to the input item of next test case, generates new test case;
Described output step derives or is input to the automation tools interface with new test case.
7. test case operation dispatching method according to claim 6, it is characterized in that: described calling after the test model step, also comprise test model inspection step, the pattern checking point is set, compare checking according to data and testing process related data that the checkpoint obtained, judge whether selected test model meets this testing process.
8. test case operation dispatching method according to claim 6, it is characterized in that: described filtering out after the test case step that meets testing process, also comprise test case inspection step, the testing process checkpoint is set, compare according to the data that the checkpoint obtained and the related data of test case, judge whether selected test case belongs to this testing process.
9. test case operation dispatching method according to claim 6 is characterized in that: describedly call in the test model step according to business process map, if this model does not exist in the option, can directly edit needed model.
CN201110078672.0A 2011-03-30 2011-03-30 Test case operation dispatching device and method Expired - Fee Related CN102135939B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110078672.0A CN102135939B (en) 2011-03-30 2011-03-30 Test case operation dispatching device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110078672.0A CN102135939B (en) 2011-03-30 2011-03-30 Test case operation dispatching device and method

Publications (2)

Publication Number Publication Date
CN102135939A true CN102135939A (en) 2011-07-27
CN102135939B CN102135939B (en) 2014-01-22

Family

ID=44295727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110078672.0A Expired - Fee Related CN102135939B (en) 2011-03-30 2011-03-30 Test case operation dispatching device and method

Country Status (1)

Country Link
CN (1) CN102135939B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999404A (en) * 2011-09-13 2013-03-27 百度在线网络技术(北京)有限公司 Test method, test device and test equipment for computer system
CN103810094A (en) * 2012-11-14 2014-05-21 中国农业银行股份有限公司 Executing method and device for test case and test tool
WO2016078335A1 (en) * 2014-11-18 2016-05-26 中兴通讯股份有限公司 Method and apparatus for writing automatic script
CN106708720A (en) * 2015-11-13 2017-05-24 航天信息股份有限公司 Test case generation method and test case generation system
CN112180890A (en) * 2019-07-05 2021-01-05 北京新能源汽车股份有限公司 Test case generation method, device and equipment
CN113574511A (en) * 2019-03-25 2021-10-29 三菱电机株式会社 Test case generation device, test case generation method and test case generation program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744054A (en) * 2004-08-31 2006-03-08 中国银联股份有限公司 An automated test auxiliary system and corresponding software automatic test method
CN101221503A (en) * 2008-02-01 2008-07-16 中国建设银行股份有限公司 Software testing method and device
CN101227350A (en) * 2008-02-03 2008-07-23 中兴通讯股份有限公司 System for parallel executing automatization test based on priority level scheduling and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744054A (en) * 2004-08-31 2006-03-08 中国银联股份有限公司 An automated test auxiliary system and corresponding software automatic test method
CN101221503A (en) * 2008-02-01 2008-07-16 中国建设银行股份有限公司 Software testing method and device
CN101227350A (en) * 2008-02-03 2008-07-23 中兴通讯股份有限公司 System for parallel executing automatization test based on priority level scheduling and method thereof

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999404A (en) * 2011-09-13 2013-03-27 百度在线网络技术(北京)有限公司 Test method, test device and test equipment for computer system
CN102999404B (en) * 2011-09-13 2017-05-24 百度在线网络技术(北京)有限公司 Test method, test device and test equipment for computer system
CN103810094A (en) * 2012-11-14 2014-05-21 中国农业银行股份有限公司 Executing method and device for test case and test tool
CN103810094B (en) * 2012-11-14 2016-10-05 中国农业银行股份有限公司 Execution method, device and the testing tool of a kind of test cases
WO2016078335A1 (en) * 2014-11-18 2016-05-26 中兴通讯股份有限公司 Method and apparatus for writing automatic script
CN106708720A (en) * 2015-11-13 2017-05-24 航天信息股份有限公司 Test case generation method and test case generation system
CN113574511A (en) * 2019-03-25 2021-10-29 三菱电机株式会社 Test case generation device, test case generation method and test case generation program
US11994977B2 (en) 2019-03-25 2024-05-28 Mitsubishi Electric Corporation Test case generation apparatus, test case generation method, and computer readable medium
CN113574511B (en) * 2019-03-25 2024-12-31 三菱电机株式会社 Test case generation device, test case generation method and computer-readable recording medium
CN112180890A (en) * 2019-07-05 2021-01-05 北京新能源汽车股份有限公司 Test case generation method, device and equipment
CN112180890B (en) * 2019-07-05 2022-01-07 北京新能源汽车股份有限公司 Test case generation method, device and equipment

Also Published As

Publication number Publication date
CN102135939B (en) 2014-01-22

Similar Documents

Publication Publication Date Title
CN102135939B (en) Test case operation dispatching device and method
CN100578446C (en) Test method and automatic test platform based on data-driven test case design
CN110275833B (en) Universal test equipment and use method
CN100561444C (en) A keyword-driven automatic testing method and its testing system
CN102799962B (en) A kind of layout type business process system and its implementation
CN107203473A (en) The automatization test system and method for automatic expansion interface test case
CN101017457A (en) Automatically testing method of computer software
CN102750301B (en) Blueprint generating method for integrated avionic system model aiming at architecture analysis and design language (AADL) description
CN105608254A (en) Automated design method and platform oriented to intelligent hardware system development
CN102331967A (en) Method for managing chip verification test cases
CN102306122A (en) Automated testing method and equipment
CN103336805A (en) Method and device for automatic customized report form generation based on graphical mapping relationship
CN103675528B (en) The protective relaying device automatic test approach and device of a kind of feature based word
CN108415830A (en) A kind of generation method and device of software test case
CN106598834A (en) UI (User Interface) testing method and device
CN106708736A (en) Production automation testing method and system for communication equipment
CN103675529B (en) The protective relaying device automatic test approach of feature based word and device
CN115794639B (en) Visual test based on flow and visual simulation test system and method
CN103092156A (en) Device replaceable automatic test system and method
CN110334001A (en) A kind of method and apparatus that batch automatically generates echo test
CN112732237B (en) Method and system for constructing code-free development technology model
CN1964545A (en) A test system for multiple mode mobile terminal and its test method
CN100421391C (en) Method for Realizing Intelligent Service Automatic Testing
CN106250390A (en) A kind of substep automatically generates the method and device of sql like language
CN101916221A (en) Method and system for performing unit testing on equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: JING GANG

Free format text: FORMER OWNER: ZHENJIANG RETECH INFORMATION TECHNOLOGY CO., LTD.

Effective date: 20140507

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 212002 ZHENJIANG, JIANGSU PROVINCE TO: 201900 BAOSHAN, SHANGHAI

TR01 Transfer of patent right

Effective date of registration: 20140507

Address after: 201900, room 284, No. 133, Lane 304, Ju Ju Road, Shanghai, Baoshan District

Patentee after: Jing Gang

Address before: 212002 Zhenjiang City, Jiangsu province Runzhou District Dai Jia Road Wuzhou Software Park building five

Patentee before: ZHENJIANG RETECH INFORMATION TECHNOLOGY Co.,Ltd.

ASS Succession or assignment of patent right

Owner name: JIANGSU RETECH DIGITAL INDUSTRY PARK CO., LTD.

Free format text: FORMER OWNER: JING GANG

Effective date: 20150319

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 201900 BAOSHAN, SHANGHAI TO: 212000 ZHENJIANG, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20150319

Address after: Zhenjiang City, Jiangsu Province, Guancheng road 212000 No. 8 building workers Runzhou District 5F

Patentee after: JIANGSU RETECH DIGITAL INDUSTRY PARK Co.,Ltd.

Address before: 201900, room 284, No. 133, Lane 304, Ju Ju Road, Shanghai, Baoshan District

Patentee before: Jing Gang

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140122

CF01 Termination of patent right due to non-payment of annual fee