Method and device for testing cloud desktop application

By using the assistant tool on the test machine to obtain display parameters and adjust the interface diagram, and combining the remote access connection to obtain and compare the display screen, automated testing of cloud desktop applications is realized, solving the problem of time-consuming and labor-consuming manual testing in the existing technology. Improves testing efficiency and accuracy.

CN119512946APending Publication Date: 2025-02-25NEW H3C BIG DATA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411545816.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In the prior art, manual testing of cloud desktop applications is time-consuming and labor-intensive, and it is difficult to implement automated testing, resulting in difficult to detect potential problems.

Method used

The display parameters are obtained through the assistant tool in the test machine, the standard application interface diagram is adjusted, and the display screen when the test machine is executing the test case is obtained through the remote access connection, and the display screen is compared with the standard application interface diagram to determine the test results.

Benefits of technology

It realizes automated testing of cloud desktop applications, improves testing efficiency and accuracy, and can automatically discover potential problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119512946A_ABST
    Figure CN119512946A_ABST
Patent Text Reader

Abstract

The invention provides a method and device for testing a cloud desktop application. The method comprises the following steps: acquiring display parameters of a test machine through an assistant tool in the test machine; according to the display parameters, a standard application interface graph corresponding to a test case is adjusted, and the test case is used for testing a cloud desktop application; obtaining a display picture when the test machine executes the test case through remote access connection; and determining a test result by comparing the display picture with the standard application interface diagram corresponding to the display picture.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud computing technology, and more particularly to a method and device for testing cloud desktop applications. Background Art

[0002] In today's era of rapid technological development, applications play an indispensable and important role. Whether it is complex office software, enterprise management system, etc., these applications need to undergo rigorous testing to ensure the stability of their functions and the superior user experience. However, manual testing methods are not only time-consuming and labor-intensive, but also fail to discover potential problems due to insufficient testing times. In this context, how to automate the testing of cloud desktop applications is an urgent problem to be solved. Summary of the invention

[0003] To overcome the problems existing in the related art, this specification provides a method and device for testing cloud desktop applications.

[0004] According to the first aspect of the embodiments of this specification, there is provided a method for testing a cloud desktop application, which is applied to a server, and the method comprises: obtaining display parameters of the test machine through an assistant tool in the test machine; adjusting a standard application interface diagram corresponding to a test case according to the display parameters, wherein the test case is used to test the cloud desktop application; obtaining a display screen when the test machine executes the test case through a remote access connection; and determining a test result by comparing the display screen with a standard application interface diagram corresponding to the display screen.

[0005] According to the second aspect of an embodiment of this specification, a method for testing a cloud desktop application is provided, which is applied to a test machine, wherein the test machine includes an assistant tool, and the method includes: using the assistant tool to obtain display parameters of the test machine and sending them to a server; executing a test case; and sending the display screen when executing the test case to the server via a remote access connection.

[0006] According to the third aspect of the embodiments of this specification, there is provided a device for testing a cloud desktop application, including: a display parameter acquisition module, used to acquire the display parameters of the test machine through an assistant tool in the test machine; an adjustment module, used to adjust the standard application interface diagram corresponding to the test case according to the display parameters, and the test case is used to test the cloud desktop application; a display screen acquisition module, used to acquire the display screen when the test machine executes the test case through a remote access connection; and a comparison module, used to determine the test result by comparing the display screen with the standard application interface diagram corresponding to the display screen.

[0007] According to the fourth aspect of the embodiments of this specification, a device for testing cloud desktop applications is provided, wherein the device is installed with an assistant tool, and the device comprises: a display parameter sending module, for obtaining the display parameters of the test machine by using the assistant tool and sending them to a server; an execution module, for executing test cases; and a display screen sending module, for sending the display screen when executing the test case to the server via a remote access connection.

[0008] According to the fifth aspect of the embodiments of this specification, a device for testing a cloud desktop application is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to execute the method for testing a cloud desktop application of the above-mentioned first aspect, second aspect or any corresponding implementation manner.

[0009] According to the sixth aspect of the embodiments of this specification, a computer-readable storage medium is provided, on which computer instructions are stored, and the computer instructions are used to enable a computer to execute the method for testing a cloud desktop application according to the above-mentioned first aspect, second aspect or any corresponding implementation manner.

[0010] The technical solutions provided by the embodiments of this specification may have the following beneficial effects:

[0011] In the embodiment of this specification, the testing machine transmits the screen back to the server through a remote access connection. The server determines the test result by comparing the display screen with the standard application interface image corresponding to the display screen, thereby realizing automated testing of the cloud desktop application.

[0012] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and, together with the description, serve to explain the principles of the specification.

[0014] Figure 1 The illustrated system is merely an example of a system architecture to which the embodiments of the present specification may be applied.

[0015] Figure 2 This is a flowchart of a method for testing a cloud desktop application according to an exemplary embodiment of the present specification.

[0016] Figure 3 This is a flowchart of another method for testing a cloud desktop application according to an exemplary embodiment of this specification.

[0017] Figure 4It is a hardware structure diagram of the computer device where the device for testing the cloud desktop application in the embodiment of this specification is located.

[0018] Figure 5 This is a block diagram of a device for testing a cloud desktop application according to an exemplary embodiment of the present specification.

[0019] Figure 6 This specification provides a block diagram of another device for testing a cloud desktop application according to an exemplary embodiment. DETAILED DESCRIPTION

[0020] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this specification. Instead, they are merely examples of devices and methods consistent with some aspects of this specification as detailed in the appended claims.

[0021] The terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit this specification. The singular forms "a", "the" and "the" used in this specification and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0022] It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this specification, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0023] Next, the embodiments of this specification are described in detail.

[0024] The following combination Figure 1 The system architecture of the method and device for testing cloud desktop applications in the embodiments of this specification is described. It should be noted that: Figure 1 What is shown is merely an example of a system architecture to which the embodiments of this specification can be applied, to help those skilled in the art understand the technical content of this specification, but it does not mean that the embodiments of this specification cannot be used in other devices, systems, environments or scenarios.

[0025] Figure 1It is a schematic diagram of a system architecture shown in this specification according to an exemplary embodiment.

[0026] like Figure 1 As shown, the system architecture may include, for example, a terminal device, a network and a server. The network is used to provide a medium for a communication link between the terminal device and the server. The network may include various connection types, such as wired and / or wireless communication links, etc.

[0027] Users can use terminal devices to interact with servers through the network to receive or send messages, etc. Various communication client applications can be installed on the terminal devices, such as cloud desktop applications, web browser applications, search applications, instant messaging tools, email clients and / or social platform software, etc.

[0028] The terminal device may be any electronic device having a display screen and supporting web browsing, including but not limited to a smart phone, a tablet computer, a laptop computer, a desktop computer, and the like.

[0029] The server may be a server that provides various services, such as a test server that tests a terminal device. The test server may obtain test data from the terminal device, analyze the received test data and other data, and output a test result.

[0030] The following is a detailed description of the method for testing cloud desktop applications provided in the embodiments of this specification. Figure 2 As shown, Figure 2 This is a flowchart of a method for testing a cloud desktop application according to an exemplary embodiment of this specification. The method for testing a cloud desktop application provided by the embodiment of this specification may include the following steps.

[0031] In step 210, the test machine uses the assistant tool to obtain the display parameters of the test machine.

[0032] According to an embodiment of the present specification, the test machine may be, for example, the terminal device shown above. An assistant tool is installed in the test machine. The assistant tool is an application that can be used to receive instructions transmitted by the server, execute system commands (such as obtaining display parameters, modifying the registry, etc.), and return execution results.

[0033] Exemplarily, in this embodiment, the assistant tool may be developed based on a Web application framework, and the Web application framework may include, for example, a Flask framework.

[0034] In step 220, the test machine uses the assistant tool to send the display parameters to the server.

[0035] In step 230, after the server obtains the display parameters of the test machine through the assistant tool in the test machine, it adjusts the standard application interface diagram corresponding to the test case according to the display parameters. The test case is used to test the cloud desktop application.

[0036] According to an embodiment of the present specification, display parameters can be used to represent the specifications of the display screen of the test machine. Test cases can be used to test whether the functions of the cloud desktop application operate as expected. Among them, functions may include account verification, remote screen connection, video streaming, and clipboard, etc. The standard application interface diagram can be used to represent the application interface that the test machine should display when executing each test step normally.

[0037] In step 240, the test machine executes the test case.

[0038] According to an embodiment of the present specification, the test case may be pre-stored in a server, for example, and sent by the server to a test machine for execution.

