CN104978259B - Mobile device software automated testing group system and its method of testing - Google Patents

Mobile device software automated testing group system and its method of testing Download PDF

Info

Publication number
CN104978259B
CN104978259B CN201410127800.XA CN201410127800A CN104978259B CN 104978259 B CN104978259 B CN 104978259B CN 201410127800 A CN201410127800 A CN 201410127800A CN 104978259 B CN104978259 B CN 104978259B
Authority
CN
China
Prior art keywords
test
mobile device
actuator
assignment
group 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.)
Active
Application number
CN201410127800.XA
Other languages
Chinese (zh)
Other versions
CN104978259A (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.)
China Unionpay Co Ltd
Original Assignee
China Unionpay 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 China Unionpay Co Ltd filed Critical China Unionpay Co Ltd
Priority to CN201410127800.XA priority Critical patent/CN104978259B/en
Publication of CN104978259A publication Critical patent/CN104978259A/en
Application granted granted Critical
Publication of CN104978259B publication Critical patent/CN104978259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to mobile device software automated testing group system and its method of testing.The mobile device software automated testing group system possesses:Test and management module, generate test assignment for unified and test assignment is stored, managed;One or more actuators, subordinate is separated with the test and management module, for obtaining test assignment from the test and management module and being issued to following mobile device test agent modules, and to the test and management module feedback test assignment implementing result;Mobile device test agent module, for performing the test assignment and feedback result to the actuator.The test of the mobile device of more middle types can be managed collectively using the present invention, the cluster topology of actuator can be realized, and the invention provides good functional expansionary.

Description

