CN112822073B - Test method, device, system, electronic equipment and readable storage medium - Google Patents

Test method, device, system, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112822073B
CN112822073B CN202011644429.6A CN202011644429A CN112822073B CN 112822073 B CN112822073 B CN 112822073B CN 202011644429 A CN202011644429 A CN 202011644429A CN 112822073 B CN112822073 B CN 112822073B
Authority
CN
China
Prior art keywords
test
information
mobile terminal
tested
wearable device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011644429.6A
Other languages
Chinese (zh)
Other versions
CN112822073A (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.)
Guangdong Transtek Medical Electronics Co Ltd
Original Assignee
Guangdong Transtek Medical Electronics 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 Guangdong Transtek Medical Electronics Co Ltd filed Critical Guangdong Transtek Medical Electronics Co Ltd
Priority to CN202011644429.6A priority Critical patent/CN112822073B/en
Publication of CN112822073A publication Critical patent/CN112822073A/en
Application granted granted Critical
Publication of CN112822073B publication Critical patent/CN112822073B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a testing method, a testing device, a testing system, electronic equipment and a readable storage medium, and relates to the technical field of software testing. According to the scheme, the test parameter information is sent to the mobile terminal, so that the application to be tested in the mobile terminal can send corresponding indication information to the wearable device according to the test parameter information, automatic testing of the application to be tested and the wearable device can be achieved, and compared with a mode that testing is manually carried out on the mobile terminal by a user in the prior art, the testing method is higher in efficiency.

Description

