[go: up one dir, main page]

CN111488268A - Scheduling method and scheduling device for automated testing - Google Patents

Scheduling method and scheduling device for automated testing Download PDF

Info

Publication number
CN111488268A
CN111488268A CN201910073097.1A CN201910073097A CN111488268A CN 111488268 A CN111488268 A CN 111488268A CN 201910073097 A CN201910073097 A CN 201910073097A CN 111488268 A CN111488268 A CN 111488268A
Authority
CN
China
Prior art keywords
mobile device
tested
test
execution script
scheduling
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
CN201910073097.1A
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201910073097.1A priority Critical patent/CN111488268A/en
Publication of CN111488268A publication Critical patent/CN111488268A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a scheduling method and a scheduling device for automatic testing, and relates to the technical field of computers. One embodiment of the method comprises: receiving a scheduling task of an automatic test, and determining at least one mobile device to be tested from a pre-established device pool according to the scheduling task; acquiring an execution script and a product test packet corresponding to a scheduling task, and sending the product test packet to at least one mobile device to be tested; and utilizing the execution script to carry out concurrent testing on at least one mobile device to be tested for installing the product test package. According to the embodiment, the mobile equipment to be tested can be determined from the equipment pool according to the scheduling task, then the mobile equipment to be tested is tested by utilizing the execution script and the product test packet, the effect of testing multiple mobile equipment simultaneously is achieved, the method is suitable for testing the mobile equipment of various systems, the working efficiency of automatic testing is improved, and the automatic testing time is shortened.

Description

自动化测试的调度方法和调度装置Scheduling method and scheduling device for automated testing

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种自动化测试的调度方法和调度装置。The invention relates to the technical field of computers, and in particular, to a scheduling method and a scheduling device for automated testing.

背景技术Background technique

智能化时代的来临,越来越多的人具有一台或者多台移动设备,同时随着人们的需求越来越广泛,安装在移动设备上的应用程序的种类和功能也是不断更新的。在新的应用程序上线或者原有应用程序的新版本上线时,需要对应用程序的多种版本进行产品测试,以保证给用户带来好的用户体验。考虑到移动设备的品牌和型号非常多,目前通用的解决方案是借助开源测试工具对大品牌的移动设备进行自动化测试。With the advent of the era of intelligence, more and more people have one or more mobile devices. At the same time, as people's needs become more and more extensive, the types and functions of applications installed on mobile devices are constantly updated. When a new application is launched or a new version of an original application is launched, product testing of multiple versions of the application is required to ensure a good user experience for the user. Considering that there are many brands and models of mobile devices, the current general solution is to use open source testing tools to automate testing of mobile devices of major brands.

现有的开源测试工具主要有:Appium(即,一个移动端的自动化框架,可用于测试原生应用、移动网页应用和混合型应用)、SDK(即,Software Development Kit,是一些被软件工程师用于为特定的软件包、软件框架、硬件平台、操作系统等建立应用软件的开发工具的集合)、TestNG(即,一个设计用来简化广泛的测试需求的测试框架)以及WebDriverAgent(即,一款移动操作系统iOS的移动测试框架)等。The existing open source testing tools mainly include: Appium (ie, a mobile-side automation framework that can be used to test native applications, mobile web applications and hybrid applications), SDK (ie, Software Development Kit, which are some of the tools used by software engineers for testing Specific software packages, software frameworks, hardware platforms, operating systems, etc. to build a collection of development tools for application software), TestNG (ie, a testing framework designed to simplify a wide range of testing needs), and WebDriverAgent (ie, a mobile operator System iOS mobile testing framework) and so on.

在实现本发明过程中,发明人发现现有技术中至少存在如下问题:现有技术借助开源测试工具对移动设备进行测试,不能并发的测试移动设备,因此只选择大品牌的移动设备进行自动化测试,会降低测试结果准确率,且花费时间较多;此外,现有技术借助的开源测试工具具有环境安装比较繁琐、可移植性比较差以及系统兼容性较差等缺陷。In the process of implementing the present invention, the inventor found that there are at least the following problems in the prior art: the prior art tests mobile devices with the help of open source testing tools, and cannot test mobile devices concurrently, so only large-brand mobile devices are selected for automated testing , which will reduce the accuracy of the test results and take a lot of time; in addition, the open source test tools used in the prior art have the defects of cumbersome environment installation, poor portability, and poor system compatibility.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明实施例提供一种自动化测试的调度方法和调度装置,能够达到并发测试多台移动设备的效果,并且适用于对各种系统的移动设备进行测试,提高了自动化测试的工作效率,减少了自动化测试时间。In view of this, the embodiments of the present invention provide a scheduling method and a scheduling device for automated testing, which can achieve the effect of concurrently testing multiple mobile devices, and are suitable for testing mobile devices of various systems, thereby improving the work of automated testing. Efficiency, reducing automated testing time.

为实现上述目的,根据本发明实施例的一个方面,提供了一种自动化测试的调度方法。To achieve the above object, according to an aspect of the embodiments of the present invention, a scheduling method for automated testing is provided.

本发明实施例的一种自动化测试的调度方法,包括:接收自动化测试的调度任务,并根据所述调度任务,从预建的设备池中确定至少一个待测试的移动设备;获取所述调度任务对应的执行脚本和产品测试包,并将所述产品测试包发送到所述至少一个待测试的移动设备;利用所述执行脚本对安装所述产品测试包的所述至少一个待测试的移动设备进行并发测试。A method for scheduling an automated test according to an embodiment of the present invention includes: receiving a scheduling task for an automated test, and according to the scheduling task, determining at least one mobile device to be tested from a pre-built device pool; acquiring the scheduling task Corresponding execution script and product test package, and send the product test package to the at least one mobile device to be tested; use the execution script to install the product test package on the at least one mobile device to be tested Do concurrency tests.

可选地,在从预建的设备池中确定至少一个待测试的移动设备之前,所述方法还包括:获取所有需要测试的移动设备组;针对所述移动设备组中的一个移动设备,建立与所述移动设备的连接,获取已连接的所述移动设备的设备信息,并将所述设备信息上传至数据库中,以完成所述设备池的构建。Optionally, before determining at least one mobile device to be tested from a pre-built device pool, the method further includes: acquiring all mobile device groups that need to be tested; for one mobile device in the mobile device group, establishing Connect with the mobile device, obtain the device information of the connected mobile device, and upload the device information to the database, so as to complete the construction of the device pool.

可选地,根据所述调度任务,从预建的设备池中确定至少一个待测试的移动设备,包括:根据所述调度任务,获取目标移动设备组;针对所述目标移动设备组中的每个目标移动设备,判断所述设备池中是否存在所述目标移动设备,并且所述目标移动设备处于连接状态,若是,则确定所述目标移动设备为待测试的移动设备。Optionally, determining at least one mobile device to be tested from a pre-built device pool according to the scheduling task includes: obtaining a target mobile device group according to the scheduling task; for each mobile device in the target mobile device group determining whether the target mobile device exists in the device pool and the target mobile device is in a connected state, and if so, determining that the target mobile device is the mobile device to be tested.

可选地,获取所述调度任务对应的执行脚本和产品测试包,包括:确定所述调度任务对应的执行脚本地址和产品测试包地址;利用所述执行脚本地址,从自动化测试执行脚本库中拉取所述执行脚本;利用所述产品测试包地址,从产品测试包库中拉取所述产品测试包。Optionally, acquiring the execution script and the product test package corresponding to the scheduling task includes: determining the execution script address and the product test package address corresponding to the scheduling task; using the execution script address, from the automated test execution script library. Pulling the execution script; using the product testing package address, pulling the product testing package from the product testing package library.

可选地,利用所述执行脚本对安装所述产品测试包的所述至少一个待测试的移动设备进行并发测试,包括:启动自动化测试工具对所述执行脚本进行编译;针对安装所述产品测试包的所述至少一个待测试的移动设备中的每个移动设备,分配测试端口;基于所述测试接口,利用编译的所述执行脚本对所述每个移动设备进行并发测试。Optionally, using the execution script to perform concurrent testing on the at least one mobile device to be tested installed with the product test package includes: starting an automated test tool to compile the execution script; testing for installing the product For each mobile device in the at least one mobile device to be tested of the package, a test port is allocated; based on the test interface, the compiled execution script is used to perform concurrent testing on each mobile device.

可选地,在利用所述执行脚本对安装所述产品测试包的所述至少一个待测试的移动设备进行自动化测试之后,所述方法还包括:获取自动化测试结果,并将所述自动化测试结果上传至数据库。Optionally, after using the execution script to perform an automated test on the at least one mobile device to be tested installed with the product test package, the method further includes: acquiring an automated test result, and storing the automated test result. Upload to database.

