CN106326127A - Automatic test method - Google Patents

Automatic test method Download PDF

Info

Publication number
CN106326127A
CN106326127A CN201610749550.2A CN201610749550A CN106326127A CN 106326127 A CN106326127 A CN 106326127A CN 201610749550 A CN201610749550 A CN 201610749550A CN 106326127 A CN106326127 A CN 106326127A
Authority
CN
China
Prior art keywords
test
bug
software
developer
automatically
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
CN201610749550.2A
Other languages
Chinese (zh)
Inventor
李兆勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201610749550.2A priority Critical patent/CN106326127A/en
Publication of CN106326127A publication Critical patent/CN106326127A/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/3688Test management for test execution, e.g. scheduling of test suites

Abstract

The invention provides an automatic test method, relates to the technical field of automatic test, and comprises the following steps: (1) uploading packaged software by a developer; (2) writing test cases in a system by a tester according to the software; (3) automatically generating testing scripts and test tasks; (4) automatically executing a test, automatically generating bug for the test tasks not passing the test, and delivering to the developer; (5) modifying a code by the developer according to the delivered bug, and delivering to the tester after modifying; (6) modifying and improving the cases and the scripts by the tester, executing a second round test, and repeatedly executing. According to the automatic test method provided by the invention, through integrating the software code, the cases and the scripts, and automatically generating bug, working efficiency is greatly improved, and software development complexity and consumption cost are reduced.

Description

A kind of automated testing method
Technical field
The present invention relates to automatization testing technique field, particularly relate to a kind of automated testing method.
Background technology
Automatization testing technique, utilizes automated test tool the most exactly, through the analysis to testing requirement, designs Automatic test cases, thus build the framework of automatic test, design and write automatized script, thus complete the test of this set Script.But current automatic test is at an independent flow process of software development mostly, does with other flow-independents, Thus cause wasting substantial amounts of human and material resources and valuable time, and inefficient, and intermediate link is easily made mistakes.
Summary of the invention
In order to solve above technical problem, the present invention proposes a kind of automated testing method and system.
The technical scheme is that
A kind of automated testing method, it is characterised in that comprise the following steps:
Step 1: upload the software kit of polyglot exploitation
Step 2: dry run software
Step 3: write test case
Step 4: automatically generate test script
Step 5: automatically perform test script, automatically generate BUG, feed back to developer
Step 6: after developer's amendment, upload new software kit, carry out next round test
The software of applicable polyglot exploitation;
Can simulate and in system, run software or at local runtime software, and interface is incident upon in system, can see in system To software code ruuning situation;
Can design in system and write use-case, use-case needs design test data;
The control property of software can be extracted, and be deposited into library of object;
Can be according to the automatic generating test case test assignment of design, test assignment has priority and arranges, it is contemplated that result sets Put;
Automatically perform test assignment, by with expected results phase comparison, automatically generate bug, automatic sectional drawing, developer is submitting to Bug in can accurately find out code ruuning situation;
Can automatically generate and preserve all kinds of documents often taking turns test, have test case, test script, software defect, use-case becomes Change, all kinds of document of defect change etc. and chart, it is also possible to as required, self-defined setting.
The present invention, by the document produced in integrated software code, test case, test script, defect, test process, carries The high recycling rate of waterused of these resources, reduce workload, reduce resource consumption and safeguard complexity.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the present invention.
Detailed description of the invention
Below by with reference to the accompanying drawings 1 implementation elaborating the present invention:
1, software code is uploaded in system by software developer, and system can read code, and it is carried out keyword digs Pick, dry run software.
2, after having uploaded, tester writes use-case according to running software interface, with regular meeting according to code, automatic partition Module, fills numbering automatically, manually requires supplementation with corresponding demand point, use-case priority, it is contemplated that result etc., also need to control corresponding Part is inserted and is suitably tested data
3, according to use-case, automatically generate test script, and according to Module Division test assignment collection and test assignment, automatically perform survey Trial is engaged in, through compared with expected results, it is contemplated that what result was inconsistent with actual result automatically generates BUG, BUG attribute survey Examination personnel, discovery time, the order of severity, tester BUG numbering, association use-case, expected results, actual result, automatic video recording The attribute that (when not meeting, automatically calling recording function) etc. can obtain, and BUG is distributed to developer
4, developer is in systems it can be seen that the runnable interface video recording of this BUG, code ruuning situation, greatly facilitates location Problem, developer, after having revised BUG, uploads the software of next version, starts next round test.
5, this system with accurate recording operation note during each, and can preserve all documents, and can arrange Generating which document, the amendment change of such as BUG trendgram, use-case, test percent of pass, code variations etc., automatically generate Test script, task and task-set, BUG, it is also possible to according to actual needs it is edited, amendment etc..

