Pop-up window processing method and apparatus, device, medium, and product
By detecting element coordinates and capturing occlusion windows in the user interface operation logic tree, and automatically processing pop-up windows, the problem of pop-up windows not being processed in time in user interface automation testing is solved, and the testing efficiency and accuracy are improved.
Patent Information
- Application Number
- PCT/CN2024/089773
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-08
- Filing Date
- 2024-04-25
- Publication Date
- 2024-11-14
AI Technical Summary
During the user interface automation testing process, the pop-up window appears suddenly, which makes it impossible to process in time, resulting in test failure and reduced test efficiency.
By detecting element coordinates in the operation logic tree of the user interface, capturing the obscured window, and automatically processing pop-up windows based on pop-up window processing logic, ensuring the continuity and accuracy of the test.
It realizes timely detection and processing of pop-up windows, ensures the continuity of automated test execution of the user interface, and improves testing efficiency and accuracy.
Smart Images

Figure CN2024089773_14112024_PF_FP_ABST
Abstract
Description
Pop-up window processing methods, devices, equipment, media and products
[0001] This application claims priority to the Chinese invention patent application entitled “Pop-up processing method, device, equipment, medium and product.”, application number 202310512869.3, filed on May 8, 2023. The entire contents of that application are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present disclosure relate to the field of computer technology, and in particular to a pop-up window processing method, device, equipment, medium, and product. Background Art
[0003] UI (User Interface) automation testing can refer to automatically executing click operations on controls in the human-computer interaction interface so that the UI page automatically responds to the page operations and realizes the execution of controls.
[0004] Automated UI testing can include automatically handling pop-up windows that appear during application execution, such as closing them or clicking on links within them. Pop-up windows can appear during user interaction, requiring the user to perform corresponding actions before using other app features. However, pop-up windows can appear unexpectedly, making it difficult to handle them in a timely manner. This can lead to UI testing failures, interrupting the entire app's automated testing process and reducing testing efficiency.
[0005] Summary of the Invention
[0006] Embodiments of the present disclosure provide a pop-up window processing method, apparatus, device, medium, and product to overcome the problem of interruption of the automated testing process of an application program, resulting in low testing efficiency.
[0007] In a first aspect, an embodiment of the present disclosure provides a pop-up window processing method, the method comprising: in response to a click operation performed on a user interface, obtaining element coordinates corresponding to the element specified by the click operation; detecting a response element of the element coordinates in the operation logic tree according to an operation logic tree corresponding to the user interface, the operation logic tree being a tree structure formed by connecting multiple elements of the user interface according to the processing logic of each element; if it is determined that the first window where the response element is located is in an obscured state, capturing a second window that obscures the first window; performing pop-up window processing on the second window based on the pop-up window processing logic to obtain a processing result of the second window.
[0008] In a second aspect, an embodiment of the present disclosure provides a pop-up window processing device, which includes: a click response unit, which is used to obtain element coordinates corresponding to the element specified by the click operation in response to a click operation performed on the user interface; an element detection unit, which is used to detect the response element of the element coordinates in the operation logic tree according to the operation logic tree corresponding to the user interface, and the operation logic tree is a tree structure composed of multiple elements of the user interface connected according to the processing logic of each element; a window capture unit, which is used to capture the second window that blocks the first window if it is determined that the first window where the response element is located is in an obscured state; a pop-up window processing unit, which is used to perform pop-up window processing on the second window based on the pop-up window processing logic to obtain the processing result of the second window.
[0009] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that at least one processor executes the pop-up window processing method as described in the first aspect and various possible designs of the first aspect.
[0010] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the pop-up window processing method as described in the first aspect and various possible designs of the first aspect is implemented.
[0011] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the pop-up window processing method as described in the first aspect and various possible designs of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0013] FIG1 is a diagram illustrating an application example of a pop-up window processing method provided by an embodiment of the present disclosure;
[0014] FIG2 is a flow chart of an embodiment of a method for processing a pop-up window provided by an embodiment of the present disclosure;
[0015] FIG3 is an example diagram of a pop-up window processing method provided by an embodiment of the present disclosure;
[0016] FIG4 is a flow chart of another embodiment of a pop-up window processing method provided by an embodiment of the present disclosure;
[0017] FIG5 is a structural diagram of an embodiment of a pop-up window processing device provided by an embodiment of the present disclosure;
[0018] FIG6 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.
[0020] The technical solution disclosed in the present invention can be applied to the automated testing scenario of the user interface. By detecting the element coordinates of the operation logic tree of the user interface, the response elements can be captured, and corresponding pop-up window detection can be implemented according to the status of the response elements. Pop-up window processing can be performed on the detected pop-up windows, thereby realizing automatic detection and processing of pop-up windows that appear during the interface testing process, ensuring the continuity of the automated testing execution of the user interface, and improving the testing efficiency and accuracy.
[0021] In related technologies, automated testing of the user interface (UI) refers to automatically executing operations such as clicks on controls in the human-computer interaction interface so that the UI page can be automatically tested. However, during the UI automated testing process, pop-up windows often appear. If the pop-up windows are not handled in a timely manner, the UI testing process will be interrupted. At present, the timing of the pop-up window is generally uncertain. Therefore, if the pop-up window cannot be detected in a timely manner, the UI test will also fail, which will in turn interrupt the automated testing process of the entire APP and reduce the testing efficiency.
[0022] In order to solve the above technical problems, the technical solution disclosed in the present invention can obtain the response element of the element coordinates in the operation logic tree of the user interface by detecting the operation logic tree of the user interface during the process of performing automated testing on the user interface. The operation logic tree can be constructed based on multiple elements of the user interface according to the processing logic connection of each element. After the response element is obtained, it can be detected whether the first window of the response element is in an obstructed state. If it is in an obstructed state, the second window that obstructs the first window can be captured. The corresponding pop-up window processing is performed on the second window through the pop-up window processing logic to obtain the processing result of the second window. Through the detection and automated processing of pop-up windows, timely processing of pop-up windows in the process of automated testing of the user interface is realized, which ensures the continuity of the automated testing execution of the user interface and improves the test efficiency and accuracy.
[0023] The following will describe in detail the technical solutions of the present disclosure and how they solve the above-mentioned technical problems using specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. The following will describe in detail the embodiments of the present disclosure in conjunction with the accompanying drawings.
[0024] Figure 1 is an application example diagram of a pop-up window processing method provided according to an embodiment of the present disclosure. According to an embodiment of the present disclosure, during the user interface testing process, multiple terminal devices 11 can be set up, each terminal device 11 can be connected to an electronic device 12, and the electronic device 12 can control the testing process of the multiple terminal devices 11. For example, the electronic device 12 can send an automatic test program for the user interface to the multiple terminal devices 11, and each terminal device 11 can perform an automatic test of the user interface based on the automatic test program.
[0025] Specifically, the terminal device 11 can be configured with the pop-up window processing method provided by the present disclosure, and the click operation performed on the user interface can obtain the element coordinates corresponding to the element specified by the click operation. According to the operation logic tree corresponding to the user interface, the response element of the element coordinates in the operation logic tree is detected. The operation logic tree is composed of a plurality of elements of the user interface connected according to the processing logic of each element. The response element corresponding to the element coordinate can be obtained through the operation logic tree, and the state detection of the first window corresponding to the response element can capture the second window that blocks the first window when the first window is in an obstructed state. Pop-up window processing is performed on the second window through the pop-up window processing logic to obtain the processing result of the second window. Therefore, during the actual testing process of the terminal device 11, the accurate detection of the pop-up window can be achieved by detecting the obstruction state of the window, and the windows that appear during the test can be detected in time and quickly processed, thereby improving the test efficiency and accuracy.
[0026] Referring to FIG. 2 , FIG. 2 is a flow chart of an embodiment of a pop-up window processing method provided by an embodiment of the present disclosure. The pop-up window processing method may include the following steps:
[0027] 201: In response to a click operation performed on a user interface, obtain element coordinates corresponding to an element specified by the click operation.
[0028] In some embodiments, the method disclosed herein can be executed during the automated testing of an application on a terminal device. Specifically, the pop-up window processing method disclosed herein can be initiated during the automated testing of a target program. The user interface can be a page displayed in the target program. For example, a home page, a video playback page, etc. The specific type of user interface is not particularly limited in this embodiment.
[0029] In some embodiments, the click operation can be a trigger operation performed by the automated testing program of the target program on the user interface. The click operation can be generated during the user interface testing process. In actual applications, the click operation can be, for example, a UI action (user interface response) that can configure the button style on the user interface and the event to be triggered after clicking the button, including the coordinates of the element being clicked.
[0030] In some embodiments, the click operation may also include element information of the specified element, such as the element name, element identifier, and other information. By responding to the click operation, the coordinates of the clicked element can be determined in a timely manner. An element, or interface element, refers to a series of elements contained in a software or system interface that can meet user interaction requirements. An element can specifically refer to an object such as a control, image, or text area in a user interface that can interact with the user to implement a corresponding operation response.
[0031] 202: Detecting a response element of an element coordinate in the operation logic tree corresponding to the user interface, wherein the operation logic tree is constructed based on a plurality of elements of the user interface connected according to the processing logic of each element.
[0032] In some embodiments, a logic operation tree (UI Tree) refers to a tree structure formed by connecting the elements in the user interface as nodes according to the element's processing logic. The function of the nodes in the logic operation tree can be obtained based on the element coordinate detection. Each node in the operation logic tree can be associated with relevant element information, such as the element position or element area, element name, type, identification, and other information.
[0033] In some embodiments, an operation logic tree can be established during the use of the user interface. After obtaining the element coordinates, the element coordinates can be matched with the nodes in the operation logic tree, and the element corresponding to the node that matches the element coordinates is used as the response element. In some embodiments, matching the element coordinates with the nodes in the operation logic tree can include: comparing the element coordinates with the position or area corresponding to the node in the operation logic tree to obtain a coordinate point comparison result. If the difference between the coordinates and the position is small or the coordinates belong to the element area of a node, the element corresponding to the node is determined to be the response element.
[0034] 203: If it is determined that the first window where the response element is located is in an obstructed state, capture the second window that obstructs the first window.
[0035] In some embodiments, the view window of the response element may be a first window. The view window of the response element in the user interface may be captured to obtain the first window. For example, the window of the response element may be obtained using a get window function, such as capturing a window handle using the get window function, where the window handle represents the window function. The window may be identified using the window handle. In some embodiments, the second window may be captured using the get window function, specifically obtaining the handle of the second window using the get window function.
[0036] 204: Perform pop-up window processing on the second window based on the pop-up window processing logic to obtain a processing result of the second window.
[0037] In some embodiments, the pop-up window processing logic can be the processing logic that can be executed on the pop-up window, such as the logic for closing the pop-up window or the logic for clicking a control in the pop-up window. The processing logic for each pop-up window can be pre-set and obtained, and the pop-up window processing logic can be used to automatically process the pop-up window, thereby improving the processing efficiency of the pop-up window.
[0038] In an embodiment of the present disclosure, during the process of performing automated testing on a user interface, the element coordinates corresponding to the element specified by the click operation during the test can be detected through the operation logic tree of the user interface, and the response element of the element coordinates in the operation logic tree can be obtained. The operation logic tree can be constructed based on multiple elements of the user interface in accordance with the processing logic connection of each element. After the response element is obtained, it can be detected whether the first window of the response element is in an obstructed state. If it is in an obstructed state, the second window that obstructs the first window can be captured. The corresponding pop-up window processing is performed on the second window through the pop-up window processing logic to obtain the processing result of the second window. Through the detection and automated processing of pop-up windows, timely processing of pop-up windows in the process of automated testing of the user interface is achieved, which ensures the continuity of the automated testing execution of the user interface and improves the test efficiency and accuracy.
[0039] Further, based on the above embodiment, detecting a response element corresponding to an element coordinate in the operation logic tree corresponding to the user interface includes obtaining the operation logic tree corresponding to the user interface, generating a click test for the operation logic tree based on the element coordinates, executing the click test, and obtaining a response element in the operation logic tree that responds to the click test.
[0040] In some embodiments, generating a click test for an operation logic tree based on element coordinates may include: determining a click test function, inputting the element coordinates into the click test function, and running the click test function to perform the click test. The click test function may be generated based on the operation logic tree, and may be configured to perform an element click operation according to the processing logic of each element, with the input being the element coordinates and the output being a click test result. In some embodiments, the click test result includes a response element corresponding to the clicked element coordinates.
[0041] In some embodiments, performing a click test may include: inputting element coordinates into a click test function, running the click test function with the element coordinates input, obtaining a click test result of the click test function, and obtaining a response element.
[0042] In an embodiment of the present disclosure, an operation logic tree of a user interface can be obtained. The operation logic tree can be a tree structure formed by connecting the elements of the user interface according to their processing logic. The operation logic tree can provide click responses for the user interface. Therefore, after obtaining the element coordinates, a click test for the logical operation tree can be generated. By executing the click test, a response element in the operation logic tree that responds to the click test can be obtained. By generating the click test in real time, the response element corresponding to the click operation can be detected in a timely manner, thereby improving the detection efficiency and accuracy of the response element.
[0043] For ease of understanding, FIG3 is an example diagram of a pop-up window processing method provided by an embodiment of the present disclosure. Referring to FIG3 , the pop-up window processing method may include the following steps:
[0044] 301: Get the element coordinates (x, y) corresponding to the click operation.
[0045] 302: Generate a click test click(x,y) for the UI tree based on the element coordinates.
[0046] 303: Execute a click test and obtain a response element in the UI Tree that responds to the click test.
[0047] 303: Perform window detection on the response element to determine whether the first window of the response element is blocked. If so, execute step 304; if not, continue to execute the next click operation and return to step 301 to continue execution.
[0048] 304: Capture the second window that blocks the first window.
[0049] In some embodiments, the second window obstructing the first window can be captured using a window capture method, that is, the second window obstructing the first window can be captured using a window call method. In some embodiments, the second window obstructing the first window can also be obtained by detecting a window handle and testing a window response using the handle. Of course, the above-mentioned window capture and obstruction method is not limited to this. Any method that can capture the second window obstructing the first window is an implementation of this embodiment.
[0050] In actual applications, the second window may include at least one, that is, a window may be blocked by multiple windows at the same time. Of course, there may be an occlusion relationship between multiple second windows that block the first window. In some embodiments, through steps 301-304, second windows that block other windows can be continuously captured, and the newly captured second window can also be used as a new first window, and there is a second window that blocks the new first window. In this embodiment, there is no specific limitation on the number of blocked windows and the number of levels of occlusion.
[0051] In this embodiment, the first window and the second window may refer to different windows, and the windows are not differentiated from each other in terms of window size, content, etc.
[0052] 305: Perform pop-up window processing on the second window based on the pop-up window processing logic to obtain a processing result of the second window.
[0053] In the disclosed embodiments, after obtaining element coordinates, a click test using the element coordinates can accurately obtain the response element. Obtaining the response element allows for window detection of the response element to determine whether the first window of the response element is obstructed. This occlusion detection allows for the timely detection of a second window obstructing the first window. Click testing allows for window capture, and pop-up detection using the captured window, improving the efficiency and accuracy of pop-up detection.
[0054] Further, based on any of the above embodiments, determining whether the first window where the response element is located is in an obscured state includes: determining a window level of the response element in the first window. Based on the window level, detecting whether a pop-up window exists in a level above the response element. If so, determining that the first window where the response element is located is in an obscured state.
[0055] In some embodiments, a window hierarchy can be set for each element in the user interface. The window hierarchy can be the order in which windows are displayed on the screen. The user interface can include multiple window hierarchies, for example, a common window hierarchy ranges from 0 to 36, for a total of 37 levels.
[0056] In some embodiments, after obtaining the window level corresponding to the first window of the response element, it is possible to determine whether there is a pop-up window in the upper level of the window level. If there is a pop-up window in the upper level of the window level, it is determined that there is a pop-up window and that the response element is blocked in the first window.
[0057] In the disclosed embodiment, when performing occlusion detection on a first window, the window level of the response element in the first window can be determined. Using the window level, it is possible to detect whether a pop-up window exists one level above the response element. By detecting the window level, effective detection of windows at different levels can be achieved, improving the efficiency and accuracy of detecting window occlusion.
[0058] Further, based on any of the above embodiments, determining whether the first window in which the response element is located is in an obscured state includes: calling a selection test method of the response element and obtaining a return result of the selection test method, wherein the selection test method is used to perform a window selection operation on the response element. If it is determined that the return result does not meet the obscured condition, then the response element is determined to be in an unobscured state. If it is determined that the return result meets the obscured condition, then the response element is determined to be in an obscured state.
[0059] Optionally, the selection test method of the response element may be a method for capturing the response element and performing an operation response according to a click operation performed on the response element. The window of the response element may be obtained through the selection test method.
[0060] When the window of the response element does not meet the occlusion condition, it can be determined that the response element is in an unoccluded state. When the window of the response element meets the occlusion condition, it can be determined that the response element is in an occluded state.
[0061] In practical applications, the technical solution of the present disclosure can be implemented by any software system. The software system can be, for example, any of the iOS system, Android system, etc. The selected test method can be, for example, the hitTest method, which can detect the response element at a specific coordinate and feedback the response window.
[0062] In the embodiment of the present disclosure, the selection test method of the response element can be called, and the response element can be tested by the selection test method. The selection test method can realize real-time testing of the response element. If the test is normal, it means that the response element is not blocked. Therefore, the occlusion condition is detected by the return result of the selection test method. If the return result indicates that the occlusion condition is not met, it means that the response element is in an unobstructed state. If the return result indicates that the occlusion condition is met, it means that the response element is in an obstructed state. By performing a selection test on the response element, a click test on the response element can be realized to detect whether the response element responds and obtain the detection result of the occlusion condition. The occlusion state of the response element is determined by the detection result of the occlusion condition, thereby improving the detection efficiency and accuracy of the occlusion state.
[0063] Further, based on the above embodiment, the returned result includes the window of the response element, and determining that the returned result does not meet the occlusion condition includes: detecting that there is no execution association relationship between the returned result and other windows, and then determining that the returned result does not meet the occlusion condition; detecting that there is an execution association relationship between the returned result and other windows, and then returning to determine that the returned result does not meet the occlusion condition.
[0064] In some embodiments, the execution association relationship can be a display order relationship between two windows. In some embodiments, a window with a higher hierarchy is displayed and processed before a window with a lower hierarchy, and a window with a lower hierarchy is displayed and processed after a window with a higher hierarchy.
[0065] If the returned result has no execution association with other windows, it means that the returned window is not associated with other windows and can be executed independently. Therefore, it can be determined that the returned result does not meet the occlusion condition. If the returned result has an execution association with other windows, it means that the returned window is associated with other windows and needs to execute other windows first before the window in the returned result is executed.
[0066] In the disclosed embodiment, the return result may include the window of the response element. If the detection return result does not have an execution association relationship with other windows, it means that the window of the response element is the level currently clicked, and the result can be returned that does not meet the occlusion condition. If the detection return result has an execution association relationship with other windows, it means that the return result needs to be associated with other windows for execution, and the high-level window needs to be executed first and then the low-level window level. By performing execution association detection on the window of the response element and other windows, a direct window judgment can be made on whether the response element meets the occlusion condition, thereby improving the detection efficiency and accuracy of the occlusion condition.
[0067] Further, based on the above embodiment, the returned result includes the window level of the response element, and detecting whether the returned result has an execution association relationship with other windows includes: if the window level corresponding to the returned result is higher than the reminder level of the user interface window, then determining that the returned result has an execution association relationship with other windows; or, if the returned result is a key window, then determining that the returned result has an execution association relationship with other windows; or, if the window level of the returned result is higher than the horizontal status bar level of the user interface window, then determining that the returned result has an execution association relationship with other windows; or, if the returned result is a keyboard window, then determining that the returned result has an execution association relationship with other windows.
[0068] In some embodiments, user interface windows (UIWindow) can be sorted according to the UIWindow hierarchy when displayed, that is, windows with higher hierarchies are sorted before windows with lower hierarchies. The UIWindowLevelAlert level of the user interface window can be a display level of the UI window, which can be used to define windows at the alert level.
[0069] In some embodiments, the key window (keyWindow) may be a window that displays key controls, such as a confirmation control, a cancel control, and the like.
[0070] In some embodiments, the keyboard window (UITextEffectsWindow) may be a window that displays a keyboard and detects user input, and may obtain text content by interacting with user input operations.
[0071] In some embodiments, the horizontal status bar level (UIWindowLevelStatusBar) is one of the three window levels defined in the iOS system, and is used to display horizontal status controls.
[0072] Three UI window levels are defined in the iOS system: UIWindowLevelNormal (normal level), UIWindowLevelAlert (alert level), and UIWindowLevelStatusBar (horizontal status bar level). Window levels at different levels are used to display different windows. In actual applications, a level can also include multiple sub-levels, which will not be described here one by one. The size of different window levels can be set according to actual usage requirements. For example, the normal level can be smaller than the alert level.
[0073] In the disclosed embodiments, when determining whether an execution association relationship exists between the window of a response element and other windows, methods such as comparison with the reminder level of a user interface window, determination of the type of a key window, comparison of the window level with the horizontal status bar level of a user interface window, or determination of the category of a keyboard window can be used. The above determination methods accurately determine whether an execution association relationship exists between the window of a response element and other windows, thereby improving the efficiency and accuracy of the determination of the response element.
[0074] Furthermore, based on the above embodiment, in response to a click operation performed on the user interface, after obtaining the element coordinates corresponding to the element specified by the click operation, the above method may also include: determining the target element corresponding to the element coordinates; performing element matching processing on the response element and the target element to obtain an element matching result; if the element matching result is that the response element and the target element are different, or there is no descendant relationship between the response element and the target element, then determining that the first window where the response element is located is in a blocked state.
[0075] In some embodiments, performing element matching processing on the response element and the target element may include determining whether the response element and the target element are the same element, and detecting whether there is a descendant relationship between the response element and the target element.
[0076] In some embodiments, determining whether the response element and the target element are the same element may include: comparing the element names of the response element and the target element or comparing the element handles, etc. If the element names are the same or the element handles are the same, it is determined that the response element and the target element are the same element; otherwise, it can be determined that the response element and the target element are different elements.
[0077] In some embodiments, determining whether the response element and the target element have a descendant relationship may include: the response element and the target element are different elements, and a processing association exists between the response element and the target element.
[0078] In some embodiments, the element matching result can be used to determine whether a pop-up window exists, and whether the response element is in a blocked state in the first window can be determined based on the element matching result.
[0079] In some embodiments, the element matching result may include whether the response element and the target element are the same, or whether the response element and the target element are different. The element matching result may also include whether the response element and the target element have a descendant relationship or do not have a descendant relationship. In some embodiments, when the element matching result is that the response element and the target element are different, or the response element and the target element do not have a descendant relationship, it is determined that the first window where the response element is located is in an obstructed state. When the element matching result is that the response element and the target element are the same, or the response element and the target element have a descendant relationship, it is determined that the first window where the response element is located is not in an obstructed state.
[0080] In the disclosed embodiment, after obtaining the element coordinates, the target element corresponding to the element coordinates can be determined. Furthermore, after the pop-up window processing is completed, element matching processing can be performed on the response element and the target element to obtain an element matching result. By matching the response element and the target element, the currently executed element can be matched with the target element, the response of the element can be verified, and the accuracy of the operation on the executed element can be improved.
[0081] Further, based on any of the above embodiments, performing pop-up window processing on the second window based on the pop-up window processing logic to obtain the processing result of the second window may include: generating a pop-up window exception event indicating the existence of a pop-up window; in response to the pop-up window exception event, performing pop-up window processing on the second window based on the pop-up window processing logic to obtain the processing result of the second window.
[0082] In some embodiments, the pop-up window abnormal event may be a pop-up window processing event generated for the pop-up window. The pop-up window may be responded to through the event, thereby achieving automatic processing of the pop-up window.
[0083] In the embodiment of the present disclosure, when it is determined that a second window exists, a pop-up window exception event can be generated. In response to the pop-up window exception event, a pop-up window processing logic can be executed to process the second window, thereby achieving timely processing of the second pop-up window and improving the processing efficiency of the second pop-up window.
[0084] As shown in FIG4 , which is a flow chart of another embodiment of a pop-up window processing method provided by an embodiment of the present disclosure, in some embodiments, step 204, performing pop-up window processing on the second window based on the pop-up window processing logic to obtain a processing result for the second window, may include:
[0085] 401: Get a pre-registered pop-up rule list, which includes multiple pop-ups arranged in the order of registration.
[0086] 402: Match the second window with the pop-up windows in the pop-up rule list in sequence according to the registration order of the pop-up windows in the pop-up rule list to obtain a target pop-up window that successfully matches the second window.
[0087] 403: Call the processing logic of the target pop-up window based on the pop-up window rule list, perform pop-up window processing on the second window, and obtain the processing result of the second window.
[0088] In some embodiments, the popup rule list may store popups and popup-related processing logic in a list format, for example: [PopupClass1, PopupClass2, ..., PopupClassn], where PopupClass refers to the popup and popup-related processing logic.
[0089] In some embodiments, pop-up window processing rules can be pre-registered. During registration, each pop-up window processing rule can be assigned a corresponding registration order.
[0090] Matching the second window with the pop-up windows in the pop-up rule list may include: matching the path of the second window with the UI path corresponding to the pop-up rule list, and using the pop-up window corresponding to the UI path identical to the path of the second pop-up window as the target pop-up window.
[0091] In an embodiment of the present disclosure, when processing a pop-up window, a pop-up window rule list can be obtained first, in which multiple pop-ups are arranged in the order of registration. Then, according to the registration order of each pop-up window, the second window is matched with the pop-up windows in the pop-up window rule list in sequence, and the target pop-up window that successfully matches the second window can be obtained. Through pop-up window matching, the target pop-up window that successfully matches the second window can be obtained, and then the processing logic of the target pop-up window can be obtained from the pop-up window rule list. Then, the second window is processed as a pop-up by the processing logic to obtain the processing result of the second window. The setting of the pop-up window rule list can realize the real-time acquisition of the processing logic of the pop-up window, realize the automatic processing of the pop-up window of the second window, and improve the efficiency and effectiveness of the pop-up window processing.
[0092] FIG5 is a schematic diagram showing the structure of an embodiment of a pop-up window processing device provided by an embodiment of the present disclosure. The pop-up window processing device 500 may include:
[0093] Click response unit 501: used for obtaining the element coordinates corresponding to the element specified by the click operation in response to the click operation performed on the user interface.
[0094] The element detection unit 502 is configured to detect a response element whose element coordinates are in the operation logic tree according to the operation logic tree corresponding to the user interface.
[0095] The window capturing unit 503 is configured to capture the second window that blocks the first window if it is determined that the first window where the response element is located is in a blocked state.
[0096] The pop-up window processing unit 504 is configured to perform pop-up window processing on the second window based on the pop-up window processing logic to obtain a processing result of the second window.
[0097] Furthermore, based on any of the above embodiments, the element detection unit includes: an operation acquisition module, used to obtain the operation logic tree corresponding to the user interface; a test generation module, used to generate a click test for the operation logic tree based on the element coordinates; and a test execution module, used to execute the click test and obtain a response element in the operation logic tree that responds to the click test.
[0098] Furthermore, based on any of the above embodiments, the window capture unit includes: a hierarchy determination module, used to determine the window hierarchy of the response element in the first window; a pop-up detection module, used to detect whether there is a pop-up window in the upper level of the response element according to the window hierarchy; and an occlusion determination module, used to determine whether the first window where the response element is located is in an occluded state if so.
[0099] Further, based on any of the above embodiments, the window capture unit includes: a method calling module, used to call the selection test method of the response element, obtain the return result of the selection test method, and the selection test method performs a window selection operation on the response element; a first determination module, used to determine that the response element is in an unobstructed state if it is determined that the return result does not meet the occlusion condition; a second determination module, used to determine that the response element is in an obstructed state if it is determined that the return result meets the occlusion condition.
[0100] Further, based on any of the above embodiments, the returned result includes the window of the response element; the window capture unit also includes: a first detection unit, used to detect that there is no execution association relationship between the returned result and other windows, and then determine that the returned result does not meet the occlusion condition; a second detection unit, used to detect that there is an execution association relationship between the returned result and other windows, and then return to determine that the returned result meets the occlusion condition.
[0101] Further, based on any of the above embodiments, the second detection unit includes: a first detection module, which is used to determine that the return result has an execution association relationship with other windows if the window level of the returned result is higher than the reminder level of the user interface window; or, a second detection module, which is used to determine that the return result has an execution association relationship with other windows if the return result is a key window; or, a third detection module, which is used to determine that the return result has an execution association relationship with other windows if the window level of the returned result is higher than the horizontal status bar level of the user interface window; or, a fourth detection module, which is used to determine that the return result has an execution association relationship with other windows if the return result is a keyboard window.
[0102] Furthermore, based on any of the above embodiments, the pop-up window processing device also includes: a target determination unit, used to determine the target element corresponding to the element coordinates; an element matching unit, used to perform element matching processing on the response element and the target element to obtain an element matching result; a state determination unit, used to determine that the first window where the response element is located is in an obscured state if the element matching result is that the response element and the target element are different, or there is no descendant relationship between the response element and the target element.
[0103] Furthermore, based on any of the above embodiments, the pop-up window processing unit includes: an event generation module for generating a pop-up window exception event indicating the presence of a pop-up window; a window processing module for responding to the pop-up window exception event, performing pop-up window processing on the second window based on the pop-up window processing logic, and obtaining the processing result of the second window.
[0104] Further, based on any of the above embodiments, the pop-up processing unit includes: a list acquisition module, used to obtain a pre-registered pop-up rule list, the pop-up rule list includes multiple pop-ups arranged in a registration order; a pop-up matching module, used to match the second window with the pop-up windows in the pop-up rule list in sequence according to the registration order of each pop-up window in the pop-up rule list, and obtain a target pop-up window that successfully matches the second window; an algorithm processing module, used to call the processing logic of the target pop-up window based on the pop-up rule list, perform pop-up processing on the second window, and obtain the processing result of the second window.
[0105] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail in this embodiment.
[0106] In order to implement the above embodiment, the present disclosure further provides an electronic device.
[0107] Referring to FIG6 , a schematic diagram of the structure of an electronic device 600 suitable for implementing an embodiment of the present disclosure is shown. The electronic device 600 may be a terminal device or a server. The terminal device may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in FIG6 is merely an example and should not limit the functionality and scope of use of the embodiments of the present disclosure.
[0108] As shown in Figure 6, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. Various programs and data required for the operation of the electronic device 600 are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0109] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although FIG. 6 shows an electronic device 600 having various devices, it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
[0110] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0111] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0112] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0113] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.
[0114] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet Service Provider).
[0115] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0116] The units involved in the embodiments described in this disclosure may be implemented in software or hardware. In some cases, the name of a unit does not limit the unit itself. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses."
[0117] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0118] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0119] In a first aspect, according to one or more embodiments of the present disclosure, a method for processing a pop-up window is provided, comprising:
[0120] In response to a click operation performed on the user interface, obtaining element coordinates corresponding to an element specified by the click operation;
[0121] According to the operation logic tree corresponding to the user interface, detecting the response element of the element coordinate in the operation logic tree, where the operation logic tree is a tree structure formed by connecting multiple elements of the user interface according to the processing logic of each element;
[0122] If it is determined that the first window where the response element is located is in an obstructed state, capturing the second window that obstructs the first window;
[0123] Perform pop-up window processing on the second window based on the pop-up window processing logic to obtain a processing result of the second window.
[0124] According to one or more embodiments of the present disclosure, detecting a response element having element coordinates in an operation logic tree corresponding to a user interface includes:
[0125] Get the operation logic tree corresponding to the user interface;
[0126] Generate click tests for the operation logic tree based on element coordinates;
[0127] Execute the click test and obtain the response element in the operation logic tree that responds to the click test.
[0128] According to one or more embodiments of the present disclosure, determining that the first window where the response element is located is in an obscured state includes:
[0129] Determine the window level of the response element in the first window;
[0130] According to the window level, detect whether there is a pop-up window in the upper level of the response element;
[0131] If so, it is determined that the first window where the response element is located is in an obscured state.
[0132] According to one or more embodiments of the present disclosure, determining that the first window where the response element is located is in an obscured state includes:
[0133] Call the selected test method of the response element, obtain the return result of the selected test method, and perform the window selection operation on the response element by the selected test method;
[0134] If it is determined that the returned result does not meet the occlusion condition, then the response element is determined to be in an unoccluded state;
[0135] If it is determined that the returned result meets the occlusion condition, it is determined that the response element is in an occlusion state.
[0136] According to one or more embodiments of the present disclosure, the returned result includes the window of the response element; the step of detecting the occlusion condition includes:
[0137] If the detection result does not have an execution association relationship with other windows, it is determined that the returned result does not meet the occlusion condition;
[0138] If the detection result is associated with other windows, the return result is determined to meet the occlusion condition.
[0139] According to one or more embodiments of the present disclosure, detecting whether a returned result has an execution association relationship with other windows includes:
[0140] If the window level of the returned result is higher than the reminder level of the user interface window, it is determined that the returned result has an execution association relationship with the other window;
[0141] Alternatively, if the returned result is a button window, determining whether the returned result has an execution association relationship with other windows;
[0142] Alternatively, if the window level of the returned result is higher than the horizontal status bar level of the user interface window, it is determined that the returned result has an execution association relationship with other windows;
[0143] Alternatively, if the returned result is a keyboard window, it is determined that the returned result has an execution association relationship with other windows.
[0144] According to one or more embodiments of the present disclosure, the pop-up window processing method further includes:
[0145] Determine the target element corresponding to the element coordinates;
[0146] Perform element matching processing on the response element and the target element to obtain the element matching result;
[0147] If the element matching result is that the response element and the target element are different, or the response element and the target element do not have a descendant relationship, it is determined that the first window where the response element is located is in an obscured state.
[0148] According to one or more embodiments of the present disclosure, performing pop-up window processing on the second window based on the pop-up window processing logic to obtain a processing result of the second window includes:
[0149] Generate pop-up exception events when pop-up windows exist;
[0150] In response to the pop-up window exception event, pop-up window processing is performed on the second window based on the pop-up window processing logic to obtain a processing result of the second window.
[0151] According to one or more embodiments of the present disclosure, performing pop-up window processing on the second window based on the pop-up window processing logic to obtain a processing result of the second window includes:
[0152] Get the pre-registered pop-up rule list, which includes multiple pop-ups arranged in the order of registration;
[0153] According to the registration order of each pop-up window in the pop-up window rule list, the second window is matched with the pop-up windows in the pop-up window rule list in sequence to obtain a target pop-up window that successfully matches the second window;
[0154] The processing logic of the target pop-up window is called based on the pop-up window rule list, the pop-up window processing is performed on the second window, and the processing result of the second window is obtained.
[0155] In a second aspect, according to one or more embodiments of the present disclosure, a pop-up window processing device is provided, comprising:
[0156] A click response unit, configured to obtain, in response to a click operation performed on the user interface, element coordinates corresponding to an element specified by the click operation;
[0157] An element detection unit is used to detect the corresponding element of the element coordinate in the operation logic tree according to the operation logic tree corresponding to the user interface, where the operation logic tree is a tree structure formed by connecting multiple elements of the user interface according to the processing logic of each element;
[0158] a window capturing unit, configured to capture a second window that blocks the first window if it is determined that the first window where the response element is located is in a blocked state;
[0159] The pop-up window processing unit is used to perform pop-up window processing on the second window based on the pop-up window processing logic to obtain a processing result of the second window.
[0160] In a third aspect, according to one or more embodiments of the present disclosure, there is provided an electronic device, comprising: at least one processor and a memory;
[0161] Memory stores computer-executable instructions;
[0162] At least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the pop-up window processing method as described in the first aspect and various possible designs of the first aspect.
[0163] In a fourth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, in which computer execution instructions are stored. When the processor executes the computer execution instructions, the pop-up window processing method as described in the first aspect and various possible designs of the first aspect is implemented.
[0164] In a fifth aspect, according to one or more embodiments of the present disclosure, a computer program product is provided, including a computer program, which, when executed by a processor, implements the pop-up window processing method as described in the first aspect and various possible designs of the first aspect.
[0165] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0166] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0167] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A pop-up window processing method, include: In response to a click operation performed on the user interface, obtaining element coordinates corresponding to an element specified by the click operation; According to the operation logic tree corresponding to the user interface, detecting the response element of the element coordinate in the operation logic tree, wherein the operation logic tree is a tree structure formed by connecting multiple elements of the user interface according to the processing logic of each element; If it is determined that the first window where the response element is located is in an obstructed state, capturing the second window that obstructs the first window; Perform pop-up window processing on the second window based on the pop-up window processing logic to obtain a processing result of the second window.
2. The method according to claim 1, in, The detecting, according to the operation logic tree corresponding to the user interface, a response element of the element coordinate in the operation logic tree comprises: Obtaining an operation logic tree corresponding to the user interface; Generating a click test for the operation logic tree according to the element coordinates; The click test is executed, and the response element in the operation logic tree that responds to the click test is obtained.
3. The method according to claim 1, in, The determining that the first window where the response element is located is in an obstructed state includes: Determining a window level of the response element in the first window; According to the window level, detecting whether there is a pop-up window at the upper level of the response element; If so, it is determined that the first window where the response element is located is in a blocked state.
4. The method according to claim 1, in, The determining that the first window where the response element is located is in an obstructed state includes: Calling a selection test method of the response element to obtain a return result of the selection test method, wherein the selection test method performs a window selection operation on the response element; If it is determined that the returned result does not satisfy the occlusion condition, determining that the response element is in an unoccluded state; If it is determined that the returned result satisfies the blocking condition, it is determined that the response element is in a blocking state.
5. The method according to claim 4, in, The returned result includes the window of the response element; The step of detecting the occlusion condition comprises: Detecting that there is no execution association relationship between the returned result and other windows, then determining that the returned result does not meet the blocking condition; It is detected that the returned result has an execution association relationship with other windows, and then it is returned to determine that the returned result meets the blocking condition.
6. The method according to claim 5, in, The detecting that the returned result has an execution association relationship with other windows includes: If the window level of the returned result is higher than the reminder level of the user interface window, determining that the returned result has an execution association relationship with other windows; Alternatively, if the returned result is a key window, determining that the returned result has an execution association relationship with other windows; Alternatively, if the window level of the returned result is higher than the horizontal status bar level of the user interface window, it is determined that the returned result has an execution association relationship with other windows; Alternatively, if the returned result is a keyboard window, it is determined that the returned result has an execution association relationship with other windows.
7. The method according to claim 1, in, The method further comprises: Determine the target element corresponding to the element coordinates; Performing element matching processing on the response element and the target element to obtain an element matching result; If the element matching result is that the response element and the target element are different, or the response element and the target element do not have a descendant relationship, it is determined that the first window where the response element is located is in an obstructed state.
8. The method according to claim 1, in, The performing pop-up window processing on the second window based on the pop-up window processing logic to obtain a processing result of the second window includes: Generate pop-up exception events when there are pop-ups; In response to the pop-up window exception event, pop-up window processing is performed on the second window based on the pop-up window processing logic to obtain a processing result of the second window.
9. The method according to claim 1, in, The performing pop-up window processing on the second window based on the pop-up window processing logic to obtain a processing result of the second window includes: Obtain a pre-registered pop-up window rule list, wherein the pop-up window rule list includes multiple pop-ups arranged in a registration order; According to the registration order of each pop-up window in the pop-up window rule list, the second window is sequentially connected to the Matching the pop-up windows in the pop-up window rule list to obtain a target pop-up window that successfully matches the second window; The processing logic of the target pop-up window is called based on the pop-up window rule list, and the pop-up window processing is performed on the second window to obtain the processing result of the second window.
10. A pop-up window processing device, include: A click response unit, configured to obtain, in response to a click operation performed on the user interface, element coordinates corresponding to an element specified by the click operation; an element detection unit, configured to detect, according to an operation logic tree corresponding to the user interface, a response element of the element coordinates in the operation logic tree, wherein the operation logic tree is a tree structure formed by connecting a plurality of elements of the user interface according to the processing logic of each element; a window capturing unit, configured to capture a second window that blocks the first window if it is determined that the first window where the response element is located is in a blocked state; A pop-up window processing unit is used to perform pop-up window processing on the second window based on the pop-up window processing logic to obtain a processing result of the second window.
11. An electronic device, include: Processor, memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor is configured with the pop-up window processing method according to any one of claims 1 to 9.
12. A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the pop-up window processing method according to any one of claims 1 to 9 is implemented.
13. A computer program product, comprising a computer program, wherein the computer program is executed by a processor to be configured with the pop-up window processing method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Application popup identification method and apparatus
CN105808257A
Pop-up window processing method and device
CN109753425A
Automatic case execution method and device for application program
CN110633196A
Pop-up box processing method and system based on application testing
CN111767203A
Test case management
EP1890235A1
Cited By
Pop-up frame ablation rule generation method and device, storage medium and computer equipment
CN120012749A