Test method, device, system, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of software testing technologies, and in particular, to a testing method, an apparatus, a system, an electronic device, and a readable storage medium.
Background
In order to ensure that various functions of the wearable device can be normally used when the wearable device is actually put into use, the wearable device needs to be tested in advance, the existing testing mode is generally manual testing, if the terminal device and the wearable device are bound and connected, the functions of the terminal device and the wearable device are manually operated, whether the wearable device can normally communicate with the terminal device is confirmed, the preset function is realized, and the testing efficiency is low.
Disclosure of Invention
An object of the embodiments of the present application is to provide a testing method, an apparatus, a system, an electronic device and a readable storage medium, so as to solve the problem of low testing efficiency in the prior art.
In a first aspect, an embodiment of the present application provides a testing method, where the method includes: determining at least one test item in a plurality of test items to be tested; sending test parameter information corresponding to the test of the at least one test item to a mobile terminal, so that an application to be tested in the mobile terminal sends corresponding indication information to wearable equipment according to the test parameter information, and the wearable equipment executes corresponding actions according to the indication information; the application to be tested is an application interacting with the wearable device; receiving test information fed back by the mobile terminal after the test of each test item is completed, wherein the test information is obtained after the wearable equipment executes corresponding action according to the indication information; and determining the test result of each test item according to the test information.
In the implementation process, the test parameter information is sent to the mobile terminal, so that the application to be tested in the mobile terminal can send corresponding indication information to the wearable device according to the test parameter information, automatic testing of the application to be tested and the wearable device can be achieved, and compared with a mode that testing is manually performed on the mobile terminal by a user in the prior art, the testing method is higher in efficiency.
Optionally, after determining the test result for each test item according to the test information, the method further includes:
and if the test result is that the test is unqualified, determining a target test item which is unqualified in the test, and outputting prompt information for representing the unqualified test aiming at the target test item. Therefore, the testing personnel can be prompted to verify the test result of the target test item or investigate the unqualified test reason in time.
Optionally, the plurality of test items are determined according to a function of the application to be tested or a function of the wearable device. Therefore, the corresponding test items can be determined according to the actual test requirements.
Optionally, the mobile terminal includes a plurality of mobile terminals, each mobile terminal is connected to one wearable device, and sending test parameter information corresponding to the test of the at least one test item to the mobile terminal includes:
and respectively sending test parameter information corresponding to at least one test item to each mobile terminal. Therefore, parallel testing of a plurality of mobile terminals can be achieved, a plurality of wearable devices can be tested at one time, and testing efficiency is effectively improved.
Optionally, after the testing of the at least one test item, the method further includes:
and sending indication information for connecting another wearable device to the mobile terminal, wherein the indication information comprises device information of the another wearable device. Through the unbinding and binding of the remote control mobile terminal and the wearable equipment, the automatic test of one mobile terminal on a plurality of wearable equipment can be completed, and the test efficiency is effectively improved.
Optionally, the testing method is executed by an upper computer, and before determining at least one test item to be tested, the sending test parameter information corresponding to the test of the at least one test item to the mobile terminal includes:
acquiring the IP address of the mobile terminal in the same local area network with the upper computer;
determining an IP address of a mobile terminal to be tested;
and sending test parameter information corresponding to the at least one test item to the mobile terminal to be tested according to the IP address of the mobile terminal to be tested. Therefore, the aim of automatically sending the test parameter information to the mobile terminals in the same local area network can be fulfilled.
Optionally, the testing method is executed by an upper computer, where a testing script corresponding to at least one testing item is stored in the upper computer, and the method further includes:
and adding, changing or deleting the test script corresponding to the test item. The test script can be changed according to the change of the application function to be tested or the function of the wearable device, the test script is more flexible and convenient to edit in the upper computer, the workload is low, and the development efficiency is improved.
Optionally, the testing method is executed by an upper computer, and the determining at least one test item to be tested includes:
and acquiring at least one test item to be tested selected by a user on a display interface of the upper computer. Therefore, the user can select the corresponding test item according to the test requirement, and the user experience is enhanced.
Optionally, the application to be tested and the wearable device in the mobile terminal do not provide a display interface, so that the development cost and the development period of the application to be tested and the wearable device can be reduced in the testing process.
Optionally, the testing method is executed by an upper computer, and the upper computer communicates with the mobile terminal in a Socket manner. Thereby, the communication efficiency can be improved.
Optionally, the testing method is executed by an upper computer, and the upper computer and the mobile terminal communicate with each other through remote communication. Thus, remote testing can be achieved.
Optionally, the testing method is executed by an upper computer, and data interaction among the upper computer, the mobile terminal, and the wearable device complies with the same communication protocol. Therefore, the test of communication between the mobile terminal and the wearable device can be controlled through the upper computer, the direct operation of hands is replaced, and the test efficiency is improved. Meanwhile, the upper computer can analyze the test information of the wearable equipment returned by the mobile terminal conveniently, and the test result does not need to be judged by visual inspection or by shooting a display interface of the wearable equipment by a third-party device, so that the automation degree of the test method is improved. Furthermore, the test result does not need to be judged according to the display interface of the wearable device, so that the wearable device does not need to develop the display interface in the test stage, and the development cost and the development period of the wearable device software are reduced.
In a second aspect, an embodiment of the present application provides a testing method, which is applied to a mobile terminal, and the method includes:
receiving test parameter information which is sent by an upper computer and corresponds to at least one test item in a plurality of test items to be tested;
sending corresponding indication information to wearable equipment through an application to be tested in the mobile terminal according to the test parameter information, so that the wearable equipment executes corresponding actions according to the indication information; the application to be tested is an application interacting with the wearable device;
acquiring test information sent by the wearable device after the wearable device executes a corresponding action according to the indication information;
and sending the test information to the upper computer so that the upper computer determines the test result of each test item according to the test information.
In the implementation process, the application to be tested in the mobile terminal can send corresponding indication information to the wearable device according to the test parameter information by receiving the test parameter information sent by the upper computer, so that the automatic test of the application to be tested and the wearable device can be realized.
Optionally, the sending, by the application to be tested in the mobile terminal, the corresponding indication information to the wearable device according to the test parameter information includes:
monitoring the received information through an application to be tested in the mobile terminal;
and when the test parameter information is monitored to be obtained, sending corresponding indication information to the wearable equipment according to the test parameter information. So that the indication information can be sent to the wearable device in time.
In a third aspect, an embodiment of the present application provides a test apparatus, where the apparatus includes:
the test item determining module is used for determining at least one test item in a plurality of test items to be tested;
the parameter information sending module is used for sending test parameter information corresponding to the test of the at least one test item to the mobile terminal so that an application to be tested in the mobile terminal sends corresponding indication information to the wearable device according to the test parameter information, and the wearable device executes corresponding actions according to the indication information; the application to be tested is an application interacting with the wearable device;
the test information receiving module is used for receiving test information fed back by the mobile terminal after the test of each test item is finished, and the test information is obtained after the wearable equipment executes corresponding action according to the indication information;
and the test result acquisition module is used for determining the test result of each test item according to the test information.
Optionally, the apparatus further comprises:
and the prompt information output module is used for determining a target test item with unqualified test if the test result is unqualified test, and outputting prompt information for representing the unqualified test aiming at the target test item.
Optionally, the plurality of test items are determined according to a function of the application to be tested or a function of the wearable device.
Optionally, the mobile terminal comprises a plurality of mobile terminals, and each mobile terminal is connected with one wearable device; the parameter information sending module is used for sending test parameter information corresponding to at least one test item to each mobile terminal.
Optionally, after the at least one test item is tested, the parameter information sending module is further configured to send indication information for connecting another wearable device to the mobile terminal, where the indication information includes device information of the another wearable device.
Optionally, the testing device runs in an upper computer, and the parameter information sending module is configured to obtain an IP address of a mobile terminal in the same local area network as the upper computer; determining the IP address of the mobile terminal to be tested; and sending test parameter information corresponding to the at least one test item to the mobile terminal to be tested according to the IP address of the mobile terminal to be tested.
Optionally, the testing apparatus runs in an upper computer, where a testing script corresponding to at least one testing project is stored, and the apparatus further includes:
and the script editing module is used for adding, changing or deleting the test script corresponding to the test item.
Optionally, the testing device runs in an upper computer, and the testing item determining module is configured to obtain at least one testing item to be tested, which is selected by a user on a display interface of the upper computer.
Optionally, the application to be tested in the mobile terminal and the wearable device do not provide a display interface.
Optionally, the testing device runs in an upper computer, and the upper computer communicates with the mobile terminal in a Socket manner.
Optionally, the testing device runs in an upper computer, and the upper computer and the mobile terminal are in remote communication.
Optionally, the testing device runs in an upper computer, and data interaction among the upper computer, the mobile terminal and the wearable device complies with the same communication protocol.
In a fourth aspect, an embodiment of the present application provides a testing apparatus, which operates in a mobile terminal, and the apparatus includes:
the parameter information receiving module is used for receiving test parameter information which is sent by an upper computer and corresponds to at least one test item in a plurality of test items to be tested;
the indication information sending module is used for sending corresponding indication information to the wearable equipment through the application to be tested in the mobile terminal according to the test parameter information so that the wearable equipment executes corresponding actions according to the indication information; the application to be tested is an application interacting with the wearable device;
the test information acquisition module is used for acquiring test information sent by the wearable device after executing corresponding actions according to the indication information;
and the test information sending module is used for sending the test information to the upper computer so that the upper computer determines the test result of each test item according to the test information.
Optionally, the indication information sending module is configured to monitor the received information through an application to be tested in the mobile terminal; and when the test parameter information is monitored to be obtained, sending corresponding indication information to the wearable equipment according to the test parameter information.
In a fifth aspect, an embodiment of the present application provides a test system, where the test system includes an upper computer and a mobile terminal;
the upper computer is used for determining at least one test item in a plurality of test items to be tested;
the upper computer is also used for sending test parameter information corresponding to the test item to the mobile terminal;
the mobile terminal is used for receiving the test parameter information;
the application to be tested in the mobile terminal is used for sending corresponding indication information to the wearable equipment according to the test parameter information so that the wearable equipment executes corresponding actions according to the indication information; the application to be tested is an application interacting with the wearable device;
the mobile terminal is further used for acquiring test information sent by the wearable device after the wearable device executes corresponding actions according to the indication information;
the mobile terminal is further used for sending the test information to the upper computer;
and the upper computer is also used for determining the test result of each test item according to the test information.
In a sixth aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores computer readable instructions, and when the computer readable instructions are executed by the processor, the electronic device executes the steps in the method as provided in the first aspect or the second aspect.
In a seventh aspect, an embodiment of the present application provides a readable storage medium, on which a computer program is stored, where the computer program runs the steps in the method provided in the above first aspect or second aspect when executed by a processor.
Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
To more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of an electronic device for performing a testing method according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a testing method provided in an embodiment of the present application;
FIG. 3 is a flow chart of another testing method provided by embodiments of the present application;
fig. 4 is a block diagram of a testing apparatus according to an embodiment of the present disclosure;
FIG. 5 is a block diagram of another testing apparatus provided in the embodiments of the present application;
fig. 6 is a block diagram of a test system according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
The embodiment of the application provides a testing method, the testing method sends testing parameter information to a mobile terminal through an upper computer, so that an application to be tested in the mobile terminal can send corresponding indication information to wearable equipment according to the testing parameter information, automatic testing of the application to be tested and the wearable equipment can be achieved, and compared with the mode that a user manually tests the mobile terminal in the prior art, the testing method is higher in efficiency.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device for executing a testing method according to an embodiment of the present disclosure, where the electronic device may include: at least one processor 110, e.g., a CPU, at least one communication interface 120, at least one memory 130, and at least one communication bus 140. Wherein the communication bus 140 is used for realizing direct connection communication of these components. The communication interface 120 of the device in this embodiment is used for communicating signaling or data with other node devices. Memory 130 may be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. Memory 130 may optionally be at least one memory device located remotely from the aforementioned processor. The memory 130 stores computer readable instructions, which when executed by the processor 110, cause the electronic device to perform the method processes of fig. 2 or 3 described below.
In this application embodiment, above-mentioned electronic equipment can refer to the host computer in this application embodiment, PC, server etc. promptly, also can refer to mobile terminal, like cell-phone, flat board etc. or wearable equipment, like intelligent bracelet, intelligent wrist-watch etc..
It will be appreciated that the configuration shown in fig. 1 is merely illustrative and that the electronic device may also include more or fewer components than shown in fig. 1 or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 2, fig. 2 is a flowchart of a testing method according to an embodiment of the present application, the method including the following steps:
step S110: at least one test item of a plurality of test items to be tested is determined.
In the application, functions of the wearable device and the application to be tested are tested, and the application to be tested is an application interacting with the wearable device. Wearable equipment refers to equipment such as intelligent bracelet, intelligent wrist-watch, and the application that awaits measuring can control wearable equipment in some circumstances, like close or open equipment, open the incoming call warning function of equipment etc.. Before the application to be tested is deployed to the mobile terminal for application, in order to determine whether some functions of the application to be tested and the wearable device are available, whether communication between the application to be tested and the wearable device is normal, and the like, the application to be tested and the wearable device need to be tested first.
The execution main body of the testing method is an upper computer, namely a computer end, the computer end can provide a visual interface, namely a display interface, for testing, a tester can select a testing item to be tested on the display interface, and therefore the computer end can obtain at least one testing item to be tested, selected by a user, on the display interface of the upper computer.
For example, all test items for testing an application to be tested and a wearable device may be displayed on the display interface, and a user may select the test items according to a requirement, where the plurality of test items include, but are not limited to: closing the device, connecting the device, obtaining device information, reading power, QQ message alerts, weChat message alerts, mail message alerts, message alert off, incoming call alerts, on-hook alerts, sleep data synchronization, exercise data synchronization, physiological parameter data synchronization, night mode, and the like. In practical application, corresponding test items can be set according to practical requirements, for example, a plurality of test items can be determined according to functions of the application to be tested or functions of the wearable device.
The at least one test item to be tested can also be automatically determined by the upper computer according to the test requirement of the test, for example, the test item is input into the upper computer in advance, and when the test is started, the upper computer automatically determines all input test items as the test items to be tested.
In addition, when testing, the host computer can show "test begins" button in the display interface, and the tester can click this button, and the host computer can test according to the test method that this embodiment shows to realize automatic test.
Step S120: and sending test parameter information corresponding to the test of the at least one test item to a mobile terminal, so that an application to be tested in the mobile terminal sends corresponding indication information to wearable equipment according to the test parameter information, and further the wearable equipment executes corresponding actions according to the indication information.
After determining the test items to be tested, the upper computer can send test parameter information corresponding to the test items to the mobile terminal, the test parameter information can be understood as information required by tests related to the test items, if the QQ message is reminded, the corresponding test parameter information can refer to issued QQ simulation information, and after the mobile terminal receives the test parameter information, the application to be tested can detect that the received information is the QQ message, and then the application to be tested sends indication information to the wearable device for indicating the wearable device to perform QQ message reminding display. After the wearable device receives the indication information, the identification information prompted by the QQ message can be displayed on the display interface, or the indicator lamp on the wearable device flickers, so that the user can know that a new QQ message is received and corresponding message content is checked at present according to the prompt of the wearable device without watching the mobile terminal. The same is true for the tests of other test items, the test parameter information may be set in advance for the test items, and the test parameter information corresponding to different test items may be different, which is not illustrated here.
Step S130: and receiving the test information fed back by the mobile terminal after the test of each test item is finished.
After the wearable device executes the corresponding action according to the indication information, the mobile terminal may obtain test information after the wearable device executes the corresponding action, for example, after the wearable device executes the corresponding action, the executed result may be sent to the mobile terminal, and the executed result may include whether the wearable device normally displays, or display information of the wearable device (for example, when the QQ message reminder is tested under normal conditions, the wearable device should normally display related prompt information) and the like, that is, the test information is obtained after the wearable device executes the corresponding action according to the indication information.
It can understand, the specific information that test information contained can set up according to actual conditions is nimble, in some embodiments, if mobile terminal can acquire wearable equipment's display information earlier, then whether it shows unusually to analyze, then send the upper computer as test information with its judgement result whether showing unusually. And the specific information contained in the test information corresponding to each test item may be different.
In addition, in some embodiments, the specific expression form of the test information may be log information, the log information is a string of codes, the wearable device may send the log information to the mobile terminal, the mobile terminal may transmit the log information to the upper computer, and the upper computer may directly analyze information such as a test result of each test item according to the log information.
The wearable device can send the test result after the wearable device executes corresponding action to the mobile terminal in the form of log information, then the mobile terminal can directly forward the log information to the upper computer without analyzing the log information, and under the scene, data interaction among the upper computer, the mobile terminal and the wearable device can obey the same communication protocol, so that the upper computer can directly analyze the log information, and the information processing capacity of the mobile terminal is reduced. For example, when the upper computer analyzes the log information, it can search whether the log information contains specific content, so as to obtain a corresponding test result according to the search result.
And because the three devices obey the same communication protocol, the upper computer can directly send test parameter information to the mobile terminal so as to test the functions of the application to be tested and the wearable device.
In addition, it should be noted that, since the mobile terminal interacts with the upper computer and interacts with the wearable device, in practical applications, data interaction between the mobile terminal and the upper computer may comply with one communication protocol, and data interaction between the mobile terminal and the wearable device may comply with another communication protocol. Therefore, the test of communication between the mobile terminal and the wearable device can be controlled through the upper computer, the direct operation of hands is replaced, and the test efficiency is improved. Meanwhile, the upper computer can analyze the test information of the wearable equipment returned by the mobile terminal conveniently, and the test result is judged without the need of looking up by naked eyes or shooting the display interface of the wearable equipment by a third-party device, so that the automation degree of the test method is improved.
In the embodiment of the application, because the design of the UI interface is a time-consuming and labor-consuming work in the development process of the wearable device, if the test fails in the test process, the communication protocol and the UI interface need to be adjusted, which increases a lot of workload for design and development and brings great inconvenience to the test. In the embodiment of the application, data interaction among the upper computer, the mobile terminal and the wearable device can comply with the same communication protocol, corresponding indication information is sent to the wearable device by an application to be tested in the mobile terminal according to test parameter information sent by the upper computer, the indication information can be log information, the wearable device analyzes the log information and makes corresponding execution action, and then log information is generated according to an execution result and is returned to the mobile terminal. In the automatic testing process, the mobile terminal and the wearable device do not need to be operated, so that the application to be tested of the mobile terminal and the wearable device do not need to be provided with UI interfaces, namely display interfaces, and only corresponding functional modules need to be integrated, so that the development workload in the development process can be reduced, and the cost and the period of design and development are saved.
Step S140: and determining the test result of each test item according to the test information.
After receiving the test information, the upper computer can determine the test result of each test item according to the test information, if the QQ message prompts that the received test information is displayed normally, the test result of the test item is determined to be qualified, and if the test information is displayed abnormally, the test result of the test item is determined to be unqualified. For the test result judgment of other test items, the judgment may also be performed in a similar manner, and for the sake of simplicity of description, the judgment process of each test item is not illustrated here.
In some embodiments, after obtaining the test result of each test item, the upper computer may further analyze the test result, and if the test result is a test failure, may determine a target test item that is a test failure, and output prompt information that characterizes the test failure for the target test item.
For example, when the upper computer determines that the test result of a certain test item is unqualified, prompt information for representing that the test is unqualified can be output on the display interface, if the prompt information 'test item xx-error' is output, the test item xx is unqualified, a tester can know the test condition of the test item in time through the prompt information of the upper computer, and when the test is unqualified, the test process can be checked in time, so that the reason that the test is unqualified can be found.
In other embodiments, a plurality of reasons of each test item failing in the test can be stored in the upper computer in advance, so that when the upper computer determines that a certain test item fails in the test, the stored reasons of the test item failing in the test can be searched, the reasons are output for the reference of a tester, and the tester can perform one-to-one examination on the stored reasons according to the reasons output by the upper computer to find the final reason of the test failure.
In addition, in some embodiments, the test result returned by the wearable device is a string of log information, and the upper computer directly analyzes the log information and judges the test result based on the communication protocol.
In the implementation process, the test parameter information is sent to the mobile terminal, so that the application to be tested in the mobile terminal can send corresponding indication information to the wearable device according to the test parameter information, automatic testing of the application to be tested and the wearable device can be achieved, and compared with a mode that testing is manually performed on the mobile terminal by a user in the prior art, the testing method is higher in efficiency.
In some embodiments, in order to facilitate the upper computer to perform remote or short-range testing, the upper computer and the mobile terminal can communicate in a Socket mode, and short-range communication can be performed at the moment, so that the data interaction efficiency is improved conveniently.
The upper computer and the mobile terminal can also be in remote communication, so that the upper computer can conveniently carry out remote testing, for example, a tester can send testing parameter information to the mobile terminal for testing remotely, and the remote automatic testing can be realized without being limited by the position of the mobile terminal.
It is understood that the upper computer can be remotely connected with the mobile terminal, and the remote communication mode comprises wireless communication and wired communication. For example, the upper computer can be connected with the mobile terminal through a USB cable, the mobile terminal is wirelessly connected with the wearable device, and in the mode, a local area network is formed through a wired connection, so that the wireless wearable device is suitable for short-distance networking, such as networking by using a computer and a mobile phone of the user; or the upper computer is connected with the mobile terminal through WIFI, a local area network can be formed through wireless under the condition, and the wireless local area network is suitable for middle-distance networking, such as a mobile phone of an automatic computer control laboratory; or the upper computer can be connected with the mobile terminal through the VPN, and a local area network can be formed through the VPN under the condition, so that the system is suitable for remote communication, such as a mobile phone of an office control laboratory at home.
Since the application to be detected needs to perform data interaction with the wearable device, and the wearable device generally supports wireless connection, the mobile terminal can communicate with the wearable device through bluetooth or WIFI, and certainly, the mobile terminal can also remotely communicate with the wearable device, so that the application to be detected can also remotely realize corresponding control over the wearable device, such as shutdown control and the like.
In some embodiments, in order to implement the test on a plurality of wearable devices, during the test, a plurality of mobile terminals may be provided, and each mobile terminal is connected to one wearable device, so that the upper computer may send test parameter information corresponding to at least one test item to each mobile terminal.
It can be understood that each mobile terminal is installed with an application to be tested, and each application to be tested is used for interacting with a wearable device connected with the mobile terminal. The upper computer can display the test items tested on each mobile terminal in the display interface, different test items can be selected for different mobile terminals, and the same test items can also be selected, for example, a tester can select the corresponding test items for the test of each mobile terminal in the display interface, or pre-input the test items for each mobile terminal, or a plurality of mobile terminals correspond to the same test items, so that the tester can click a 'test start' button on the display interface during testing, and the upper computer can respectively send corresponding test parameter information to each mobile terminal according to the test items corresponding to each mobile terminal.
Or, if some mobile terminals do not need to be tested currently, some mobile terminals in the plurality of mobile terminals may also be tested, that is, some mobile terminals may be selected to be tested according to requirements.
In the implementation process, the parallel test of the mobile terminals can be realized, so that a plurality of wearable devices can be tested at one time, and the test efficiency is effectively improved.
In some embodiments, when a plurality of test items are tested, because the parallel testing of the plurality of test items may cause mutual interference, the testing may be performed in a certain order, that is, the upper computer may first obtain a test order corresponding to the plurality of test items to be tested, and then sequentially send corresponding test parameter information to the mobile terminal according to the test order.
For example, the test order of the plurality of test items is: the test items 1- > 2- > 3, the upper computer can send the test parameter information corresponding to the test item 1 to the mobile terminal, the upper computer sends the test parameter information corresponding to the test item 2 to the mobile terminal after obtaining the test result corresponding to the test item 1, and sends the test parameter information corresponding to the test item 3 to the mobile terminal after obtaining the test result corresponding to the test item 2, so that sequential testing of a plurality of test items can be achieved.
In some embodiments, the above manner of obtaining the test sequence of the plurality of test items may include: and acquiring the test priority set for each test item, and determining the test sequence corresponding to the plurality of test items according to the test priority.
The testing priority can be that the tester tests each testing item, for example, the tester can set the testing priority for each testing item according to the reasons such as testing importance, the testing is carried out first with high priority, and the testing is carried out after the testing is carried out with low priority, so the testing can be carried out according to the order of high priority.
Or when the tester selects a plurality of test items on the display interface of the upper computer, the priority is automatically set for each test item according to the selection sequence of the tester, if the tester can sequentially select the test items to be tested in the plurality of test items displayed on the display interface, then the upper computer sets the priority for each test item according to the selection sequence of the tester, so that the tester is not required to set the test priority for each test item, and the time is saved.
In other embodiments, the obtaining the test order may further include: acquiring the incidence relation among the plurality of test items, and determining the test sequence corresponding to the plurality of test items according to the incidence relation.
If when testing whether the connection between the mobile terminal and the wearable device is normal, the test items include: the method comprises the steps of connecting equipment and disconnecting equipment, wherein when the two test items are tested, the connecting equipment needs to be tested firstly, and then the disconnecting equipment needs to be tested, namely, the two test items have a certain sequential incidence relation, and the test items without the incidence relation can be randomly distributed with test sequences.
In addition, the determination of the test sequence can also be determined by a test script in the upper computer, namely, when a tester writes the test script in the upper computer, the test script is written according to the test sequence of a plurality of test items, so that when the upper computer runs the test script to test, the test sequence of each test item can be determined according to the running process of the test script, and the test parameter information corresponding to each test item is sequentially sent to the mobile terminal by running the test script.
In some embodiments, the upper computer stores at least one test script corresponding to the test item, so that when the test item is newly added, changed or deleted, the test script corresponding to the test item can be newly added, changed or deleted, if a new function is added to the application to be detected or the wearable device, and if the new function needs to be tested, the test script for testing the new function can be added to the original test script, so that only a small amount of codes need to be added to the upper computer, and the development efficiency is improved. Similarly, if the test item needs to be deleted, the test script corresponding to the test item can be deleted from the upper computer, so that the test flexibility is improved. Because the test script can be changed according to the change of the application function to be tested or the function of the wearable device, the test script can be edited in the upper computer more flexibly and conveniently, the workload is low, and the development efficiency is improved.
Because the data interaction between host computer, mobile terminal and the wearable equipment can obey same communication protocol, so, only need save in the host computer a small amount of test scripts can, the host computer only need control mobile terminal according to communication protocol when testing and test, and do not need manual operation for it is more convenient to test.
In some embodiments, in order to enable the mobile terminal to be accurately connected to the wearable device to be tested, a tester can input device information, such as a MAC address and other information, of the wearable device to be tested in an upper computer, and then the upper computer includes the device information in test parameter information sent to the mobile terminal, so that the mobile terminal can search for the corresponding wearable device according to the device information and then automatically establish communication connection with the wearable device.
Therefore, when a plurality of wearable devices need to be tested, the wearable device connected with the mobile terminal can be replaced according to the device information, for example, indication information for connecting another wearable device is sent to the mobile terminal, and the indication information comprises the device information of the another wearable device.
That is to say, before sending test parameter information, can also send indicating information to mobile terminal earlier, it includes wearable device's equipment information, thereby can make mobile terminal can carry out communication connection with this wearable device, be convenient for follow-up test wearable device, if this wearable device test finishes, when needing to test another wearable device, then the host computer sends an indicating information that carries another wearable device's equipment information again can, make mobile terminal equipment can with the wearable device disconnection back of current connection, be connected with another wearable device, thereby can realize the automatic test to a plurality of wearable devices, improved efficiency of software testing.
It can be understood that, when a plurality of mobile terminals can be tested in parallel, since each mobile terminal can be connected with a wearable device, more wearable devices can be tested by a plurality of mobile terminals. For example, if there are 10 mobile terminals, 100 wearable equipment, then 10 wearable equipment of testable of test once, once after the test is accomplished, change mobile terminal and connect other wearable equipment, carry out 10 tests like this and can accomplish the test to 100 wearable equipment, improved efficiency of software testing greatly.
In some embodiments, in order to facilitate testing of the application to be tested, the application to be tested may be installed in the mobile terminal to be tested in advance, and this method requires a tester to manually install the application to be tested, and if the number of the mobile terminals is large, the efficiency is low. Therefore, in order to improve the installation efficiency, the upper computer may first acquire the IP address of the mobile terminal in the same lan as the upper computer, then determine the IP address of the mobile terminal to be tested, and send the installation package of the application to be tested to the mobile terminal to be tested according to the IP address of the mobile terminal to be tested, so that the mobile terminal automatically completes the installation of the application to be tested according to the installation package.
For example, during testing, the upper computer searches the IP addresses of the mobile terminals in the same local area network, displays the searched IP addresses on the display interface, and the tester selects the corresponding IP addresses, where the selected IP addresses are the IP addresses of the mobile terminals to be tested, or all the searched IP addresses can be used as the IP addresses of the mobile terminals to be tested. The upper computer can pre-store an installation package of the application to be tested, after the IP address of the mobile terminal is obtained, communication connection can be established with each corresponding mobile terminal, and then the installation package is sent to each mobile terminal, so that automatic installation of the application to be tested can be achieved, and efficiency is high.
Or, the upper computer may also send the corresponding test parameter information to the mobile terminal to be tested according to the IP address of the mobile terminal to be tested, so as to achieve the purpose of automatically sending the test parameter information to the mobile terminals in the same local area network.
Therefore, the testing method can realize remote testing of the wearable devices, and can simultaneously test a plurality of wearable devices, thereby effectively improving the testing efficiency.
Referring to fig. 3, fig. 3 is a flowchart of another testing method provided in the embodiment of the present application, where the method is applied to a mobile terminal, and includes the following steps:
step S210: and receiving test parameter information which is sent by the upper computer and corresponds to at least one test item in a plurality of test items to be tested.
Step S220: and sending corresponding indication information to wearable equipment through an application to be tested in the mobile terminal according to the test parameter information, so that the wearable equipment executes corresponding actions according to the indication information.
The application to be tested is an application interacting with the wearable device.
When the indication information is sent, the received information can be monitored through the application to be tested, and when the test parameter information is obtained, the corresponding indication information is sent to the wearable device according to the test parameter information.
For example, when the test item includes a message reminding test of multiple applications, the upper computer may generate simulation application information of the message reminding test of each application, and then the test parameter information sent to the mobile terminal includes the simulation application information, if the test parameter information sent to the mobile terminal by the upper computer includes call model information when the call reminding test is performed, and after the application to be tested in the mobile terminal monitors that the mobile terminal receives the call model information, the mobile terminal is considered to have an incoming call, indication information may be sent to the wearable device to inform the wearable device that the mobile terminal has an incoming call, so that the wearable device performs a call reminding operation after receiving the indication information, such as displaying a call reminding page or other call reminding operations, and thus in an actual use process, the wearable device may implement a call reminding function.
Step S230: and acquiring test information sent by the wearable device after executing corresponding actions according to the indication information.
Step S240: and sending the test information to the upper computer so that the upper computer determines the test result of each test item according to the test information.
For the specific implementation process of this embodiment, reference may be made to the related implementation process of the above embodiment, and details are not described herein again in order to avoid repeated description.
In the implementation process, the application to be tested in the mobile terminal can send corresponding indication information to the wearable device according to the test parameter information by receiving the test parameter information sent by the upper computer, so that the automatic test of the application to be tested and the wearable device can be realized.
Referring to fig. 4, fig. 4 is a block diagram of a testing apparatus 200 according to an embodiment of the present disclosure, where the testing apparatus 200 may be a module, a program segment, or a code on a host computer. It should be understood that the apparatus 200 corresponds to the above-mentioned embodiment of the method of fig. 2, and can perform various steps related to the embodiment of the method of fig. 2, and the specific functions of the apparatus 200 can be referred to the above description, and the detailed description is appropriately omitted here to avoid redundancy.
Optionally, the apparatus 200 comprises:
a test item determining module 210, configured to determine at least one test item in a plurality of test items to be tested;
a parameter information sending module 220, configured to send test parameter information corresponding to the at least one test item to a mobile terminal, so that an application to be tested in the mobile terminal sends corresponding indication information to a wearable device according to the test parameter information, and the wearable device executes a corresponding action according to the indication information; the application to be tested is an application interacting with the wearable device;
a test information receiving module 230, configured to receive test information fed back by the mobile terminal after the test on each test item is completed, where the test information is obtained after the wearable device executes a corresponding action according to the indication information;
and the test result acquisition module 240 is configured to determine a test result for each test item according to the test information.
Optionally, the apparatus 200 further comprises:
and the prompt information output module is used for determining a target test item with unqualified test if the test result is unqualified test, and outputting prompt information for representing the unqualified test aiming at the target test item.
Optionally, the plurality of test items are determined according to a function of the application to be tested or a function of the wearable device.
Optionally, the mobile terminal comprises a plurality of mobile terminals, and each mobile terminal is connected with one wearable device; the parameter information sending module 220 is configured to send test parameter information corresponding to at least one test item to each mobile terminal.
Optionally, after the at least one test item is tested, the parameter information sending module 220 is further configured to send, to the mobile terminal, indication information for connecting another wearable device, where the indication information includes device information of the another wearable device.
Optionally, the testing apparatus 200 is operated in an upper computer, and the apparatus 200 further includes:
the installation package sending module is used for acquiring the IP address of the mobile terminal in the same local area network with the upper computer; determining the IP address of the mobile terminal to be tested; and sending test parameter information corresponding to the test of the at least one test item to the mobile terminal to be tested according to the IP address of the mobile terminal to be tested.
Optionally, the testing apparatus 200 runs in an upper computer, where a testing script corresponding to at least one testing item is stored in the upper computer, and the apparatus 200 further includes:
and the script editing module is used for adding, changing or deleting the test script corresponding to the test item.
Optionally, the testing apparatus 200 runs in an upper computer, and the testing item determining module 210 is configured to obtain at least one testing item to be tested, which is selected by a user on a display interface of the upper computer.
Optionally, the application to be tested in the mobile terminal and the wearable device do not provide a display interface.
Optionally, the testing device 200 runs in an upper computer, and the upper computer communicates with the mobile terminal in a Socket manner.
Optionally, the testing device 200 runs in an upper computer, and the upper computer and the mobile terminal communicate with each other through remote communication.
Optionally, the testing apparatus 200 operates in an upper computer, and data interaction among the upper computer, the mobile terminal, and the wearable device complies with the same communication protocol.
Referring to fig. 5, fig. 5 is a block diagram of another testing apparatus 300 according to an embodiment of the present disclosure, where the apparatus 300 may be a module, a program segment, or code on a mobile terminal. It should be understood that the apparatus 300 corresponds to the above-mentioned embodiment of the method of fig. 3, and can perform various steps related to the embodiment of the method of fig. 3, and the specific functions of the apparatus 300 can be referred to the above description, and the detailed description is appropriately omitted here to avoid redundancy.
Optionally, the apparatus 300 comprises:
the parameter information receiving module 310 is configured to receive test parameter information, which is sent by an upper computer and corresponds to at least one test item in a plurality of test items to be tested;
an indication information sending module 320, configured to send, according to the test parameter information, corresponding indication information to a wearable device through an application to be tested in the mobile terminal, so that the wearable device executes a corresponding action according to the indication information; the application to be tested is an application interacting with the wearable device;
a test information obtaining module 330, configured to obtain test information sent by the wearable device after executing a corresponding action according to the indication information;
the test information sending module 340 is configured to send the test information to the upper computer, so that the upper computer determines a test result for each test item according to the test information.
Optionally, the indication information sending module 320 is configured to monitor the received information through an application to be tested in the mobile terminal; and when the test parameter information is monitored to be obtained, sending corresponding indication information to the wearable equipment according to the test parameter information.
Referring to fig. 6, fig. 6 is a block diagram of a test system 400 according to an embodiment of the present disclosure, where the test system 400 includes an upper computer 410 and a mobile terminal 420;
the upper computer 410 is used for determining at least one test item in a plurality of test items to be tested;
the upper computer 410 is further configured to send test parameter information corresponding to the at least one test item to the mobile terminal;
the mobile terminal 420 is configured to receive the test parameter information;
the application to be tested in the mobile terminal 420 is configured to send corresponding indication information to a wearable device according to the test parameter information, so that the wearable device executes a corresponding action according to the indication information; the application to be tested is an application interacting with the wearable device;
the mobile terminal 420 is further configured to acquire test information sent by the wearable device after executing a corresponding action according to the indication information;
the mobile terminal 420 is further configured to send the test information to the upper computer;
the upper computer 410 is further configured to determine a test result for each test item according to the test information.
It should be noted that, for the convenience and simplicity of description, the specific working process of the system and the apparatus described above can be referred to the corresponding process in the foregoing method embodiment, and the description is not repeated here.
Embodiments of the present application provide a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs the method processes performed by an electronic device in the method embodiments shown in fig. 2 or fig. 3.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above method embodiments, for example, comprising: determining at least one test item in a plurality of test items to be tested; sending test parameter information corresponding to the test of the at least one test item to a mobile terminal, so that an application to be tested in the mobile terminal sends corresponding indication information to wearable equipment according to the test parameter information, and the wearable equipment executes corresponding actions according to the indication information; the application to be tested is an application interacting with the wearable device; receiving test information fed back by the mobile terminal after the test of each test item is completed, wherein the test information is obtained after the wearable equipment executes corresponding action according to the indication information; and determining the test result of each test item according to the test information.
In summary, the embodiment of the present application provides a testing method, an apparatus, a system, an electronic device, and a readable storage medium, which are configured to send testing parameter information to a mobile terminal, so that an application to be tested in the mobile terminal can send corresponding indication information to a wearable device according to the testing parameter information, thereby implementing an automatic test on the application to be tested and the wearable device.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (17)