Claims (5)

1. an automated testing method, it is characterised in that
Step is as follows:
Step 1: upload the software kit of polyglot exploitation;
Step 2: dry run software;
Step 3: write test case;
Step 4: automatically generate test script;
Step 5: automatically perform test script, automatically generate BUG, feed back to developer;
Step 6: after developer's amendment, upload new software kit, carry out next round test.
Method the most according to claim 1, it is characterised in that
Software code is uploaded in system by software developer, and system can read code, and it is carried out keyword excavation, Dry run software.
Method the most according to claim 2, it is characterised in that
After having uploaded, tester writes use-case according to running software interface, with regular meeting according to code, and automatic partition module, Automatically fill numbering, manually require supplementation with corresponding demand point, use-case priority, it is contemplated that result, also need to insert at corresponding control Suitably test data.
Method the most according to claim 3, it is characterised in that
According to use-case, automatically generate test script, and according to Module Division test assignment collection and test assignment, automatically perform test Task, through compared with expected results, it is contemplated that what result was inconsistent with actual result automatically generates BUG, BUG attribute test Personnel, discovery time, the order of severity, tester BUG numbering, association use-case, expected results, actual result, automatic video recording can With the attribute obtained, and BUG is distributed to developer.
Method the most according to claim 4, it is characterised in that
Developer is in systems it can be seen that the runnable interface video recording of this BUG, and code ruuning situation, developer is revising After BUG, upload the software of next version, start next round test.
CN201610749550.2A 2016-08-29 2016-08-29 Automatic test method Pending CN106326127A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610749550.2A CN106326127A (en) 2016-08-29 2016-08-29 Automatic test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610749550.2A CN106326127A (en) 2016-08-29 2016-08-29 Automatic test method

Publications (1)

Publication Number Publication Date
CN106326127A true CN106326127A (en) 2017-01-11

Family

ID=57788697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610749550.2A Pending CN106326127A (en) 2016-08-29 2016-08-29 Automatic test method

Country Status (1)