[0039] In step 250, the test machine sends the display screen when executing the test case to the server via the remote access connection. According to an embodiment of this specification, the server can obtain the display screen from the test machine in the form of remote access, for example.

[0040] In step 260, after the server obtains the display screen of the test machine when executing the test case through the remote access connection, it determines the test result by comparing the display screen with the standard application interface diagram corresponding to the display screen.

[0041] According to an embodiment of the present specification, the server may, for example, detect whether each display screen matches the standard application interface diagram corresponding to the display screen. If each display screen matches the corresponding standard application interface diagram, the test result may be determined to be a passed test, otherwise, the test result may be determined to be a failed test. For example, the similarity between the display screen and the standard application interface diagram may be calculated, and if the similarity is greater than a similarity threshold, it may be determined that the display screen matches the standard application interface diagram, otherwise, it may be determined that the display screen does not match the standard application interface diagram. The similarity threshold may be set according to actual needs.

[0042] Optionally, for example, the OpenCV template matching method can be used to detect whether the display screen matches the corresponding standard application interface diagram. OpenCV is a cross-platform computer vision and machine learning software library released based on the Apache2.0 license (open source), which can run on Linux, Windows, Android and Mac OS operating systems. The OpenCV template matching method can be used to find parts similar to a given template in a target image. In this embodiment, the display screen can be used as the target image, and the standard application interface diagram corresponding to the display screen can be used as a template. The OpenCV template matching method is applied to determine whether there is a part similar to the standard application interface diagram in the display screen. If so, it is determined that the two match, and if not, it is determined that the two do not match.

[0043] According to the embodiments of this specification, the test machine transmits the screen back to the server through the remote access connection, and the server determines the test result by comparing the display screen with the standard application interface diagram corresponding to the display screen, so as to realize the automated testing of the cloud desktop application. In addition, the server obtains the display parameters of the test machine through the assistant tool in the test machine, adjusts the standard application interface diagram according to the display parameters, and then matches it with the display screen, which can improve the matching efficiency and accuracy.

[0044] Optionally, the display parameters may include at least one of resolution, pixel density, and display direction. The resolution may be expressed in pixels (width x height), for example, 1920x1080, which means that the image is 1920 pixels wide and 1080 pixels high. The pixel density may be expressed in DPI (Dots Per Inch). The display direction may include horizontal, vertical, flip horizontal, flip vertical, etc.

[0045] For example, when the display parameters include resolution and / or pixel density, the server can scale each standard application interface image according to the resolution and / or pixel density so that the size of each standard application interface image matches the resolution and / or pixel density in the display parameters.

[0046] When the display parameters include a display direction, the server may rotate each standard application interface image according to the display direction so that the direction of each standard application interface image is consistent with the display direction in the display parameters.

[0047] Optionally, the server may be installed with a Virtual Network Console (VNC) client, and the test machine may be installed with a Virtual Network Console server.

[0048] Based on this, the server can use the virtual network console client to send a connection request to the virtual network console server.

[0049] The test machine can receive a connection request sent by the virtual network console client, and then establish a remote access connection between the virtual network console client and the virtual network console server according to the connection request.

[0050] The test machine can use the virtual network console server to send the display screen to the virtual network console server through a remote access connection. Correspondingly, the server uses the virtual network console client to receive the display screen sent by the virtual network console server through a remote access connection.

[0051] According to the embodiments of this specification, the test machine only needs to install the cloud desktop application to be tested, the VNC server and the assistant tool. The server holds the test cases and the corresponding standard application interface diagrams, the application for image matching and the VNC client. The test machine does not need too many test tools locally, and the main process of the test is tested on the server, so the local memory usage of the terminal can be released, reducing the impact of the test machine on the automated test. In addition, the way the test machine transmits the display screen back to the server via VNC enables the solution to be deployed on different types of system terminals (such as Windows, Linux, MacOS and domestic systems, etc.), and can realize automated testing of cloud desktops in Windows, Linux with desktop environment, Mac OS and domestic systems.

[0052] According to the embodiment of the present specification, during the execution of the test case, when the test machine executes the target operation step, the operation interface of the target operation step will be displayed in the display screen, and the display screen is referred to as the first display screen below. At this time, the test machine can suspend subsequent operations and send the first display screen to the server through the remote access connection.

[0053] After receiving the first display screen, the server can detect whether there is a target area matching the first standard application interface diagram in the first display screen. If the target area does not exist in the first display screen, the test result is determined to be a failed test. If the target area exists in the first display screen, an execution event is sent to the test machine, and the execution event is used to instruct the test machine to perform interactive operations in the target area. Among them, the interactive operation may include, for example, keyboard key input, mouse single click, double click, right click, drag, scroll, middle button click, and touchpad gesture control operations.

[0054] If the testing machine receives an execution event for the first display screen sent by the server, the testing machine performs a corresponding interactive operation in the target area in the first display screen according to the execution event.

[0055] When testing cloud desktop applications, the interactive operation area of ​​the test case is pre-set. Once the display parameters such as desktop resolution, DPI or display direction change, the interactive operation area will also change accordingly, and the execution of the test case will fail.

[0056] According to an embodiment of the present disclosure, the server obtains display parameters, adjusts the standard application interface image according to the display parameters, and determines the target area, i.e., the interactive operation area, based on matching the adjusted standard application interface image with the display screen. This can improve the accuracy of the interactive operation area, avoid test cases from becoming invalid due to changes in terminal display parameters, and improve the versatility of test cases.

[0057] After the test machine performs an interactive operation in the target area of ​​the first display screen, the test machine will display an execution result interface corresponding to the interactive operation in the display screen, which is hereinafter referred to as the second display screen. The test machine can send the second display screen to the server via a remote access connection.

[0058] After receiving the second display screen, the server can detect whether the second display screen matches the second standard application interface image. If not, the test result is determined to be failed. If matched, the subsequent operations in the test case are continued.

[0059] Optionally, after the test machine performs an interactive operation in the target area in the first display screen, the test machine may also use the assistant tool to send the execution result of the interactive operation to the server.

[0060] After receiving the execution result of the interactive operation sent by the assistant tool, the server can parse the execution result. If the execution result indicates that the execution failed, the test result is determined to be a failure. If the execution result indicates that the execution failed, the subsequent operations in the test case are continued.

[0061] Optionally, when it is determined that the test result is failed, the server can save the current display screen of the test machine and the operation log of the cloud desktop application on the server side for subsequent use in troubleshooting.

[0062] Optionally, before executing the test, the assistant tool of the test machine can reset the test environment to restore the desktop application to an initial state. Resetting the test environment can include, for example, closing the program to be tested and other desktop applications, clearing the cache, and the like.

[0063] Optionally, the server can test only one test machine at a time, or can test multiple test machines at the same time. By testing multiple test machines in parallel, the test efficiency can be improved. In addition, the multiple test machines can use the same operating system or different operating systems, which provides high test flexibility.

[0064] like Figure 3 FIG. 1 is a flowchart of another method for testing a cloud desktop application according to an exemplary embodiment. The method for testing a cloud desktop application may include the following steps:

[0065] (1) The test machine starts the VNC service and resets the test environment through the tool assistant to restore the cloud desktop application to its initial state (for example, closing the program to be tested and other desktop applications, clearing the cache, etc.);

[0066] (2) The server connects to the test machine via VNC to obtain the real-time display screen of the test machine;

[0067] (3) The server obtains the display parameters of the test machine, such as resolution, DPI, and display direction, by commanding the Flask assistant tool;

[0068] (4) Calculate the scaling factor for the current test machine based on the obtained resolution and DPI and the resolution and DPI of the standard application interface image pre-stored on the server. Adjust the standard application interface image corresponding to each test step in the test case based on the scaling factor and display direction for use in subsequent image matching. This adjustment can improve the matching accuracy.

[0069] (5) The test machine starts to execute the test case. When it reaches the key step, the display screen is sent to the server through the VNC connection;

[0070] (6) The server obtains the real-time display screen of the test machine and uses the OpenCV template matching method to detect whether the display screen of each test step matches the corresponding standard application interface diagram;

[0071] (7) If the two are matched successfully, an execution event for the matching area is sent to the test machine. If the two are matched unsuccessfully, the current display screen of the test machine and the running log of the cloud desktop application to be tested are saved on the server side;

[0072] (8) After the event is successfully executed, the server checks the display screen sent back by the test machine to determine whether the current step is successfully executed. In addition, the Flask assistant tool can return the execution result to the server, and the server can also determine whether the current step is successfully executed based on the execution result;

[0073] (9) Determine whether the test case execution has been completed. If the test case execution has not been completed, return to step 6. If the test case execution has been completed, record the test results.