为实现上述目的,根据本发明实施例的又一方面,提供了一种自动化测试的调度装置。To achieve the above object, according to yet another aspect of the embodiments of the present invention, a scheduling apparatus for automated testing is provided.

本发明实施例的一种自动化测试的调度装置,包括:确定模块,用于接收自动化测试的调度任务,并根据所述调度任务,从预建的设备池中确定至少一个待测试的移动设备;获取模块,用于获取所述调度任务对应的执行脚本和产品测试包,并将所述产品测试包发送到所述至少一个待测试的移动设备;测试模块,用于利用所述执行脚本对安装所述产品测试包的所述至少一个待测试的移动设备进行并发测试。A scheduling device for automated testing according to an embodiment of the present invention includes: a determination module configured to receive a scheduling task for automated testing, and determine at least one mobile device to be tested from a pre-built device pool according to the scheduling task; an acquisition module, used to acquire an execution script and a product test package corresponding to the scheduling task, and send the product test package to the at least one mobile device to be tested; a test module, used to use the execution script to install The at least one mobile device to be tested of the product test package performs concurrent testing.

可选地,所述装置还包括构建模块,用于:获取所有需要测试的移动设备组;针对所述移动设备组中的一个移动设备,建立与所述移动设备的连接,获取已连接的所述移动设备的设备信息,并将所述设备信息上传至数据库中,以完成所述设备池的构建。Optionally, the device further includes a building module for: acquiring all mobile device groups that need to be tested; for a mobile device in the mobile device group, establishing a connection with the mobile device, and acquiring all connected mobile devices. The device information of the mobile device is uploaded, and the device information is uploaded to the database, so as to complete the construction of the device pool.

可选地,所述确定模块还用于:根据所述调度任务,获取目标移动设备组;针对所述目标移动设备组中的每个目标移动设备,判断所述设备池中是否存在所述目标移动设备,并且所述目标移动设备处于连接状态,若是,则确定所述目标移动设备为待测试的移动设备。Optionally, the determining module is further configured to: obtain a target mobile device group according to the scheduling task; for each target mobile device in the target mobile device group, determine whether the target exists in the device pool mobile device, and the target mobile device is in a connected state, if so, determine that the target mobile device is the mobile device to be tested.

可选地,所述获取模块还用于:确定所述调度任务对应的执行脚本地址和产品测试包地址;利用所述执行脚本地址,从自动化测试执行脚本库中拉取所述执行脚本;利用所述产品测试包地址,从产品测试包库中拉取所述产品测试包。Optionally, the obtaining module is further configured to: determine the execution script address and the product test package address corresponding to the scheduling task; use the execution script address to pull the execution script from the automated test execution script library; use the execution script address For the address of the product test package, pull the product test package from the product test package library.

可选地,所述测试模块还用于:启动自动化测试工具对所述执行脚本进行编译;针对安装所述产品测试包的所述至少一个待测试的移动设备中的每个移动设备,分配测试端口;基于所述测试接口,利用编译的所述执行脚本对所述每个移动设备进行并发测试。Optionally, the test module is further configured to: start an automated test tool to compile the execution script; for each mobile device in the at least one mobile device to be tested installed with the product test package, assign a test port; based on the test interface, use the compiled execution script to perform concurrent testing on each mobile device.

可选地,所述测试模块还用于:获取自动化测试结果,并将所述自动化测试结果上传至数据库。Optionally, the test module is further configured to: acquire automated test results, and upload the automated test results to a database.

为实现上述目的,根据本发明实施例的再一方面,提供了一种电子设备。To achieve the above object, according to yet another aspect of the embodiments of the present invention, an electronic device is provided.

本发明实施例的一种电子设备包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现本发明实施例的自动化测试的调度方法。An electronic device according to an embodiment of the present invention includes: one or more processors; and a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more programs The processor implements the automatic test scheduling method of the embodiment of the present invention.

为实现上述目的,根据本发明实施例的又一方面,提供了一种计算机可读介质。To achieve the above object, according to yet another aspect of the embodiments of the present invention, a computer-readable medium is provided.

本发明实施例的一种计算机可读介质,其上存储有计算机程序,程序被处理器执行时实现本发明实施例的自动化测试的调度方法。A computer-readable medium according to an embodiment of the present invention stores a computer program thereon, and when the program is executed by a processor, the automatic test scheduling method according to the embodiment of the present invention is implemented.

上述发明中的一个实施例具有如下优点或有益效果:能够根据调度任务从设备池中确定待测试的移动设备,然后利用执行脚本和产品测试包对待测试的移动设备进行测试,达到并发测试多台移动设备的效果,并且适用于对各种系统的移动设备进行测试,提高了自动化测试的工作效率,减少了自动化测试时间;本发明实施例中构建设备池的时候,需要建立与所有移动设备的连接,获取设备信息,并将设备信息上传至服务器的数据库中,从而可以构建设备池,并实现依靠服务器监控移动设备的目的;本发明实施例中首先根据调度任务,确定需要进行目标移动设备组,然后通过预先构建的设备池中目标移动设备的相关信息,从目标移动设备组中筛选出待测试的移动设备,从而可以实现并发测试移动设备,也可以保证待测试的移动设备均处于在线连接状态,提高自动化测试的准确率;本发明实施例中设备信息可以包括品牌、型号、系统版本、分辨率、已安装程序包、设备的唯一标识以及与设备建立连接的客户端的唯一标识,从而可以在对移动设备进行自动化测试时,生成详细的自动化测试结果;本发明实施例中调度任务中包含自动化测试的执行脚本地址和产品测试包地址,从而可以拉取到执行脚本和产品测试包;本发明实施例中针对每个待测试的移动设备,均分配一个测试端口,然后利用测试端口进行自动化测试,从而可以达到并发测试移动设备的效果;本发明实施例中在进行自动化测试之后,获取测试结果,并将测试结果上传至服务器的数据库中,从而可以方便工作人员直接查看测试结果,并根据测试结果优化产品。One embodiment of the above invention has the following advantages or beneficial effects: the mobile device to be tested can be determined from the device pool according to the scheduling task, and then the mobile device to be tested can be tested by using the execution script and the product test package, so as to achieve concurrent testing of multiple devices. The effect of the mobile device, and it is suitable for testing mobile devices of various systems, which improves the work efficiency of automated testing and reduces the automated testing time; when building a device pool in the embodiment of the present invention, it is necessary to establish and all mobile devices. Connect, obtain device information, and upload the device information to the database of the server, so that a device pool can be built, and the purpose of monitoring mobile devices by relying on the server can be realized; in the embodiment of the present invention, first, according to the scheduling task, it is determined that the target mobile device group needs to be carried out. , and then filter the mobile devices to be tested from the target mobile device group through the relevant information of the target mobile devices in the pre-built device pool, so that the mobile devices to be tested can be tested concurrently, and the mobile devices to be tested can be guaranteed to be online. state, and improve the accuracy of automated testing; in the embodiment of the present invention, the device information may include brand, model, system version, resolution, installed program package, the unique identifier of the device, and the unique identifier of the client that establishes a connection with the device, so that it can be When an automated test is performed on the mobile device, a detailed automated test result is generated; in the embodiment of the present invention, the scheduling task includes the execution script address and the product test package address of the automated test, so that the execution script and the product test package can be pulled; In the embodiment of the invention, a test port is allocated for each mobile device to be tested, and then the test port is used to perform automated testing, so as to achieve the effect of concurrently testing the mobile devices; in the embodiment of the present invention, after the automated test is performed, the test port is obtained. The test results are uploaded to the database of the server, so that the staff can directly view the test results and optimize the product according to the test results.

上述的非惯用的可选方式所具有的进一步效果将在下文中结合具体实施方式加以说明。Further effects of the above non-conventional alternatives will be described below in conjunction with specific embodiments.

附图说明Description of drawings

附图用于更好地理解本发明,不构成对本发明的不当限定。其中:The accompanying drawings are used for better understanding of the present invention and do not constitute an improper limitation of the present invention. in:

图1是根据本发明实施例的自动化测试的调度方法的主要步骤的示意图;1 is a schematic diagram of main steps of a scheduling method for automated testing according to an embodiment of the present invention;

图2是根据本发明一个可参考实施例的自动化测试的调度方法的主要流程的示意图;FIG. 2 is a schematic diagram of the main flow of a scheduling method for automated testing according to a referenced embodiment of the present invention;

图3是根据本发明实施例的自动化测试的调度装置的主要模块的示意图;3 is a schematic diagram of main modules of an automated test scheduling device according to an embodiment of the present invention;

图4是本发明实施例可以应用于其中的示例性系统架构图;4 is an exemplary system architecture diagram to which an embodiment of the present invention may be applied;

图5是适于用来实现本发明实施例的终端设备或服务器的计算机系统的结构示意图。FIG. 5 is a schematic structural diagram of a computer system suitable for implementing a terminal device or a server according to an embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图对本发明的示范性实施例做出说明,其中包括本发明实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本发明的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.

图1是根据本发明实施例的自动化测试的调度方法的主要步骤的示意图。作为本发明的一个可参考实施例,如图1所示,本发明实施例的自动化测试的调度方法的主要步骤可以包括:FIG. 1 is a schematic diagram of main steps of an automated test scheduling method according to an embodiment of the present invention. As a referenced embodiment of the present invention, as shown in FIG. 1 , the main steps of the automatic test scheduling method of the embodiment of the present invention may include:

步骤S101:接收自动化测试的调度任务,并根据调度任务,从预建的设备池中确定至少一个待测试的移动设备。本发明的自动化测试的调度方法应用于客户端,客户端与移动设备建立连接,形成一个设备池。在这个设备池中有多个客户端,每个客户端都与移动设备建立连接。调度任务是由监控客户端的服务器发送的,调度任务中包括需要对哪个客户端中的哪些设备进行自动化测试。若客户端接收到服务器发送的调度任务,说明与该客户端建立的移动设备中有需要测试的设备。或者说,如果某次服务器没有向客户端发送调度任务,则说明此次调度任务中,该客户端上连接的移动设备不需要进行测试。Step S101: Receive a scheduling task of the automated test, and determine at least one mobile device to be tested from a pre-built device pool according to the scheduling task. The automatic test scheduling method of the present invention is applied to the client, and the client establishes a connection with the mobile device to form a device pool. There are multiple clients in this device pool, and each client establishes a connection with a mobile device. The scheduling task is sent by the server monitoring the client, and the scheduling task includes which devices in which client need to be automated tested. If the client receives the scheduling task sent by the server, it means that there are mobile devices established with the client that need to be tested. In other words, if the server does not send a scheduling task to the client at a certain time, it means that in this scheduling task, the mobile device connected to the client does not need to be tested.

以客户端为个人计算机(Personal Computer,简称PC,本发明中的PC均是指可以实现本发明的自动化测试的调度方法的电子设备,也就是指本发明中的PC中已经安装可以实现本发明的自动化测试的调度方法的应用程序或者是测试调度包),移动设备为手机为例,假设设备池中有3台序号分别为A、B和C的PC,序号为A的PC与15部手机建立连接,序号为A1到A15,序号为B的PC与20部手机建立连接,序号为B1到B20,序号为C的PC与18部手机建立连接,序号为C1到C18。当服务器需要对手机A10到A14,以及手机B1进行测试的时候,服务器会向序号为A的PC发送对手机A10到A14进行测试的调度任务,也会向序号为B的PC发送对手机B1进行测试的调度任务。由于此时不需要对手机C1到C18进行测试,因此服务器不向序号为C的PC发送调度任务。Taking the client as a personal computer (Personal Computer, referred to as PC for short, the PC in the present invention refers to an electronic device that can implement the scheduling method of the automated test of the present invention, that is, the PC in the present invention has been installed in the present invention and can implement the present invention. The automatic test scheduling method application or test scheduling package), the mobile device is a mobile phone as an example, assuming that there are 3 PCs with serial numbers A, B and C in the device pool, PC with serial number A and 15 mobile phones To establish a connection, the serial number is A1 to A15, the serial number is B to establish a connection with 20 mobile phones, the serial number is B1 to B20, and the serial number is C to establish a connection with 18 mobile phones, the serial number is C1 to C18. When the server needs to test mobile phones A10 to A14 and mobile phone B1, the server will send a scheduling task to test mobile phones A10 to A14 to the PC with serial number A, and will also send the PC with serial number B to test mobile phone B1. The scheduled task for the test. Since the mobile phones C1 to C18 do not need to be tested at this time, the server does not send the scheduling task to the PC whose serial number is C.

作为本发明的又一个可参考实施例,上述步骤S101中从设备池中选择待测试的移动设备,可以确定设备池的构建很重要,因此本发明中在从预建的设备池中确定至少一个待测试的移动设备之前,自动化测试的调度方法还可以包括:获取所有需要测试的移动设备组;针对移动设备组中的一个移动设备,建立与移动设备的连接,获取已连接的移动设备的设备信息,并将设备信息上传至数据库中,以完成设备池的构建。本发明中建立客户端与所有移动设备的连接,这样可以形成一个设备池,每次调度任务来临时,直接从设备池中选择设备,克服了现有技术中有些测试不会针对所有系统的设备进行测试的缺陷。本发明中提前构建了设备池,设备池可以存放着各种系统的各种型号的移动设备。在与移动设备建立连接之后,将设备信息存储在服务器的数据库中,这样就可以通过数据库查找连接信息,方便服务器发送调度任务。本发明的数据库是指服务器的数据库,用于保存建立连接的设备信息,如果数据库中包含某移动设备的设备信息,则说明该移动设备与客户端建立连接。这样服务器发送调度任务的时候,可以根据数据库中的设备信息生成调度任务,但是不可避免服务器出现异常故障的情况。As another referenced embodiment of the present invention, the mobile device to be tested is selected from the device pool in the above step S101, and it can be determined that the construction of the device pool is very important. Therefore, in the present invention, at least one mobile device is determined from the pre-built device pool. Before the mobile device to be tested, the scheduling method for automated testing may further include: acquiring all mobile device groups to be tested; establishing a connection with the mobile device for one mobile device in the mobile device group, and acquiring the device of the connected mobile device information, and upload the device information to the database to complete the construction of the device pool. In the present invention, the connection between the client and all mobile devices is established, so that a device pool can be formed, and each time a scheduling task comes, the device is directly selected from the device pool, which overcomes the fact that some tests in the prior art do not target all system devices. Defects to be tested. In the present invention, a device pool is constructed in advance, and the device pool can store various types of mobile devices of various systems. After the connection with the mobile device is established, the device information is stored in the database of the server, so that the connection information can be searched through the database, and it is convenient for the server to send the scheduling task. The database of the present invention refers to the database of the server, which is used to save the device information for establishing the connection. If the database contains the device information of a certain mobile device, it means that the mobile device establishes a connection with the client. In this way, when the server sends the scheduling task, the scheduling task can be generated according to the device information in the database, but the abnormal failure of the server is unavoidable.

此外,本发明实施例中建立与移动设备的连接可以通过通用串行总线(UniversalSerial Bus,简称USB)建立移动设备与客户端的直接连接,也可以是使用蓝牙建立移动设备与客户端的网络连接,当然也可以采用其他连接方式,但是考虑到数据传输的稳定性,优选方案是使用USB建立移动设备与客户端的直接连接。建立连接之后,客户端可以识别移动设备的设备信息,然后将设备信息上传至服务器的数据库中,从而可以达到服务器监控移动设备的目的。In addition, in the embodiment of the present invention, the connection with the mobile device may be established through a Universal Serial Bus (Universal Serial Bus, USB for short) to establish a direct connection between the mobile device and the client, or Bluetooth may be used to establish a network connection between the mobile device and the client. Of course, Other connection methods can also be used, but considering the stability of data transmission, the preferred solution is to use USB to establish a direct connection between the mobile device and the client. After the connection is established, the client can identify the device information of the mobile device, and then upload the device information to the database of the server, so that the server can monitor the mobile device.

本发明实施例中,设备信息可以包括:设备的品牌信息、设备的型号信息、设备的系统版本信息、设备的分辨率信息、设备的已安装程序包信息、设备的唯一标识信息以及与设备建立连接的客户端的唯一标识信息。设备的品牌信息是指设备的品牌,比如,华为、中兴、小米、或者苹果iphone等等;设备的型号信息,比如,华为的P10、小米的红米2S、或者是苹果iphone的6s等等;设备的分辨率信息是指屏幕的分辨率,分辨率越高说明屏幕显示越清晰,比如,240*320、320*480或者640*960等等;设备的已安装程序包信息是指在设备上安装的第三方程序包信息,例如,微信、京东、或者爱奇艺等等;设备的唯一标识信息是指设备的唯一标识号,代表设备的身份信息;与设备建立连接的客户端的唯一标识信息是指与设备建立连接的客户端的身份信息,以客户端为PC为例,PC的唯一标识可以通过PC的互联网协议地址和物理地址获取。本发明实施例中的设备信息包括与设备建立连接的客户端的唯一标识信息,这样的好处是服务器的数据库中会存储哪些客户端与哪些移动设备建立连接,从而可以保证服务器可以将调度任务发送至对应的客户端,减少了测试的时间,提高测试的效率。In this embodiment of the present invention, the device information may include: brand information of the device, model information of the device, system version information of the device, resolution information of the device, installed program package information of the device, unique identification information of the device, and information established with the device Unique identification information for the connected client. The brand information of the device refers to the brand of the device, such as Huawei, ZTE, Xiaomi, or Apple iPhone, etc.; the model information of the device, such as Huawei's P10, Xiaomi's Redmi 2S, or Apple's iPhone 6s, etc.; The resolution information of the device refers to the resolution of the screen. The higher the resolution, the clearer the screen display, such as 240*320, 320*480 or 640*960, etc.; the installed package information of the device refers to Installed third-party package information, such as WeChat, JD.com, or iQiyi, etc.; the unique identification information of the device refers to the unique identification number of the device, which represents the identity information of the device; the unique identification information of the client that establishes a connection with the device Refers to the identity information of the client that establishes a connection with the device. Taking the client as a PC as an example, the unique identifier of the PC can be obtained through the Internet Protocol address and physical address of the PC. The device information in this embodiment of the present invention includes the unique identification information of the client that establishes a connection with the device. This has the advantage that which clients establish connections with which mobile devices are stored in the database of the server, thereby ensuring that the server can send scheduling tasks to The corresponding client reduces the test time and improves the test efficiency.