Country Link
CN (1) CN106326127A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106892134A (en) * 2017-03-20 2017-06-27 北京润科通用技术有限公司 The method of testing and device of a kind of virtual instrument
CN107015908A (en) * 2017-03-31 2017-08-04 广州慧睿思通信息科技有限公司 A kind of computer application software test system and method
CN107291623A (en) * 2017-07-31 2017-10-24 北京云测信息技术有限公司 A kind of applied program testing method and device
CN107741909A (en) * 2017-10-13 2018-02-27 郑州云海信息技术有限公司 A kind of automated testing method and system for distributed block storage
CN108920376A (en) * 2018-07-13 2018-11-30 北京京东金融科技控股有限公司 Test method, device and the medium of application program
WO2019100577A1 (en) * 2017-11-27 2019-05-31 平安科技(深圳)有限公司 Automated test management method and apparatus, terminal device, and storage medium
CN109933509A (en) * 2017-12-15 2019-06-25 北京京东尚科信息技术有限公司 A kind of method and apparatus for realizing automatic test defect management
CN111176971A (en) * 2018-11-11 2020-05-19 无锡雅座在线科技股份有限公司 Code quality testing system and method based on UI automation
CN111309630A (en) * 2020-03-06 2020-06-19 中惠医疗科技(上海)有限公司 Medical software component testing method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040078693A1 (en) * 2002-03-22 2004-04-22 Kellett Stephen Richard Software testing
CN102693183A (en) * 2012-05-30 2012-09-26 瑞斯康达科技发展股份有限公司 Method and system for realizing automatic software testing
CN103092748A (en) * 2011-11-07 2013-05-08 阿里巴巴集团控股有限公司 Method and system of test cases surely needing to perform regression testing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040078693A1 (en) * 2002-03-22 2004-04-22 Kellett Stephen Richard Software testing
CN103092748A (en) * 2011-11-07 2013-05-08 阿里巴巴集团控股有限公司 Method and system of test cases surely needing to perform regression testing
CN102693183A (en) * 2012-05-30 2012-09-26 瑞斯康达科技发展股份有限公司 Method and system for realizing automatic software testing

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106892134A (en) * 2017-03-20 2017-06-27 北京润科通用技术有限公司 The method of testing and device of a kind of virtual instrument
CN107015908A (en) * 2017-03-31 2017-08-04 广州慧睿思通信息科技有限公司 A kind of computer application software test system and method
CN107291623A (en) * 2017-07-31 2017-10-24 北京云测信息技术有限公司 A kind of applied program testing method and device
CN107741909A (en) * 2017-10-13 2018-02-27 郑州云海信息技术有限公司 A kind of automated testing method and system for distributed block storage
WO2019100577A1 (en) * 2017-11-27 2019-05-31 平安科技(深圳)有限公司 Automated test management method and apparatus, terminal device, and storage medium
CN109933509A (en) * 2017-12-15 2019-06-25 北京京东尚科信息技术有限公司 A kind of method and apparatus for realizing automatic test defect management
CN108920376A (en) * 2018-07-13 2018-11-30 北京京东金融科技控股有限公司 Test method, device and the medium of application program
CN111176971A (en) * 2018-11-11 2020-05-19 无锡雅座在线科技股份有限公司 Code quality testing system and method based on UI automation
CN111309630A (en) * 2020-03-06 2020-06-19 中惠医疗科技(上海)有限公司 Medical software component testing method and system

Similar Documents

Publication Publication Date Title
CN106326127A (en) Automatic test method
US11693624B2 (en) AI capability research and development platform and data processing method
CN103412820B (en) The method of testing of the page in Web system and device
CN104407971A (en) Method for automatically testing embedded software
US9141521B2 (en) Method and apparatus for automatically generating a test script for a graphical user interface
CN108845940B (en) Enterprise-level information system automatic function testing method and system
CN106775744B (en) Method and device for generating static library
CN105760296B (en) Automatic test control method, device and terminal
US20090193389A1 (en) Realtime creation of datasets in model based testing
CN106446412B (en) Model-based test method for avionics system
CN104778124A (en) Automatic testing method for software application
Lau et al. An introduction to component-based software developement
Ahmad et al. A framework for architecture-driven migration of legacy systems to cloud-enabled software
CN102495789A (en) Automatic test method and device for the same
CN104268072A (en) Graphical script editor and method for fast developing communication equipment testing script
CN114818565A (en) Simulation environment management platform, method, equipment and medium based on python
CN108874649A (en) Generation method, device and its computer equipment of automatic test script
CN112131116A (en) Automatic regression testing method for embedded software
CN112699055A (en) Software automation test method and system with low maintenance cost
US10592703B1 (en) Method and system for processing verification tests for testing a design under test
KR20030044959A (en) A Method for Implementing and Assembling Software Components using Client-Side Metadata and Glue Codes
KR102271857B1 (en) Test automation system
CN102707943A (en) Implementation method of remote control automation tool
US10545740B2 (en) Distributed agent to collect input and output data along with source code for scientific kernels of single-process and distributed systems
CN104536880A (en) GUI program testing case augmentation method based on symbolic execution

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170111

WD01 Invention patent application deemed withdrawn after publication