Mobile device software automated testing group system and its method of testing
Technical field
The present invention relates to mobile terminal test field, is automated more particularly to a kind of software in mobile device The system and method for test.
Background technology
With the rapid development of mobile Internet, the application software based on mobile device is more and more, the work(of mobile device Can be also stronger and stronger, such as surfed the Net by mobile device, browse webpage and other various applications.In this background Under, the demand tested the application software of mobile device is also increasing.Needed before the launch of these application programs Their validity, security etc. are verified by test.If only by if manual testing these application software, test Cost is too high, therefore generates the automatic test chemical industry tool of application software.
For example, patent document 1(CN103164336A)Disclose a kind of automatic test of application program on mobile terminal Method and device.In the method for testing, the configuration file for the title for recording all objects to be tested is read first, and by institute There is the title storage for test object to arrive object chained list;The list of the title of all objects to be tested is listed, according to the defeated of user Enter to select test in object to be tested can cause the object of system closing or test process stopping and be deleted from list object Selected object;Start automatic test course;Load the object to be tested in list object;To be measured in list object Try object and carry out automatic test.The patent document 1 can carry out the automatic test to object to be measured, but be the absence of to test The function being managed.Moreover, patent document 1 is only for Android system, can not cross operating system tested.
Accordingly, it can be seen that the automatic test chemical industry tool of mobile terminal software of the prior art also exists in most cases Problems with:
(1)Existing test system and method lack test and management function(Including beta version, case, equipment under test shape State, test assignment management, test result statistics)Function is realized;
(2)Existing test system and method are not carried out cross operating system(ios、android)Test is tested unified Platform management;
(3)Clustering is not implemented in existing test system and method, i.e. actuator can not make quantity, Function Extension, also without Method realizes remote deployment;
(4)Existing test execution unit is embedded in test platform, can not be under the premise of whole test platform is not changed Newly-increased new type mobile device, new test execution method.
The content of the invention
In view of the above problems, the present invention is intended to provide one kind can test for polymorphic type provides unified test and management and survey Examination performs the mobile device software automated testing group system and its method of testing of operation.
The mobile device software automated testing group system of the present invention, it is characterised in that including:
Test and management module, for unified generation test assignment and test assignment is collected, store, analyze and managed Reason;
One or more actuators, subordinate is separated with the test and management module, for being obtained from the test and management module Take test assignment and be issued to following mobile device test agent modules, and to the test and management module feedback test assignment Implementing result;
Mobile device test agent module, for performing the test assignment and feedback result to the actuator.
Preferably, the actuator is attached with the test and management module by network.
Preferably, the actuator is connected with the mobile device test agent module by USB or WIFI.
Preferably, the test and management module possesses:Test and management web foregrounds, for unified generation test assignment, and The test database following for periodic polling is to update execution status of task;Test and management service end, for will be by the survey The test assignment of test tube reason web foreground generations is inserted into following test databases;Test database, appoint for storing test Business;Command interface service, the feedback of actuator is ordered and receives for being sent to specified actuator;Database interface takes Business, tested for providing the interface of unified test database for each actuator, and for being downloaded from the test database Task is to actuator and receives the feedback of actuator.
Preferably, the command interface service and the database interface service in the form of independent process with the testing tube Manage service end isolation.
Preferably, the mobile device test agent module is mounted in a mobile device in a software form.
Preferably, the quantity of the actuator and function have scalability.
The mobile device automatic software test method of the present invention, it is characterised in that including:
Test assignment generation step, test assignment is uniformly generated by test and management web foregrounds and is inserted into test data Storehouse;Test assignment obtaining step, by actuator poll inquiry test database to obtain test assignment;Test assignment issues step Suddenly, the test assignment of acquisition is issued to mobile device test agent module by actuator;Test assignment performs step, mobile device Test agent module performs test assignment and implementing result is fed back into actuator;And test result feedback step, perform Test execution result is fed back to test database by device again.
Preferably, in the test assignment obtaining step, actuator poll inquiry test database obtains in an asynchronous manner Take test assignment.
Preferably, in the test assignment issues step, actuator decomposes after the test assignment of acquisition is parsed Performed for the case that mobile device, case are dimension and order and be issued to mobile device test agent module.
Preferably, the test assignment perform step in, mobile device test agent module perform test assignment and Implementing result is fed back into actuator in a parallel fashion.
Preferably, step is issued in the test assignment, the test assignment of acquisition is passed through command interface service by actuator It is issued to mobile device test agent module.
Preferably, in the test assignment obtaining step, database interface poll inquiry is uniformly passed through by actuator Test database obtains test assignment.
According to the mobile device software automated testing group system and mobile device software automated testing of the present invention Method, the complete test and management function of mobile device can be realized, and test and management service and different type execution can be unified Device carrys out framework and realizes that polymorphic type is tested(IOS、android), thus, it is possible to improve automatic test efficiency.Moreover, it can realize The cluster topology of actuator, actuator backup, load sharing function can be achieved, shorten the automatic test time and improve test and hold Row reliability, while good functional expansionary can be provided.
Brief description of the drawings
Fig. 1 is the synoptic diagram for representing the mobile device software automated testing group system of the present invention.
Fig. 2 is the system construction drawing for representing the mobile device software automated testing group system of the present invention.
Fig. 3 is the step sequence figure for representing the mobile device automatic software test method of the present invention.
Embodiment
What is be described below is some in multiple embodiments of the invention, it is desirable to provide to the basic understanding of the present invention.And It is not intended to the crucial or conclusive key element for confirming the present invention or limits scope of the claimed.
Fig. 1 is the synoptic diagram for representing the mobile device software automated testing group system of the present invention.
As shown in figure 1, the mobile device software automated testing group system of the present invention is broadly divided into three parts:Test Management module 100, one or more actuators 200, mobile device test agent module 300.
Test and management module 100 be used for it is unified generate test assignment and test assignment is collected, stored, is analyzed and Management.
Actuator 200 separates subordinate with test and management module 100, for obtaining test assignment from test and management module 100 And mobile device test agent module 300 is issued to, and to the feedback test task action result of test and management module 100.
Mobile device test agent module 300 is used to perform the test assignment and feedback result to actuator 200.
Actuator 200 is attached with test and management module 100 by network, actuator 200 and mobile device test generation Reason module 300 passes through USB or WIFI connections.
Fig. 2 is the system construction drawing for representing the mobile device software automated testing group system of the present invention.
As shown in Fig. 2 the test and management module 100 in Fig. 1 includes:Test and management web foregrounds 101, test and management service End 102, test database 103, command interface service 104, database interface service 105.
Test and management web foregrounds 101 be used for it is unified generate test assignment and for periodic polling test database 103 with Update execution status of task.Test and management service end 102 is used to insert the test assignment generated by test and management web foregrounds 101 Enter to test database 103.
Test database 103 is used to store test assignment.Command interface service 104 is used to send life to specified actuator Make and receive the feedback of actuator.Database interface service 105 is used to provide unified test database for each actuator Interface, and for downloading test assignment to actuator from test database 103 and receiving the feedback of actuator.
Wherein, test and management service end 102, command interface service 104 and database interface service 105(Towards actuator 200)Can subordinate on same physical server, but command interface service in the form of independent process with test and management service end 102 isolation.
In fig. 2, as actuator 200, example be expressed as multiple android actuators 1 ... android actuators n, with An and ios actuator 1.Android actuators or ios actuators as actuator 200 obtain from test database 103 to be surveyed Task queue is tried, is issued to mobile device test agent module 300 and performs order, and it is anti-to test and management service module 100 Present test assignment implementing result.Actuator 200 can move equipment connection management(Connection monitoring, Auto-reconnect, report and set Standby state).In the present invention, the quantity of actuator 200 and function have scalability.
In fig. 2, as mobile device test agent module 300, multiple mobile phones are illustrated, in fact, mobile device is surveyed It is to be installed in mobile device in a software form to try proxy module 300(Such as mobile phone)Among.Mobile device test agent module The execution and monitoring of 300 test execution codes in a mobile device, and test result, test log are collected and uploaded.
As depicted in figs. 1 and 2, mobile device software automated testing group system of the invention uses three layers of different physics The cluster topology of entity, i.e., three layers are respectively:Can across ios platform and Android platform unified test and management module 100;Number Amount, type, the actuator 200 of multifunction;And mobile device test agent module 300.
Specifically, mobile device software automated testing group system of the invention uses unified test and management module 100 coordinate different type actuator 200 and mobile device test agent module 300(Such as ios, android)Test is uniformly entered Row management, i.e. test assignment is uniformly generated by test and management module 100, performed by different types of actuator 200 and according to Unified interface uploads test result.Wherein, actuator 200 is connected as unified task with test and management module 100 and database connects Mouthful, connection standard and network remote can be realized.Moreover, actuator 200 separates subordinate with test and management module 100, and And connected by command interface service 104 with database interface 105 in a manner of network remote, i.e. actuator 200 and command interface For network connection and in the form of HTTP message between service 104 and database interface 105(C/S model)As interface.Meanwhile hold Row device 200 realizes clustered deploy(ment), i.e., test and management module 100 can correspond to multiple actuators, and can increase as needed Actuator.Actuator 200 is connected with mobile device test agent module 300 by USB or WIFI forms, for android Equipment uses ADB command forms transmitting order to lower levels.
According to the mobile device software automated testing group system of the present invention, the complete testing tube of mobile device can be realized Function is managed, and test and management service can be unified and different type actuator carrys out the test that framework realizes polymorphic type(IOS、 android), thus improving being capable of automatic test efficiency.Moreover, actuator cluster topology can be realized, and can realize Actuator backup, load sharing function, the automatic test time can be shortened and improve test execution reliability, while provided good Good functional expansionary.
Then, illustrated for the mobile device automatic software test method of the present invention.
Fig. 3 is the step sequence figure for representing the mobile device automatic software test method of the present invention.
As shown in figure 3, the mobile device automatic software test method of the present invention specifically comprises the steps:
Step 1:Test assignment data are uniformly generated by test and management web foregrounds(Including case, it is devices under, is tested It is test assignment list item data to try information, the concrete forms such as software)And it is sent to test and management service end.
Step 2:Test assignment data are inserted into test database by test and management service end.
Step 3:Actuator to database poll inquiry is asynchronous by constantly obtaining test assignment data table items.
Step 4:Actuator by parsing task data, by task list item be decomposed into using mobile phone, case as dimension ADB Case performs order, and is issued to mobile device test agent module.
Step 5:Case implementing result is fed back to actuator by mobile device test agent modular concurrent.
Step 6:The test result data of mobile device test agent module feedback, execution status of task are passed through into database Interface service is uniformly updated to test result table, test assignment table in test database.
Step 7:Periodically poll test assignment table data, more new task are initiated to test database in test and management web foregrounds Execution state.
According to the mobile device automatic software test method of the present invention, the complete test and management work(of mobile device can be realized Can, and can unify test and management service and different type actuator framework realizes that polymorphic type is tested(IOS、android), by This can improve automatic test efficiency.Moreover, the cluster topology of actuator can be realized, actuator backup, load can be achieved Function is shared, shortens the automatic test time and improves test execution reliability, while good multifunction can be provided Property.
Example above primarily illustrates the mobile device software automated testing group system and mobile device of the present invention Automatic software test method.Although only the embodiment of some of present invention is described, this area Those of ordinary skill it is to be appreciated that the present invention can without departing from its spirit with scope in the form of many other implement.Cause This, the example shown is considered as illustrative and not restrictive with embodiment, is not departing from such as appended claims In the case of defined spirit and scope of the present invention, the present invention may cover various modification and replacement.

Claims (6)

  1. A kind of 1. mobile device software automated testing group system, it is characterised in that including:
    Test and management module, for unified generation test assignment and test assignment is collected, store, analyze and managed;
    One or more actuators, subordinate is separated with the test and management module, surveyed for being obtained from the test and management module Trial is engaged in and is issued to following mobile device test agent modules, and is performed to the test and management module feedback test assignment As a result;
    Mobile device test agent module, for performing the test assignment and feedback result to the actuator,
    The test and management module possesses:
    Test and management web foregrounds, test assignment is generated for unified, and the test database following for periodic polling is with more New task performs state;
    Test and management service end, for the test assignment generated by the test and management web foregrounds to be inserted into following tests Database;
    Test database, for storing test assignment;
    Command interface service, the feedback of actuator is ordered and receives for being sent to specified actuator;
    Database interface service, for providing the interface of unified test database for each actuator for from the test number Test assignment is downloaded to actuator according to storehouse, and receives the feedback of actuator.
  2. 2. mobile device software automated testing group system as claimed in claim 1, it is characterised in that
    The actuator is attached with the test and management module by network.
  3. 3. mobile device software automated testing group system as claimed in claim 2, it is characterised in that
    The actuator is connected with the mobile device test agent module by USB or WIFI.
  4. 4. mobile device software automated testing group system as claimed in claim 1, it is characterised in that
    The command interface service and the database interface service in the form of independent process with the test and management service end every From.
  5. 5. mobile device software automated testing group system as claimed in claim 4, it is characterised in that
    The mobile device test agent module is mounted in a mobile device in a software form.
  6. 6. mobile device software automated testing group system as claimed in claim 5, it is characterised in that
    The quantity and function of the actuator have expansible.
CN201410127800.XA 2014-04-01 2014-04-01 Mobile device software automated testing group system and its method of testing Active CN104978259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410127800.XA CN104978259B (en) 2014-04-01 2014-04-01 Mobile device software automated testing group system and its method of testing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410127800.XA CN104978259B (en) 2014-04-01 2014-04-01 Mobile device software automated testing group system and its method of testing

Publications (2)

Publication Number Publication Date
CN104978259A CN104978259A (en) 2015-10-14
CN104978259B true CN104978259B (en) 2017-11-17

Family

ID=54274788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410127800.XA Active CN104978259B (en) 2014-04-01 2014-04-01 Mobile device software automated testing group system and its method of testing

Country Status (1)

Country Link
CN (1) CN104978259B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105205003A (en) * 2015-10-28 2015-12-30 努比亚技术有限公司 Automated testing method and device based on clustering system
CN105512029B (en) * 2015-11-27 2018-12-25 北京奇虎科技有限公司 A kind of method, server and system for testing intelligent terminal
CN105577475B (en) * 2015-12-28 2019-07-05 上海瀚之友信息技术服务有限公司 Automated performance testing system and method
CN107454124B (en) * 2016-05-31 2020-11-03 创新先进技术有限公司 Equipment automation method and device
CN107315683A (en) * 2017-06-22 2017-11-03 四川长虹电器股份有限公司 The automatic test platform and method of testing of a kind of Android Mobile solution
CN107423181A (en) * 2017-07-28 2017-12-01 郑州云海信息技术有限公司 The automated testing method and device of a kind of uniform storage device
CN107643981A (en) * 2017-08-29 2018-01-30 顺丰科技有限公司 A kind of automatic test platform and operation method of polynary operation flow
CN109308257A (en) * 2018-08-13 2019-02-05 北京奇虎科技有限公司 Test assignment executes method, apparatus, electronic equipment and computer storage medium
CN109840166B (en) * 2019-01-14 2021-03-30 京东数字科技控股有限公司 Cross-cluster object storage asynchronous backup method, device and system
CN110138637B (en) * 2019-05-16 2021-09-21 广东信通通信有限公司 Test data processing method and device, computer equipment and storage medium
CN110309065B (en) * 2019-06-03 2023-05-30 平安科技(深圳)有限公司 Concurrent execution method, device and equipment of test tasks and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645036A (en) * 2009-09-11 2010-02-10 兰雨晴 Method for automatically distributing test tasks based on capability level of test executor
CN103412815A (en) * 2013-08-12 2013-11-27 浪潮电子信息产业股份有限公司 RMC software automated testing method mainly based on expect tool

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8407662B2 (en) * 2010-06-25 2013-03-26 Wyse Technology Inc. Apparatus and method for network driver injection into target image

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645036A (en) * 2009-09-11 2010-02-10 兰雨晴 Method for automatically distributing test tasks based on capability level of test executor
CN103412815A (en) * 2013-08-12 2013-11-27 浪潮电子信息产业股份有限公司 RMC software automated testing method mainly based on expect tool

Also Published As

Publication number Publication date
CN104978259A (en) 2015-10-14

Similar Documents

Publication Publication Date Title
CN104978259B (en) Mobile device software automated testing group system and its method of testing
US20160179495A1 (en) Device and method for packaging application
WO2017161984A1 (en) Method, device and system for deploying data clusters, and computer storage medium
US10853227B2 (en) Systems and methods for modular test platform for applications
CN109218139B (en) Gateway test system
US9600389B2 (en) Generating performance and capacity statistics
CN104978529A (en) Exception handling method, exception handling system and exception handling server for webpage front end
CN104978258A (en) Software automation test method and system
US10516734B2 (en) Computer servers for datacenter management
KR102328938B1 (en) Management of log data in electronic systems
Arouk et al. Kube5g: A cloud-native 5g service platform
CN114363042B (en) Log analysis method, device, equipment and readable storage medium
de Carvalho et al. A cloud monitoring framework for self-configured monitoring slices based on multiple tools
CN102497293A (en) Hardware test analysis method of large-scale server
CN100396026C (en) System and method for testing apparatus based on managing information base
CN111782317A (en) Page testing method and device, storage medium and electronic device
CN111651352B (en) Warehouse code merging method and device
CN107230032A (en) A kind of electronic device manages big data analysis system
CN111245671B (en) Automatic integrated test system for ground test of satellite laser communication terminal
CN102377610B (en) Automatic testing system and automatic testing method for simple network management protocol
CN102572806A (en) Mobile terminal adapting system and method based on Msky platform
CN102521339A (en) System and method for dynamic access of data sources
KR101736382B1 (en) Ems server and log data management method thereof
CN102377580B (en) The method for uploading of performance data and equipment
US11687349B1 (en) Interconnection discovery for automated standards assay

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant