WO2019218466A1 - 一种应用程序测试方法、装置、终端设备及介质 - Google Patents

一种应用程序测试方法、装置、终端设备及介质 Download PDF

Info

Publication number
WO2019218466A1
WO2019218466A1 PCT/CN2018/097144 CN2018097144W WO2019218466A1 WO 2019218466 A1 WO2019218466 A1 WO 2019218466A1 CN 2018097144 W CN2018097144 W CN 2018097144W WO 2019218466 A1 WO2019218466 A1 WO 2019218466A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminals
tested
online
operating system
terminal
Prior art date
Application number
PCT/CN2018/097144
Other languages
English (en)
French (fr)
Inventor
袁硕彬
马豪华
向新娥
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019218466A1 publication Critical patent/WO2019218466A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Definitions

  • the present application belongs to the field of data processing technologies, and in particular, to an application testing method, apparatus, terminal device, and medium.
  • the existing application function test methods are independent application control and function test (ie, stand-alone function test) in units of a single mobile terminal, so that although it can satisfy the functional test requirements of most applications, For some special functions that require mobile terminals to test each other, such as some data sharing functions based on near field communication such as Bluetooth, stand-alone functional testing is difficult to truly and completely test the functions of applications with these functions. Therefore, the application function test method in the prior art is not perfect, and it is impossible to effectively test an application having a function that needs to be used online.
  • the embodiment of the present application provides an application testing method and a terminal device to solve the problem that the application that has the function that needs to be used online can be effectively tested in the prior art.
  • a first aspect of an embodiment of the present application provides an application testing method, including:
  • the H mobile terminals to be tested are selected from the M online mobile terminals, and the H mobile terminals to be tested are connected according to the online communication manner;
  • the function to be tested is tested in the H mobile terminals to be tested that have been connected.
  • a second aspect of the embodiments of the present application provides an application testing apparatus, including:
  • the online number identification module is configured to obtain the maximum number of connections H supported by the online communication mode of the function of the application to be tested, and the number M of online mobile terminals supporting the online communication mode, wherein both H and M are positive integers greater than 1. ;
  • a terminal selection module configured to: if the M is greater than or equal to H, select H mobile terminals to be tested from the M online mobile terminals, and connect the H mobile terminals to be tested according to the online communication manner;
  • test module configured to test the function to be tested in the H mobile terminals to be tested that have been connected.
  • a third aspect of the embodiments of the present application provides a terminal device, including a memory, a processor, and the computer storing computer readable instructions executable on the processor, where the processor executes the computer The following steps are implemented when reading the instruction:
  • the H mobile terminals to be tested are selected from the M online mobile terminals, and the H mobile terminals to be tested are connected according to the online communication manner;
  • the function to be tested is tested in the H mobile terminals to be tested that have been connected.
  • a fourth aspect of the embodiments of the present application provides a computer readable storage medium storing computer readable instructions, wherein the computer readable instructions are implemented by at least one processor The following steps:
  • the H mobile terminals to be tested are selected from the M online mobile terminals, and the H mobile terminals to be tested are connected according to the online communication manner;
  • the function to be tested is tested in the H mobile terminals to be tested that have been connected.
  • the embodiment of the present application has the beneficial effects that: the maximum number of online supports supported by the online communication mode and the number of online mobile terminals supporting the online communication mode are compared to determine the maximum number of online connections.
  • the number of online mobile terminals is determined to determine all the mobile terminals to be tested and connected, and then based on the test cases including the online functional test, the online functional test of the mobile terminal to be tested is tested, thereby ensuring the functions required for online use. Effective testing of the application.
  • FIG. 1 is a schematic flowchart showing an implementation process of an application testing method according to Embodiment 1 of the present application
  • FIG. 2 is a schematic flowchart of an implementation process of an application testing method provided by Embodiment 2 of the present application;
  • FIG. 3 is a schematic flowchart of an implementation process of an application testing method provided in Embodiment 3 of the present application;
  • FIG. 4 is a schematic flowchart showing an implementation process of an application testing method provided in Embodiment 4 of the present application;
  • FIG. 5 is a schematic structural diagram of an application testing apparatus provided in Embodiment 5 of the present application.
  • FIG. 6 is a schematic diagram of a terminal device according to Embodiment 6 of the present application.
  • FIG. 1 is a flowchart showing an implementation of an application testing method according to Embodiment 1 of the present application, which is described in detail as follows:
  • S101 The maximum number of online connections H supported by the online communication mode of the function of the application to be tested, and the number M of online mobile terminals supporting the online communication mode, wherein both H and M are positive integers greater than 1.
  • terminals Due to the variety of online communication methods, mobile terminals often do not support all online communication methods but only support one or several types due to cost and other factors. Therefore, it is necessary to select support from connected online mobile terminals. Terminals in the online communication mode are required to ensure subsequent normal connection and testing, such as screening mobile terminals supporting Bluetooth communication from online mobile terminals.
  • the communication technologies used for the connection of the mobile terminal are mostly the near field communication technologies, such as the common Bluetooth and WiFi, etc.
  • the near field communication technologies such as the common Bluetooth and WiFi, etc.
  • all the online mobile terminals in the embodiment of the present application The distance should be smaller than the maximum communication distance of the online communication mode.
  • the position of each online mobile terminal needs to be manually set by the technician according to the online communication method used. The distance between each other to ensure that the online test can be performed normally.
  • S102 If M is greater than or equal to H, select H mobile terminals to be tested from the M online mobile terminals, and connect the H mobile terminals to be tested according to the online communication manner.
  • M is greater than or equal to H
  • M indicates that the number of online mobile terminals that can be online is greater than or equal to the maximum number of online supports supported by the online communication mode.
  • the required H mobile terminals to be tested are selected from the M online mobile devices.
  • the specific selection method is not limited in the embodiment of the present application, including but not limited to, such as random selection. For details, refer to the description of the subsequent embodiments of this description.
  • the embodiment of the present application will connect these mobile terminals to ensure normal testing of subsequent tests, such as connecting one or more mobile terminals to one to be tested through Bluetooth.
  • the mobile terminal to be tested completes the Bluetooth connection to the H mobile terminals to be tested.
  • the H test mobile terminals to be tested are functionally tested to complete the functional test of the application having the function that needs to be used online.
  • the embodiment of the present application compares the maximum number of online supports supported by the online communication mode and the number of online mobile terminals that support the online communication mode to determine the maximum number of online mobile terminals that can be connected, thereby determining all the mobile terminals to be tested and performing online connection. Then, based on the test case including the online function test, the online function test of the connected mobile terminal is performed, thereby ensuring effective testing of the application that needs the function to be used online.
  • the method further includes:
  • M online mobile terminals When M is less than H, it is indicated that M online mobile terminals can only be tested online at most. Therefore, in this embodiment, M online mobile terminals are directly used as function tests for the mobile terminal to be tested.
  • the third embodiment of the present application includes:
  • S301 Obtain an operating system type and an operating system version number of each online mobile terminal, calculate a maximum number of online mobile terminals N having the same operating system type and an operating system version number, and a maximum number of online mobile terminals L having the same operating system type, Among them, N and L are both natural numbers.
  • the operating system and operating system version number of the online mobile terminal may be different, such as the operating system may be Android system, IOS system or BlackBerry system, and even IOS system, there are different versions of IOS10 and IOS11.
  • the operating system may be Android system, IOS system or BlackBerry system, and even IOS system
  • compatibility problems may occur, which may easily make the test process easy to appear. problem.
  • the number of online mobile terminals of different operating systems in the embodiment of the present application such as the number of online mobile terminals of the Android system and the number of online mobile terminals of the IOS system And the number of online mobile terminal analysis of the BlackBerry system is counted, and the maximum number L is determined, and the number of online mobile terminals of different operating system version numbers is also counted, such as counting the number of online mobile terminals of IOS11 and Android 7.0.
  • the number of online mobile terminals is determined, and the maximum number of online mobile terminals N with the same operating system version number is determined, so that the mobile terminals with the same operating system can be tested online, thereby improving the reliability of the test.
  • H is less than or equal to N
  • the H mobile terminals to be tested are selected from N online mobile terminals with the same operating system type and operating system version number.
  • H When H is equal to N, it indicates that there are enough online mobile terminals with the same operating system version for us to test. Therefore, in order to improve the reliability of the test, the N online mobiles with the same operating system version number are directly in the embodiment of the present application. H mobile terminals to be tested are selected in the terminal for online testing.
  • H if H is greater than N, and H is less than or equal to L, record N online mobile terminals as the mobile terminal to be tested, and in the L online mobile terminals with the same operating system type, except for the N online mobile terminals
  • HN mobile terminals to be tested are selected, and H mobile terminals to be tested are obtained.
  • H is greater than N, but is equal to L
  • the L online mobile terminals with the same operating system are recorded as the mobile terminal to be tested, and are from the online mobile terminal of other operating systems.
  • the HL mobile terminals to be tested are selected to obtain the final H mobile terminals to be tested for online testing.
  • the H mobile terminals to be tested are connected according to the online communication manner, including:
  • S401 Determine, from the H mobile terminals to be tested, R R to be tested mobile terminals with the same operating system type and operating system version number, wherein R is a positive integer.
  • compatibility problems of communication connections may occur between different operating systems and even between different operating system versions of the same operating system.
  • all non-master devices are connected and communicate with the master device, that is, all non-master devices need to communicate with the master device, so in order to ensure the normal operation of the communication connection, the mobile to be tested is guaranteed.
  • the embodiment of the present application finds the mobile terminal to be tested with the largest number of system versions. For example, when there are only online mobile terminals of the operating system versions IOS11 and Android 7.0, the two will be determined. The number of mobile terminals to be tested determines the R mobile terminal to be tested with the largest number of operating system versions.
  • the embodiment of the present application will use one of the mobile terminals as the master device, and the remaining H-1 mobile terminals to be measured as the slave devices, and each slave device establishes communication with the master device respectively. Connected to complete the online operation of each mobile terminal to be measured.
  • the H mobile terminals to be tested are connected according to the online communication manner, including:
  • the online communication mode when the online communication mode is one-to-many communication, it indicates that the functional tasks that the master device and the slave device are responsible for during the test must be different. For example, when the WiFi is connected, the master device transmits the WiFi signal as the WiFi transmitter, and other slave devices. The WiFi signal of the master device is connected to complete the connection operation. At this time, the master device cannot test the WiFi signal receiving function, and the slave device cannot test the WiFi signal transmitting function. Therefore, when the online communication mode is one-to-many communication, a single test must not be able to implement a complete and effective test for each mobile terminal to be tested that has been tested.
  • the embodiment of the present application will determine each of the mobile terminals to be tested as the main after determining the H mobile terminals to be tested for the online test.
  • the device performs one-to-many online testing of different master devices for H times, that is, each mobile terminal to be tested is tested as a master device for online testing.
  • the online mobile terminal that can be tested is determined as the mobile terminal to be tested as much as possible, and in the embodiment of the present application, a pair of the master devices are separately performed on all the determined mobile terminals to be tested.
  • Multi-communication online test so that in the embodiment of the present application, the online function test of each mobile terminal to be tested can be maximized after screening a mobile terminal to be tested, without re-performing the mobile terminal to be tested each time. Work, greatly reduced, improves the efficient and reliable testing of applications that require online use.
  • the maximum number of online mobile terminals supported by the online communication mode and the number of online mobile terminals supporting the online communication mode are compared, and the maximum number of online mobile terminals that can be connected is determined, thereby determining all waiting Test the mobile terminal.
  • the master device selection and online operation of one-to-many communication are performed, thereby realizing the comprehensive consideration of the characteristics of the mobile terminal operating system, physical location and online communication mode. Test the screening and connection of mobile terminals to ensure the effectiveness of subsequent online tests. After the connection is established, the online functional test of the connected mobile terminal is tested based on the test case including the online functional test, thereby ensuring effective testing of the application requiring the function to be used online.
  • FIG. 5 is a structural block diagram of an application testing device provided by an embodiment of the present application. For the convenience of description, only parts related to the embodiment of the present application are shown.
  • the application testing device illustrated in FIG. 5 may be the execution body of the application testing method provided in the foregoing first embodiment.
  • the application testing device includes:
  • the online number identification module 51 is configured to obtain a maximum number of connections H supported by the online communication mode of the application function to be tested, and an online mobile terminal number M supporting the online communication mode, wherein both H and M are greater than one. Integer.
  • the terminal selection module 52 is configured to select H mobile terminals to be tested from the M online mobile terminals if M is greater than or equal to H, and connect the H mobile terminals to be tested according to the online communication manner.
  • the test module 53 is configured to test the function to be tested in the H mobile terminals to be tested that have been connected.
  • the application testing device further includes:
  • the terminal connection module is configured to connect the M online mobile terminals according to the online communication manner if the M is smaller than H, and test the to-be-tested function in the M online mobile terminals that are connected.
  • terminal selection module 52 includes:
  • N and L are both natural numbers.
  • H mobile terminals to be tested are selected from N online mobile terminals whose operating system type and operating system version number are the same.
  • H is greater than N, and H is less than or equal to L, record the N online mobile terminals as the mobile terminal to be tested, and in the L online mobile terminals with the same operating system type, except the N online mobile terminals
  • the LN online mobile terminals other than the terminal select HN mobile terminals to be tested, and obtain the H mobile terminals to be tested.
  • terminal selection module 52 further includes:
  • the R mobile terminal to be tested having the largest number of operating systems and the same operating system version number are determined, wherein R is a positive integer.
  • terminal selection module 52 further includes:
  • first, second, and the like are used in the text to describe various elements in the embodiments of the present application, these elements should not be limited by these terms. These terms are only used to distinguish one element from another.
  • the first contact can be named a second contact, and similarly, the second contact can be named the first contact without departing from the scope of the various described embodiments. Both the first contact and the second contact are contacts, but they are not the same contact.
  • FIG. 6 is a schematic diagram of a terminal device according to an embodiment of the present application.
  • the terminal device 6 of this embodiment includes a processor 60, a memory 61 in which computer readable instructions 62 executable on the processor 60 are stored.
  • the processor 60 executes the computer readable instructions 62 to implement the steps in the various application test method embodiments described above, such as steps 101 through 103 shown in FIG.
  • the processor 60 when executing the computer readable instructions 62, implements the functions of the various modules/units in the various apparatus embodiments described above, such as the functions of the modules 51-53 shown in FIG.
  • the terminal device 6 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the terminal device may include, but is not limited to, a processor 60 and a memory 61. It will be understood by those skilled in the art that FIG. 6 is only an example of the terminal device 6, and does not constitute a limitation of the terminal device 6, and may include more or less components than those illustrated, or combine some components or different components.
  • the terminal device may further include an input transmitting device, a network access device, a bus, and the like.
  • the so-called processor 60 can be a central processing unit (Central Processing Unit, CPU), can also be other general purpose processors, digital signal processors (DSP), application specific integrated circuits (Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 61 may be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6.
  • the memory 61 may also be an external storage device of the terminal device 6, for example, a plug-in hard disk equipped on the terminal device 6, a smart memory card (SMC), and a secure digital (SD). Card, flash card, etc. Further, the memory 61 may also include both an internal storage unit of the terminal device 6 and an external storage device.
  • the memory 61 is configured to store the computer readable instructions and other programs and data required by the terminal device.
  • the memory 61 can also be used to temporarily store data that has been sent or is about to be transmitted.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated modules/units if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium.
  • the present application implements all or part of the processes in the foregoing embodiments, and may also be implemented by computer readable instructions, which may be stored in a computer readable storage medium.
  • the computer readable instructions when executed by a processor, may implement the steps of the various method embodiments described above.
  • the computer readable instructions comprise computer readable instruction code, which may be in the form of source code, an object code form, an executable file or some intermediate form or the like.
  • the computer readable medium may include any entity or device capable of carrying the computer readable instruction code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), electrical carrier signals, telecommunications signals, and software distribution media. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in a jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, computer readable media Does not include electrical carrier signals and telecommunication signals.