[0074] According to the embodiments of this specification, the test machine transmits the screen back to the server through the VNC connection, and the server determines the test result by comparing the display screen with the corresponding standard application interface diagram, so as to realize the automated testing of the cloud desktop application. In addition, the server obtains the display parameters of the test machine through the Flask assistant tool in the test machine, adjusts the standard application interface diagram according to the display parameters, and then matches it with the display screen, which can improve the matching efficiency and accuracy.

[0075] Corresponding to the embodiments of the aforementioned method, this specification also provides embodiments of an apparatus for testing a cloud desktop application and a terminal used therein.

[0076] The embodiments of the apparatus for testing cloud desktop applications in this specification can be applied to computer devices, such as servers or terminal devices. The apparatus embodiments can be implemented through software, hardware, or a combination of software and hardware. Taking software implementation as an example, as a logical device, it is formed by the processor in which it is located reading the corresponding computer program instructions in the non-volatile memory into the memory and running them. From the hardware level, such as Figure 4 As shown, it is a hardware structure diagram of the computer device where the device for testing the cloud desktop application in the embodiment of this specification is located, except Figure 4 In addition to the processor 410, memory 430, network interface 420, and non-volatile memory 440 shown, the server or electronic device where the device 431 is located in the embodiment may also include other hardware according to the actual function of the computer device, which will not be described in detail.

[0077] like Figure 5 As shown, Figure 5 This is a block diagram of a device for testing a cloud desktop application according to an exemplary embodiment of the present specification, the device comprising:

[0078] A display parameter acquisition module 510 is used to acquire display parameters of the test machine through an assistant tool in the test machine;

[0079] An adjustment module 520, used to adjust the standard application interface diagram corresponding to the test case according to the display parameters, where the test case is used to test the cloud desktop application;

[0080] The display screen acquisition module 530 is used to acquire the display screen when the test machine executes the test case through a remote access connection;

[0081] The comparison module 540 is used to determine the test result by comparing the display screen with the standard application interface image corresponding to the display screen.

[0082] like Figure 6 As shown, Figure 6: is a block diagram of another device for testing a cloud desktop application according to an exemplary embodiment of the present specification, the device comprising:

[0083] Display parameter sending module 610, used to obtain the display parameters of the test machine using the assistant tool and send them to the server;

[0084] An execution module 620, configured to execute a test case;

[0085] The display screen sending module 630 is used to send the display screen when executing the test case to the server through the remote access connection.

[0086] According to the embodiments of this specification, the test machine transmits the screen back to the server through the remote access connection, and the server determines the test result by comparing the display screen with the standard application interface diagram corresponding to the display screen, so as to realize the automated testing of the cloud desktop application. In addition, the server obtains the display parameters of the test machine through the assistant tool in the test machine, adjusts the standard application interface diagram according to the display parameters, and then matches it with the display screen, which can improve the matching efficiency and accuracy.

[0087] Accordingly, the present specification also provides a device for testing a cloud desktop application, the device comprising a processor; a memory for storing processor executable instructions; wherein the processor is configured to execute a method for testing a cloud desktop application as shown in any embodiment of the present specification.

[0088] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.

[0089] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this specification. A person of ordinary skill in the art can understand and implement it without paying creative labor.

[0090] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0091] Those skilled in the art will readily appreciate other embodiments of the specification after considering the specification and practicing the invention claimed herein. The specification is intended to cover any variations, uses or adaptations of the specification that follow the general principles of the specification and include common knowledge or customary techniques in the art that are not claimed in the specification. The specification and examples are to be considered exemplary only, and the true scope and spirit of the specification are indicated by the following claims.

[0092] It should be understood that the present description is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.

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

Claims

1. A method for testing a cloud desktop application, applied to a server, characterized in that: The method comprises: Obtaining display parameters of the test machine through an assistant tool in the test machine; According to the display parameters, adjusting a standard application interface diagram corresponding to a test case, wherein the test case is used to test a cloud desktop application; Acquire a display screen when the test machine executes the test case through a remote access connection; The test result is determined by comparing the display screen with a standard application interface image corresponding to the display screen.

2. The method according to claim 1, characterized in that The display parameters include resolution and / or pixel density; and adjusting the standard application interface image corresponding to the test case according to the display parameters includes: Each of the standard application interface images is scaled according to resolution and / or pixel density.

