CN103605609A - Automatic test framework applicable to cloud computing - Google Patents

Automatic test framework applicable to cloud computing Download PDF

Info

Publication number
CN103605609A
CN103605609A CN201310661424.8A CN201310661424A CN103605609A CN 103605609 A CN103605609 A CN 103605609A CN 201310661424 A CN201310661424 A CN 201310661424A CN 103605609 A CN103605609 A CN 103605609A
Authority
CN
China
Prior art keywords
automatic test
script
business unit
cloud computing
applicable
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
CN201310661424.8A
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 CN201310661424.8A priority Critical patent/CN103605609A/en
Publication of CN103605609A publication Critical patent/CN103605609A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an automatic test framework applicable to cloud computing. Based on an object-oriented idea, repeated parts in a script are extracted out, are used as a shared object to be stored into a shared object resource database; an automatic test use case is constructed by capturing, storing and calling a WEB object and a business unit assembly object of a tested procedure, thus completing mass automatic test of business process. The automatic test framework disclosed by the invention can quickly select the automatic test use case, can improve scientificalness and comprehensiveness of selection of the automatic use case, can lower maintenance cost and labor cost of an automatic test script, can improve automatic test success rate and can finally improve systematicness and readability of the automatic test result.

Description

A kind of automated test frame that is applicable to cloud computing
Technical field
The present invention relates to automatic test field, be specifically related to a kind of method of fast selected automatic test cases, by general module and the nucleus module of rational division software, according to the selection percentage of test case and complexity, select and can effectively carry out the use-case of automatic test fast, reduce the cost of automatic test.
Technical background
The product of cloud computing based on IaaS (infrastructure serve) also gushed out like the mushrooms after rain.How quality and the competitive power of improving product, very important effect is being brought into play in software test efficiently undoubtedly.Although the automated test tool of traditional application software and method of testing are ripe day by day, but, automatization testing technique in cloud field still needs further exploration, need to analyze the business characteristic of cloud management platform, the principle of probing into automated test frame structure, realize the automatical and efficient test of cloud management platform.
The building mode of automatic test cases is generally the operation flow based on software at present, the test script that this method creates, when program generation small variations, data change, function increase, relates to script and all need to again write, waste time and energy, cost is higher.
A kind of automated test frame (OBP) that is applicable to cloud computing is provided for this reason, this framework is by dividing business unit assembly and preservation WEB object properties and operation, composite service unit block structure operation flow test script, improve the dirigibility of script, reduce the maintenance cost of script.
Summary of the invention
The technical problem to be solved in the present invention is: the problem such as low for the dirigibility of current cloud computing robotization framework, reusability is low, maintenance cost is high, proposes a kind of automated test frame that is applicable to cloud computing.
The technical solution adopted in the present invention is:
A kind of automated test frame that is applicable to cloud computing, be called for short OBP, based on OO thought, by the part repeating in script, comprise that concrete object (WEB interface object) and abstract object (Service Component) extract, unification deposits shared object resources bank in as shared object, by catching, preserve, call WEB object and the business unit component object of tested program, build automatic test cases, the batch automatic test of finishing service flow process.
Adopt above-mentioned mode, replace the automatic test cases building mode based on operation flow in the past, thereby improve the reusability of automatic test script, reduce the maintenance cost of automatic test script.
Note: framework (Framework) is the reusable design of system all or in part, shows as mutual method between one group of abstract component and member example.
Described test frame comprises that flow process is as follows:
1) at automatic test cases, build the initial stage, by the interface element of tested program, regard object one by one as, by described framework, catch, preserve the object properties at WEB interface and Object Operations to database, for the structure of Service Component object provides exercisable object;
2) operation flow of tested program is divided into the object of Service Component one by one that can not cut apart again, can be multiplexing, is convenient to the combination of testing process;
3) when creating concrete automatic test cases, by composite service unit block, complete the structure of automatic test cases.
Described Service Component object is called for short business unit, and the corresponding business unit of each business unit realizes script and business unit checks script;
Business unit is realized the establishment that script completes by calling WEB interface object storehouse, and is kept at database; Business unit checks that script creates by increasing the checkpoint of script, is kept at database.
Beneficial effect of the present invention is:
The present invention can select the use-case of automatic test fast, and the science of raising robotization case selection and comprehensive, reduces automatic test script maintenance cost and cost of labor, improves automatic test success ratio.Final the systemic and readable of automatic test result that promote.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of framework of the present invention.
Embodiment
With reference to the accompanying drawings, the automatic test script of take " logs in " as example, sets forth the specific implementation flow process of this framework:
1, at the beginning of establishment, the WEB object of OBP framework prize procedure log-in interface, such as the attribute of user name, password etc. and the operation that can carry out, and is saved in database script;
2, by OBP framework, call the object in WEB object database, the script that structure logs in, and for script adds checkpoint (Correctness checking, maximum length inspection, special character inspection etc.), the script of realizing of business unit is saved in database with inspection script automatically;
3, for example, when other use-case of automatic test: create virtual machine.Just can combine and call realizing script and checking the establishment of script of " logging in " business unit such as " establishment virtual machine " " exiting " that " jumps to the Virtual Machine Manager page ";
4, when tested program changes, for example program logs in need to increase identifying code, and " establishment virtual machine " this script does not need to change, and only needs to change the script of realizing of " logging in " business unit in database.

