CN107133177A - A kind of automated test frame - Google Patents

A kind of automated test frame Download PDF

Info

Publication number
CN107133177A
CN107133177A CN201710334139.3A CN201710334139A CN107133177A CN 107133177 A CN107133177 A CN 107133177A CN 201710334139 A CN201710334139 A CN 201710334139A CN 107133177 A CN107133177 A CN 107133177A
Authority
CN
China
Prior art keywords
test
module
script
key table
control system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710334139.3A
Other languages
Chinese (zh)
Inventor
张震
赵霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710334139.3A priority Critical patent/CN107133177A/en
Publication of CN107133177A publication Critical patent/CN107133177A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Abstract

The invention discloses a kind of automated test frame, including test case management system, control system and third party's automated test tool;And individually manage test case, key table, test script, layered mapping, form the automated test frame of crucial word drive.A kind of automated test frame of the present invention is compared to the prior art, clear layer, it is easy to later maintenance, and keyword driving test, script edit is simple, so that the not so good tester in programming basis can also carry out the design of automatic test script and write, operating efficiency is substantially increased.

Description

A kind of automated test frame
Technical field
The present invention relates to software automated testing technical field, specifically a kind of automated test frame.
Background technology
How the quality and competitiveness of product is lifted, and efficient software test undoubtedly plays very important effect.From Dynamicization test is exactly to want to by automated test tool or other means, is carried out according to the scheduled plan of Test Engineer Automatically test, it is therefore an objective to mitigate the amount of labour of manual test, so as to reach the purpose for improving software quality.Software automation is surveyed Examination framework is the key of the success of software automated testing.
Automated test frame, is applied to the framework used in automatic test.According to the definition of framework, automation is surveyed Or examination framework is to provide reusable basic automatization test module, such as:Selenium, watir etc., they are mainly provided most The automatic test function on basis, such as open a program, and analog mouse and keyboard are tested object to click on or operate, most The attribute of checking measurand is with the correctness of determining program afterwards;It is that can provide automatic test to perform and management function Structure module, such as:Phoenix Framework, robot, STAF etc., the automatic test branch on basis themselves is not provided Hold, be only intended to tissue, manage and perform those independent automatic test cases, statistical test result after the completion of test is led to This normal class framework typically all can an integrated basic automatization test module, such as:Robot frameworks just can be with integrated selenium frames Frame, Phoenix Framework it is integrated be also selenium frameworks.
And it is current, general company software automatic test is all blindness, and the use-case of system testing is converted into It is independent between automatic test script, script one use-case of correspondence, script, can not share, cause script edit it is complicated, can Maintainability is poor, often results in the consequence that automatic test is given up halfway, causes the waste of human and material resources.
The content of the invention
The technical assignment of the present invention is to provide a kind of automated test frame based on crucial word drive, improves automation and surveys The success rate of examination.
The technical assignment of the present invention realizes in the following manner, a kind of automated test frame, including test case pipe Reason system, control system and third party's automated test tool;
Wherein, described test case management system supports tester according to testing requirement design test case, and builds key Word table, deposits in database, is easy to the access of control system and third party's automated test tool;
Described control system is responsible for operation, test data processing and transmission data control to database;
Described third party's automated test tool, is responsible for performing automatic test task, parses key table, and according to key Word drive test script carries out automatic test, returns to result to control system, exports test report.
Further, method preferably is that described control system, for reading data from database, drives the 3rd Square instrument reads key table, and driving test script is performed.
Further, method preferably is that described test case management system includes Test Sample Design module, crucial Word management module, generation test request module and generation key table module;
Described Test Sample Design module, for according to testing requirement, carrying out testing example design;
Described keyword managing module, for keyword managing;
Described generation test request module, for generating test request;
Described generation key table module, for generating with key table.
Further, method preferably is that described control system includes control module, reads key table module and lead Boat script module;
Wherein, described control module, is background system, is responsible for the Data Transmission Controlling of whole framework;
Described reading key table module, for reading key table;
Described navigation script module, for the ease of the maintenance of later stage keyword script, is responsible for setting up the tree of test key table Shape structure.
Further, method preferably is that described third party's automated test tool includes driving script module, function Support script module and data processing script module.
A kind of design method of automated test frame, specific method is as follows:
S1, test case management system support tester according to testing requirement design test case, and build key table, deposit In database, it is easy to the access of control system and third party's automated test tool;
S2, control system are responsible for operation, test data processing and transmission data control to database;
S3, third party's automated test tool, are responsible for performing automatic test task, parse key table, and according to keyword Drive test script to carry out automatic test, return to result to control system, export test report.
Compared to the prior art a kind of automated test frame of the present invention, has the beneficial effect that:
1st, test case, key table, functional test script mapping management by different level, it is clear, be easy to safeguard;
2nd, keyword driving test so that the not so good tester in programming basis can also carry out setting for automatic test script Count and write;
3rd, there is navigation feature, be easy to key table shared between project;
4th, control module is responsible for the running and data processing of whole framework, and transparent to tester, is easy to the use of framework.
Brief description of the drawings
Accompanying drawing 1 is a kind of flow chart of automated test frame.
Embodiment
Embodiment 1:
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, 1 couple of present invention is done further It is described in detail:
Framework includes test case management system, control system and third party's automated test tool.
Test case management system supports tester according to testing requirement design test case, and builds key table, deposits It is put in database;Test case management system includes Test Sample Design module, keyword managing module, generation test request mould Block, generation key table module.
Test Sample Design is exactly to split several different test points in a test case and by its a single point Testing procedure encapsulated, form a module.
For example:One test case will be tested a logging program, including:User name input, password are defeated Enter and determine to log in;
So user name can just be inputted, Password Input, determine log in, cancel log in four operations be individually enclosed in four not In same module.During test, only its module need to be called.Like this, when a module is changed, you need to only separately maintain That module, can also be according to the various combination of module into different test cases.
Keyword managing is exactly a kind of thought of object-oriented, for example:In QTP, RFT, object can for a data or Its test object can be encapsulated as a keyword by one keyword of person, the crawl to object, you can so that gui elements to be sealed Keyword one by one has been dressed up, various to the progress of its key object can so have been operated, different objects can drive difference Test flow direction and result.
The mode simply applied can use an EXCEL table, and the inside includes " object type " Object Name, and " object is grasped Make title " " judgment mode " " expected results ".Like this, can by importing different object type and title, it is different Object Operations have been built into a test case table.
Test Engineer carries out testing example design according to testing requirement, generates the test using keyword as driving and uses Example table, deposits in database, is easy to control system to be accessed with third party's automated test tool.
Control system is responsible for operation, test data processing and transmission data control to database.Control system include but It is not limited to from database read data, driving third party instrument reads key table, driving test script execution etc.;Control system System includes control module, reads key table module and navigation script module.Wherein control module be for tester it is transparent, For background system, it is responsible for the Data Transmission Controlling of whole framework, for example, drives third party's automated test tool script to read and close Key word table, access database.Navigation script is responsible for setting up the tree structure of test key table, is easy to later stage keyword script Maintenance.
Third party's automated test tool, including driving script module, function support script module and data processing script Module.Third party's automated test tool is responsible for reading key table, creates automatic test script, and is responsible for performing reality Functional test, exports test report.
The present invention also protects a kind of design method of automated test frame, and specific method is as follows:
S1, test case management system support tester according to testing requirement design test case, and build key table, deposit In database, it is easy to the access of control system and third party's automated test tool;
S2, control system are responsible for operation, test data processing and transmission data control to database;
S3, third party's automated test tool, are responsible for performing automatic test task, parse key table, and according to keyword Drive test script to carry out automatic test, return to result to control system, export test report.
The present invention by test case management system, control system and third party's automated test tool, by test case, Key table, test script are individually managed, layered mapping.Form the automated test frame of crucial word drive.
By embodiment above, the those skilled in the art can readily realize the present invention.But should Work as understanding, the present invention is not limited to above-mentioned several embodiments.On the basis of disclosed embodiment, the technology The technical staff in field can be combined different technical characteristics, so as to realize different technical schemes.

