Application testing methods, systems, storage media, and application products

By integrating a test plugin into the remote control application, which automatically takes screenshots and sends control feedback information, the problem of low testing efficiency in existing technologies is solved, and efficient test fault detection and location are achieved.

CN118860850BActive Publication Date: 2026-01-06CHERY NEW ENERGY AUTOMOBILE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410803595.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2026-01-06
Estimated Expiration
2044-06-20

AI Technical Summary

Technical Problem

In existing technologies, the process of manually taking screenshots and obtaining control results during the testing of remote control applications is cumbersome, resulting in low testing efficiency.

Method used

By integrating a test plugin into the remote control application, screenshots are automatically processed and test images and control feedback information are sent to the test management device, where testers can view and locate faults.

Benefits of technology

It has achieved an automated testing process, improved testing efficiency, reduced manual operations, and enabled the rapid and efficient discovery and location of test faults.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118860850B_ABST
    Figure CN118860850B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, system, storage medium and program product for application testing, belonging to the technical field of Internet of Vehicles. In the method, a test plug-in can automatically capture screenshots and send test pictures and control feedback information to a test management device, and a tester can view the test pictures and control feedback information in the test management device to complete the test. In this process, the operations of manually capturing screenshots, obtaining control feedback information, and sending screenshots and control feedback information are not required, so that test faults can be quickly and efficiently found and located, thereby improving the test efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of vehicle networking technology, and in particular to a method, system, storage medium, and program product for application testing. Background Technology

[0002] Users can control various car components via a remote control application on their mobile devices. Before the remote control application is released, testers need to test it to identify and resolve any potential problems.

[0003] The relevant method involves testers taking screenshots during the operation of the remote control application to obtain test images and recording the control results of the remote control application. Testers then use the test images and control results to identify any problems with the remote control application.

[0004] However, manually taking screenshots and obtaining control results is cumbersome, resulting in low testing efficiency. Summary of the Invention

[0005] To address the related technical problems, this disclosure provides a method, system, storage medium, and program product for application testing. The technical solution is as follows:

[0006] Firstly, a method for testing an application is provided. This method is applied to a testing system for a remote control application. The testing system includes a target vehicle, a mobile terminal, a test management device, and a result terminal. The target vehicle includes a remote communication terminal, on which a vehicle-side control application runs. The mobile terminal runs the remote control application and a test plugin. The method includes:

[0007] When the test plugin detects an operation being performed in the remote control application, it takes a screenshot to obtain a first test image and sends the first test image to the test management device.

[0008] When the test plugin detects that the remote control application has received control feedback information sent by the vehicle control application, it sends the control feedback information to the test management device. The control feedback information includes the identifier of the controlled component and the current value of the controlled parameter.

[0009] The test management device displays the first test image and the control feedback information;

[0010] When the test management device detects input test fault information, it sends the test fault information to the result terminal.

[0011] In one possible implementation, the method further includes:

[0012] The test plugin sends the identification information of the operation to the test management device.

[0013] In one possible implementation, the method further includes:

[0014] The test plugin begins screen recording upon receiving the test start command.

[0015] When the test plugin receives the test end command, it ends the screen recording process, obtains the screen recording video, and sends the screen recording video to the test management device.

[0016] The test management device displays the screen recording video.

[0017] In one possible implementation, the method further includes:

[0018] After detecting the input test fault information, the test management device sends the test fault information to the mobile terminal.

[0019] In one possible implementation, the controlled component includes at least one of an air conditioner, door lock, window, seat, steering wheel, and engine.

[0020] In one possible implementation, the test fault information includes at least one of control triggering fault, operation instruction generation fault, interface display fault, and control feedback information processing fault.

[0021] In one possible implementation, the method further includes:

[0022] When the test plugin detects that the remote control application has received control feedback information sent by the vehicle control application, it takes a screenshot to obtain a second test image and sends the second test image to the test management device.