以移动设备为安卓系统的手机,客户端为PC为例,PC可以通过安卓系统设备的SDK来识别设备的品牌、型号、系统版本、分辨率、已安装的第三方程序包、唯一识别号,并将这些信息同PC的IP地址、MAC地址通过http接口(一种基于超文本传输协议http服务的应用程序界面,本发明中也可以是其他方法,对此不做限定)上传至服务器的数据库中。以移动设备为苹果系统的手机,客户端为PC为例,PC可以通过通过苹果系统设备的libimobiledevice(又称libiphone,是一个开源包)来识别设备的品牌、型号、系统版本、分辨率、已安装的第三方程序包、唯一识别号,并将这些信息同PC的IP地址、MAC地址通过http接口上传至服务器的数据库中。Taking the mobile device as an Android phone and the client as a PC as an example, the PC can identify the brand, model, system version, resolution, installed third-party program package, and unique identification number of the device through the SDK of the Android device. And these information are uploaded to the database of the server with the IP address and MAC address of the PC through the http interface (a kind of application program interface based on the hypertext transfer protocol http service, other methods can also be used in the present invention, which is not limited). middle. Taking the mobile device as the mobile phone of the Apple system and the client as the PC, the PC can identify the brand, model, system version, resolution, and status of the device through the libimobiledevice (also known as libiphone, which is an open source package) of the Apple system device. Installed third-party program package, unique identification number, and upload this information together with the PC's IP address and MAC address to the server's database through the http interface.

作为本发明的又一个可参考实施例,上述步骤S101中的根据调度任务,从预建的设备池中确定至少一个待测试的移动设备,可以包括:根据调度任务,获取需要进行自动化测试的目标移动设备组;针对目标移动设备组中的每个目标移动设备,判断设备池中是否存在该目标移动设备,并且该目标移动设备处于连接状态,若是,则确定该目标移动设备为待测试的移动设备。本发明实施例在接收到调度任务之后,需要确定设备池中,是否存在调度任务中的需要测试的移动设备,如果存在,还需要判断这个移动设备是否与客户端建立连接状态,只有这两个条件均满足的情况,才可以对这个移动设备进行测试。As another referenced embodiment of the present invention, determining at least one mobile device to be tested from a pre-built device pool according to a scheduling task in the above step S101 may include: obtaining a target to be automated testing according to the scheduling task Mobile device group; for each target mobile device in the target mobile device group, determine whether the target mobile device exists in the device pool, and the target mobile device is in a connected state, if so, determine that the target mobile device is the mobile device to be tested equipment. In this embodiment of the present invention, after receiving the scheduling task, it is necessary to determine whether there is a mobile device to be tested in the scheduling task in the device pool, and if so, it is also necessary to determine whether the mobile device has established a connection state with the client. Only these two Only if the conditions are met, the mobile device can be tested.

步骤S102:获取调度任务对应的执行脚本和产品测试包,并将产品测试包发送到至少一个待测试的移动设备。本发明实施例在步骤S101中接收服务器发送的调度任务,然后根据调度任务获取到此次调度任务对应的执行脚本和产品测试包。其中执行脚本是自动化测试脚本,用于对移动设备进行测试,产品测试包是指需要测试的产品初始化程序包。例如,调度任务需要对新发版的某应用程序包进行测试,则首先从服务器中获取到该应用程序包,同时需要获取执行此次自动化测试的执行脚本。客户端在获取到产品测试包之后,将该产品测试包发送到待测试的移动设备,因为待测试的移动设备是处于在线状态(即,移动设备与客户端连接中),因此待测试的移动设备可以生成可执行的测试执行文件testng.xml,并唤醒移动设备安装产品测试包。Step S102: Acquire an execution script and a product test package corresponding to the scheduling task, and send the product test package to at least one mobile device to be tested. In this embodiment of the present invention, in step S101, a scheduling task sent by a server is received, and then an execution script and a product test package corresponding to this scheduling task are acquired according to the scheduling task. The execution script is an automated test script used to test the mobile device, and the product test package refers to a product initialization program package that needs to be tested. For example, if the scheduling task needs to test a new version of an application package, the application package is first obtained from the server, and the execution script for executing the automated test needs to be obtained at the same time. After acquiring the product test package, the client sends the product test package to the mobile device to be tested, because the mobile device to be tested is in an online state (that is, the mobile device is The device can generate an executable test execution file testng.xml, and wake up the mobile device to install the product test package.

作为本发明的再一个可参考实施例,上述步骤S102中的获取调度任务对应的执行脚本和产品测试包,可以包括:确定调度任务对应的执行脚本地址和产品测试包地址;利用执行脚本地址,从自动化测试执行脚本库中拉取执行脚本;利用产品测试包地址,从产品测试包库中拉取产品测试包。本发明实施例中的服务器中有自动化测试脚本库和产品测试包库。其中,自动化测试脚本库中存储各种执行脚本,用于对产品进行测试,比如,功能测试执行脚本或者业务测试执行脚本等等;产品测试包库中存储开发人员开发的各种版本的应用程序初始包,比如,P产品的第一版本程序包、P产品的第二版本程序包、以及S产品的第一版本程序包等等。As yet another referenced embodiment of the present invention, obtaining the execution script and the product test package corresponding to the scheduling task in the above step S102 may include: determining the execution script address and the product test package address corresponding to the scheduling task; using the execution script address, Pull the execution script from the automated test execution script library; use the product test package address to pull the product test package from the product test package library. The server in the embodiment of the present invention includes an automated test script library and a product test package library. Among them, the automated test script library stores various execution scripts for testing the product, such as functional test execution scripts or business test execution scripts, etc.; the product test package library stores various versions of application programs developed by developers Initial packages, for example, the first version package of the P product, the second version package of the P product, the first version package of the S product, and so on.

以客户端为PC,移动设备为手机为例,该PC与15部手机建立连接,序号为A1到A15,调度任务包括对手机A1至A5进行P产品测试包进行测试和对手机A6至手机A8进行S产品测试包进行测试,该PC可以从调度任务中获取P产品测试包和S产品测试包,然后该PC将P产品测试包发送至手机A1至A5,将S产品测试包发送至手机A6至A8。同时,该PC也会从调度任务中获取对P产品测试包进行测试的执行脚本地址和对S产品测试包进行测试的执行脚本地址,然后拉取执行脚本。Taking the client as a PC and the mobile device as a mobile phone as an example, the PC establishes connections with 15 mobile phones, the serial numbers are A1 to A15, and the scheduling tasks include testing the P product test package for mobile phones A1 to A5 and mobile phones A6 to A8 Carry out the S product test package for testing, the PC can obtain the P product test package and the S product test package from the scheduling task, and then the PC sends the P product test package to mobile phones A1 to A5, and the S product test package to mobile phone A6 to A8. At the same time, the PC also obtains the address of the execution script for testing the P product test package and the address of the execution script for testing the S product test package from the scheduling task, and then pulls the execution script.

步骤S103:利用执行脚本对安装产品测试包的至少一个待测试的移动设备进行并发测试。在上述步骤S102中获取到执行脚本,并且将产品测试包发送至待测试的移动设备之后,客户端可以利用执行脚本对移动设备进行测试。Step S103: Use the execution script to perform concurrent testing on at least one mobile device to be tested installed with the product test package. After the execution script is acquired in the above step S102 and the product test package is sent to the mobile device to be tested, the client can use the execution script to test the mobile device.

作为本发明的又一个可参考实施例,上述步骤S103中的利用执行脚本对安装产品测试包的至少一个待测试的移动设备进行并发测试,可以包括:启动自动化测试工具对执行脚本进行编译;针对安装产品测试包的至少一个待测试的移动设备中的每个移动设备,分配测试端口;基于测试接口,利用编译的执行脚本对每个移动设备进行并发测试。本发明实施例中的自动化测试工具集成了现有的开源测试工具,可以利用测试工具的功能,同时也可以避免安装测试工具的繁琐步骤。本发明实施例中,在客户端获取到执行脚本之后,会自动启动自动化测试工具对执行脚本进行编译,并且会为每一个待测试的移动设备分配一个测试端口,利用这个端口进行自动化测试。以客户端为PC,移动设备为手机为例,PC会分配一个未被占用的PC端口,并启动自动化测试工具中的Appium用来与手机交互实现模拟点击操作,进而完成对手机进行自动化测试。现有技术中,针对不同系统的手机,需要有不同的版本的Appium,但是本发明实施例中利用Appium工具的测试功能,不需要基于Appium的界面环境,因此不用安装Appium,避免了系统版本兼容问题,同时也解决了安装环境繁琐的问题。As another referenced embodiment of the present invention, using the execution script in the above step S103 to perform concurrent testing on at least one mobile device to be tested installed with the product test package may include: starting an automated test tool to compile the execution script; A test port is allocated to each mobile device in the at least one mobile device to be tested in which the product test package is installed; based on the test interface, the compiled execution script is used to perform concurrent testing on each mobile device. The automated testing tool in the embodiment of the present invention integrates the existing open source testing tool, can utilize the functions of the testing tool, and can avoid the tedious steps of installing the testing tool. In the embodiment of the present invention, after the client obtains the execution script, an automated test tool is automatically started to compile the execution script, and a test port is allocated to each mobile device to be tested, and the port is used for automated testing. Taking the client as the PC and the mobile device as the mobile phone as an example, the PC will allocate an unoccupied PC port, and start the Appium in the automated test tool to interact with the mobile phone to simulate click operations, and then complete the automated test of the mobile phone. In the prior art, different versions of Appium are required for mobile phones of different systems, but in the embodiment of the present invention, the test function of the Appium tool is used, and an interface environment based on Appium is not required, so Appium does not need to be installed, which avoids the compatibility of system versions. It also solves the problem of cumbersome installation environment.

本发明实施例中,在利用执行脚本对安装产品测试包的至少一个待测试的移动设备进行自动化测试之后,自动化测试的调度方法还可以包括:获取自动化测试结果,并将自动化测试结果上传至数据库。本发明实施例中在进行自动化测试之后,获取测试结果,并将测试结果上传至服务器的数据库中,从而可以方便工作人员直接查看测试结果,并根据测试结果优化产品。In the embodiment of the present invention, after the automated test is performed on at least one mobile device to be tested installed with the product test package by using the execution script, the scheduling method for the automated test may further include: acquiring the automated test result, and uploading the automated test result to the database . In the embodiment of the present invention, after the automated test is performed, the test result is acquired and uploaded to the database of the server, so that it is convenient for the staff to directly view the test result and optimize the product according to the test result.

图2是根据本发明一个可参考实施例的自动化测试的调度方法的主要流程的示意图。如图2所示,本发明实施例的自动化测试的调度方法的主要流程可以包括:FIG. 2 is a schematic diagram of the main flow of an automated test scheduling method according to a referenced embodiment of the present invention. As shown in FIG. 2 , the main process of the scheduling method for automated testing according to the embodiment of the present invention may include:

步骤S201:建立与所有移动设备的连接,获取已连接的移动设备的设备信息,并将设备信息上传至数据库中,以完成设备池的构建;Step S201: establishing connections with all mobile devices, acquiring device information of the connected mobile devices, and uploading the device information to a database to complete the construction of the device pool;

步骤S202:客户端接收服务器发送的自动化测试的调度任务;Step S202: the client receives the scheduling task of the automated test sent by the server;

步骤S203:客户端根据调度任务,获取待测试的移动设备组;Step S203: the client obtains the mobile device group to be tested according to the scheduling task;

步骤S204:客户端从移动设备组中随机选择一个移动设备D;Step S204: the client randomly selects a mobile device D from the mobile device group;

步骤S205:客户端判断设备池中是否有移动设备D,并且与移动设备D保持连接状态,若是,则执行步骤S206,否则,执行步骤S207;Step S205: the client determines whether there is a mobile device D in the device pool, and maintains a connection state with the mobile device D, if so, executes step S206, otherwise, executes step S207;

步骤S206:客户端确定移动设备D为待测试的移动设备;Step S206: the client determines that the mobile device D is the mobile device to be tested;

步骤S207:客户端判断是否分析目标设备中的所有设备,若是,则执行步骤S208;Step S207: The client determines whether to analyze all the devices in the target device, and if so, executes Step S208;

步骤S208:客户端根据调度任务,获取测试待测试的移动设备的执行脚本地址和产品测试包地址;Step S208: the client obtains the execution script address and the product test package address of the mobile device to be tested for testing according to the scheduling task;

步骤S209:客户端利用执行脚本地址拉取测试待测试的移动设备的执行脚本,并对该执行脚本进行编译;Step S209: the client uses the execution script address to pull and test the execution script of the mobile device to be tested, and compile the execution script;

步骤S210:客户端利用产品测试包地址拉取需要测试的产品测试包,并将该产品测试包发送至待测试的移动设备;Step S210: the client uses the product test package address to pull the product test package to be tested, and sends the product test package to the mobile device to be tested;

步骤S211:待测试的移动设备获取到该产品测试包之后,自动生成执行测试文件,安装该产品测试包;Step S211: after the mobile device to be tested obtains the product test package, automatically generates an execution test file, and installs the product test package;

步骤S212:客户端为待测试的移动设备分配测试端口,并基于测试接口,利用编译的执行脚本对待测试的移动设备进行并发测试;Step S212: the client allocates a test port for the mobile device to be tested, and uses the compiled execution script to perform concurrent testing on the mobile device to be tested based on the test interface;

步骤S213:客户端生成自动化测试结果,并将自动化测试结果上传至服务器的数据库中。Step S213: The client generates an automated test result, and uploads the automated test result to the database of the server.

值得注意的是,本发明实施例中服务器对所有的客户端进行监控,监控每个客户端上连接的移动设备,然后生成调度任务,向客户端发送调度任务,如果此次调度任务中,不需要对某客户端上的移动设备进行测试,则不会向该客户端发送调度任务。此外,服务器还监控客户端上移动设备的新增与删除。此外,本发明实施例中有多个客户端,步骤S201中建立与所有移动设备的连接是分别建立每个客户端和与这个客户端对应的移动设备的连接。It is worth noting that in this embodiment of the present invention, the server monitors all clients, monitors the mobile devices connected to each client, generates a scheduling task, and sends the scheduling task to the client. If testing is required on a mobile device on a client, no scheduled tasks will be sent to the client. In addition, the server monitors the addition and deletion of mobile devices on the client. In addition, there are multiple clients in this embodiment of the present invention, and establishing connections with all mobile devices in step S201 is to establish connections between each client and the mobile device corresponding to the client respectively.

根据本发明实施例的自动化测试的调度方法的技术方案可以看出能够根据调度任务从设备池中确定待测试的移动设备,然后利用执行脚本和产品测试包对待测试的移动设备进行测试,达到并发测试多台移动设备的效果,并且适用于对各种系统的移动设备进行测试,提高了自动化测试的工作效率,减少了自动化测试时间;本发明实施例中构建设备池的时候,需要建立与所有移动设备的连接,获取设备信息,并将设备信息上传至服务器的数据库中,从而可以构建设备池,并实现依靠服务器监控移动设备的目的;本发明实施例中首先根据调度任务,确定需要进行目标移动设备组,然后通过预先构建的设备池中目标移动设备的相关信息,从目标移动设备组中筛选出待测试的移动设备,从而可以实现并发测试移动设备,也可以保证待测试的移动设备均处于在线连接状态,提高自动化测试的准确率;本发明实施例中设备信息可以包括品牌、型号、系统版本、分辨率、已安装程序包、以及唯一标识,从而可以在对移动设备进行自动化测试时,生成详细的自动化测试结果;本发明实施例中调度任务中包含自动化测试的执行脚本地址和产品测试包地址,从而可以拉取到执行脚本和产品测试包;本发明实施例中针对每个待测试的移动设备,均分配一个测试端口,然后利用测试端口进行自动化测试,从而可以达到并发测试移动设备的效果;本发明实施例中在进行自动化测试之后,获取测试结果,并将测试结果上传至服务器的数据库中,从而可以方便工作人员直接查看测试结果,并根据测试结果优化产品。According to the technical solution of the scheduling method for automated testing according to the embodiment of the present invention, it can be seen that the mobile device to be tested can be determined from the device pool according to the scheduling task, and then the mobile device to be tested can be tested by using the execution script and the product test package to achieve concurrent The effect of testing multiple mobile devices is suitable for testing mobile devices of various systems, which improves the work efficiency of automated testing and reduces automated testing time; when building a device pool in the embodiment of the present invention, it is necessary to establish and all Connect the mobile device, obtain the device information, and upload the device information to the database of the server, so that the device pool can be constructed, and the purpose of monitoring the mobile device by relying on the server can be realized; in the embodiment of the present invention, the required target is first determined according to the scheduling task. Mobile device group, and then filter out the mobile device to be tested from the target mobile device group based on the relevant information of the target mobile device in the pre-built device pool, so that the mobile device can be tested concurrently, and the mobile device to be tested can be guaranteed. In an online connection state, the accuracy of automated testing is improved; in the embodiment of the present invention, the device information may include brand, model, system version, resolution, installed program package, and unique identifier, so that when automated testing is performed on mobile devices to generate detailed automated test results; in the embodiment of the present invention, the scheduling task includes the address of the execution script and the address of the product test package of the automated test, so that the execution script and the product test package can be pulled; The mobile devices to be tested are all allocated a test port, and then use the test port to perform automated testing, so that the effect of concurrently testing the mobile devices can be achieved; in the embodiment of the present invention, after the automated test is performed, the test results are obtained, and the test results are uploaded to In the database of the server, it is convenient for the staff to directly view the test results and optimize the product according to the test results.

图3是根据本发明实施例的自动化测试的调度装置的主要模块的示意图。如图3所示,本发明实施例的自动化测试的调度装置300主要包括以下模块:确定模块301、获取模块302和测试模块303。FIG. 3 is a schematic diagram of main modules of a scheduling apparatus for automated testing according to an embodiment of the present invention. As shown in FIG. 3 , the scheduling apparatus 300 for automated testing according to the embodiment of the present invention mainly includes the following modules: a determination module 301 , an acquisition module 302 , and a testing module 303 .

其中,确定模块301可用于接收自动化测试的调度任务,并根据调度任务,从预建的设备池中确定至少一个待测试的移动设备。获取模块302可用于获取调度任务对应的执行脚本和产品测试包,并将产品测试包发送到至少一个待测试的移动设备。测试模块303可用于利用执行脚本对安装产品测试包的至少一个待测试的移动设备进行并发测试。The determining module 301 may be configured to receive a scheduling task for automated testing, and determine at least one mobile device to be tested from a pre-built device pool according to the scheduling task. The obtaining module 302 may be configured to obtain an execution script and a product test package corresponding to the scheduled task, and send the product test package to at least one mobile device to be tested. The testing module 303 may be configured to perform concurrent testing on at least one mobile device to be tested installed with the product testing package by using the execution script.

本发明实施例中,自动化测试的调度装置还可以包括构建模块(图中未示出),该构建模块可用于:获取所有需要测试的移动设备组;针对移动设备组中的一个移动设备,建立与移动设备的连接,获取已连接的移动设备的设备信息,并将设备信息上传至数据库中,以完成设备池的构建。In this embodiment of the present invention, the scheduling apparatus for automated testing may further include a building module (not shown in the figure), and the building module may be used to: acquire all mobile device groups that need to be tested; for one mobile device in the mobile device group, establish Connect with the mobile device, obtain the device information of the connected mobile device, and upload the device information to the database to complete the construction of the device pool.

本发明实施例中,确定模块301还可用于:根据调度任务,获取目标移动设备组;针对目标移动设备组中的每个目标移动设备,判断设备池中是否存在目标移动设备,并且目标移动设备处于连接状态,若是,则确定目标移动设备为待测试的移动设备。In this embodiment of the present invention, the determining module 301 may be further configured to: obtain a target mobile device group according to a scheduling task; for each target mobile device in the target mobile device group, determine whether a target mobile device exists in the device pool, and the target mobile device In the connected state, if yes, then determine that the target mobile device is the mobile device to be tested.

本发明实施例中,获取模块302还可用于:确定调度任务对应的执行脚本地址和产品测试包地址;利用执行脚本地址,从自动化测试执行脚本库中拉取执行脚本;利用产品测试包地址,从产品测试包库中拉取产品测试包。In this embodiment of the present invention, the obtaining module 302 can also be used to: determine the execution script address and the product test package address corresponding to the scheduling task; use the execution script address to pull the execution script from the automated test execution script library; use the product test package address, Pull the product test package from the product test package repository.

本发明实施例中,测试模块303还可用于:启动自动化测试工具对执行脚本进行编译;针对安装产品测试包的至少一个待测试的移动设备中的每个移动设备,分配测试端口;基于测试接口,利用编译的执行脚本对每个移动设备进行自动化测。In this embodiment of the present invention, the test module 303 may also be used to: start an automated test tool to compile the execution script; allocate a test port for each mobile device in the at least one mobile device to be tested installed with the product test package; based on the test interface , using compiled execution scripts to automate testing of each mobile device.

本发明实施例中,测试模块303还可用于:获取自动化测试结果,并将自动化测试结果上传至数据库。In this embodiment of the present invention, the test module 303 may also be used to: acquire the automated test result, and upload the automated test result to the database.

从以上描述可以看出,本发明实施例的自动化测试的调度装置能够根据调度任务从设备池中确定待测试的移动设备,然后利用执行脚本和产品测试包对待测试的移动设备进行测试,达到并发测试多台移动设备的效果,并且适用于对各种系统的移动设备进行测试,提高了自动化测试的工作效率,减少了自动化测试时间;本发明实施例中构建设备池的时候,需要建立与所有移动设备的连接,获取设备信息,并将设备信息上传至服务器的数据库中,从而可以构建设备池,并实现依靠服务器监控移动设备的目的;本发明实施例中首先根据调度任务,确定需要进行目标移动设备组,然后通过预先构建的设备池中目标移动设备的相关信息,从目标移动设备组中筛选出待测试的移动设备,从而可以实现并发测试移动设备,也可以保证待测试的移动设备均处于在线连接状态,提高自动化测试的准确率;本发明实施例中设备信息可以包括品牌、型号、系统版本、分辨率、已安装程序包、以及唯一标识,从而可以在对移动设备进行自动化测试时,生成详细的自动化测试结果;本发明实施例中调度任务中包含自动化测试的执行脚本地址和产品测试包地址,从而可以拉取到执行脚本和产品测试包;本发明实施例中针对每个待测试的移动设备,均分配一个测试端口,然后利用测试端口进行自动化测试,从而可以达到并发测试移动设备的效果;本发明实施例中在进行自动化测试之后,获取测试结果,并将测试结果上传至服务器的数据库中,从而可以方便工作人员直接查看测试结果,并根据测试结果优化产品。It can be seen from the above description that the scheduling apparatus for automated testing according to the embodiment of the present invention can determine the mobile device to be tested from the device pool according to the scheduling task, and then use the execution script and the product test package to test the mobile device to be tested, so as to achieve concurrent The effect of testing multiple mobile devices is suitable for testing mobile devices of various systems, which improves the work efficiency of automated testing and reduces automated testing time; when building a device pool in the embodiment of the present invention, it is necessary to establish and all Connect the mobile device, obtain the device information, and upload the device information to the database of the server, so that the device pool can be constructed, and the purpose of monitoring the mobile device by relying on the server can be realized; in the embodiment of the present invention, the required target is first determined according to the scheduling task. Mobile device group, and then filter out the mobile device to be tested from the target mobile device group based on the relevant information of the target mobile device in the pre-built device pool, so that the mobile device can be tested concurrently, and the mobile device to be tested can be guaranteed. In an online connection state, the accuracy of automated testing is improved; in the embodiment of the present invention, the device information may include brand, model, system version, resolution, installed program package, and unique identifier, so that when automated testing is performed on mobile devices to generate detailed automated test results; in the embodiment of the present invention, the scheduling task includes the address of the execution script and the address of the product test package of the automated test, so that the execution script and the product test package can be pulled; The mobile devices to be tested are all allocated a test port, and then use the test port to perform automated testing, so that the effect of concurrently testing the mobile devices can be achieved; in the embodiment of the present invention, after the automated test is performed, the test results are obtained, and the test results are uploaded to In the database of the server, it is convenient for the staff to directly view the test results and optimize the product according to the test results.

图4示出了可以应用本发明实施例的自动化测试的调度方法或自动化测试的调度装置的示例性系统架构400。FIG. 4 shows an exemplary system architecture 400 to which an automated test scheduling method or an automated test scheduling apparatus according to an embodiment of the present invention can be applied.

如图4所示,系统架构400可以包括终端设备401、402、403,网络404和电子设备405。网络404用以在终端设备401、402、403和电子设备405之间提供通信链路的介质。网络404可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 4 , the system architecture 400 may include terminal devices 401 , 402 , and 403 , a network 404 and an electronic device 405 . The network 404 is the medium used to provide the communication link between the end devices 401 , 402 , 403 and the electronic device 405 . The network 404 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.

用户可以使用终端设备401、402、403通过网络404与电子设备405交互,以接收或发送消息等。终端设备401、402、403上可以安装有各种通讯客户端应用,例如购物类应用、网页浏览器应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等(仅为示例)。The user can use the terminal devices 401, 402, 403 to interact with the electronic device 405 through the network 404 to receive or send messages and the like. Various communication client applications may be installed on the terminal devices 401 , 402 and 403 , such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).

终端设备401、402、403可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等等。The terminal devices 401, 402, 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

电子设备405可以是提供各种服务的电子设备,例如对用户利用终端设备401、402、403所浏览的购物类网站提供支持的后台管理电子设备(仅为示例)。后台管理电子设备可以对接收到的产品信息查询请求等数据进行分析等处理,并将处理结果(例如目标推送信息、产品信息--仅为示例)反馈给终端设备。The electronic device 405 may be an electronic device that provides various services, such as a background management electronic device that provides support for shopping websites browsed by the user through the terminal devices 401 , 402 and 403 (just an example). The background management electronic device can analyze and process the received product information query request and other data, and feed back the processing results (such as target push information, product information—just an example) to the terminal device.

需要说明的是,本发明实施例所提供的自动化测试的调度方法一般由电子设备405执行,相应地,自动化测试的调度装置一般设置于电子设备405中。It should be noted that the scheduling method of the automated test provided by the embodiment of the present invention is generally performed by the electronic device 405 , and accordingly, the scheduling apparatus of the automated test is generally set in the electronic device 405 .

应该理解,图4中的终端设备、网络和电子设备的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和电子设备。It should be understood that the numbers of terminal devices, networks and electronic devices in FIG. 4 are only illustrative. There may be any number of terminal devices, networks and electronic devices according to implementation needs.