Landscapes

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

Abstract

本申请提供了一种应用程序测试方法、装置、终端设备及介质,适用于数据处理技术领域,该方法包括:获取待测试应用程序功能的联机通信方式支持的最大联机数H,以及支持联机通信方式的在线移动终端数M;若M大于或等于H,从M个在线移动终端中选取出H个待测试移动终端,并基于联机通信方式将H个待测试移动终端进行联机;在已联机的H个待测试移动终端中,对待测试功能进行测试。本申请实施例对可联机的最大数量的在线移动终端进行自动联机,再基于包含联机功能测试的测验用例,对已联机的待测试移动终端进行联机功能测试,从而保证了对需要联机使用的功能的应用程序的有效测试。

Description

一种应用程序测试方法、装置、终端设备及介质
本申请要求于2018年05月16日提交中国专利局、申请号为201810455739.X、发明名称为“一种应用程序测试方法及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请属于数据处理技术领域,尤其涉及一种应用程序测试方法、装置、终端设备及介质。
背景技术
现有的应用程序功能测试方法,都是以单台移动终端为单位来独立进行应用程序控制和功能测试的(即单机功能测试),这样虽然能满足大部分的应用程序的功能测试需求,但对于一些特殊的需要移动终端相互联机才能测试的功能而言,如一些基于蓝牙等近场通信的数据共享功能而言,单机功能测试难以真实完整地对具有这些功能的应用程序进行功能测试。因此,现有技术中的应用程序功能测试方法并不完善,无法对具有需要联机使用的功能的应用程序进行有效测试。
技术问题
有鉴于此,本申请实施例提供了一种应用程序测试方法及终端设备,以解决现有技术中无法对具有需要联机使用的功能的应用程序进行有效测试的问题。
技术解决方案
本申请实施例的第一方面提供了一种应用程序测试方法,包括:
获取待测试应用程序功能的联机通信方式支持的最大联机数H,以及支持所述联机通信方式的在线移动终端数M,其中,H和M均为大于1的正整数;
若M大于或等于H,从M个在线移动终端中选取出H个待测试移动终端,并基于所述联机通信方式将所述H个待测试移动终端进行联机;
在已联机的所述H个待测试移动终端中,对所述待测试功能进行测试。
本申请实施例的第二方面提供了一种应用程序测试装置,包括:
联机数识别模块,用于获取待测试应用程序功能的联机通信方式支持的最大联机数H,以及支持所述联机通信方式的在线移动终端数M,其中,H和M均为大于1的正整数;
终端选取模块,用于若M大于或等于H,从M个在线移动终端中选取出H个待测试移动终端,并基于所述联机通信方式将所述H个待测试移动终端进行联机;
测试模块,用于在已联机的所述H个待测试移动终端中,对所述待测试功能进行测试。
本申请实施例的第三方面提供了一种终端设备,包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:
获取待测试应用程序功能的联机通信方式支持的最大联机数H,以及支持所述联机通信方式的在线移动终端数M,其中,H和M均为大于1的正整数;
若M大于或等于H,从M个在线移动终端中选取出H个待测试移动终端,并基于所述联机通信方式将所述H个待测试移动终端进行联机;
在已联机的所述H个待测试移动终端中,对所述待测试功能进行测试。
本申请实施例的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被至少一个处理器执行时实现如下步骤:
获取待测试应用程序功能的联机通信方式支持的最大联机数H,以及支持所述联机通信方式的在线移动终端数M,其中,H和M均为大于1的正整数;
若M大于或等于H,从M个在线移动终端中选取出H个待测试移动终端,并基于所述联机通信方式将所述H个待测试移动终端进行联机;
在已联机的所述H个待测试移动终端中,对所述待测试功能进行测试。
有益效果
本申请实施例与现有技术相比存在的有益效果是:本申请实施例通过对联机通信方式支持的最大联机数以及支持联机通信方式的在线移动终端数进行比较,以确定出可联机的最大在线移动终端数,从而确定出所有待测试移动终端并进行联机,再基于包含联机功能测试的测验用例,对已联机的待测试移动终端进行联机功能测试,从而保证了对需要联机使用的功能的应用程序的有效测试。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例一提供的应用程序测试方法的实现流程示意图;
图2是本申请实施例二提供的应用程序测试方法的实现流程示意图;
图3是本申请实施例三提供的应用程序测试方法的实现流程示意图;
图4是本申请实施例四提供的应用程序测试方法的实现流程示意图;
图5是本申请实施例五提供的应用程序测试装置的结构示意图;
图6是本申请实施例六提供的终端设备的示意图。
本发明的实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
为了说明本申请所述的技术方案,下面通过具体实施例来进行说明。
图1示出了本申请实施例一提供的应用程序测试方法的实现流程图,详述如下:
S101,获取待测试应用程序功能的联机通信方式支持的最大联机数H,以及支持联机通信方式的在线移动终端数M,其中,H和M均为大于1的正整数。
其中,联机通信方式是指可用于将移动终端进行通信连接的通信方式,包括但不限于如蓝牙、WIFI、NFC以及红外通信等。由于每种联机通信方式所能支持的最大联机数并不相同,如蓝牙根据版本不同,可以是一对一通信连接也可以是一对多通信连接,因此蓝牙支持的最大联机数H根据蓝牙版本不同而有所差异,而NFC则是一对一通信连接,即NFC的最大联机数H=2,因此,H的具体值需由待测试功能所需用到的具体联机通信方式,以及联机通信方式对应版本来查询确定,如当待测试功能需要使用到NFC来进行近场通信数据传输,此时对应的H=2。
由于联机通信方式的种类较多,出于成本等因素考虑,移动终端往往不会支持所有联机通信方式而是仅支持其中一种或几种,因此需要从已连接的在线移动终端中筛选出支持所需联机通信方式的终端,以保证后续的正常联机及测试,如从在线移动终端中筛选出支持蓝牙通信的移动终端。
应当说明地,由于移动终端联机所使用的通信技术大多为近场通信技术,如常见的蓝牙和WiFi等,因此为了保证联机测试的正常进行,本申请实施例中所有的在线移动终端之间的距离,都应当小等于联机通信方式的最大通信距离,即在本申请实施例中,在测试开始前,需由技术人员手动根据所使用的联机通信方式来设置好每个在线移动终端的位置以及相互之间的位置距离,以保证后续能够正常进行联机测试。
S102,若M大于或等于H,从M个在线移动终端中选取出H个待测试移动终端,并基于联机通信方式将H个待测试移动终端进行联机。
当M大于或等于H时,说明可联机的在线移动终端数大于或等于联机通信方式支持的最大联机数。此时,为了尽可能地测试应用程序待对联机通信的支持效果如何,以及在多移动设备联机情况下的功能稳定性,以提高对待测试应用程序功能测试的有效性,同时考虑到当联机的待测试移动终端数越多,后续可进行测试的移动终端数也就越多,因此,本申请实施例中会直接将联机通信方式支持的最大联机数H,作为此次待测试移动设备的数量。
在确定出待测试移动设备数之后,需要从M个在线移动设备中选取出所需H个待测试移动终端,本申请实施例不对具体的选取方法进行限定,包括但不限于如随机选取等方法,具体可参考本说明后续实施例说明。在确定出最终的H个待测试移动终端后,本申请实施例会将这些移动终端进行联机以保证后续测试的正常进行,如通过蓝牙将H-1个待测试移动终端,一对多连接至一个待测试移动终端,完成对H个待测试移动终端的蓝牙联机。
S103,在已联机的H个待测试移动终端中,对待测试功能进行测试。
联机完成后,根据用户输入的或者预先设置好的测试用例,对这些已联机的H个待测试移动终端进行功能测试,以完成对具有需要联机使用的功能的应用程序的功能测试。
本申请实施例通过对联机通信方式支持的最大联机数以及支持联机通信方式的在线移动终端数进行比较,以确定出可联机的最大在线移动终端数,从而确定出所有待测试移动终端并进行联机,再基于包含联机功能测试的测验用例,对已联机的待测试移动终端进行联机功能测试,从而保证了对需要联机使用的功能的应用程序的有效测试。
作为本申请实施例二,如图2所示,在得到H和M之后,还包括:
S104,若M小于H,基于联机通信方式将M个在线移动终端进行联机,在已联机的M个在线移动终端中,对待测试功能进行测试。
当M小于H时,说明最多也只能将M个在线移动终端进行联机测试,因此,本申请实施例中会直接将M个在线移动终端作为待测试移动终端进行功能测试。
作为本从M个在线移动终端中选取出H个待测试移动终端的一种具体实现方式,如图3所示,本申请实施例三,包括:
S301,获取每个在线移动终端的操作系统种类以及操作系统版本号,计算操作系统种类和操作系统版本号均相同的最大在线移动终端数N,以及操作系统种类相同的最大在线移动终端数L,其中,N和L均为自然数。
由于在线移动终端的操作系统以及操作系统版本号均可能存在差异,如操作系统既可能是安卓系统,也可能是IOS系统或者黑莓系统等,而即使是IOS系统,也有IOS10和IOS11等不同的版本,而实际情况中,不同操作系统之间甚至相同操作系统但不同操作系统版本之间的移动终端在进行通信连接时,有较大可能会出现兼容性的问题,从而容易使得测试过程中容易出现问题。因此,为了减小后续测试出现因操作系统差异导致出现测试问题的可能性,本申请实施例会对不同操作系统的在线移动终端数,如安卓系统的在线移动终端数、IOS系统的在线移动终端数以及黑莓系统的在线移动终端数分析进行统计,并确定出其中的最大数量L,同时还会对不同操作系统版本号的在线移动终端数进行统计,如统计IOS11的在线移动终端数和安卓7.0的在线移动终端数,并从中确定出操作系统版本号一样的最大在线移动终端数N,以使得后续能优先操作系统相同的移动终端进行联机测试,提高测试的可靠性。
S302,若H小于或等于N,从操作系统种类和操作系统版本号均相同的N个在线移动终端中,选取出H个待测试移动终端。
当H小等于N,说明有足够的操作系统版本相同的在线移动终端供我们进行测试,因此,为了提高测试的可靠性,本申请实施例中会直接在操作系统版本号相同的N个在线移动终端中选取出H个待测试移动终端以供联机测试。
S303,若H大于N,且H小于或等于L,将N个在线移动终端记录为待测试移动终端,并在操作系统种类相同的L个在线移动终端中,除N个在线移动终端以外的L-N个在线移动终端,选取出H-N个待测试移动终端,得到H个待测试移动终端。
当H大于N,但又小等于L,说明没有足够数量的操作系统版本相同的在线移动终端供测试,因此,为了尽可能地提高测试的可靠性,本申请实施例会在将操作系统版本相同的N个在线移动终端作为待测试移动终端后,再退一步地,在该操作系统的其他版本的L-N个在线移动终端中,选取出剩下的H-N个待测试移动终端,以得到最终所需的H个待测试移动终端以供联机测试。
作为本申请的另一个实施例,在上述实施例三的基础上,若H大于L,将操作系统相同的L个在线移动终端记录为待测试移动终端,并从其他操作系统的在线移动终端中,选取出H-L个待测试移动终端,以得到最终所需的H个待测试移动终端以供联机测试。
作为本申请实施例四,如图4所示,当联机通信方式为一对多通信时,基于联机通信方式述H个待测试移动终端进行联机,包括:
S401,从H个待测试移动终端中,确定出操作系统种类和操作系统版本号均相同的数量最大的R个待测试移动终端,其中,R为正整数。
S402,从R个待测试移动终端选取出一个作为一对多通信中的主设备,并将主设备以外的H-1个待测试移动终端,以一对多通信的方式连接至主设备。
由上述本申请实施例说明可知,不同操作系统之间,甚至相同操作系统不同操作系统版本之间,都可能会出现通信连接的兼容性问题。而考虑到在一对多通信中所有非主设备都是跟主设备进行连接通信的,即所有非主设备都需要跟主设备进行通信连接,因此为了保证通信连接的正常进行,保证待测试移动终端之间的正常联机和测试,本申请实施例会查找出系统版本号相同数量最大的待测试移动终端,如当只有IOS11和安卓7.0两种操作系统版本的在线移动终端时,会判定两者对应的待测试移动终端数确定出数量最大的操作系统版本的R个待测试移动终端。
在确定出R个待测试移动终端后,本申请实施例会将其中一个作为主设备,并将其余的H-1个待测量移动终端作为从属设备,并将每个从属设备分别与主设备建立通信连接,以完成对H各待测量移动终端的联机操作。
作为本申请的一个实施例,当联机通信方式为一对多通信时,基于所述联机通信方式将H个待测试移动终端进行联机,包括:
对所述H个待测试移动终端进行H次不放回抽样,并在每次抽样后,将此次抽取出的所述待测试移动终端设置为应用程序功能测试的主设备,将其余的H-1个所述待测试移动终端以一对多通信的方式连接至所述主设备。
实际情况中,当联机通信方式为一对多通信的时候,说明测试过程中主设备和从属设备负责的功能任务必定存在差异,如WiFi联机时主设备作为WiFi发射端发射WiFi信号,其他从属设备会连接主设备的WiFi信号以完成连接操作,此时主设备无法测试WiFi信号接收功能,从属设备无法测试WiFi信号发射功能。因此,当联机通信方式为一对多通信的时候,单次测试必定无法实现对已联机每个待测试移动终端的完整有效的测试。为了实现对已联机的每个待测试移动终端的完整有效的测试,本申请实施例在确定出所需联机测试的H个待测试移动终端后,会将其中每个待测试移动终端分别作为主设备,进行H次不同主设备的一对多联机测试,即每个待测试移动终端都会被作为主设备进行一次联机测试。
由于本申请实施例一中尽可能地将可联机的在线移动终端确定为待测试移动终端,而在本申请实施例中又对确定出的所有待测试移动终端分别进行了一次主设备的一对多通信联机测试,从而使得本申请实施例中可以在一次待测试移动终端筛选后,最大限度地实现对每个待测试移动终端的联机功能测试,而无需每次重新进行待测试移动终端的筛选工作,极大程度低提升了对具有需要联机使用的应用程序的高效可靠的测试。
本申请实施例,通过在可联机范围内的对联机通信方式支持的最大联机数以及支持联机通信方式的在线移动终端数进行比较,确定出可联机的最大在线移动终端数,从而确定出所有待测试移动终端。同时基于待测试移动终端的操作系统以及操作系统版本号,来进行一对多通信的主设备选取和联机操作,从而实现了对移动终端操作系统、物理位置以及联机通信方式特点的综合考量来对待测试移动终端的筛选和联机,以保证后续对联机测试的有效性。在建立联机后,再基于包含联机功能测试的测验用例,对已联机的待测试移动终端进行联机功能测试,从而保证了对需要联机使用的功能的应用程序的有效测试。
对应于上文实施例的方法,图5示出了本申请实施例提供的应用程序测试装置的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。图5示例的应用程序测试装置可以是前述实施例一提供的应用程序测试方法的执行主体。
参照图5,该应用程序测试装置包括:
联机数识别模块51,用于获取待测试应用程序功能的联机通信方式支持的最大联机数H,以及支持所述联机通信方式的在线移动终端数M,其中,H和M均为大于1的正整数。
终端选取模块52,用于若M大于或等于H,从M个在线移动终端中选取出H个待测试移动终端,并基于所述联机通信方式将所述H个待测试移动终端进行联机。
测试模块53,用于在已联机的所述H个待测试移动终端中,对所述待测试功能进行测试。
进一步地,该应用程序测试装置,还包括:
终端联机模块,用于若M小于H,基于所述联机通信方式将所述M个在线移动终端进行联机,在已联机的所述M个在线移动终端中,对所述待测试功能进行测试。
进一步地,终端选取模块52,包括:
获取每个所述在线移动终端的操作系统种类以及操作系统版本号,计算操作系统种类和操作系统版本号均相同的最大在线移动终端数N,以及操作系统种类相同的最大在线移动终端数L,其中,N和L均为自然数。
若H小于或等于N,从操作系统种类和操作系统版本号均相同的N个在线移动终端中,选取出所述H个待测试移动终端。
若H大于N,且H小于或等于L,将所述N个在线移动终端记录为所述待测试移动终端,并在操作系统种类相同的L个在线移动终端中,除所述N个在线移动终端以外的L-N个在线移动终端,选取出H-N个待测试移动终端,得到所述H个待测试移动终端。
进一步地,终端选取模块52,还包括:
从所述H个待测试移动终端中,确定出操作系统种类和操作系统版本号均相同的数量最大的R个待测试移动终端,其中,R为正整数。
从所述R个待测试移动终端选取出一个作为一对多通信中的主设备,并将所述主设备以外的H-1个待测试移动终端,以一对多通信的方式连接至所述主设备。
进一步地,终端选取模块52,还包括:
对所述H个待测试移动终端进行H次不放回抽样,并在每次抽样后,将此次抽取出的所述待测试移动终端设置为应用程序功能测试的主设备,将其余的H-1个所述待测试移动终端以一对多通信的方式连接至所述主设备。
本申请实施例提供的应用程序测试装置中各模块实现各自功能的过程,具体可参考前述图1所示实施例一的描述,此处不再赘述。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
还应理解的是,虽然术语“第一”、“第二”等在文本中在一些本申请实施例中用来描述各种元素,但是这些元素不应该受到这些术语的限制。这些术语只是用来将一个元素与另一元素区分开。例如,第一接触可以被命名为第二接触,并且类似地,第二接触可以被命名为第一接触,而不背离各种所描述的实施例的范围。第一接触和第二接触都是接触,但是它们不是同一接触。
图6是本申请一实施例提供的终端设备的示意图。如图6所示,该实施例的终端设备6包括:处理器60、存储器61,所述存储器61中存储有可在所述处理器60上运行的计算机可读指令62。所述处理器60执行所述计算机可读指令62时实现上述各个应用程序测试方法实施例中的步骤,例如图1所示的步骤101至103。或者,所述处理器60执行所述计算机可读指令62时实现上述各装置实施例中各模块/单元的功能,例如图5所示模块51至53的功能。
所述终端设备6可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述终端设备可包括,但不仅限于,处理器60、存储器61。本领域技术人员可以理解,图6仅仅是终端设备6的示例,并不构成对终端设备6的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备还可以包括输入发送设备、网络接入设备、总线等。
所称处理器60可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述存储器61可以是所述终端设备6的内部存储单元,例如终端设备6的硬盘或内存。所述存储器61也可以是所述终端设备6的外部存储设备,例如所述终端设备6上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器61还可以既包括所述终端设备6的内部存储单元也包括外部存储设备。所述存储器61用于存储所述计算机可读指令以及所述终端设备所需的其他程序和数据。所述存储器61还可以用于暂时地存储已经发送或者将要发送的数据。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一计算机可读存储介质中,该计算机可读指令在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机可读指令包括计算机可读指令代码,所述计算机可读指令代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机可读指令代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使对应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种应用程序测试方法,其特征在于,包括:
    获取待测试应用程序功能的联机通信方式支持的最大联机数H,以及支持所述联机通信方式的在线移动终端数M,其中,H和M均为大于1的正整数;
    若M大于或等于H,从M个在线移动终端中选取出H个待测试移动终端,并基于所述联机通信方式将所述H个待测试移动终端进行联机;
    在已联机的所述H个待测试移动终端中,对所述待测试功能进行测试。
  2. 如权利要求1所述的应用程序测试方法,其特征在于,还包括:
    若M小于H,基于所述联机通信方式将所述M个在线移动终端进行联机,在已联机的所述M个在线移动终端中,对所述待测试功能进行测试。
  3. 如权利要求1所述的应用程序测试方法,其特征在于,所述从M个在线移动终端中选取出H个待测试移动终端,包括:
    获取每个所述在线移动终端的操作系统种类以及操作系统版本号,计算操作系统种类和操作系统版本号均相同的最大在线移动终端数N,以及操作系统种类相同的最大在线移动终端数L,其中,N和L均为自然数;
    若H小于或等于N,从操作系统种类和操作系统版本号均相同的N个在线移动终端中,选取出所述H个待测试移动终端;
    若H大于N,且H小于或等于L,将所述N个在线移动终端记录为所述待测试移动终端,并在操作系统种类相同的L个在线移动终端中,除所述N个在线移动终端以外的L-N个在线移动终端,选取出H-N个待测试移动终端,得到所述H个待测试移动终端。
  4. 如权利要求1至3任意一项所述的应用程序测试方法,其特征在于,当所述联机通信方式为一对多通信时,所述基于所述联机通信方式将所述H个待测试移动终端进行联机,还包括:
    从所述H个待测试移动终端中,确定出操作系统种类和操作系统版本号均相同的数量最大的R个待测试移动终端,其中,R为正整数;
    从所述R个待测试移动终端选取出一个作为一对多通信中的主设备,并将所述主设备以外的H-1个待测试移动终端,以一对多通信的方式连接至所述主设备。
  5. 如权利要求1至3任意一项所述的应用程序测试方法,其特征在于,当所述联机通信方式为一对多通信时,所述基于所述联机通信方式将所述H个待测试移动终端进行联机,包括:
    对所述H个待测试移动终端进行H次不放回抽样,并在每次抽样后,将此次抽取出的所述待测试移动终端设置为应用程序功能测试的主设备,将其余的H-1个所述待测试移动终端以一对多通信的方式连接至所述主设备。
  6. 一种应用程序测试装置,其特征在于,包括:
    联机数识别模块,用于获取待测试应用程序功能的联机通信方式支持的最大联机数H,以及支持所述联机通信方式的在线移动终端数M,其中,H和M均为大于1的正整数;
    终端选取模块,用于若M大于或等于H,从M个在线移动终端中选取出H个待测试移动终端,并基于所述联机通信方式将所述H个待测试移动终端进行联机;
    测试模块,用于在已联机的所述H个待测试移动终端中,对所述待测试功能进行测试。
  7. 如权利要求6所述的应用程序测试装置,其特征在于,还包括:
    终端联机模块,用于若M小于H,基于所述联机通信方式将所述M个在线移动终端进行联机,在已联机的所述M个在线移动终端中,对所述待测试功能进行测试。
  8. 如权利要求6所述的应用程序测试装置,其特征在于,所述终端选取模块,还包括:
    获取每个所述在线移动终端的操作系统种类以及操作系统版本号,计算操作系统种类和操作系统版本号均相同的最大在线移动终端数N,以及操作系统种类相同的最大在线移动终端数L,其中,N和L均为自然数;
    若H小于或等于N,从操作系统种类和操作系统版本号均相同的N个在线移动终端中,选取出所述H个待测试移动终端;
    若H大于N,且H小于或等于L,将所述N个在线移动终端记录为所述待测试移动终端,并在操作系统种类相同的L个在线移动终端中,除所述N个在线移动终端以外的L-N个在线移动终端,选取出H-N个待测试移动终端,得到所述H个待测试移动终端。
  9. 如权利要求6至8任意一项所述的应用程序测试装置,其特征在于,所述终端选取模块,还包括:
    从所述H个待测试移动终端中,确定出操作系统种类和操作系统版本号均相同的数量最大的R个待测试移动终端,其中,R为正整数;
    从所述R个待测试移动终端选取出一个作为一对多通信中的主设备,并将所述主设备以外的H-1个待测试移动终端,以一对多通信的方式连接至所述主设备。
  10. 如权利要求6至8任意一项所述的应用程序测试装置,其特征在于,所述终端选取模块,还包括:
    对所述H个待测试移动终端进行H次不放回抽样,并在每次抽样后,将此次抽取出的所述待测试移动终端设置为应用程序功能测试的主设备,将其余的H-1个所述待测试移动终端以一对多通信的方式连接至所述主设备。
  11. 一种终端设备,其特征在于,所述终端设备包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:
    获取待测试应用程序功能的联机通信方式支持的最大联机数H,以及支持所述联机通信方式的在线移动终端数M,其中,H和M均为大于1的正整数;
    若M大于或等于H,从M个在线移动终端中选取出H个待测试移动终端,并基于所述联机通信方式将所述H个待测试移动终端进行联机;
    在已联机的所述H个待测试移动终端中,对所述待测试功能进行测试。
  12. 如权利要求11所述的终端设备,其特征在于,所述处理器执行所述计算机可读指令时还实现如下步骤:
    若M小于H,基于所述联机通信方式将所述M个在线移动终端进行联机,在已联机的所述M个在线移动终端中,对所述待测试功能进行测试。
  13. 如权利要求11所述的终端设备,其特征在于,所述从M个在线移动终端中选取出H个待测试移动终端,包括:
    获取每个所述在线移动终端的操作系统种类以及操作系统版本号,计算操作系统种类和操作系统版本号均相同的最大在线移动终端数N,以及操作系统种类相同的最大在线移动终端数L,其中,N和L均为自然数;
    若H小于或等于N,从操作系统种类和操作系统版本号均相同的N个在线移动终端中,选取出所述H个待测试移动终端;
    若H大于N,且H小于或等于L,将所述N个在线移动终端记录为所述待测试移动终端,并在操作系统种类相同的L个在线移动终端中,除所述N个在线移动终端以外的L-N个在线移动终端,选取出H-N个待测试移动终端,得到所述H个待测试移动终端。
  14. 如权利要求11至13任意一项所述的终端设备,其特征在于,当所述联机通信方式为一对多通信时,所述基于所述联机通信方式将所述H个待测试移动终端进行联机,还包括:
    从所述H个待测试移动终端中,确定出操作系统种类和操作系统版本号均相同的数量最大的R个待测试移动终端,其中,R为正整数;
    从所述R个待测试移动终端选取出一个作为一对多通信中的主设备,并将所述主设备以外的H-1个待测试移动终端,以一对多通信的方式连接至所述主设备。
  15. 如权利要求11至13任意一项所述的终端设备,其特征在于,当所述联机通信方式为一对多通信时,所述基于所述联机通信方式将所述H个待测试移动终端进行联机,包括:
    对所述H个待测试移动终端进行H次不放回抽样,并在每次抽样后,将此次抽取出的所述待测试移动终端设置为应用程序功能测试的主设备,将其余的H-1个所述待测试移动终端以一对多通信的方式连接至所述主设备。
  16. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被至少一个处理器执行时实现如下步骤:
    获取待测试应用程序功能的联机通信方式支持的最大联机数H,以及支持所述联机通信方式的在线移动终端数M,其中,H和M均为大于1的正整数;
    若M大于或等于H,从M个在线移动终端中选取出H个待测试移动终端,并基于所述联机通信方式将所述H个待测试移动终端进行联机;
    在已联机的所述H个待测试移动终端中,对所述待测试功能进行测试。
  17. 根据权利要求16所述的计算机可读存储介质,其特征在于,还包括:
    若M小于H,基于所述联机通信方式将所述M个在线移动终端进行联机,在已联机的所述M个在线移动终端中,对所述待测试功能进行测试。
  18. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述从M个在线移动终端中选取出H个待测试移动终端,包括:
    获取每个所述在线移动终端的操作系统种类以及操作系统版本号,计算操作系统种类和操作系统版本号均相同的最大在线移动终端数N,以及操作系统种类相同的最大在线移动终端数L,其中,N和L均为自然数;
    若H小于或等于N,从操作系统种类和操作系统版本号均相同的N个在线移动终端中,选取出所述H个待测试移动终端;
    若H大于N,且H小于或等于L,将所述N个在线移动终端记录为所述待测试移动终端,并在操作系统种类相同的L个在线移动终端中,除所述N个在线移动终端以外的L-N个在线移动终端,选取出H-N个待测试移动终端,得到所述H个待测试移动终端。
  19. 根据权利要求16至18任意一项所述的计算机可读存储介质,其特征在于,当所述联机通信方式为一对多通信时,所述基于所述联机通信方式将所述H个待测试移动终端进行联机,还包括:
    从所述H个待测试移动终端中,确定出操作系统种类和操作系统版本号均相同的数量最大的R个待测试移动终端,其中,R为正整数;
    从所述R个待测试移动终端选取出一个作为一对多通信中的主设备,并将所述主设备以外的H-1个待测试移动终端,以一对多通信的方式连接至所述主设备。
  20. 根据权利要求16至18任意一项所述的计算机可读存储介质,当所述联机通信方式为一对多通信时,所述基于所述联机通信方式将所述H个待测试移动终端进行联机,包括:
    对所述H个待测试移动终端进行H次不放回抽样,并在每次抽样后,将此次抽取出的所述待测试移动终端设置为应用程序功能测试的主设备,将其余的H-1个所述待测试移动终端以一对多通信的方式连接至所述主设备。