3. The method according to claim 1, characterized in that The display parameters include a display direction; and adjusting the standard application interface diagram corresponding to the test case according to the display parameters includes: Each of the standard application interface images is rotated according to the display direction.

4. The method according to claim 1, characterized in that: The server includes a virtual network console client, and the test machine includes a virtual network console server; the method further includes: Using the virtual network console client to send a connection request to the virtual network console server to establish a remote access connection between the virtual network console client and the virtual network console server; The obtaining of the display screen when the test machine executes the test case through the remote access connection includes: The virtual network console client is used to receive the display image sent by the virtual network console server through the remote access connection.

5. The method according to claim 1, characterized in that The display screen includes a first display screen, and the first display screen includes an operation interface; The step of determining the test result by comparing the display screen with a standard application interface diagram corresponding to the display screen includes: Detecting whether there is a target area matching the first standard application interface image in the first display screen; If the target area does not exist in the first display picture, determining the test result as failing the test; If the target area exists in the first display screen, an execution event is sent to the test machine, where the execution event is used to instruct the test machine to perform an interactive operation in the target area.

6. The method according to claim 5, characterized in that In a case where the target area exists in the first display screen, the display screen further includes a second display screen, and the second display screen includes an execution result interface corresponding to the interactive operation; The step of determining the test result by comparing the display screen with a standard application interface diagram corresponding to the display screen further includes: Detecting whether the second display screen matches the second standard application interface image; If they do not match, the test result is determined to be a failed test.

7. The method according to claim 5, characterized in that The method further comprises: Receiving the execution result of the interactive operation sent by the assistant tool; If the execution result indicates that the execution fails, the test result is determined to be a test failure.

8. A method for testing a cloud desktop application, applied to a test machine, characterized in that: The testing machine includes an assistant tool, and the method includes: Using the assistant tool to obtain the display parameters of the test machine and send them to the server; Execute test cases; The display screen when executing the test case is sent to the server via a remote access connection.

9. The method according to claim 8, characterized in that The display parameters include at least one of resolution, pixel density and display direction.

10. The method according to claim 8, characterized in that The server includes a virtual network console client, and the test machine includes a virtual network console server; the method further includes: receiving a connection request sent by the virtual network console client; establishing a remote access connection between the virtual network console client and the virtual network console server according to the connection request; The step of sending the display screen when executing the test case to the server via a remote access connection comprises: The display screen is sent to the virtual network console server via the remote access connection using the virtual network console server.

11. The method according to claim 8, characterized in that The step of sending the display screen when executing the test case to the server via a remote access connection comprises: When the target operation step is executed, a first display screen is sent to the server via a remote access connection, wherein the first display screen includes an operation interface of the target operation step; If an execution event for the first display screen sent by the server is received, and the execution event indicates to perform an interactive operation in a target area in the first display screen, an interactive operation is performed in the target area in the first display screen according to the execution event.

12. The method according to claim 11, characterized in that After performing the interactive operation in the target area in the first display screen, sending the display screen when executing the test case to the server through the remote access connection further includes: The second display screen is sent to the server via a remote access connection, wherein the second display screen includes an execution result interface corresponding to the interactive operation.

13. The method according to claim 11, characterized in that After performing an interactive operation in the target area in the first display screen, the method further includes: The execution result of the interactive operation is sent to the server by using the assistant tool.

14. A device for testing cloud desktop applications, characterized in that: The device comprises: A display parameter acquisition module, used to acquire the display parameters of the test machine through an assistant tool in the test machine; An adjustment module, used to adjust a standard application interface diagram corresponding to a test case according to the display parameters, wherein the test case is used to test the cloud desktop application; A display screen acquisition module, used to acquire the display screen when the test machine executes the test case through a remote access connection; The comparison module is used to determine the test result by comparing the display screen with the standard application interface image corresponding to the display screen.

15. A device for testing cloud desktop applications, characterized in that: The device is equipped with an assistant tool, and the device comprises: A display parameter sending module, used for obtaining the display parameters of the test machine by using the assistant tool and sending them to the server; Execution module, used to execute test cases; The display screen sending module is used to send the display screen when executing the test case to the server through a remote access connection.

16. A device for testing cloud desktop applications, characterized in that: The device comprises: processor; a memory for storing processor-executable instructions; The processor is configured to execute the method according to any one of claims 1 to 13.