Claims (6)

1. a kind of automated test frame, it is characterised in that automatic including test case management system, control system and third party Change testing tool;
Wherein, described test case management system supports tester according to testing requirement design test case, and builds key Word table, deposits in database, is easy to the access of control system and third party's automated test tool;
Described control system is responsible for operation, test data processing and transmission data control to database;
Described third party's automated test tool, is responsible for performing automatic test task, parses key table, and according to key Word drive test script carries out automatic test, returns to result to control system, exports test report.
2. a kind of automated test frame according to claim 1, it is characterised in that described control system, for from Data are read in database, driving third party instrument reads key table, and driving test script is performed.
3. a kind of automated test frame according to claim 1, it is characterised in that described test case management system Including Test Sample Design module, keyword managing module, generation test request module and generation key table module;
Described Test Sample Design module, for according to testing requirement, carrying out testing example design;
Described keyword managing module, for keyword managing;
Described generation test request module, for generating test request;
Described generation key table module, for generating with key table.
4. a kind of automated test frame according to claim 1, it is characterised in that described control system includes control Module, reading key table module and navigation script module;
Wherein, described control module, is background system, is responsible for the Data Transmission Controlling of whole framework;
Described reading key table module, for reading key table;
Described navigation script module, for the ease of the maintenance of later stage keyword script, is responsible for setting up the tree of test key table Shape structure.
5. a kind of automated test frame according to claim 1, it is characterised in that described third party's automatic test Instrument includes driving script module, function and supports script module and data processing script module.
6. a kind of design method of automated test frame, it is characterised in that specific method is as follows:
S1, test case management system support tester according to testing requirement design test case, and build key table, deposit In database, it is easy to the access of control system and third party's automated test tool;
S2, control system are responsible for operation, test data processing and transmission data control to database;
S3, third party's automated test tool, are responsible for performing automatic test task, parse key table, and according to keyword Drive test script to carry out automatic test, return to result to control system, export test report.
CN201710334139.3A 2017-05-12 2017-05-12 A kind of automated test frame Pending CN107133177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710334139.3A CN107133177A (en) 2017-05-12 2017-05-12 A kind of automated test frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710334139.3A CN107133177A (en) 2017-05-12 2017-05-12 A kind of automated test frame

Publications (1)

Publication Number Publication Date
CN107133177A true CN107133177A (en) 2017-09-05

Family

ID=59731535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710334139.3A Pending CN107133177A (en) 2017-05-12 2017-05-12 A kind of automated test frame

Country Status (1)

Country Link
CN (1) CN107133177A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107957948A (en) * 2017-12-07 2018-04-24 郑州云海信息技术有限公司 A kind of user interface automatic test device and method
CN108304329A (en) * 2018-02-13 2018-07-20 论客科技(广州)有限公司 A kind of testing example design method, apparatus, terminal and readable storage medium storing program for executing
CN108427637A (en) * 2018-01-18 2018-08-21 平安科技(深圳)有限公司 Test cases recommends method, electronic device and readable storage medium storing program for executing
CN110399299A (en) * 2019-07-17 2019-11-01 深圳证券交易所 The execution method of automated test frame and test case
CN110727567A (en) * 2019-09-09 2020-01-24 平安证券股份有限公司 Software quality detection method and device, computer equipment and storage medium
CN110909739A (en) * 2019-11-19 2020-03-24 广东润联信息技术有限公司 Picture identification and operation method and device, computer equipment and storage medium
CN111190812A (en) * 2019-12-12 2020-05-22 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Automatic test framework based on embedded equipment
CN108228464B (en) * 2018-01-12 2020-12-29 浪潮通用软件有限公司 Mobile application UI (user interface) testing framework based on data driving and implementation method thereof
CN112667494A (en) * 2020-12-08 2021-04-16 上海纳恩汽车技术股份有限公司 Automobile UDS automatic testing method and system based on configuration table and storage medium
CN113434387A (en) * 2021-06-01 2021-09-24 中国航空工业集团公司沈阳飞机设计研究所 Script-driven-based automatic testing tool and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017457A (en) * 2007-02-09 2007-08-15 山东浪潮齐鲁软件产业股份有限公司 Automatically testing method of computer software
CN101187894A (en) * 2006-11-15 2008-05-28 中兴通讯股份有限公司 Automatic test method based on key word drive and its test system
US20150113510A1 (en) * 2008-03-25 2015-04-23 Barclays Capital Inc. Method and System for Automated Testing of Computer Applications
CN104598376A (en) * 2014-12-30 2015-05-06 中国科学院计算机网络信息中心 Data driving layered automation test system and method
CN104778124A (en) * 2015-04-13 2015-07-15 上海新炬网络信息技术有限公司 Automatic testing method for software application
CN106547689A (en) * 2016-10-20 2017-03-29 金航数码科技有限责任公司 A kind of automatic test cases development system and method based on web

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101187894A (en) * 2006-11-15 2008-05-28 中兴通讯股份有限公司 Automatic test method based on key word drive and its test system
CN101017457A (en) * 2007-02-09 2007-08-15 山东浪潮齐鲁软件产业股份有限公司 Automatically testing method of computer software
US20150113510A1 (en) * 2008-03-25 2015-04-23 Barclays Capital Inc. Method and System for Automated Testing of Computer Applications
CN104598376A (en) * 2014-12-30 2015-05-06 中国科学院计算机网络信息中心 Data driving layered automation test system and method
CN104778124A (en) * 2015-04-13 2015-07-15 上海新炬网络信息技术有限公司 Automatic testing method for software application
CN106547689A (en) * 2016-10-20 2017-03-29 金航数码科技有限责任公司 A kind of automatic test cases development system and method based on web

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈丽丽 等: "基于关键字驱动的自动化测试框架研究", 《长春理工大学学报》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107957948A (en) * 2017-12-07 2018-04-24 郑州云海信息技术有限公司 A kind of user interface automatic test device and method
CN108228464B (en) * 2018-01-12 2020-12-29 浪潮通用软件有限公司 Mobile application UI (user interface) testing framework based on data driving and implementation method thereof
CN108427637A (en) * 2018-01-18 2018-08-21 平安科技(深圳)有限公司 Test cases recommends method, electronic device and readable storage medium storing program for executing
CN108427637B (en) * 2018-01-18 2021-05-25 平安科技(深圳)有限公司 Test case recommendation method, electronic device and readable storage medium
CN108304329A (en) * 2018-02-13 2018-07-20 论客科技(广州)有限公司 A kind of testing example design method, apparatus, terminal and readable storage medium storing program for executing
CN110399299A (en) * 2019-07-17 2019-11-01 深圳证券交易所 The execution method of automated test frame and test case
CN110399299B (en) * 2019-07-17 2023-09-26 深圳证券交易所 Automated test framework and test case execution method
CN110727567A (en) * 2019-09-09 2020-01-24 平安证券股份有限公司 Software quality detection method and device, computer equipment and storage medium
CN110727567B (en) * 2019-09-09 2024-02-02 平安证券股份有限公司 Method, device, computer equipment and storage medium for detecting software quality
CN110909739A (en) * 2019-11-19 2020-03-24 广东润联信息技术有限公司 Picture identification and operation method and device, computer equipment and storage medium
CN111190812A (en) * 2019-12-12 2020-05-22 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Automatic test framework based on embedded equipment
CN111190812B (en) * 2019-12-12 2023-12-08 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Automatic test framework system based on embedded equipment
CN112667494A (en) * 2020-12-08 2021-04-16 上海纳恩汽车技术股份有限公司 Automobile UDS automatic testing method and system based on configuration table and storage medium
CN113434387A (en) * 2021-06-01 2021-09-24 中国航空工业集团公司沈阳飞机设计研究所 Script-driven-based automatic testing tool and system