PCT/CN2018/097144 2018-05-14 2018-07-26 一种应用程序测试方法、装置、终端设备及介质 WO2019218466A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810455739.XA CN108628712B (zh) 2018-05-14 2018-05-14 一种应用程序测试方法及终端设备
CN201810455739.X 2018-05-14

Publications (1)

Publication Number Publication Date
WO2019218466A1 true WO2019218466A1 (zh) 2019-11-21

Family

ID=63693205

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/097144 WO2019218466A1 (zh) 2018-05-14 2018-07-26 一种应用程序测试方法、装置、终端设备及介质

Country Status (2)

Country Link
CN (1) CN108628712B (zh)
WO (1) WO2019218466A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113297090A (zh) * 2021-06-11 2021-08-24 南方电网数字电网研究院有限公司 系统测试方法、装置、计算机设备和存储介质
CN115865193A (zh) * 2023-02-27 2023-03-28 中国人民解放军火箭军工程大学 一种用于反射内存组网性能测试的装置及其方法

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446050A (zh) * 2018-11-01 2019-03-08 北京汉迪移动互联网科技股份有限公司 一种功能测试方法及装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717337A (zh) * 2015-04-03 2015-06-17 杭州昕云信息科技有限公司 一种批量测试手机应用的方法及其使用的设备
CN104869534A (zh) * 2015-05-22 2015-08-26 东信和平科技股份有限公司 一种基于手机应用远程检测智能卡的方法及系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6474636A (en) * 1987-09-17 1989-03-20 Fujitsu Ltd Dummy online test method for terminal equipment
CN105467230A (zh) * 2014-08-12 2016-04-06 鸿富锦精密工业(深圳)有限公司 电子产品测试系统、方法及其感测装置
CN105338545B (zh) * 2015-12-10 2019-05-03 Oppo广东移动通信有限公司 一台移动终端同时测试多台移动终端的方法及装置
CN106897218A (zh) * 2017-02-13 2017-06-27 北京趣拿软件科技有限公司 软件测试管理方法和装置
CN107357726A (zh) * 2017-07-04 2017-11-17 广州云测信息技术有限公司 一种应用程序兼容性测试方法和装置

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717337A (zh) * 2015-04-03 2015-06-17 杭州昕云信息科技有限公司 一种批量测试手机应用的方法及其使用的设备
CN104869534A (zh) * 2015-05-22 2015-08-26 东信和平科技股份有限公司 一种基于手机应用远程检测智能卡的方法及系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113297090A (zh) * 2021-06-11 2021-08-24 南方电网数字电网研究院有限公司 系统测试方法、装置、计算机设备和存储介质
CN113297090B (zh) * 2021-06-11 2024-01-23 南方电网数字平台科技(广东)有限公司 系统测试方法、装置、计算机设备和存储介质
CN115865193A (zh) * 2023-02-27 2023-03-28 中国人民解放军火箭军工程大学 一种用于反射内存组网性能测试的装置及其方法