1. A method of testing, the method comprising:
determining at least one test item in a plurality of test items to be tested;
sending test parameter information corresponding to the test of the at least one test item to a mobile terminal, so that an application to be tested in the mobile terminal sends corresponding indication information to wearable equipment according to the test parameter information, and the wearable equipment executes corresponding actions according to the indication information; the application to be tested is an application interacting with the wearable device;
receiving test information fed back by the mobile terminal after the test of each test item is completed, wherein the test information is obtained after the wearable equipment executes corresponding action according to the indication information; wherein the test information comprises log information;
determining a test result of each test item according to the test information;
sending indication information for connecting another wearable device to the mobile terminal, wherein the indication information comprises device information of the another wearable device;
the determining the test result of each test item according to the test information comprises:
analyzing the test result of each test item according to the log information;
wherein the application to be tested in the mobile terminal and the wearable device do not provide a display interface.
2. The method of claim 1, wherein after determining the test result for each test item according to the test information, further comprising:
and if the test result is that the test is unqualified, determining a target test item which is unqualified in the test, and outputting prompt information for representing the unqualified test aiming at the target test item.
3. The method of claim 1, wherein the plurality of test items are determined according to a function of the application to be tested or a function of the wearable device.
4. The method according to claim 1, wherein the mobile terminal includes a plurality of mobile terminals, each mobile terminal is connected to a wearable device, and the sending test parameter information corresponding to the test of the at least one test item to the mobile terminal includes:
and respectively sending test parameter information corresponding to at least one test item to each mobile terminal.
5. The method according to claim 1, wherein the testing method is executed by an upper computer, and the sending of the test parameter information corresponding to the test of the at least one test item to the mobile terminal comprises:
acquiring the IP address of the mobile terminal in the same local area network with the upper computer;
determining the IP address of the mobile terminal to be tested;
and sending test parameter information corresponding to the at least one test item to the mobile terminal to be tested according to the IP address of the mobile terminal to be tested.
6. The method according to claim 1, wherein the testing method is executed by an upper computer, and a testing script corresponding to at least one testing item is stored in the upper computer, and the method further comprises:
and newly adding, changing or deleting the test script corresponding to the test item.
7. The method of claim 1, wherein the testing method is executed by a host computer, and the determining at least one test item to be tested comprises:
and acquiring at least one test item to be tested selected by a user on a display interface of the upper computer.
8. The method according to any one of claims 1 to 7, wherein the testing method is executed by an upper computer, and the upper computer and the mobile terminal communicate in a Socket manner.
9. The method according to any one of claims 1-7, wherein the testing method is performed by an upper computer, and the upper computer and the mobile terminal are in remote communication.
10. The method according to any one of claims 1 to 7, wherein the testing method is performed by a host computer, and data interaction among the host computer, the mobile terminal and the wearable device complies with the same communication protocol.
11. A test method is applied to a mobile terminal, and comprises the following steps:
receiving test parameter information which is sent by an upper computer and corresponds to at least one test item in a plurality of test items to be tested;
sending corresponding indication information to wearable equipment through an application to be tested in the mobile terminal according to the test parameter information, so that the wearable equipment executes corresponding actions according to the indication information; the application to be tested is an application interacting with the wearable device;
acquiring test information sent by the wearable device after the wearable device executes a corresponding action according to the indication information; wherein the test information comprises log information;
sending the test information to the upper computer so that the upper computer determines a test result of each test item according to the test information;
receiving indication information of connecting another wearable device, wherein the indication information comprises device information of the another wearable device;
the determining the test result of each test item according to the test information comprises:
analyzing the test result of each test item according to the log information;
wherein the application to be tested in the mobile terminal and the wearable device do not provide a display interface.
12. The method of claim 11, wherein the sending, by an application to be tested in the mobile terminal, corresponding indication information to the wearable device according to the test parameter information comprises:
monitoring the received information through an application to be tested in the mobile terminal;
and when the test parameter information is monitored to be obtained, sending corresponding indication information to the wearable equipment according to the test parameter information.
13. A test apparatus, the apparatus comprising:
the test item determining module is used for determining at least one test item in a plurality of test items to be tested;
the parameter information sending module is used for sending test parameter information corresponding to the test of the at least one test item to the mobile terminal so that an application to be tested in the mobile terminal sends corresponding indication information to the wearable device according to the test parameter information, and the wearable device executes corresponding actions according to the indication information; the application to be tested is an application interacting with the wearable device;
the test information receiving module is used for receiving test information fed back by the mobile terminal after the test of each test item is completed, wherein the test information is obtained after the wearable equipment executes corresponding action according to the indication information; wherein the test information comprises log information;
the test result acquisition module is used for determining the test result of each test item according to the test information;
the parameter information sending module is further configured to send, to the mobile terminal, indication information for connecting another wearable device, where the indication information includes device information of the another wearable device;
the determining a test result for each test item according to the test information includes:
analyzing the test result of each test item according to the log information;
wherein the application to be tested in the mobile terminal and the wearable device do not provide a display interface.
14. A test apparatus, operable in a mobile terminal, the apparatus comprising:
the parameter information receiving module is used for receiving test parameter information which is sent by an upper computer and corresponds to at least one test item in a plurality of test items to be tested;
the indication information sending module is used for sending corresponding indication information to the wearable equipment through the application to be tested in the mobile terminal according to the test parameter information so as to enable the wearable equipment to execute corresponding actions according to the indication information; the application to be tested is an application interacting with the wearable device;
the test information acquisition module is used for acquiring test information sent by the wearable equipment after the wearable equipment executes corresponding action according to the indication information; wherein the test information comprises log information;
the test information sending module is used for sending the test information to the upper computer so that the upper computer can determine the test result of each test item according to the test information;
the parameter information receiving module is configured to receive indication information of connecting another wearable device, where the indication information includes device information of the another wearable device;
the determining a test result for each test item according to the test information includes:
analyzing the test result of each test item according to the log information;
wherein the application to be tested in the mobile terminal and the wearable device do not provide a display interface.
15. The test system is characterized by comprising an upper computer and a mobile terminal;
the upper computer is used for determining at least one test item in a plurality of test items to be tested;
the upper computer is also used for sending test parameter information corresponding to the test item to the mobile terminal;
the mobile terminal is used for receiving the test parameter information;
the application to be tested in the mobile terminal is used for sending corresponding indication information to the wearable equipment according to the test parameter information so that the wearable equipment executes corresponding actions according to the indication information; the application to be tested is an application interacting with the wearable device;
the mobile terminal is further used for acquiring test information sent by the wearable device after the wearable device executes corresponding actions according to the indication information; wherein the test information comprises log information;
the mobile terminal is also used for sending the test information to the upper computer;
the upper computer is also used for determining a test result of each test item according to the test information; the upper machine tool is used for analyzing the test result of each test item according to the log information;
the mobile terminal is further configured to receive indication information for connecting another wearable device, where the indication information includes device information of the another wearable device;
wherein the application to be tested in the mobile terminal and the wearable device do not provide a display interface.
16. An electronic device comprising a processor and a memory, the memory storing computer readable instructions that, when executed by the processor, perform the method of any one of claims 1-12.
17. A readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-12.
CN202011644429.6A 2020-12-30 2020-12-30 Test method, device, system, electronic equipment and readable storage medium Active CN112822073B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011644429.6A CN112822073B (en) 2020-12-30 2020-12-30 Test method, device, system, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011644429.6A CN112822073B (en) 2020-12-30 2020-12-30 Test method, device, system, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112822073A CN112822073A (en) 2021-05-18
CN112822073B true CN112822073B (en) 2023-03-17