Claims (3)

1. an automated test frame that is applicable to cloud computing, it is characterized in that: based on OO thought, the part repeating in script is extracted, unification deposits shared object resources bank in as shared object, by catching, preserve, call WEB object and the business unit component object of tested program, build automatic test cases, the batch automatic test of finishing service flow process.
2. a kind of automated test frame that is applicable to cloud computing according to claim 1, is characterized in that, comprises that flow process is as follows:
1) at automatic test cases, build the initial stage, by the interface element of tested program, regard object one by one as, by described framework, catch, preserve the object properties at WEB interface and Object Operations to database, for the structure of Service Component object provides exercisable object;
2) operation flow of tested program is divided into the object of Service Component one by one that can not cut apart again, can be multiplexing, is convenient to the combination of testing process;
3) when creating concrete automatic test cases, by composite service unit block, complete the structure of automatic test cases.
3. a kind of automated test frame that is applicable to cloud computing according to claim 2, it is characterized in that, the corresponding business unit of described Service Component object realizes script and business unit checks script, business unit is realized the establishment that script completes by calling WEB interface object storehouse, and is kept at database; Business unit checks that script creates by increasing the checkpoint of script, is kept at database.
CN201310661424.8A 2013-12-10 2013-12-10 Automatic test framework applicable to cloud computing Pending CN103605609A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310661424.8A CN103605609A (en) 2013-12-10 2013-12-10 Automatic test framework applicable to cloud computing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310661424.8A CN103605609A (en) 2013-12-10 2013-12-10 Automatic test framework applicable to cloud computing

Publications (1)

Publication Number Publication Date
CN103605609A true CN103605609A (en) 2014-02-26

Family

ID=50123838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310661424.8A Pending CN103605609A (en) 2013-12-10 2013-12-10 Automatic test framework applicable to cloud computing

Country Status (1)

Country Link
CN (1) CN103605609A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317718A (en) * 2014-11-04 2015-01-28 浪潮电子信息产业股份有限公司 Cloud computing-based software testing service system
CN104407978A (en) * 2014-12-12 2015-03-11 浪潮(北京)电子信息产业有限公司 Automatic test method of software and device thereof
CN105912460A (en) * 2016-04-05 2016-08-31 浪潮电子信息产业股份有限公司 Software test method and system based on QTP
CN107193740A (en) * 2017-05-23 2017-09-22 郑州云海信息技术有限公司 The software test case test system and method for a kind of Reuse-Oriented
CN107623602A (en) * 2017-10-12 2018-01-23 郑州市景安网络科技股份有限公司 One kind automation investigation method and system
CN108345532A (en) * 2017-01-23 2018-07-31 中国移动通信集团浙江有限公司 A kind of automatic test cases generation method and device
CN109861874A (en) * 2018-12-25 2019-06-07 北京奇安信科技有限公司 Equipment automatization test macro
CN110213117A (en) * 2018-02-28 2019-09-06 贵州白山云科技股份有限公司 A kind of service test method and device
CN111897724A (en) * 2020-07-21 2020-11-06 国云科技股份有限公司 Automatic testing method and device suitable for cloud platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866219A (en) * 2005-12-09 2006-11-22 华为技术有限公司 System and method for testing measured object based on automatic test script
CN101118515A (en) * 2007-09-11 2008-02-06 腾讯科技(深圳)有限公司 Automatically testing method and apparatus for list
CN102222042A (en) * 2011-06-28 2011-10-19 北京新媒传信科技有限公司 Automatic software testing method based on cloud computing
CN103150251A (en) * 2013-03-04 2013-06-12 浪潮电子信息产业股份有限公司 Method for intelligently acquiring automated test object
CN103412820A (en) * 2013-08-30 2013-11-27 曙光信息产业(北京)有限公司 Test method and tester for pages in Web system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866219A (en) * 2005-12-09 2006-11-22 华为技术有限公司 System and method for testing measured object based on automatic test script
CN101118515A (en) * 2007-09-11 2008-02-06 腾讯科技(深圳)有限公司 Automatically testing method and apparatus for list
CN102222042A (en) * 2011-06-28 2011-10-19 北京新媒传信科技有限公司 Automatic software testing method based on cloud computing
CN103150251A (en) * 2013-03-04 2013-06-12 浪潮电子信息产业股份有限公司 Method for intelligently acquiring automated test object
CN103412820A (en) * 2013-08-30 2013-11-27 曙光信息产业(北京)有限公司 Test method and tester for pages in Web system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317718A (en) * 2014-11-04 2015-01-28 浪潮电子信息产业股份有限公司 Cloud computing-based software testing service system
CN104407978A (en) * 2014-12-12 2015-03-11 浪潮(北京)电子信息产业有限公司 Automatic test method of software and device thereof
CN105912460A (en) * 2016-04-05 2016-08-31 浪潮电子信息产业股份有限公司 Software test method and system based on QTP
CN108345532A (en) * 2017-01-23 2018-07-31 中国移动通信集团浙江有限公司 A kind of automatic test cases generation method and device
CN107193740A (en) * 2017-05-23 2017-09-22 郑州云海信息技术有限公司 The software test case test system and method for a kind of Reuse-Oriented
CN107623602A (en) * 2017-10-12 2018-01-23 郑州市景安网络科技股份有限公司 One kind automation investigation method and system
CN107623602B (en) * 2017-10-12 2021-03-26 郑州市景安网络科技股份有限公司 Automatic checking method and system
CN110213117A (en) * 2018-02-28 2019-09-06 贵州白山云科技股份有限公司 A kind of service test method and device
CN109861874A (en) * 2018-12-25 2019-06-07 北京奇安信科技有限公司 Equipment automatization test macro
CN111897724A (en) * 2020-07-21 2020-11-06 国云科技股份有限公司 Automatic testing method and device suitable for cloud platform

Similar Documents

Publication Publication Date Title
CN103605609A (en) Automatic test framework applicable to cloud computing
CN105955878A (en) Server-side test method and system
CN109344056B (en) Test method and test device
CN106156186A (en) A kind of data model managing device, server and data processing method
CN105373478B (en) Automated testing method and system
CN106682036A (en) Data exchange system and exchange method thereof
CN106033393A (en) Method and system for testing application program, and mobile terminal
CN105677306A (en) Automation script compiling method and device
CN103810092A (en) Application system testing method and device
CN111181800A (en) Test data processing method and device, electronic equipment and storage medium
CN109614190A (en) Resources configuration management method and platform
CN115150471A (en) Data processing method, device, equipment, storage medium and program product
CN106897060A (en) Based on patterned data processing method and device
CN105447003B (en) A kind of parameter sets generation method and equipment
CN105550103A (en) Custom test script based automated testing method
Lee et al. A git source repository analysis tool based on a novel branch-oriented approach
CN104090838A (en) Method for generating test case
CN104408167A (en) Method for expanding sqoop function in Hue based on django
CN111193631B (en) Information processing method, system, and computer-readable storage medium
CN103150251A (en) Method for intelligently acquiring automated test object
CN115687406A (en) Sampling method, device and equipment of call chain data and storage medium
CN105204975A (en) Performance monitoring system and method based on JavaEE system structure
CN113609427B (en) System data resource extraction method and system under no-interface condition
CN112446619B (en) Power distribution network rush-repair processing method and device
CN104391782A (en) Network-equipment managing-software client-end simulating method on basis of XML (X Extensive Markup Language) script

Legal Events

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

Application publication date: 20140226