[0023] The test management device displays the second test image.

[0024] Secondly, an application testing system is provided, the system including a target vehicle, a mobile terminal, a test management device and a result terminal, the target vehicle including a remote communication terminal, the remote communication terminal running a vehicle-side control application, and the mobile terminal running the remote control application and a test plugin;

[0025] The test plugin is used to take a screenshot when an operation is detected being performed in the remote control application, obtain a first test image, and send the first test image to the test management device; when the remote control application receives control feedback information sent by the vehicle control application, the control feedback information is sent to the test management device, wherein the control feedback information includes the identifier of the controlled component and the current value of the controlled parameter;

[0026] The test management device is used to display the first test image and the control feedback information; when input test fault information is detected, the test fault information is sent to the result terminal.

[0027] In one possible implementation, the test plugin is further configured to send the identification information of the operation to the test management device.

[0028] In one possible implementation, the test plugin is further used for:

[0029] Upon receiving the test start command, screen recording begins.

[0030] Upon receiving the test end command, the screen recording process ends, the screen recording video is obtained, and the screen recording video is sent to the test management device;

[0031] The test management device is also used to display screen-recorded videos.

[0032] In one possible implementation, the test management device is further configured to send the test fault information to the mobile terminal after detecting the input test fault information.

[0033] In one possible implementation, the controlled component includes at least one of an air conditioner, door lock, window, seat, steering wheel, and engine.

[0034] In one possible implementation, the test fault information includes at least one of control triggering fault, operation instruction generation fault, interface display fault, and control feedback information processing fault.

[0035] In one possible implementation, the test plugin is further configured to take a screenshot when it detects that the remote control application has received control feedback information sent by the vehicle control application, obtain a second test image, and send the second test image to the test management device.

[0036] The test management device is also used to display the second test image.

[0037] Thirdly, a computer-readable storage medium is provided, which stores computer program code, such that when the computer program code is executed by a computer device, the computer device performs the method provided by the first aspect and its possible implementations.

[0038] Fourthly, a computer program product is provided, comprising computer program code, wherein when the computer program code is executed by a computer device, the computer device executes the method provided by the first aspect and its possible implementations.

[0039] Using this method, the test plugin can automatically take screenshots and send the test images and control feedback information to the test management device. Testers can then view the test images and control feedback information on the test management device to complete the test. This process eliminates the need for manual screenshotting, obtaining control feedback information, and sending screenshots and control feedback information, thus enabling rapid and efficient discovery and localization of test faults, thereby improving testing efficiency. Attached Figure Description

[0040] Figure 1 This is a schematic diagram of the structure of a testing system provided in an embodiment of this disclosure;

[0041] Figure 2 This is a schematic diagram of the structure of a target vehicle provided in an embodiment of this disclosure;

[0042] Figure 3 This is a schematic diagram of the structure of a mobile terminal provided in an embodiment of this disclosure;

[0043] Figure 4 This is a schematic diagram of the structure of a test management device provided in an embodiment of this disclosure;

[0044] Figure 5 This is a schematic diagram of the structure of a result terminal provided in an embodiment of this disclosure;

[0045] Figure 6 This is a schematic diagram of the processing flow of an application testing method provided in an embodiment of this disclosure;

[0046] Figure 7 This is a schematic diagram of the main interface of a remote control application provided in an embodiment of this disclosure;

[0047] Figure 8 This is a schematic diagram of a second-level interface of a remote control application provided in an embodiment of this disclosure;

[0048] Figure 9 This is a schematic diagram of a third-level interface for a remote control application provided in an embodiment of this disclosure;

[0049] Figure 10 This is a schematic diagram of the main interface of a test management device provided in an embodiment of this disclosure;

[0050] Figure 11 This is a schematic diagram of the processing flow of an automated remote control application provided in an embodiment of this disclosure;

[0051] Figure 12 This is a schematic diagram of the processing flow for screen recording of a test plugin provided in an embodiment of this disclosure;

[0052] Figure 13 This is a schematic diagram of a screenshot processing flow for a test plugin provided in an embodiment of this disclosure;

[0053] Figure 14 This is a schematic diagram of a testing system provided in an embodiment of this disclosure. Detailed Implementation

[0054] This disclosure provides a method for testing an application. This method can be executed by a testing system that remotely controls the application. The testing system consists of a target vehicle 110, a mobile terminal 120, a test management device 130, and a result terminal 140. The system architecture diagram is as follows. Figure 1 As shown.

[0055] The target vehicle 110 includes a telematics terminal (TBOX), on which a vehicle control application runs, such as... Figure 2 As shown, it may include a processor 210, a memory 220 and a communication component 230.

[0056] The processor 210 can be a central processing unit (CPU) or a system on chip (SoC), etc. The processor 210 can be used to process various operation instructions, such as processing acquired operation instructions.

[0057] The memory 220 may include various volatile or non-volatile memory, such as solid-state disk (SSD) and dynamic random access memory (DRAM). The memory 220 can be used to store initial data, intermediate data, and result data used in the relevant processing, such as storing the correspondence between seats and seat labels.

[0058] The communication component 230 can be a wired network connector, an ultra-wideband (UWB) technology module, a wireless fidelity (WiFi) module, a Bluetooth module, a cellular network communication module, etc. The communication component 230 can be used to receive and send various commands and data, such as sending control feedback information to remote control applications.

[0059] Mobile terminal 120 can be a portable computer device such as a mobile phone, tablet, or laptop, running remote control applications and testing plugins, such as... Figure 3 As shown, it includes a processor 310, a memory 320, a display unit 330, and a communication unit 340.

[0060] The processor 310 can be a CPU or SoC, etc. The processor 310 can be used to process various operation instructions, such as processing click operations.

[0061] The memory 320 may include various volatile or non-volatile memories, such as SSDs and DRAM. The memory 320 can be used to store initial data, intermediate data, and result data used in the relevant processing, such as storing the correspondence between seats and seat labels.

[0062] The display component 330 can be a standalone screen, or a screen integrated with the user equipment body, a projector, etc. The screen can be a touch screen or a non-touch screen (which can be displayed remotely), etc. The display component 330 is used to display system interfaces, application interfaces, etc., such as displaying the interface of remote control applications.

[0063] The communication component 340 can be a wired network connector, UWB, WiFi module, Bluetooth module, cellular network communication module, etc. The communication component 340 can be used to transmit data with other devices, such as other servers or terminals. For example, it can send control feedback information to test management equipment.

[0064] The mobile terminal in this embodiment is a mobile phone, and other cases are similar and will not be described in detail.

[0065] The test management device 130 is functionally capable of communicating with multiple vehicles and analyzing data, such as... Figure 4 As shown, it may include a processor 410, a memory 420, a display unit 430, and a communication unit 440.

[0066] The processor 410 can be a CPU or SoC, etc. The processor 410 can be used to execute various instructions involved in the method, such as processing received control feedback information.

[0067] The memory 420 may include various volatile or non-volatile memories, such as SSDs and DRAM. The memory 420 can be used to store initial data, intermediate data, and result data used in the relevant processing, such as storing the received first test image and control feedback information.

[0068] The display component 430 can be a standalone screen, or a screen integrated with the user equipment body, a projector, etc. The screen can be a touch screen or a non-touch screen (which can be displayed remotely), etc. The display component 430 is used to display system interfaces, application interfaces, etc., such as displaying the first test image, control feedback information, etc.

[0069] The communication component 440 can be a wired network connector, UWB, WiFi module, Bluetooth module, cellular network communication module, etc. The communication component 440 can be used to receive various commands and data, such as receiving first test images and control feedback information.

[0070] As a result, terminal 140 is functionally capable of communicating with test management device 130, such as... Figure 5 As shown, it may include a processor 510, a memory 520, a display unit 530, and a communication unit 540.

[0071] The processor 510 can be a CPU or SoC, etc. The processor 510 can be used to execute various instructions involved in the method, such as processing received test fault information.

[0072] The memory 520 may include various volatile or non-volatile memories, such as SSDs and DRAM. The memory 520 can be used to store initial data, intermediate data, and result data used in related processing, such as storing test failure information.

[0073] The display component 530 can be a standalone screen, or a screen integrated with the user equipment body, a projector, etc. The screen can be a touch screen or a non-touch screen (which can be displayed remotely), etc. The display component 530 is used to display system interfaces, application interfaces, etc., such as displaying test fault information.

[0074] The communication component 540 can be a wired network connector, UWB, WiFi module, Bluetooth module, cellular network communication module, etc. The communication component 540 can be used to receive various commands and data, such as receiving test fault information.

[0075] Remote control applications enable users to control various car components via their mobile phones. Before the remote control application is released and during component upgrades, testers need to test it to identify and resolve any potential issues. During testing, testers operate the remote control application on their phones, collecting and analyzing control feedback to determine if problems exist and to pinpoint their location.

[0076] This disclosure provides an application testing method, the processing flow of which can be as follows: Figure 6 As shown, it includes the following steps:

[0077] 601. When the test plugin detects an operation being performed in a remote control application, it takes a screenshot to obtain a first test image and sends the first test image to the test management device.

[0078] The test plugin is integrated into the remote control application. When the tester opens the remote control application, the test plugin floats above it as a floating window. The main interface of the remote control application can be, for example... Figure 7 As shown, controls and floating windows for controlling various components can be displayed. The floating window can include a "Start" control and an "End" control. The "Start" control and the "End" control are used by testers to control the start and end of screen recording. Testers can operate various controls on the main interface.

[0079] When the testing plugin detects an operation being performed in a remote control application, it takes a screenshot. There are several ways to take screenshots. One can take a screenshot after a fixed time interval of the operation. For example, if the tester performs an operation at 10:00, the testing plugin will detect the operation at 10:00 and take a screenshot 5 milliseconds after 10:00. Another way is to take a fixed number of screenshots within a fixed time interval from the start of the operation to a certain time afterward. For example, if the testing plugin detects an operation at 10:00, it will take 5 screenshots within 10 milliseconds after 10:00.

[0080] For example, when testers check whether there are any problems with the seat heating function, they can... Figure 7 Clicking the "Seat" control on the main interface triggers the test plugin to detect the action, which takes a screenshot. The remote control application's interface then redirects to the following screen: Figure 8 The second-level interface shown is then screenshotted again. This second-level interface displays seat position indicators, allowing testers to select the seat they wish to heat. The remote control application can pre-store the correspondence between seats and seat indicators, as shown in Table 1. For example, 1 represents the driver's seat. When the tester clicks "1," another screenshot is taken, and the remote control application's interface jumps to the following... Figure 9The third-level interface shown is captured in a screenshot. This interface displays the heating levels, allowing testers to select their desired level. The remote control application can pre-store the correspondence between heating levels and their corresponding identifiers, as shown in Table 2, where 1 represents the lowest heating level. Clicking the "Confirm" button at the bottom completes the remote control of the driver's seat heating at level 1.

[0081] Table 1

[0082]

[0083]

[0084] Table 2

[0085] Heating settings Heating level indicator Lowest heating setting 1 Heating on the second setting 2 …… ……

[0086] The above process involves multiple screenshots to obtain multiple first test images, which are then sent to the test management device by the test plugin.

[0087] In addition, the test plugin can send operation identification information to the test management device. The test plugin and the test management device can pre-store the correspondence between operations and operation identification information.

[0088] 602. When the test plugin detects that the remote control application has received control feedback information from the vehicle control application, it sends the control feedback information to the test management device.

[0089] When a tester performs an operation in the remote control application, the vehicle-side control application processes the relevant components accordingly based on the operation. For example, after the tester performs the operation of heating the driver's seat in the remote control application, the vehicle-side control application controls the driver's seat to heat up and sends control feedback information to the remote control application.

[0090] The control feedback information includes the identifier of the controlled component and the current value of the controlled parameter. It also includes the version identifier of the controlled component. The remote control application can pre-store the correspondence between controlled components and their identifiers, as shown in Table 3. For example, in the control feedback information "111", the first "1" represents the identifier of the controlled component, the second "1" represents the seat position, and the third "1" represents the first level of heating.

[0091] Table 3

[0092] Controlled component Controlled component identification Seats 1 air conditioner 2 …… ……

[0093] The controlled components include at least one of the following: air conditioner, door locks, windows, seats, steering wheel, and engine.

[0094] The test fault information includes at least one of the following: control triggering fault, operation command generation fault, interface display fault, and control feedback information processing fault.

[0095] The following is a detailed explanation of the test failure information.

[0096] Control trigger failure

[0097] Control-triggered malfunctions can occur in several ways. One scenario is that clicking the control redirects the interface to another interface related to that control, indicating a navigation error. For example, clicking the "Air Conditioner" control redirects the interface to the "Seat" interface.

[0098] Scenario 2: The interface does not redirect when the control is clicked. For example, clicking the "Air Conditioner" control does not change the interface.

[0099] Operation command generation failure

[0100] After the tester performs a series of operations and clicks the "Confirm" button, the remote control application generates corresponding operation instructions. An operation instruction generation failure occurs when the generated instructions do not match the tester's actions, or when there are character errors. For example, if the tester's action is to control the driver's seat heating at level 1, the generated instruction might be to turn on the air conditioning.

[0101] Interface display error

[0102] Interface display failure refers to errors in the way the interface is displayed. Examples include garbled content, incomplete content, blank screen, distorted screen, and missing controls.

[0103] Control feedback information processing fault

[0104] After receiving control feedback information from the vehicle-side control application, the remote control application compares it with the baseline feedback information. If the control feedback information matches the baseline feedback information, it indicates successful control; if the control feedback information differs from the baseline feedback information, it indicates control failure. A control feedback information processing fault refers to an error in the remote control application's prompt processing. For example, if the control feedback information is "Turn on the air conditioning at level 1 (cooling)," and the baseline control feedback information is "Turn on the driver's seat at level 1 (heating)," the remote control application may still indicate successful control even though the control feedback information and the baseline feedback information are different.

[0105] 603, The test management equipment displays the first test image and control feedback information.

[0106] The test management device can store the first test image and control feedback information received. Testers can then operate the test management device to display the first test image and control feedback information. For example, the main interface of the test management device can be as follows: Figure 10 As shown, the controls include "First Test Image" and "Control Feedback Information". Testers can click on any control, and after clicking, the corresponding information will be displayed in a pop-up window.

[0107] 604. When the test management device detects an input test fault information, it sends the test fault information to the result terminal.

[0108] After viewing the initial test images and control feedback information on the test management device, testers can determine whether there are any test faults in the remote control application and locate those faults. If a test fault exists, the tester can enter the fault information in the fault information field, and the test management device will send the fault information to the result terminal. The result terminal is the terminal device of the person in charge corresponding to the fault information. After receiving the fault information, the person in charge can promptly handle the fault.

[0109] In addition, after detecting the input test fault information, the test management device can also send the test fault information to the mobile terminal.

[0110] The testing plugin can also automatically operate remote control applications, and the corresponding processing flow can be as follows: Figure 11 As shown, it includes the following steps:

[0111] 1101, When the test plugin displays the main interface of the remote control application, it identifies the position of multiple controlled component selection controls in the main interface through the first recognition model.