Family

ID=75856645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011644429.6A Active CN112822073B (en) 2020-12-30 2020-12-30 Test method, device, system, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112822073B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778769A (en) * 2021-08-30 2021-12-10 深圳市拔超科技有限公司 Production testing device
CN114222320A (en) * 2021-12-16 2022-03-22 展讯通信(上海)有限公司 Method, device, apparatus, storage medium, and program for testing communication device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035321A (en) * 2014-05-16 2014-09-10 华为技术有限公司 Screen control method of smart watch and smart watch
WO2016142359A1 (en) * 2015-03-09 2016-09-15 Koninklijke Philips N.V. Wearable device for sweat testing administration
CN110086692A (en) * 2019-05-14 2019-08-02 广州云智易物联网有限公司 A kind of automated testing method based on Internet of Things, device and computer equipment
CN112084076A (en) * 2020-08-26 2020-12-15 上海创功通讯技术有限公司 Test method, electronic device, and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150223705A1 (en) * 2010-03-12 2015-08-13 Rajendra Padma Sadhu Multi-functional user wearable portable device
US10073553B2 (en) * 2014-09-22 2018-09-11 Google Llc Scripting cross-device wearable interaction
US10248863B2 (en) * 2016-06-15 2019-04-02 International Business Machines Corporation Augemented video analytics for testing internet of things (IoT) devices
US10081103B2 (en) * 2016-06-16 2018-09-25 International Business Machines Corporation Wearable device testing
US10162736B2 (en) * 2016-11-17 2018-12-25 International Business Machines Corporation Smart emulator for wearable devices
US10564841B2 (en) * 2018-05-03 2020-02-18 International Business Machines Corporation Enhancing interaction with a wearable device
CN110188010A (en) * 2019-05-21 2019-08-30 努比亚技术有限公司 Ageing testing method, wearable device and computer readable storage medium
CN111858295B (en) * 2019-12-31 2024-05-14 北京骑胜科技有限公司 Firmware testing method and device, electronic equipment and storage medium
CN111427776A (en) * 2020-03-12 2020-07-17 甄十信息科技(上海)有限公司 Automatic testing method and device for intelligent equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035321A (en) * 2014-05-16 2014-09-10 华为技术有限公司 Screen control method of smart watch and smart watch
WO2016142359A1 (en) * 2015-03-09 2016-09-15 Koninklijke Philips N.V. Wearable device for sweat testing administration
CN110086692A (en) * 2019-05-14 2019-08-02 广州云智易物联网有限公司 A kind of automated testing method based on Internet of Things, device and computer equipment
CN112084076A (en) * 2020-08-26 2020-12-15 上海创功通讯技术有限公司 Test method, electronic device, and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于物联网典型应用的智能家居MTBF自动化测试;沈杰等;《电信网技术》;20141215(第12期);全文 *