Similar Documents

Publication Publication Date Title
CN107133177A (en) A kind of automated test frame
CN107807878B (en) Keyword-based universal test resource driving and execution management method
CN107621944A (en) Continuous integrating pipeline system and its method based on automation O&M
CN107957948A (en) A kind of user interface automatic test device and method
Bendig et al. Digital orientation and environmental performance in times of technological change
US9218271B2 (en) Test planning based on dynamic coverage analysis
CN105404949B (en) System and method for self-defining flow
CN107958049A (en) A kind of quality of data checking and administration system
CN110674295A (en) Data labeling system based on deep learning
CN111813661B (en) Global service data drive automatic test method, device, equipment and medium
CN1713192A (en) Method and device for processing logic mode establishment and carrying out
CN109299003A (en) A kind of full-automatic testing case driving generation system towards complex software
CN110413524A (en) For generating method and apparatus, the automated testing method of test script
CN107766448A (en) Rule-based satellite telemetering data analysis system
CN107992519A (en) The multi-source heterogeneous data verification system and method for a kind of smart grid-oriented big data
CN108595604A (en) A kind of data visualisation system and method for intelligent report forms
CN104615928B (en) Measurement and examination method, verification system and server
CN109858081A (en) Vehicle product data design collaboration method based on Teamcenter
CN113157336A (en) C # language-based gripper configuration system, method, device and storage medium
CN105573274B (en) TS16949 affiliated partner control methods based on PLM system
Barlas et al. An open source tool for automated input data in simulation
CN104965497B (en) Online creation data quickly generates and management method and system
CN109271691B (en) Automatic extraction and quick labeling method for key characteristics
CN110196712A (en) Software development methodology and server based on Cloud Server
KR101716480B1 (en) Apparatus for inputting test-case using gui

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170905

RJ01 Rejection of invention patent application after publication