CN108628712A - A kind of applied program testing method and terminal device - Google Patents

A kind of applied program testing method and terminal device Download PDF

Info

Publication number
CN108628712A
CN108628712A CN201810455739.XA CN201810455739A CN108628712A CN 108628712 A CN108628712 A CN 108628712A CN 201810455739 A CN201810455739 A CN 201810455739A CN 108628712 A CN108628712 A CN 108628712A
Authority
CN
China
Prior art keywords
online
tested
mobile terminals
mobile terminal
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810455739.XA
Other languages
Chinese (zh)
Other versions
CN108628712B (en
Inventor
袁硕彬
马豪华
向新娥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810455739.XA priority Critical patent/CN108628712B/en
Priority to PCT/CN2018/097144 priority patent/WO2019218466A1/en
Publication of CN108628712A publication Critical patent/CN108628712A/en
Application granted granted Critical
Publication of CN108628712B publication Critical patent/CN108628712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

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

The present invention provides a kind of applied program testing method and terminal devices, are suitable for technical field of data processing, and this method includes:The online several H of maximum that the on-line communication mode of function of application to be tested is supported are obtained, and support the online mobile terminal number M of on-line communication mode;If M is greater than or equal to H, H mobile terminals to be tested are selected from a online mobile terminals of M, and based on on-line communication mode that H mobile terminals progress to be tested are online;In online H mobile terminals to be tested, treats test function and tested.The embodiment of the present invention pair can be online maximum quantity online mobile terminal carry out it is automatic online, again based on the test use-case tested comprising online function, online function test is carried out to online mobile terminal to be tested, to ensure that the validity test of the application program to needing the online function of using.

Description

A kind of applied program testing method and terminal device
Technical field
The invention belongs to technical field of data processing more particularly to applied program testing methods and terminal device.
Background technology
Existing function of application test method is all independently to carry out application program as unit of separate unit mobile terminal (i.e. the single machine functional test) of control and functional test, although the functional test need of most application program can be met in this way It asks, but for some special functions of needing mobile terminal phase interconnections aptitude test, such as some are based on bluetooth closely For the data sharing function of communication, single machine functional test be difficult to it is true completely to the application program with these functions into Row functional test.Therefore, function of application test method in the prior art and not perfect can not need online make to having The application program of function carries out validity test.
Invention content
In view of this, an embodiment of the present invention provides a kind of applied program testing method and terminal device, it is existing to solve It can not be to having the function of the problem of needing the online application program used to carry out validity test in technology.
The first aspect of the embodiment of the present invention provides a kind of applied program testing method, including:
The online several H of maximum that the on-line communication mode of function of application to be tested is supported are obtained, and are supported described The online mobile terminal number M of machine communication mode, wherein H and M is the positive integer more than 1;
If M is greater than or equal to H, H mobile terminals to be tested are selected from M online mobile terminals, and based on described On-line communication mode carries out the H mobile terminals to be tested online;
In the online H mobile terminals to be tested, the function to be tested is tested.
The second aspect of the embodiment of the present invention provides a kind of Application testing terminal device, the Application testing Terminal device includes memory, processor, and the computer program that can be run on the processor is stored on the memory, The processor realizes following steps when executing the computer program.
The online several H of maximum that the on-line communication mode of function of application to be tested is supported are obtained, and are supported described The online mobile terminal number M of machine communication mode, wherein H and M is the positive integer more than 1;
If M is greater than or equal to H, H mobile terminals to be tested are selected from M online mobile terminals, and based on described On-line communication mode carries out the H mobile terminals to be tested online;
In the online H mobile terminals to be tested, the function to be tested is tested.
The third aspect of the embodiment of the present invention provides a kind of computer readable storage medium, including:It is stored with computer Program, which is characterized in that the computer program realizes applied program testing method as described above when being executed by processor Step.
Existing advantageous effect is the embodiment of the present invention compared with prior art:The embodiment of the present invention passes through to on-line communication The online number of maximum and the online mobile terminal number of on-line communication mode is supported to be compared that mode is supported, to determine to join The online mobile terminal number of maximum of machine, so that it is determined that go out all mobile terminals to be tested and carry out it is online, then based on comprising online The test use-case of functional test carries out online function test, to ensure that needs to online mobile terminal to be tested The validity test of the application program of the online function of using.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram for the applied program testing method that the embodiment of the present invention one provides;
Fig. 2 is the implementation process schematic diagram of applied program testing method provided by Embodiment 2 of the present invention;
Fig. 3 is the implementation process schematic diagram for the applied program testing method that the embodiment of the present invention three provides;
Fig. 4 is the implementation process schematic diagram for the applied program testing method that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram for the Application testing device that the embodiment of the present invention five provides;
Fig. 6 is the schematic diagram for the Application testing terminal device that the embodiment of the present invention six provides.
Specific implementation mode
In being described below, for illustration and not for limitation, it is proposed that such as tool of particular system structure, technology etc Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Fig. 1 shows the implementation flow chart for the applied program testing method that the embodiment of the present invention one provides, and details are as follows:
S101 obtains the online several H of maximum that the on-line communication mode of function of application to be tested is supported, and supports connection The online mobile terminal number M of machine communication mode, wherein H and M is the positive integer more than 1.
Wherein, on-line communication mode refers to the communication mode that can be used for mobile terminal being communicatively coupled, including but not It is limited to such as bluetooth, WIFI, NFC and infrared communication.The online number of maximum that can be supported due to each on-line communication mode is simultaneously It differs, can be One-to-one communication connection can also be one-to-many communication connection if bluetooth is according to version difference, therefore bluetooth The online several H of maximum of support are different according to versions and difference, and NFC is then One-to-one communication connection, i.e. NFC is most Big online several H=2, therefore, specific on-line communication mode that the occurrence of H need to be used needed for function to be tested and online Communication mode corresponds to version to inquire determination, such as carries out near-field communication data transmission when function to be tested needs use NFC, Corresponding H=2 at this time.
Since the type of on-line communication mode is more, consider for factors such as costs, mobile terminal tends not to support institute There is on-line communication mode but only support one of which or several, it is therefore desirable to be filtered out from the online mobile terminal having connected The terminal of on-line communication mode needed for supporting such as is screened from online mobile terminal with ensureing subsequent normal connectivity and test Go out to support the mobile terminal of Bluetooth communication.
It should be explanatorily such as common since the online used communication technology of mobile terminal is mostly near-field communication technology Bluetooth and WiFi etc., therefore in order to ensure being normally carried out for online testing, in the embodiment of the present invention it is all it is online it is mobile eventually End the distance between, all should the small maximum communication distance equal to on-line communication mode that is, in embodiments of the present invention testing Before beginning, the position of each online mobile terminal need to be set according to used on-line communication mode manually by technical staff And mutual positional distance, to ensure subsequently be normally carried out online testing.
S102 selects H mobile terminals to be tested, and be based on if M is greater than or equal to H from M online mobile terminals On-line communication mode carries out H mobile terminals to be tested online.
When M is greater than or equal to H, illustrate that online mobile terminal number that can be online is supported more than or equal to on-line communication mode The online number of maximum.At this point, in order to which how test application program as much as possible waits for the support effect to on-line communication, and more Functional stabilization in the case of mobile device is online is examined simultaneously with improving the validity for treating test application program functional test To consider when online mobile terminal number to be tested is more, the mobile terminal number that can be subsequently tested is also more, therefore, this hair The online several H of maximum that can be directly supported on-line communication mode in bright embodiment, the quantity as this mobile device to be tested.
After determining mobile device number to be tested, need to select from the online mobile device of M required H it is to be measured Mobile terminal is tried, the embodiment of the present invention is not defined specific choosing method, including but not limited to such as side of randomly selecting Method specifically refers to this and illustrates subsequent embodiment explanation.After determining final H mobile terminals to be tested, the present invention is real Apply regular meeting these mobile terminals are carried out it is online to ensure being normally carried out for follow-up test, it is such as to be tested by H-1 by bluetooth Mobile terminal, it is one-to-many to be connected to a mobile terminal to be tested, it completes online to the bluetooth of H mobile terminals to be tested.
S103 treats test function and is tested in online H mobile terminals to be tested.
After the completion of online, according to test case that is input by user or pre-setting, these online H are waited for It tests mobile terminal and carries out functional test, to complete to having the function of needing the functional test of the online application program used.
The embodiment of the present invention is by the online number of maximum supported online communication mode and supports on-line communication mode Online mobile terminal number is compared, with determine can be online the online mobile terminal number of maximum, so that it is determined that going out all to be measured Examination mobile terminal and carry out it is online, then based on the test use-case tested comprising online function, to it is online it is to be tested it is mobile eventually End carries out online function test, to ensure that the validity test of the application program to needing the online function of using.
As the embodiment of the present invention two, as shown in Fig. 2, after obtaining H and M, further include:
S104, it is based on on-line communication mode that M online mobile terminals progress are online if M is less than H, at online M In online mobile terminal, treats test function and tested.
When M is less than H, illustrate at most also can only M online mobile terminals be carried out online testing, therefore, the present invention is real Apply in example directly to carry out functional test using M online mobile terminals as mobile terminal to be tested.
A kind of specific implementation of H mobile terminals to be tested is selected from M online mobile terminals as this, such as Shown in Fig. 3, the embodiment of the present invention three, including::
S301 obtains the type of operating system and operating system version number of each online mobile terminal, calculating operation system The online mobile terminal number N of the maximum of type of uniting and operating system version all same and the identical maximum of type of operating system Online mobile terminal number L, wherein N and L is natural number.
Since there may be differences, such as operating system for the operating system and operating system version number of online mobile terminal Both may be Android system, it is also possible to IOS systems or blackberry, blueberry system etc., even and IOS systems, also have IOS10 and Version different IOS11 etc., and in actual conditions, even same operation system but different operating system between different operating system Mobile terminal between version when being communicatively coupled, have it is larger it is possible that compatible problem, to being easy so that Problem is susceptible in test process.Therefore, occur causing to occur testing to ask because of operating system difference to reduce follow-up test The possibility of topic, the embodiment of the present invention can be to the online mobile terminal numbers of different operating system, such as the online movement of Android system The online mobile terminal number analysis of number of terminals, the online mobile terminal number of IOS systems and blackberry, blueberry system is counted, and is determined Go out maximum quantity L therein, while the online mobile terminal number of different operating system version number can also be counted, is such as counted The online mobile terminal number of IOS11 and the online mobile terminal number of Android 7.0, and therefrom determine that operating system version number is the same The online mobile terminal number N of maximum so that subsequently can the identical mobile terminal of priority service system carry out online testing, improve The reliability of test.
S302, if H is less than or equal to N, from N number of online movement of type of operating system and operating system version all same In terminal, H mobile terminals to be tested are selected.
It is equal to N when H is small, illustrates have the identical online mobile terminal of enough operating system versions to be tested for us, It therefore, can be directly in the identical N number of online shifting of operating system version number in the embodiment of the present invention in order to improve the reliability of test H mobile terminals to be tested are selected in dynamic terminal for online testing.
S303, if H is more than N, and H is less than or equal to L, is mobile terminal to be tested by N number of online mobile terminal records, and In the identical L online mobile terminal of type of operating system, the L-N online movements in addition to N number of online mobile terminal are eventually End selects H-N mobile terminals to be tested, obtains H mobile terminals to be tested.
When H be more than N, but it is small be equal to L, illustrate the identical online mobile terminal of no sufficient amount of operating system version For test, therefore, in order to improve the reliability of test as much as possible, the embodiment of the present invention can be identical by operating system version It is N number of after line mobile terminal is as mobile terminal to be tested, then backward, at L-N of other versions of the operating system In online mobile terminal, remaining H-N mobile terminals to be tested are selected, to obtain final required H movement to be tested Terminal is for online testing.
As an alternative embodiment of the invention, on the basis of above-described embodiment three, if H is more than L, by operating system phase L same online mobile terminal records are mobile terminal to be tested, and from the online mobile terminal of other operating systems, are chosen Go out H-L mobile terminals to be tested, to obtain final required H mobile terminal to be tested for online testing.
As the embodiment of the present invention four, as shown in figure 4, when on-line communication mode is one-to-many communication, based on online logical Letter mode state H mobile terminals to be tested carry out it is online, including:
S401 determines type of operating system and operating system version all same from H mobile terminals to be tested Maximum R mobile terminals to be tested of quantity, wherein R is positive integer.
S402 selects one as the main equipment in one-to-many communication from R mobile terminals to be tested, and by main equipment H-1 mobile terminals to be tested in addition, main equipment is connected in a manner of one-to-many communication.
Illustrated by the embodiments of the present invention it is found that between different operating system or even same operation system different operation Between system version, all it is possible that the compatibility issue of communication connection.And in view of all non-master in one-to-many communication Equipment is all to be attached communication with main equipment, i.e., all non-main equipments are required for being communicatively coupled with main equipment, therefore In order to ensure being normally carried out for communication connection, ensure that the normal connectivity between mobile terminal to be tested and test, the present invention are implemented Regular meeting finds out the maximum mobile terminal to be tested of the identical quantity of system version number, such as 7.0 two kinds of behaviour of only IOS11 and Android When making the online mobile terminal of system version, it can judge that the corresponding mobile terminal number to be tested of the two determines the maximum behaviour of quantity Make R mobile terminals to be tested of system version.
After determining R mobile terminals to be tested, the embodiment of the present invention can using one of them as main equipment, and by its Each slave is established with main equipment and is communicated to connect as slave by H-1 remaining mobile terminals to be measured respectively, To complete the on-line operation of mobile terminal to be measured each to H.
As an embodiment of the present invention, when on-line communication mode is one-to-many communication, it is based on the on-line communication Mode is online by H mobile terminals progress to be tested, including:
H sampling without peplacement is carried out to the H mobile terminals to be tested, and after each sampling, this is extracted The mobile terminal to be tested be set as the main equipment of function of application test, by remaining H-1 shiftings to be tested Dynamic terminal is connected to the main equipment in a manner of one-to-many communication.
In actual conditions, when on-line communication mode is one-to-many communication, illustrate in test process main equipment and from Belong to the responsible functional task of equipment and there will necessarily be difference, as main equipment is believed as WiFi transmitting terminals transmitting WiFi when WiFi is online Number, other slaves can connect the WiFi signal of main equipment to complete attended operation, and main equipment can not test WiFi letters at this time Number receive capabilities, slave can not test WiFi signal emission function.Therefore, when on-line communication mode is one-to-many communication When, single test must cannot achieve the complete effective test to online each mobile terminal to be tested.In order to realize Complete effective test to each of online mobile terminal to be tested, the embodiment of the present invention are determining required online testing H mobile terminals to be tested after, can will wherein each mobile terminal to be tested respectively as main equipment, carry out H different master The one-to-many online testing of equipment, i.e., each mobile terminal to be tested can be carried out an online testing as main equipment.
Due in the embodiment of the present invention one as much as possible by can be online online mobile terminal be determined as it is to be tested it is mobile eventually End, and in embodiments of the present invention all mobile terminals to be tested determined have been carried out with a pair of a main equipment respectively More communication online tests, so that can be after primary mobile terminal screening to be tested, to greatest extent in the embodiment of the present invention Ground, which is realized, tests the online function of each mobile terminal to be tested, without re-starting the sieve of mobile terminal to be tested every time Work is selected, high degree is low to be improved to the test with the high efficient and reliable for needing the online application program used.
The embodiment of the present invention, by can be in inline extent the online number of maximum that online communication mode is supported and branch The online mobile terminal number for holding on-line communication mode is compared, and determines the online mobile terminal number of maximum that can be online, to Determine all mobile terminals to be tested.Operating system and operating system version number based on mobile terminal to be tested simultaneously, Main equipment to carry out one-to-many communication chooses and on-line operation, to realize to mobile terminal operating system, physical location And the comprehensive consideration of on-line communication mode feature carrys out the screening to mobile terminal to be tested and online, to ensure subsequently to online The validity of test.Establish it is online after, then based on the test use-case tested comprising online function, to online shifting to be tested Dynamic terminal carries out online function test, to ensure that the validity test of the application program to needing the online function of using.
Corresponding to the method for foregoing embodiments, Fig. 5 shows Application testing device provided in an embodiment of the present invention Structure diagram illustrates only and the relevant part of the embodiment of the present invention for convenience of description.The exemplary Application testings of Fig. 5 Device can be the executive agent for the applied program testing method that previous embodiment one provides.
With reference to Fig. 5, which includes:
Online several identification modules 51, the maximum connection that the on-line communication mode for obtaining function of application to be tested is supported Machine number H, and support the online mobile terminal number M of the on-line communication mode, wherein H and M is the positive integer more than 1.
It is a to be tested to select H if being greater than or equal to H for M from M online mobile terminals for terminal selection module 52 Mobile terminal, and it is based on the on-line communication mode that the H mobile terminals progress to be tested are online.
Test module 53, in the online H mobile terminals to be tested, being carried out to the function to be tested Test.
Further, the Application testing device further includes:
Terminal on-line module, if being less than H for M, based on the on-line communication mode by the online mobile terminals of the M into Row is online, in the online M online mobile terminals, tests the function to be tested.
Further, terminal chooses module 52, including:
Obtain the type of operating system and operating system version number of each online mobile terminal, calculating operation system The online mobile terminal number N of the maximum of type and operating system version all same and the identical maximum of type of operating system exist Line mobile terminal number L, wherein N and L is natural number.
If H is less than or equal to N, from N number of online mobile terminal of type of operating system and operating system version all same In, select the H mobile terminals to be tested.
If H is more than N, and H is less than or equal to L, is described to be tested mobile whole by N number of online mobile terminal records It holds, and in the identical L online mobile terminal of type of operating system, L-N in addition to N number of online mobile terminal exist Line mobile terminal selects H-N mobile terminals to be tested, obtains the H mobile terminals to be tested.
Further, terminal chooses module 52, further includes:
From the H mobile terminals to be tested, type of operating system and operating system version all same are determined Maximum R mobile terminals to be tested of quantity, wherein R is positive integer.
One is selected as the main equipment in one-to-many communication from the R mobile terminals to be tested, and by the master H-1 mobile terminals to be tested other than equipment, are connected to the main equipment in a manner of one-to-many communication.
Further, terminal chooses module 52, further includes:
H sampling without peplacement is carried out to the H mobile terminals to be tested, and after each sampling, this is extracted The mobile terminal to be tested be set as the main equipment of function of application test, by remaining H-1 shiftings to be tested Dynamic terminal is connected to the main equipment in a manner of one-to-many communication.
Each module realizes the process of respective function in Application testing device provided in an embodiment of the present invention, can specifically join The description of embodiment illustrated in fig. 1 one is stated before examination, and details are not described herein again.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Although will also be appreciated that term " first ", " second " etc. are used in some embodiment of the present invention in the text Various elements are described, but these elements should not be limited by these terms.These terms are used only to an element It is distinguished with another element.For example, the first contact can be named as the second contact, and similarly, the second contact can be by It is named as the first contact, without departing from the range of various described embodiments.First contact and the second contact are all contacts, but Be them it is not same contact.
Fig. 6 is the schematic diagram for the Application testing terminal device that one embodiment of the invention provides.As shown in fig. 6, the reality The Application testing terminal device 6 for applying example includes:Processor 60, memory 61, being stored in the memory 61 can be in institute State the computer program 62 run on processor 60.The processor 60 is realized above-mentioned each when executing the computer program 62 Step in applied program testing method embodiment, such as step 101 shown in FIG. 1 is to 103.Alternatively, the processor 60 is held The function of each module/unit in above-mentioned each device embodiment, such as module 51 shown in Fig. 5 are realized when the row computer program 62 To 53 function.
The Application testing terminal device 6 can be desktop PC, notebook, palm PC and cloud service The computing devices such as device.The Application testing terminal device may include, but be not limited only to, processor 60, memory 61.Ability Field technique personnel are appreciated that Fig. 6 is only the example of Application testing terminal device 6, do not constitute and are surveyed to application program The restriction for trying terminal device 6 may include either combining certain components or different than illustrating more or fewer components Component, such as the Application testing terminal device can also include input sending device, network access equipment, bus etc..
Alleged processor 60 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 61 can be the internal storage unit of the Application testing terminal device 6, such as using journey Sequence tests the hard disk or memory of terminal device 6.The memory 61 can also be the outer of the Application testing terminal device 6 The plug-in type hard disk being equipped in portion's storage device, such as the Application testing terminal device 6, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, The memory 61 can also both include the Application testing terminal device 6 internal storage unit and also including external storage Equipment.The memory 61 is used to store other needed for the computer program and the Application testing terminal device Program and data.The memory 61 can be also used for temporarily storing the data that has sent or will send.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can be stored in a computer read/write memory medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium May include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried Dish, CD, computer storage, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the meter The content that calculation machine readable medium includes can carry out increase and decrease appropriate according to legislation in jurisdiction and the requirement of patent practice, Such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and telecommunications Signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to aforementioned reality Applying example, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed Or replace, so that the essence of corresponding technical solution is detached from the spirit and scope of various embodiments of the present invention technical solution, it should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of applied program testing method, which is characterized in that including:
The online several H of maximum that the on-line communication mode of function of application to be tested is supported are obtained, and are supported described online logical The online mobile terminal number M of letter mode, wherein H and M is the positive integer more than 1;
If M is greater than or equal to H, H mobile terminals to be tested are selected from M online mobile terminals, and based on described online Communication mode carries out the H mobile terminals to be tested online;
In the online H mobile terminals to be tested, the function to be tested is tested.
2. applied program testing method as described in claim 1, which is characterized in that further include:
It is based on the on-line communication mode that the M online mobile terminals progress are online if M is less than H, described in online In M online mobile terminals, the function to be tested is tested.
3. applied program testing method as described in claim 1, which is characterized in that described to be selected from M online mobile terminals H mobile terminals to be tested are taken out, including:
Obtain the type of operating system and operating system version number of each online mobile terminal, calculating operation system type The identical maximum online shifting with the online mobile terminal number N of maximum and type of operating system of operating system version all same Dynamic number of terminals L, wherein N and L is natural number;
If H is less than or equal to N, from type of operating system and N number of online mobile terminal of operating system version all same, choosing Take out the H mobile terminals to be tested;
If H is more than N, and H is less than or equal to L, is the mobile terminal to be tested by N number of online mobile terminal records, and In the identical L online mobile terminal of type of operating system, the L-N online shiftings in addition to N number of online mobile terminal Dynamic terminal selects H-N mobile terminals to be tested, obtains the H mobile terminals to be tested.
4. the applied program testing method as described in claims 1 to 3 any one, which is characterized in that when the on-line communication It is described based on the on-line communication mode that the H mobile terminals progress to be tested are online when mode is one-to-many communication, also Including:
From the H mobile terminals to be tested, the quantity of type of operating system and operating system version all same is determined Maximum R mobile terminals to be tested, wherein R is positive integer;
One is selected as the main equipment in one-to-many communication from the R mobile terminals to be tested, and by the main equipment H-1 mobile terminals to be tested in addition, are connected to the main equipment in a manner of one-to-many communication.
5. the applied program testing method as described in claims 1 to 3 any one, which is characterized in that when the on-line communication It is described that the H mobile terminals to be tested are carried out by online, packet based on the on-line communication mode when mode is one-to-many communication It includes:
H sampling without peplacement is carried out to the H mobile terminals to be tested, and after each sampling, the institute that this is extracted The main equipment that mobile terminal to be tested is set as function of application test is stated, it is described to be tested mobile whole by remaining H-1 End is connected to the main equipment in a manner of one-to-many communication.
6. a kind of Application testing terminal device, which is characterized in that the Application testing processing terminal equipment includes depositing Reservoir, processor, the computer program that can be run on the processor is stored on the memory, and the processor executes Following steps are realized when the computer program:
The online several H of maximum that the on-line communication mode of function of application to be tested is supported are obtained, and are supported described online logical The online mobile terminal number M of letter mode, wherein H and M is the positive integer more than 1;
If M is greater than or equal to H, H mobile terminals to be tested are selected from M online mobile terminals, and based on described online Communication mode carries out the H mobile terminals to be tested online;
In the online H mobile terminals to be tested, the function to be tested is tested.
7. Application testing terminal device as claimed in claim 6, which is characterized in that described from M online mobile terminals H mobile terminals to be tested are selected, are specifically included:
Obtain the type of operating system and operating system version number of each online mobile terminal, calculating operation system type The identical maximum online shifting with the online mobile terminal number N of maximum and type of operating system of operating system version all same Dynamic number of terminals L, wherein N and L is natural number;
If H is less than or equal to N, from type of operating system and N number of online mobile terminal of operating system version all same, choosing Take out the H mobile terminals to be tested;
If H is more than N, and H is less than or equal to L, is the mobile terminal to be tested by N number of online mobile terminal records, and In the identical L online mobile terminal of type of operating system, the L-N online shiftings in addition to N number of online mobile terminal Dynamic terminal selects H-N mobile terminals to be tested, obtains the H mobile terminals to be tested.
8. Application testing terminal device as claimed in claims 6 or 7, which is characterized in that when the on-line communication mode is It is described that the H mobile terminals to be tested are carried out based on the on-line communication mode by online, specific packet when one-to-many communication It includes:
From the H mobile terminals to be tested, the quantity of type of operating system and operating system version all same is determined Maximum R mobile terminals to be tested, wherein R is positive integer;
One is selected as the main equipment in one-to-many communication from the R mobile terminals to be tested, and by the main equipment H-1 mobile terminals to be tested in addition, are connected to the main equipment in a manner of one-to-many communication.
9. Application testing terminal device as claimed in claims 6 or 7, which is characterized in that when the on-line communication mode is It is described that the H mobile terminals to be tested are carried out based on the on-line communication mode by online, specific packet when one-to-many communication It includes:
H sampling without peplacement is carried out to the H mobile terminals to be tested, and after each sampling, the institute that this is extracted The main equipment that mobile terminal to be tested is set as function of application test is stated, it is described to be tested mobile whole by remaining H-1 End is connected to the main equipment in a manner of one-to-many communication.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
CN201810455739.XA 2018-05-14 2018-05-14 Application program testing method and terminal equipment Active CN108628712B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810455739.XA CN108628712B (en) 2018-05-14 2018-05-14 Application program testing method and terminal equipment
PCT/CN2018/097144 WO2019218466A1 (en) 2018-05-14 2018-07-26 Application program testing method and apparatus, terminal device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810455739.XA CN108628712B (en) 2018-05-14 2018-05-14 Application program testing method and terminal equipment

Publications (2)

Publication Number Publication Date
CN108628712A true CN108628712A (en) 2018-10-09
CN108628712B CN108628712B (en) 2021-09-28

Family

ID=63693205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810455739.XA Active CN108628712B (en) 2018-05-14 2018-05-14 Application program testing method and terminal equipment

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446050A (en) * 2018-11-01 2019-03-08 北京汉迪移动互联网科技股份有限公司 A kind of function test method and device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113297090B (en) * 2021-06-11 2024-01-23 南方电网数字平台科技(广东)有限公司 System test method, device, computer equipment and storage medium
CN115865193B (en) * 2023-02-27 2023-05-09 中国人民解放军火箭军工程大学 Device and method for testing reflective memory networking performance

Citations (6)

* 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
CN104717337A (en) * 2015-04-03 2015-06-17 杭州昕云信息科技有限公司 Method for testing mobile application in batch and equipment used in method
CN105338545A (en) * 2015-12-10 2016-02-17 广东欧珀移动通信有限公司 Method and device for simultaneously testing multiple mobile terminals through one mobile terminal
CN105467230A (en) * 2014-08-12 2016-04-06 鸿富锦精密工业(深圳)有限公司 Electronic product testing system, electronic product testing method and sensing device thereof
CN106897218A (en) * 2017-02-13 2017-06-27 北京趣拿软件科技有限公司 Software testing management method and device
CN107357726A (en) * 2017-07-04 2017-11-17 广州云测信息技术有限公司 A kind of application compatibility method of testing and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869534A (en) * 2015-05-22 2015-08-26 东信和平科技股份有限公司 Method based on mobile phone application remote detection smart card and system thereof

Patent Citations (6)

* 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 (en) * 2014-08-12 2016-04-06 鸿富锦精密工业(深圳)有限公司 Electronic product testing system, electronic product testing method and sensing device thereof
CN104717337A (en) * 2015-04-03 2015-06-17 杭州昕云信息科技有限公司 Method for testing mobile application in batch and equipment used in method
CN105338545A (en) * 2015-12-10 2016-02-17 广东欧珀移动通信有限公司 Method and device for simultaneously testing multiple mobile terminals through one mobile terminal
CN106897218A (en) * 2017-02-13 2017-06-27 北京趣拿软件科技有限公司 Software testing management method and device
CN107357726A (en) * 2017-07-04 2017-11-17 广州云测信息技术有限公司 A kind of application compatibility method of testing and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446050A (en) * 2018-11-01 2019-03-08 北京汉迪移动互联网科技股份有限公司 A kind of function test method and device

Also Published As

Publication number Publication date
CN108628712B (en) 2021-09-28
WO2019218466A1 (en) 2019-11-21

Similar Documents

Publication Publication Date Title
CN110221962B (en) Centralized software test management system and method
CN103616937B (en) A kind of mainboard, PCIE network interface card and server system
US9952276B2 (en) Tester with mixed protocol engine in a FPGA block
US9424221B2 (en) Automated cabling process for a complex environment
CN108628712A (en) A kind of applied program testing method and terminal device
CN109815252A (en) Test data generating method, device, computer equipment and readable storage medium storing program for executing
CN105468302B (en) A kind of method, apparatus and system of processing data
CN108255707A (en) Development roles creation method, device, equipment and the storage medium of test case
CN105450476A (en) Regression test system and test method
CN107992386A (en) A kind of router memory method for testing pressure and system
CN114064208A (en) Method and device for detecting application service state, electronic equipment and storage medium
US9846609B2 (en) System and method for testing configuration and operation of I/O devices
CN110083536B (en) Test resource allocation method and device, electronic equipment and storage medium
CN109407655A (en) A kind of method and device for debugging chip
CN108259895A (en) set-top box test method, system and terminal device
CN116436540A (en) LED display screen receiving card testing method and device, testing card and storage medium
CN110413287A (en) The dispositions method and device of software
CN108737162B (en) Test method, test system and test equipment
CN107968718A (en) A kind of method, apparatus and equipment for confirming standby usage state
JP6871980B2 (en) How to control devices in a decentralized environment, decentralized storage systems, decentralized storage networks
CN113986753A (en) Interface test method, device, equipment and storage medium
CN113341767A (en) Method, system and computer readable storage medium for automated testing
CN110113181A (en) Node configuration method, device, computer installation and readable storage medium storing program for executing
CN112948346B (en) Database switching method, device, equipment and computer readable storage medium
CN103129742A (en) Apparatus and method for automatic status check of an aircraft

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
GR01 Patent grant
GR01 Patent grant