Also Published As

Publication number Publication date
CN108628712B (zh) 2021-09-28
CN108628712A (zh) 2018-10-09

Similar Documents

Publication Publication Date Title
US10680921B2 (en) Virtual intelligent platform management interface for hardware components
WO2019227641A1 (zh) 一种应用程序测试方法、装置、终端设备及介质
WO2019218466A1 (zh) 一种应用程序测试方法、装置、终端设备及介质
CN105468548B (zh) 串行外围接口的通信
CN112996020B (zh) 一种基于蓝牙的自动化测试方法、装置及蓝牙测试终端
CN110019496B (zh) 数据读写方法和系统
KR20200112494A (ko) 전자 장치 및 이의 제어 방법
TWI512495B (zh) 使標準連接及專屬連接使用共存之方法和系統、與主機計算裝置
US8583966B2 (en) Methods and structure for debugging DDR memory of a storage controller
US8819218B2 (en) Apparatus, system, and method for device level enablement of a communications protocol
US9158609B2 (en) Universal serial bus testing device
CN113177015A (zh) 基于帧头的串口通讯方法和串口芯片
US8738816B2 (en) Management of detected devices coupled to a host machine
CN107885674B (zh) 蓝牙设备模拟器及其工作方法、蓝牙设备作业系统
CN107818061B (zh) 关联外围设备的数据总线和管理总线
US20230336551A1 (en) Method and device for providing web page using captive portal
US20110145655A1 (en) Input/output hub to input/output device communication
US20210294758A1 (en) Systems and methods for queuing device management configuration requests
WO2014036725A1 (zh) 一种配置pcie端口的方法、装置和设备
CN109976778B (zh) 车辆电子产品的软件更新方法与系统、上位机及存储介质
TWI637177B (zh) 用於測試半導體元件之系統及方法
CN111651392B (zh) 一种用于连接可穿戴设备的方法、系统及设备
CN114356541B (zh) 一种计算核心的配置方法及装置、系统、电子设备
CN114444423B (zh) 基于验证平台的数据处理方法、系统及电子设备
US20240061964A1 (en) Bmc platform offload to a remote application

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18918927

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18918927

Country of ref document: EP

Kind code of ref document: A1