下面参考图5,其示出了适于用来实现本发明实施例的终端设备的计算机系统500的结构示意图。图5示出的终端设备仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。Referring to FIG. 5 below, it shows a schematic structural diagram of a computer system 500 suitable for implementing a terminal device according to an embodiment of the present invention. The terminal device shown in FIG. 5 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present invention.

如图5所示,计算机系统500包括中央处理单元(CPU)501,其可以根据存储在只读存储器(ROM)502中的程序或者从存储部分508加载到随机访问存储器(RAM)503中的程序而执行各种适当的动作和处理。在RAM 503中,还存储有系统500操作所需的各种程序和数据。CPU 501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(I/O)接口505也连接至总线504。As shown in FIG. 5, a computer system 500 includes a central processing unit (CPU) 501 which can be loaded into a random access memory (RAM) 503 according to a program stored in a read only memory (ROM) 502 or a program from a storage section 508 Instead, various appropriate actions and processes are performed. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501 , the ROM 502 , and the RAM 503 are connected to each other through a bus 504 . An input/output (I/O) interface 505 is also connected to bus 504 .

以下部件连接至I/O接口505:包括键盘、鼠标等的输入部分506;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分507;包括硬盘等的存储部分508;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分509。通信部分509经由诸如因特网的网络执行通信处理。驱动器510也根据需要连接至I/O接口505。可拆卸介质511,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器510上,以便于从其上读出的计算机程序根据需要被安装入存储部分508。The following components are connected to the I/O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc. ; and a communication section 509 including a network interface card such as a LAN card, a modem, and the like. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I/O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 510 as needed so that a computer program read therefrom is installed into the storage section 508 as needed.

特别地,根据本发明公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本发明公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分509从网络上被下载和安装,和/或从可拆卸介质511被安装。在该计算机程序被中央处理单元(CPU)501执行时,执行本发明的系统中限定的上述功能。In particular, the processes described above with reference to the flowcharts may be implemented as computer software programs in accordance with the disclosed embodiments of the present invention. For example, embodiments disclosed herein include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the communication portion 509 and/or installed from the removable medium 511 . When the computer program is executed by the central processing unit (CPU) 501, the above-described functions defined in the system of the present invention are performed.

需要说明的是,本发明所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本发明中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本发明中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In the present invention, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present invention, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

附图中的流程图和框图,图示了按照本发明各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented in special purpose hardware-based systems that perform the specified functions or operations, or can be implemented using A combination of dedicated hardware and computer instructions is implemented.

描述于本发明实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的模块也可以设置在处理器中,例如,可以描述为:一种处理器包括确定模块、获取模块和测试模块。其中,这些模块的名称在某种情况下并不构成对该模块本身的限定,例如,确定模块还可以被描述为“接收自动化测试的调度任务,并根据所述调度任务,从预建的设备池中确定至少一个待测试的移动设备的模块”。The modules involved in the embodiments of the present invention may be implemented in a software manner, and may also be implemented in a hardware manner. The described modules can also be provided in the processor, for example, it can be described as: a processor includes a determination module, an acquisition module and a test module. Among them, the names of these modules do not constitute a limitation of the module itself in some cases, for example, the determination module can also be described as "receiving the scheduling task of automated testing, and according to the scheduling task, from the pre-built equipment A module that identifies at least one mobile device to be tested in the pool".

作为另一方面,本发明还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的设备中所包含的;也可以是单独存在,而未装配入该设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该设备执行时,使得该设备包括:接收自动化测试的调度任务,并根据调度任务,从预建的设备池中确定至少一个待测试的移动设备;获取调度任务对应的执行脚本和产品测试包,并将产品测试包发送到至少一个待测试的移动设备;利用执行脚本对安装产品测试包的至少一个待测试的移动设备进行并发测试。As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or may exist alone without being assembled into the device. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by a device, the device includes: receiving a scheduling task of an automated test, and according to the scheduling task, from a pre-built device pool Determine at least one mobile device to be tested in the process; obtain the execution script and product test package corresponding to the scheduling task, and send the product test package to at least one mobile device to be tested; use the execution script to install at least one test package of the product test package to be tested mobile devices for concurrent testing.

根据本发明实施例的技术方案,能够根据调度任务从设备池中确定待测试的移动设备,然后利用执行脚本和产品测试包对待测试的移动设备进行测试,达到并发测试多台移动设备的效果,并且适用于对各种系统的移动设备进行测试,提高了自动化测试的工作效率,减少了自动化测试时间;本发明实施例中构建设备池的时候,需要建立与所有移动设备的连接,获取设备信息,并将设备信息上传至服务器的数据库中,从而可以构建设备池,并实现依靠服务器监控移动设备的目的;本发明实施例中首先根据调度任务,确定需要进行目标移动设备组,然后通过预先构建的设备池中目标移动设备的相关信息,从目标移动设备组中筛选出待测试的移动设备,从而可以实现并发测试移动设备,也可以保证待测试的移动设备均处于在线连接状态,提高自动化测试的准确率;本发明实施例中设备信息可以包括品牌、型号、系统版本、分辨率、已安装程序包、以及唯一标识,从而可以在对移动设备进行自动化测试时,生成详细的自动化测试结果;本发明实施例中调度任务中包含自动化测试的执行脚本地址和产品测试包地址,从而可以拉取到执行脚本和产品测试包;本发明实施例中针对每个待测试的移动设备,均分配一个测试端口,然后利用测试端口进行自动化测试,从而可以达到并发测试移动设备的效果;本发明实施例中在进行自动化测试之后,获取测试结果,并将测试结果上传至服务器的数据库中,从而可以方便工作人员直接查看测试结果,并根据测试结果优化产品。According to the technical solution of the embodiment of the present invention, the mobile device to be tested can be determined from the device pool according to the scheduling task, and then the mobile device to be tested can be tested by using the execution script and the product test package, so as to achieve the effect of concurrently testing multiple mobile devices, And it is suitable for testing mobile devices of various systems, which improves the work efficiency of automated testing and reduces the automated testing time; when building a device pool in the embodiment of the present invention, it is necessary to establish connections with all mobile devices to obtain device information. , and upload the device information to the database of the server, so that a device pool can be built, and the purpose of monitoring mobile devices by relying on the server is realized; in the embodiment of the present invention, first according to the scheduling task, it is determined that the target mobile device group needs to be carried out, and then the target mobile device group needs to be determined according to the scheduling task. The relevant information of the target mobile device in the device pool of the device pool, and the mobile device to be tested is filtered from the target mobile device group, so that the mobile device to be tested can be tested concurrently, and the mobile device to be tested can be guaranteed to be online. In this embodiment of the present invention, the device information may include brand, model, system version, resolution, installed program package, and unique identifier, so that a detailed automated test result can be generated when an automated test is performed on the mobile device; In the embodiment of the present invention, the scheduling task includes the address of the execution script of the automated test and the address of the product test package, so that the execution script and the product test package can be pulled; in the embodiment of the present invention, for each mobile device to be tested, a test port, and then use the test port to perform automated testing, so as to achieve the effect of concurrently testing mobile devices; in the embodiment of the present invention, after the automated test is performed, the test result is obtained, and the test result is uploaded to the database of the server, so that it is convenient to Staff directly view test results and optimize products based on test results.