[0112] The testing plugin can use machine learning models to determine whether the interface currently displayed by the remote control application is the main interface. It can also set specific patterns or text on the main interface and use image recognition or text recognition models to determine whether there are specific patterns or text, thereby determining whether it is the main interface.

[0113] Once it is determined that the current interface is the main interface, the image of the interface can be input into the first recognition model, and the positions of the multiple controlled component selection controls of the main interface will be output.

[0114] 1102, The test plugin determines the target controlled component selection control among multiple controlled component selection controls.

[0115] The test plugin can determine the target controlled component selection control in a random manner or in a specific order, which can be preset by the tester.

[0116] 1103, The test plugin sends the first click command to the remote control application to select the position of the corresponding target controlled component.

[0117] After the test plugin determines the position of the target controlled component selection control, it sends the first click command corresponding to the position of the target controlled component selection control to the remote control application.

[0118] 1104. When the test plugin displays the control interface corresponding to the target controlled component selection control in the remote control application, it identifies the positions of multiple function selection controls in the control interface through the second recognition model.

[0119] The remote control application displays the control interface corresponding to the selection control of the target controlled component based on the first click command. The control interface has multiple function selection controls. The image of the interface can be input into the second recognition model to output the position of the multiple function selection controls of the control interface.

[0120] 1105, The test plugin identifies the target function selection control among multiple function selection controls.

[0121] The test plugin can determine the target function selection control in a random or in a specific order, which can be preset by the tester.

[0122] 1106, The test plugin sends a second click command to the remote control application, indicating the location of the corresponding target function selection control.

[0123] After the test plugin determines the location of the target function selection control, it sends a second click command to the remote control application corresponding to the location of the target function selection control.

[0124] 1107. When the test plugin displays the settings interface corresponding to the target function selection control in the remote control application, it uses the third recognition model to identify the position of the parameter input bar or multiple parameter selection controls in the settings interface, and uses the fourth recognition model to identify the position of the confirmation control in the settings interface.

[0125] The remote control application displays the settings interface corresponding to the target function selection control based on the second click command. The settings interface can have a parameter input bar or multiple parameter selection controls.

[0126] 1108. If the position of the parameter input bar is detected, the test plugin sends a third click command to the remote control application corresponding to the position of the parameter input bar. The target parameter value is determined from the pre-stored range of parameter values ​​corresponding to the target function selection control, and the input command for the target parameter value is sent to the remote control application.

[0127] 1109. If the positions of multiple parameter selection controls are detected, the test plugin will identify the target parameter selection control among the multiple parameter selection controls and send a fourth click command to the remote control application corresponding to the position of the target parameter selection control.

[0128] 1110, The test plugin sends a fifth click command to the remote control application, specifying the position of the corresponding control.

[0129] In one possible implementation, the testing plugin can also record the screen during the execution process, and the corresponding processing flow can be as follows: Figure 12 As shown, it includes the following steps:

[0130] 1201, When the test plugin receives the test start command, it begins screen recording.

[0131] The test plugin can float above the remote control application as a floating window, and the main interface of the remote control application can be, for example... Figure 7 As shown, controls and floating windows for controlling various components can be displayed. The floating window can include a "Start" control and an "End" control. The "Start" and "End" controls are used by testers to control the start and end of screen recording. When a tester clicks the "Start" control, the test plugin can start screen recording.

[0132] 1202. When the test plugin receives the test end command, it ends the screen recording process, obtains the screen recording video, and sends the screen recording video to the test management device.

[0133] When the tester clicks the "End" control, the test plugin ends the current screen recording process, obtains the screen recording video, and sends the screen recording video to the test management device.

[0134] 1203, The test management device displays the screen recording video.

[0135] The test management device stores the received screen recording videos. Testers can display the screen recording videos by clicking the "Screen Recording Video" control in the test management device.

[0136] In one possible implementation, when the remote control application receives control feedback information sent by the vehicle control application, the test plugin can also perform screenshot processing. The corresponding processing flow can be as follows: Figure 13 As shown, it includes the following steps:

[0137] 1301. When the test plugin detects that the remote control application has received control feedback information sent by the vehicle control application, it takes a screenshot to obtain a second test image and sends the second test image to the test management device.

[0138] When the remote control application receives control feedback information sent by the vehicle control application, it will display a prompt indicating whether the control was successful or failed on the interface of the remote control application. At this time, a screenshot is taken to obtain a second test image, which can be used to determine whether the prompt is displayed correctly.

[0139] 1302, The test management equipment displays the second test image.

[0140] The test management device stores the received second test image. When the tester clicks the "Second Test Image" control in the test management device, the second test image can be displayed.

[0141] In this embodiment, the test plugin can automatically take screenshots and send the test images and control feedback information to the test management device. Testers can view the test images and control feedback information on the test management device to complete the test. This process eliminates the need for manual screenshotting, obtaining control feedback information, and sending screenshots and control feedback information, thus enabling rapid and efficient discovery and localization of test faults, thereby improving testing efficiency.

[0142] All of the above-mentioned optional technical solutions can be combined in any way to form optional embodiments of this disclosure, and will not be described in detail here.

[0143] This disclosure also provides a testing system for application testing, such as... Figure 14 As shown, the test system includes a target vehicle 1410, a mobile terminal 1420, a test management device 1430, and a result terminal 1440. The target vehicle 1410 includes a remote communication terminal, on which a vehicle-side control application 14101 runs. The mobile terminal 1420 runs a remote control application 14201 and a test plugin 14202.

[0144] Test plugin 14202 is used to take a screenshot when an operation is detected in the remote control application 14201 to obtain a first test image, and then send the first test image to the test management device 1430. When the remote control application 14201 receives control feedback information from the vehicle-side control application 14101, it sends the control feedback information to the test management device 1430. The control feedback information includes the identifier of the controlled component and the current value of the controlled parameter. Specifically, it can implement the processing functions of steps 601 and 602 above, as well as other implicit steps.

[0145] The test management device 1430 is used to display the first test image and control feedback information; when an input test fault information is detected, the test fault information is sent to the result terminal 1440. Specifically, it can implement the processing functions of steps 603 and 604 above, as well as other implicit steps.

[0146] In one possible implementation, test plugin 14202 is also used to send operation identification information to test management device 1430. Specifically, it can implement the processing function of step 601 above, as well as other implicit steps.

[0147] In one possible implementation, test plugin 14202 is also used for:

[0148] Upon receiving the test start command, screen recording begins; upon receiving the test end command, screen recording ends, the screen recording video is obtained, and the screen recording video is sent to the test management device 1430; specifically, it can implement the processing functions of the above steps 1201 and 1202, as well as other implicit steps.

[0149] The test management device 1430 is also used to display the screen recording video. Specifically, it can implement the processing function of step 1203 above, as well as other implicit steps.

[0150] In one possible implementation, the test management device 1430 is further configured to send the test fault information to the mobile terminal 1420 after detecting the input test fault information. Specifically, this can implement the processing function of step 604 above, as well as other implicit steps.

[0151] In one possible implementation, the controlled component includes at least one of the following: air conditioner, door lock, window, seat, steering wheel, and engine.

[0152] In one possible implementation, the test fault information includes at least one of the following: control triggering fault, operation instruction generation fault, interface display fault, and control feedback information processing fault.

[0153] In one possible implementation, the test plugin 14202 is further configured to take a screenshot when the remote control application 14201 receives control feedback information sent by the vehicle-side control application 14101, obtain a second test image, and send the second test image to the test management device 1430. Specifically, this can implement the processing function of step 1301 above, as well as other implicit steps.

[0154] The test management device 1430 is also used to display the second test image. Specifically, it can implement the processing function of step 1302 above, as well as other implicit steps.