Also Published As

Publication number Publication date
CN112822073A (en) 2021-05-18

Similar Documents

Publication Publication Date Title
CN112822073B (en) Test method, device, system, electronic equipment and readable storage medium
US9984244B2 (en) Controller, information processing apparatus, and recording medium
CN109633351B (en) Intelligent IT operation and maintenance fault positioning method, device, equipment and readable storage medium
CN110031746B (en) Chip test remote monitoring method and device, computer equipment and storage medium
CN113672441B (en) Method and device for testing intelligent equipment
CN109800119A (en) A kind of product function test method and device
CN111061448A (en) Log information display method and device, electronic equipment and storage medium
CN111338951A (en) Wireless intelligent household appliance detection method and system
CN105227399A (en) Based on network equipment Debugging message acquisition methods and the system of User space
CN114286363A (en) Off-line production testing method based on Bluetooth serial port
CN107122305B (en) Software testing device and method
CN110968004B (en) Cable test system based on FPGA prototype verification development board
CN115967660A (en) Method and device for testing CAN protocol conversion, terminal equipment and storage medium
CN112583617A (en) Fault determination method, server, control terminal and storage medium
CN115220945A (en) Raspberry pie-based vehicle detection device and method, vehicle and storage medium
CN113671348A (en) Circuit board testing method, device, equipment, system and storage medium
CN113961504A (en) Mobile terminal group control method, device, system, server and storage medium
CN109947621B (en) Server testing method and device
CN112783708A (en) DTU hardware testing method, terminal and computer readable storage medium
US10303584B2 (en) Method for message-processing
CN111212281A (en) Video board detection method and detection device
CN106405430B (en) Lithium ion battery on-line detection conversion control equipment, system and method
CN218630134U (en) Test monitoring system of indoor lamp lighting data
CN104486779A (en) Slow clock test method for mobile communication terminal and test system thereof
CN115103290B (en) Earphone testing method and device, electronic equipment and storage medium

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