上述具体实施方式,并不构成对本发明保护范围的限制。本领域技术人员应该明白的是,取决于设计要求和其他因素,可以发生各种各样的修改、组合、子组合和替代。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明保护范围之内。The above-mentioned specific embodiments do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (14)

1. A scheduling method for automated testing, comprising:
receiving a scheduling task of an automatic test, and determining at least one mobile device to be tested from a pre-established device pool according to the scheduling task;
acquiring an execution script and a product test packet corresponding to the scheduling task, and sending the product test packet to the at least one mobile device to be tested;
and utilizing the execution script to carry out concurrent testing on the at least one mobile device to be tested, which is provided with the product test package.
2. The scheduling method of claim 1, prior to determining at least one mobile device to be tested from a pre-established pool of devices, the method further comprising:
acquiring all mobile equipment groups to be tested;
and aiming at one mobile device in the mobile device group, establishing connection with the mobile device, acquiring the device information of the connected mobile device, and uploading the device information to a database to complete the construction of the device pool.
3. The scheduling method of claim 1, wherein determining at least one mobile device to be tested from a pre-established pool of devices according to the scheduling task comprises:
acquiring a target mobile equipment group according to the scheduling task;
and for each target mobile device in the target mobile device group, judging whether the target mobile device exists in the device pool or not, and determining that the target mobile device is a mobile device to be tested if the target mobile device is in a connection state.
4. The scheduling method of claim 1, wherein obtaining the execution script and the product test package corresponding to the scheduling task comprises:
determining an execution script address and a product test packet address corresponding to the scheduling task;
pulling the execution script from an automated test execution script library by using the execution script address;
and pulling the product test packet from a product test packet library by using the product test packet address.
5. The scheduling method of claim 1, wherein the performing a batch test on the at least one mobile device to be tested installing the product test package using the execution script comprises:
starting an automatic testing tool to compile the execution script;
assigning a test port for each of the at least one mobile device to be tested that installs the product test package;
and performing concurrent testing on each mobile device by using the compiled execution script based on the testing interface.
6. The scheduling method of claim 1, wherein after automatically testing the at least one mobile device under test that installs the product test package with the execution script, the method further comprises: and acquiring an automatic test result, and uploading the automatic test result to a database.
7. An automated test scheduling apparatus, comprising:
the system comprises a determining module, a testing module and a judging module, wherein the determining module is used for receiving a scheduling task of an automatic test and determining at least one mobile device to be tested from a pre-established device pool according to the scheduling task;
the obtaining module is used for obtaining an execution script and a product test packet corresponding to the scheduling task and sending the product test packet to the at least one mobile device to be tested;
and the test module is used for carrying out concurrent test on the at least one mobile device to be tested, which is provided with the product test package, by using the execution script.
8. The scheduling apparatus of claim 7, wherein the apparatus further comprises a construction module configured to:
acquiring all mobile equipment groups to be tested;
and aiming at one mobile device in the mobile device group, establishing connection with the mobile device, acquiring the device information of the connected mobile device, and uploading the device information to a database to complete the construction of the device pool.
9. The scheduling apparatus of claim 7, wherein the determining module is further configured to:
acquiring a target mobile equipment group according to the scheduling task;
and for each target mobile device in the target mobile device group, judging whether the target mobile device exists in the device pool or not, and determining that the target mobile device is a mobile device to be tested if the target mobile device is in a connection state.
10. The scheduling apparatus of claim 7, wherein the obtaining module is further configured to:
determining an execution script address and a product test packet address corresponding to the scheduling task;
pulling the execution script from an automated test execution script library by using the execution script address;
and pulling the product test packet from a product test packet library by using the product test packet address.
11. The scheduling apparatus of claim 7 wherein the testing module is further configured to:
starting an automatic testing tool to compile the execution script;
assigning a test port for each of the at least one mobile device to be tested that installs the product test package;
and performing concurrent testing on each mobile device by using the compiled execution script based on the testing interface.
12. The scheduling apparatus of claim 7 wherein the testing module is further configured to: and acquiring an automatic test result, and uploading the automatic test result to a database.
13. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
14. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN201910073097.1A 2019-01-25 2019-01-25 Scheduling method and scheduling device for automated testing Pending CN111488268A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910073097.1A CN111488268A (en) 2019-01-25 2019-01-25 Scheduling method and scheduling device for automated testing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910073097.1A CN111488268A (en) 2019-01-25 2019-01-25 Scheduling method and scheduling device for automated testing

Publications (1)

Publication Number Publication Date
CN111488268A true CN111488268A (en) 2020-08-04

Family

ID=71810674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910073097.1A Pending CN111488268A (en) 2019-01-25 2019-01-25 Scheduling method and scheduling device for automated testing

Country Status (1)

Country Link
CN (1) CN111488268A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113392027A (en) * 2021-07-07 2021-09-14 北京智慧星光信息技术有限公司 Compatibility testing method and system for mobile terminal application and electronic equipment
CN113535590A (en) * 2021-08-20 2021-10-22 北京沃东天骏信息技术有限公司 Program testing method and device
WO2023185482A1 (en) * 2022-03-29 2023-10-05 中兴通讯股份有限公司 Test method, storage medium and electronic apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090307763A1 (en) * 2008-06-05 2009-12-10 Fiberlink Communications Corporation Automated Test Management System and Method
US20120221893A1 (en) * 2011-02-28 2012-08-30 Sap Ag Managing test automation
CN105573902A (en) * 2014-10-10 2016-05-11 阿里巴巴集团控股有限公司 Application testing method and system
CN108920376A (en) * 2018-07-13 2018-11-30 北京京东金融科技控股有限公司 Test method, device and the medium of application program
CN108932194A (en) * 2018-06-21 2018-12-04 北京京东金融科技控股有限公司 Automated testing method, device, system, medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090307763A1 (en) * 2008-06-05 2009-12-10 Fiberlink Communications Corporation Automated Test Management System and Method
US20120221893A1 (en) * 2011-02-28 2012-08-30 Sap Ag Managing test automation
CN105573902A (en) * 2014-10-10 2016-05-11 阿里巴巴集团控股有限公司 Application testing method and system
CN108932194A (en) * 2018-06-21 2018-12-04 北京京东金融科技控股有限公司 Automated testing method, device, system, medium and electronic equipment
CN108920376A (en) * 2018-07-13 2018-11-30 北京京东金融科技控股有限公司 Test method, device and the medium of application program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113392027A (en) * 2021-07-07 2021-09-14 北京智慧星光信息技术有限公司 Compatibility testing method and system for mobile terminal application and electronic equipment
CN113535590A (en) * 2021-08-20 2021-10-22 北京沃东天骏信息技术有限公司 Program testing method and device
WO2023185482A1 (en) * 2022-03-29 2023-10-05 中兴通讯股份有限公司 Test method, storage medium and electronic apparatus

Similar Documents

Publication Publication Date Title
CN111475298B (en) Task processing method, device, equipment and storage medium
CN113760638B (en) A log service method and device based on kubernetes cluster
CN112306851A (en) An automated testing method and device
CN109218041B (en) Request processing method and device for server system
CN112131095B (en) Pressure testing method and device
WO2019029451A1 (en) Method for publishing mobile applications and electronic apparatus
CN110795328A (en) Interface testing method and device
CN112615758B (en) An application identification method, device, device and storage medium
CN106528415A (en) Software compatibility test method, business platform and system
CN117076250A (en) A data processing method and device
CN113127335B (en) System testing method and device
CN108023905B (en) Internet of things application system and method
CN111488268A (en) Scheduling method and scheduling device for automated testing
CN112579447A (en) Browser testing method and device
CN110806967B (en) Unit testing method and unit testing device
US20230071504A1 (en) Multi-client orchestrated automated testing platform
CN109218338B (en) Information processing system, method and device
CN112395194B (en) Method and device for accessing test platform
CN113468067A (en) Application program debugging method and device, electronic equipment and computer readable medium
CN113238944A (en) Test method, device and system
CN111382058B (en) Service testing method and device, server and storage medium
CN112068853A (en) Cross-project synchronous updating method and device
CN115291928A (en) Task automatic integration method and device of multiple technology stacks and electronic equipment
CN112860447B (en) Interaction method and system between different applications
CN109271310B (en) Development testing method and device for network function of mobile application program

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