[0155] In this embodiment, the test plugin can automatically take screenshots and send the test images and control feedback information to the test management device. Testers can view the test images and control feedback information on the test management device to complete the test. This process eliminates the need for manual screenshotting, obtaining control feedback information, and sending screenshots and control feedback information, thus enabling rapid and efficient discovery and localization of test faults, thereby improving testing efficiency.

[0156] The sequence numbers of the embodiments disclosed above are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0157] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0158] The above description is only a preferred embodiment of this disclosure and is not intended to limit this disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the protection scope of this disclosure.

Claims

1. A method of application testing, characterized by, The method is applied to a test system of a remote control application, the test system comprising a target vehicle, a mobile terminal, a test management device and a result terminal, the target vehicle comprising a remote communication terminal, the remote communication terminal running a vehicle-side control application, the mobile terminal running the remote control application and a test plug-in, the method comprising: The test plug-in performs screenshot processing when detecting that the remote control application performs an operation, obtains a first test picture, and sends the first test picture to the test management device; The test plug-in sends control feedback information to the test management device when detecting that the remote control application receives the control feedback information sent by the vehicle-side control application, wherein the control feedback information comprises an identifier of a controlled component and a current value of a controlled parameter; The test management device displays the first test picture and the control feedback information; The test management device sends test fault information to the result terminal when detecting that the test fault information is input; The method further comprises: The test plug-in starts screen recording processing when receiving a test start instruction; The test plug-in ends screen recording processing when receiving a test end instruction, obtains a screen recording video, and sends the screen recording video to the test management device; The test management device displays the screen recording video; The test plug-in performs screenshot processing when detecting that the remote control application receives the control feedback information sent by the vehicle-side control application, obtains a second test picture, and sends the second test picture to the test management device; The test management device displays the second test picture.

2. The method of claim 1, wherein, The method further comprises: The test plug-in sends identifier information of the operation to the test management device.

3. The method of claim 1, wherein, The method further comprises: The test management device sends test fault information to the mobile terminal after detecting that the test fault information is input.

4. The method of claim 1, wherein, The controlled component comprises at least one of an air conditioner, a door lock, a window, a seat, a steering wheel and an engine.

5. The method of claim 1, wherein, The test fault information comprises at least one of a control trigger fault, an operation instruction generation fault, an interface display fault and a control feedback information processing fault.

6. A system for application testing, characterized by The system comprises a target vehicle, a mobile terminal, a test management device and a result terminal, the target vehicle comprising a remote communication terminal, the remote communication terminal running a vehicle-side control application, the mobile terminal running a remote control application and a test plug-in; The test plug-in is configured to perform screenshot processing when detecting that the remote control application performs an operation, obtain a first test picture, and send the first test picture to the test management device; and send control feedback information to the test management device when detecting that the remote control application receives the control feedback information sent by the vehicle-side control application, wherein the control feedback information comprises an identifier of a controlled component and a current value of a controlled parameter. The test management device is configured to display the first test picture and the control feedback information, and send test failure information to the result terminal when detecting input of the test failure information. The test plug-in is further configured to start screen recording when receiving a test start instruction, end the screen recording when receiving a test end instruction, obtain a screen recording video, send the screen recording video to the test management device, perform a screenshot when detecting that the remote control application receives the control feedback information sent by the vehicle control application, obtain a second test picture, and send the second test picture to the test management device. The test management device is further configured to display the screen recording video and the second test picture.

7. A computer readable storage medium characterized in that, The computer readable storage medium stores computer program code, and when the computer program code is executed by a computer device, the computer device executes the method in any one of claims 1-5.

8. A computer program product, characterised in that, The computer program product includes computer program code, and when the computer program code is executed by a computer device, the computer device executes the method in any one of claims 1-5.

Citation Information

Patent Citations

  • Automobile remote control function full-link automatic test method and system

    CN114137928A

  • Remote vehicle control function rack test method and device, electronic equipment and medium

    CN117193263A