CN115756992A - Method and device for positioning abnormity, storage medium and electronic equipment - Google Patents

Method and device for positioning abnormity, storage medium and electronic equipment Download PDF

Info

Publication number
CN115756992A
CN115756992A CN202211554327.4A CN202211554327A CN115756992A CN 115756992 A CN115756992 A CN 115756992A CN 202211554327 A CN202211554327 A CN 202211554327A CN 115756992 A CN115756992 A CN 115756992A
Authority
CN
China
Prior art keywords
page
screenshot
file
software robot
comparison result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211554327.4A
Other languages
Chinese (zh)
Inventor
杨乐
冯梦盈
李航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lingxi Beijing Technology Co Ltd
Original Assignee
Lingxi Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lingxi Beijing Technology Co Ltd filed Critical Lingxi Beijing Technology Co Ltd
Priority to CN202211554327.4A priority Critical patent/CN115756992A/en
Publication of CN115756992A publication Critical patent/CN115756992A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

Some embodiments of the present application provide a method, an apparatus, a storage medium, and an electronic device for anomaly location, where the method for anomaly location includes: when the software robot generates an operation behavior on a page, performing screenshot on the page and adding the screenshot to a page screenshot file, wherein the type of the operation behavior comprises: clicking, double clicking and inputting, wherein the page screenshot file comprises at least one page screenshot, and one page screenshot represents that the software robot generates one-time operation behavior; and analyzing the page screenshot file to determine whether the page has loading abnormity. Some embodiments of the application can realize that the problem in the software robot operation process is abnormally positioned, and the efficiency is higher.

Description

Method and device for positioning abnormity, storage medium and electronic equipment
Technical Field
The application relates to the technical field of intelligent robots, in particular to a method and a device for positioning an abnormality, a storage medium and electronic equipment.
Background
With the development of artificial intelligence, the application of RPA (Robotic Process Automation) is becoming more and more extensive. RPA refers to the use of software automation in various industries to achieve operations that would otherwise be performed by a human-operated computer. It allows software robots to automatically handle large numbers of repetitive, rule-based workflow tasks.
At present, various sudden problems exist in the process of executing tasks according to a set workflow by a software robot, for example, the situation of page loading abnormity caused by large server access amount or network delay, and the like. Because the software robot can only carry out repetitive work based on the rule, related personnel are needed to check whether problems exist in the execution process or not in the later period, the workload is large, a large amount of labor cost needs to be invested, and the checking efficiency still cannot be guaranteed.
Therefore, how to provide a technical solution of an efficient method for locating an anomaly becomes a technical problem which needs to be solved urgently.
Disclosure of Invention
Some embodiments of the present application aim to provide a method, an apparatus, a storage medium, and an electronic device for locating an anomaly, which can implement quick troubleshooting of a problem in a task execution process of a software robot and accurate location of an existing anomaly, and are high in efficiency.
In a first aspect, some embodiments of the present application provide a method of anomaly location, including: when the software robot generates an operation behavior on a page, performing screenshot on the page, and adding the screenshot to a page screenshot file, wherein the type of the operation behavior comprises: clicking, double clicking and inputting, wherein the page screenshot file comprises at least one page screenshot, and one page screenshot represents that the software robot generates one-time operation behavior; and analyzing the page screenshot file to determine whether the page has loading abnormity.
According to some embodiments of the application, when the software robot generates an operation behavior, a page is subjected to screenshot to obtain a page screenshot file, the page screenshot file is subsequently analyzed to determine whether a problem of page loading abnormity exists in the process of executing the software robot, the problem in the process of executing a task by the software robot can be rapidly checked, the existing abnormity can be accurately positioned, and the efficiency is high.
In some embodiments, prior to said analyzing said page shot file, said method further comprises: and when confirming that the page element is positioned abnormally, carrying out screenshot and marking on the page, and adding the screenshot into the page screenshot file.
Some embodiments of this application carry out screenshot and mark storage through the condition to page element location anomaly, can directly fix a position and analyze the abnormal condition in the later stage, and efficiency is higher.
In some embodiments, prior to said analyzing said page shot file, said method further comprises: acquiring the position and the shape of a page element in the page; and acquiring an operation log of the software robot, wherein the operation log records the real operation behaviors of the software robot in each page screenshot in the page screenshot file.
Some embodiments of the application may provide data support for subsequent troubleshooting of anomalies by obtaining page element positions and shapes and an operation log of the software robot.
In some embodiments, the analyzing the screenshot file includes: and marking each operation behavior of the software robot in each page screenshot based on the page element position and the page element shape.
According to some embodiments of the application, the operation behavior of the software robot in the page screenshot can be analyzed through the position and the shape of the page element, and data support is provided for follow-up abnormal troubleshooting.
In some embodiments, the analyzing the page screenshot file to determine whether a loading exception exists in the page includes: comparing each operation behavior with the real operation behavior in each page screenshot to obtain a comparison result; and determining whether the page has loading abnormity according to the comparison result.
According to some embodiments of the application, each operation behavior obtained through analysis is compared with the real operation behavior in the operation log, whether the page has loading abnormity is determined, the abnormal problem can be rapidly checked and positioned, and the efficiency is high.
In some embodiments, the comparing the operation behaviors with the real operation behaviors in the page screenshots to obtain a comparison result includes: if the operation behaviors are confirmed to be consistent with the real operation behaviors in the page screenshots, the comparison result is normal; the determining whether the page has loading exception according to the comparison result includes: and under the condition that the comparison result is normal, determining that the page has no loading exception.
Some embodiments of the application determine that the page has no loading exception under the condition of consistent operation, and the efficiency is high.
In some embodiments, the comparing the operation behaviors with the real operation behaviors in the page screenshots to obtain a comparison result includes: if the operation behaviors are determined to be inconsistent with the real operation behaviors in the page screenshots, the comparison result is abnormal; the determining whether the page has loading exception according to the comparison result includes: and under the condition that the comparison result is confirmed to be abnormal, determining that the page has loading abnormality.
According to some embodiments of the application, the loading abnormity of the page is determined under the condition of inconsistent operation, and the efficiency is high.
In a second aspect, some embodiments of the present application provide an apparatus for anomaly locating, comprising: the screenshot module is used for screenshot the page when the software robot generates an operation behavior on the page and adding the screenshot to a page screenshot file, wherein the type of the operation behavior comprises: clicking, double clicking and inputting, wherein the page screenshot file comprises at least one page screenshot, and one page screenshot represents that the software robot generates one-time operation behavior; and the analysis module is used for analyzing the page screenshot file and confirming whether the page has loading abnormity.
In some embodiments, the screenshot module is configured to perform screenshot and marking on the page when it is determined that the page element is abnormally located, and add the screenshot to the page screenshot file.
In some embodiments, before the screenshot module, the apparatus for exception positioning further includes an obtaining module, configured to obtain a page element position and a page element shape in the page; and acquiring an operation log of the software robot, wherein the operation log records the real operation behaviors of the software robot in each page screenshot in the page screenshot file.
In some embodiments, the analysis module is configured to mark out each operation behavior of the software robot in each page screenshot based on the page element position and the page element shape.
In some embodiments, the analysis module is configured to compare each operation behavior with a real operation behavior in each page screenshot to obtain a comparison result; and determining whether the page has loading abnormity according to the comparison result.
In some embodiments, the analysis module is configured to determine that the comparison result is normal if it is determined that the operation behaviors are consistent with the real operation behaviors in the page screenshots; and under the condition that the comparison result is normal, determining that the page has no loading abnormity.
In some embodiments, the analysis module is configured to determine that the comparison result is abnormal if it is determined that the operation behaviors are inconsistent with the actual operation behaviors in the page screenshots; and under the condition that the comparison result is confirmed to be abnormal, determining that the page has loading abnormality.
In a third aspect, some embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, may implement the method according to any of the embodiments of the first aspect.
In a fourth aspect, some embodiments of the present application provide an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the program, may implement the method according to any of the embodiments of the first aspect.
In a fifth aspect, some embodiments of the present application provide a computer program product comprising a computer program, wherein the computer program, when executed by a processor, is adapted to implement the method according to any of the embodiments of the first aspect.
Drawings
In order to more clearly illustrate the technical solutions of some embodiments of the present application, the drawings that are required to be used in some embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that for a person skilled in the art, other relevant drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a system diagram of anomaly location provided by some embodiments of the present application;
FIG. 2 is a flow chart of a method of anomaly location provided by some embodiments of the present application;
FIG. 3 is a second flowchart of a method for anomaly location according to some embodiments of the present application;
FIG. 4 is a block diagram of an apparatus for anomaly location provided by some embodiments of the present application;
fig. 5 is a schematic diagram of an electronic device according to some embodiments of the present application.
Detailed Description
The technical solutions in some embodiments of the present application will be described below with reference to the accompanying drawings in some embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
In the related art, robot Process Automation (RPA) is a business process automation technology based on software robot and Artificial Intelligence (AI). The software of the RPA living in the computer replaces part of the mental work of the staff in the office and the system operation actions such as keyboard tapping, mouse clicking, page switching and the like. A robotic process automation system is an application that provides another way to automate an end-user's manual process by mimicking the end-user's manual process at a computer. However, since the software robot does not have the same distinguishing capability as the human brain, various sudden problems during the execution process cannot be handled by the software robot, and the execution process cannot be reproduced at a later stage. In order to enable the software robot to accurately and efficiently complete tasks, the execution process of the software robot needs to be recorded and analyzed manually, existing problems are searched, and the problems are repaired in time. However, the workload is large, and a large amount of labor cost is required. Moreover, due to different experiences of workers, exception problems may be missed, and the software robot still has problems in the subsequent execution process. As can be seen from the above related art, in the prior art, it is difficult to troubleshoot the abnormality in the execution process of the software robot, and the efficiency is low.
In view of this, some embodiments of the present application provide an anomaly locating method, where a page screenshot file is obtained by performing a page screenshot on an operation behavior generated by a software robot during a task execution process, and whether a page loading anomaly occurs can be determined by analyzing the page screenshot file. Some embodiments of the application can realize fast troubleshooting of problems in the task execution process of the software robot, accurately position existing abnormalities and have high efficiency.
The system component structure of the anomaly localization provided by some embodiments of the present application is exemplarily set forth below with reference to fig. 1.
As shown in fig. 1, some embodiments of the present application provide a system for anomaly location, comprising: a terminal 100 and a server 200. The server 200 may be provided with a workflow and page data information for the software robot to execute a task. The page corresponding to the page data information can be displayed through the terminal 100, so that the software robot can operate on the page. When the software robot executes a task on the terminal 100 according to a workflow, and when the software robot generates an operation behavior on a page of the terminal 100, the terminal 100 captures the page to obtain a page screenshot, and stores the page screenshot in a page screenshot file. The terminal 100 may confirm whether there is an exception in page loading by performing a reproduction presentation and analysis on the page cut file. Therefore, some embodiments of the application can check whether the page loading is abnormal on line by displaying the page cut-off file, and the efficiency is high. When an exception occurs, the related exception page can be quickly positioned and repaired, and the accuracy is high.
In some embodiments of the present application, the terminal 100 may be a mobile terminal device or a non-portable computer terminal. The present application is not specifically limited herein. It can be understood that the system can be used for quickly and accurately positioning the abnormal condition in the task execution process of the software robot.
A method implementation procedure for exception location performed by the terminal 100 according to some embodiments of the present application is exemplarily set forth below with reference to fig. 2.
Referring to fig. 2, fig. 2 is a flowchart of an anomaly locating method according to some embodiments of the present application, where the anomaly locating method includes:
s210, when the software robot generates an operation behavior on a page, performing screenshot on the page, and adding the screenshot to a page screenshot file, wherein the type of the operation behavior comprises: clicking, double clicking and inputting, wherein the page screenshot file comprises at least one page screenshot, and one page screenshot represents that the software robot generates one-time operation behavior.
For example, in some embodiments of the present application, when the software robot executes a task according to a preset workflow, the software robot may perform operations such as clicking a button, inputting information, and the like on a browser page (i.e., a page). The terminal 100 carries out page screenshot and storage on the operation behavior of the software robot through the browser driver. That is, only when the software robot operates on the page, the software robot performs the page screenshot, adds the screenshot to the page screenshot file, and retains the screenshot.
In some embodiments of the present application, before performing S220, the method for anomaly locating further comprises: and when confirming that the page element is positioned abnormally, carrying out screenshot and marking on the page, and adding the screenshot into the page screenshot file.
For example, in some embodiments of the present application, in the process of executing a task by a software robot, when a browser driver of the terminal 100 detects that a target element of a page cannot be located, or when the location is abnormal, screenshot storage and marking are performed on the page, a page state when the page is abnormal is stored, and the page state is added to a page screenshot file. It should be noted that the target element of the page may be information constituting the page content, such as a button, an input box, and a selection box in the page. The positioning abnormality may refer to that the position information of the target element is not consistent with position information or a shape pre-stored in the browser, and the like. The embodiments of the present application are not limited thereto.
In some embodiments of the present application, before performing S220, the method for anomaly locating further comprises: acquiring the position and the shape of a page element in the page; and acquiring an operation log of the software robot, wherein the operation log records the real operation behaviors of the software robot in each page screenshot in the page screenshot file.
For example, in some embodiments of the present application, the terminal 100 may obtain the page element position and the page element shape in the browser page from a local or server. For example, the two-dimensional coordinate information of the button in a certain page is (a, b), and the shape is circular. The terminal 100 may also acquire an operation log file (i.e., an operation log) that records the process of the software robot performing the recognition. The operation log file may store what the operation behavior of the software robot is executed in a certain page at a certain time. For example, the software robot performed a click operation on the browser page at 10 points 21 in 2022, 11/10 (as a specific example of a real operation behavior).
S220, analyzing the page screenshot file and confirming whether the page has loading abnormity.
For example, in some embodiments of the present application, the terminal 100 may display the page screenshots in the page screenshot file according to a time sequence to implement reproduction of a task execution process of the software robot, and then analyze the page in the whole execution process to check whether there is a problem of page loading abnormality.
In addition, in some embodiments of the application, if a page screenshot exists in which the target element marked with the page cannot be located or is abnormally located, a manager can be informed to troubleshoot and repair the problem in time at first, and the troubleshooting does not need to be performed during display, so that the abnormal location efficiency can be improved.
In some embodiments of the present application, S220 may further include: marking each operation behavior of the software robot in each page screenshot based on the page element position and the page element shape.
For example, in some embodiments of the present application, when the terminal 100 displays the page shots in the page shot file, the page shots may be analyzed based on the page element positions and the page element shapes, and the operation behaviors that should be executed by the software robot in each page shot are marked. For example, in a certain page, the page element is an input box, the position coordinates of the page element are (c, d), and the shape of the input box is a rectangle, so that the software robot can be known to generate an input operation behavior through analysis, and therefore the operation behavior of the software robot is marked as an input operation on the screenshot of the page.
In some embodiments of the present application, S220 may further include: comparing each operation behavior with the real operation behavior in each page screenshot to obtain a comparison result; and determining whether the page has loading abnormity according to the comparison result.
For example, in some embodiments of the present application, the terminal 100 compares the operation behavior marked in the page screenshot with the real operation behavior of the page at the same corresponding time point in the operation log, and determines whether the operation behavior is consistent, so as to determine whether the page has a loading exception.
In some embodiments of the present application, S220 may further include: if the operation behaviors are confirmed to be consistent with the real operation behaviors in the page screenshots, the comparison result is normal; and under the condition that the comparison result is normal, determining that the page has no loading abnormity.
For example, in some embodiments of the present application, if the input operation marked as described above is consistent with the real operation behavior recorded in the operation log, the page is characterized in that no load exception occurs. In other words, the software robot can perform correct operation behavior only in the case of normal page loading.
In some embodiments of the present application, S220 may further include: if the operation behaviors are determined to be inconsistent with the real operation behaviors in the page screenshots, the comparison result is abnormal; and under the condition that the comparison result is confirmed to be abnormal, determining that the page has loading abnormality.
For example, in some embodiments of the present application, if the above-mentioned marked input operation is inconsistent with the real operation behavior recorded in the operation log, a case that a load exception occurs in the page is characterized. For example, by analyzing that the software robot should perform an input operation on a certain page screenshot, but the operation log records that the software robot performs a click operation, it is characterized that a situation that a page loading delay may occur due to a network delay, that is, when the software robot performs a next operation, a page still stays on a previous page.
In some embodiments of the present application, the terminal 100 may add a page with loading exception to the exception list, and send the exception list to a manager, so that the manager may perform exception location and repair in time. The exception list may include: and the time when the abnormity occurs, the screenshot of the page when the abnormity occurs and other information.
The specific process of anomaly location provided by some embodiments of the present application is illustratively set forth below in conjunction with FIG. 3.
Referring to fig. 3, fig. 3 is a flowchart of a method for determining an abnormal orientation according to some embodiments of the present application. In the following description, taking an intelligent service as an example, in a process that an intelligent service robot (as a specific example of a software robot) needs to make a call to a customer, relevant information of the customer needs to be recorded.
The above process is exemplarily set forth below.
S310, the terminal 100 locates the page element, and determines whether the page element has abnormal location, if not, S320 is executed, and if so, S330 is executed.
For example, as a specific example of the present application, when a call is made, the smart service robot loads a page containing customer information on a browser side, where the page includes a selected button, an input box, and the like. And determining whether the loading is successful or not by positioning the position and the shape of the page element in the page.
And S320, when the software robot generates an operation behavior on the page, performing screenshot on the page.
For example, as a specific example of the present application, the intelligent customer service robot may ask the customer whether to purchase a product, and if the customer responds to the purchase, the intelligent customer service robot may select the "yes" corresponding selection button, otherwise, the intelligent customer service robot selects the "no" corresponding selection button. And after the intelligent customer service robot clicks the selected operation behavior, the browser drive can capture the current page. Or the intelligent customer service robot can also input address information, purchase requirements and the like of the customer. The embodiments of the present application are not limited thereto.
It should be noted that, in the process of executing the call-making task, the intelligent customer service robot may also have other various operation behaviors, and since the screenshot mode is similar to that in the above embodiment, details are not described here to avoid repetition.
And S330, adding the file to the page screenshot file.
For example, as a specific example of the present application, a page shot is persisted into a page shot file. It should be noted that, although only one operation behavior screenshot mode is listed above, in practice, only the intelligent customer service robot has an operation behavior to perform a page screenshot, and the page screenshot file should include at least one page screenshot.
S340, analyzing the page cut-off file and confirming whether the page has loading abnormity.
For example, as a specific example of the present application, after an operation behavior in a page screenshot file is marked, the operation behavior is matched and compared with an operation behavior in an operation log, and it is determined whether a problem of page loading abnormality exists through comparative analysis. The specific way of analyzing the page profile file may be referred to in the embodiment of the method provided in fig. 2, and in order to avoid repetition, the present application is not described herein again.
Referring to fig. 4, fig. 4 is a block diagram illustrating an apparatus for anomaly locating according to some embodiments of the present disclosure. It should be understood that the apparatus for anomaly locating corresponds to the above method embodiment, and can perform the steps related to the above method embodiment, and the specific functions of the apparatus for anomaly locating can be referred to the above description, and the detailed description is appropriately omitted here to avoid repetition.
The anomaly locating device of FIG. 4 includes at least one software function module that can be stored in memory in the form of software or firmware or solidified in the anomaly locating device, the anomaly locating device including: a screenshot module 410, configured to capture a screenshot of a page when the software robot generates an operation behavior on the page, and add the screenshot to a page screenshot file, where the type of the operation behavior includes: clicking, double clicking and inputting, wherein the page screenshot file comprises at least one page screenshot, and one page screenshot represents that the software robot generates one-time operation behavior; and the analysis module 420 is configured to analyze the page screenshot file and determine whether the page has a loading exception.
In some embodiments of the present application, the screenshot module 410 is configured to perform screenshot and marking on a page when it is determined that a page element is abnormally located, and add the screenshot to the page screenshot file.
In some embodiments of the present application, before the screenshot module 410, the apparatus for exception positioning further includes an obtaining module (not shown in the figure) for obtaining a page element position and a page element shape in the page; and acquiring an operation log of the software robot, wherein the operation log records the real operation behaviors of the software robot in each page screenshot in the page screenshot file.
In some embodiments of the present application, the analysis module 420 is configured to mark each operation behavior of the software robot in each page screenshot based on the page element position and the page element shape.
In some embodiments of the present application, the analysis module 420 is configured to compare the operation behaviors with real operation behaviors in the page screenshots, so as to obtain a comparison result; and determining whether the page has loading abnormity according to the comparison result.
In some embodiments of the present application, the analysis module 420 is configured to determine that the comparison result is normal if it is determined that the operation behaviors are consistent with the real operation behaviors in the page screenshots; and under the condition that the comparison result is normal, determining that the page has no loading exception.
In some embodiments of the present application, the analysis module 420 is configured to determine that the comparison result is abnormal if it is determined that the operation behaviors are inconsistent with the real operation behaviors in the page screenshots; and under the condition that the comparison result is confirmed to be abnormal, determining that the page has loading abnormality.
Some embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor can implement the operations of the method corresponding to any of the above-mentioned methods provided by the above-mentioned embodiments.
Some embodiments of the present application further provide a computer program product, which includes a computer program, wherein the computer program, when executed by a processor, can implement the operations of the method corresponding to any of the above-mentioned methods provided by the above-mentioned embodiments.
As shown in fig. 5, some embodiments of the present application provide an electronic device 500, the electronic device 500 including: a memory 510, a processor 520, and a computer program stored on the memory 510 and executable on the processor 520, wherein the method of any of the embodiments described above can be implemented when the processor 520 reads the program from the memory 510 via the bus 530 and executes the program.
Processor 520 may process digital signals and may include various computing structures. Such as a complex instruction set computer architecture, a structurally reduced instruction set computer architecture, or an architecture that implements a combination of instruction sets. In some examples, processor 520 may be a microprocessor.
Memory 510 may be used to store instructions that are executed by processor 520 or data related to the execution of the instructions. The instructions and/or data may include code for performing some or all of the functions of one or more of the modules described in embodiments of the application. The processor 520 of the disclosed embodiments may be used to execute instructions in the memory 510 to implement the methods illustrated above. Memory 510 includes dynamic random access memory, static random access memory, flash memory, optical memory, or other memory known to those skilled in the art.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method of anomaly location, comprising:
when the software robot generates an operation behavior on a page, performing screenshot on the page and adding the screenshot to a page screenshot file, wherein the type of the operation behavior comprises: clicking, double clicking and inputting, wherein the page screenshot file comprises at least one page screenshot, and one page screenshot represents that the software robot generates one-time operation behavior;
and analyzing the page screenshot file to determine whether the page has loading abnormity.
2. The method of claim 1, wherein prior to said analyzing said page shot file, said method further comprises:
and when confirming that the page element is positioned abnormally, carrying out screenshot and marking on the page, and adding the screenshot into the page screenshot file.
3. The method of claim 1 or 2, wherein prior to said analyzing the page shot file, the method further comprises:
acquiring the position and the shape of a page element in the page;
and acquiring an operation log of the software robot, wherein the operation log records the real operation behaviors of the software robot in each page screenshot in the page screenshot file.
4. The method of claim 3, wherein the analyzing the page shot file comprises:
marking each operation behavior of the software robot in each page screenshot based on the page element position and the page element shape.
5. The method of claim 4, wherein said analyzing said page shot file to determine if said page has a load exception comprises:
comparing each operation behavior with the real operation behavior in each page screenshot to obtain a comparison result;
and determining whether the page has loading abnormity according to the comparison result.
6. The method of claim 5, wherein comparing the respective operation behaviors with the real operation behaviors in the respective screenshot to obtain a comparison result comprises:
if the operation behaviors are confirmed to be consistent with the real operation behaviors in the page screenshots, the comparison result is normal;
the determining whether the page has loading exception or not according to the comparison result comprises:
and under the condition that the comparison result is normal, determining that the page has no loading abnormity.
7. The method of claim 5, wherein comparing the respective operation behaviors with the real operation behaviors in the respective screenshot to obtain a comparison result comprises:
if the operation behaviors are determined to be inconsistent with the real operation behaviors in the page screenshots, the comparison result is abnormal;
the determining whether the page has loading exception or not according to the comparison result comprises:
and under the condition that the comparison result is confirmed to be abnormal, determining that the page has loading abnormality.
8. An apparatus for anomaly location, comprising:
the screenshot module is used for screenshot the page when the software robot generates an operation behavior on the page and adding the screenshot to a page screenshot file, wherein the type of the operation behavior comprises: clicking, double clicking and inputting, wherein the page screenshot file comprises at least one page screenshot, and one page screenshot represents that the software robot generates one-time operation behavior;
and the analysis module is used for analyzing the page screenshot file and confirming whether the page has loading abnormity.
9. A computer-readable storage medium, having stored thereon a computer program, wherein the computer program, when executed by a processor, performs the method of any one of claims 1-7.
10. An electronic device comprising a memory, a processor, and a computer program stored on the memory and running on the processor, wherein the computer program, when executed by the processor, performs the method of any one of claims 1-7.
CN202211554327.4A 2022-12-06 2022-12-06 Method and device for positioning abnormity, storage medium and electronic equipment Pending CN115756992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211554327.4A CN115756992A (en) 2022-12-06 2022-12-06 Method and device for positioning abnormity, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211554327.4A CN115756992A (en) 2022-12-06 2022-12-06 Method and device for positioning abnormity, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115756992A true CN115756992A (en) 2023-03-07

Family

ID=85343529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211554327.4A Pending CN115756992A (en) 2022-12-06 2022-12-06 Method and device for positioning abnormity, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115756992A (en)

Similar Documents

Publication Publication Date Title
US10843342B2 (en) System and method for detecting and fixing robotic process automation failures
CN108388514B (en) Interface automation test method, device, equipment and computer readable storage medium
CN112368659B (en) Automatic dynamic diagnostic guidance with augmented reality
JP6141471B2 (en) Method, apparatus for analyzing system availability, system including the apparatus, and computer program for implementing the method
US20180286030A1 (en) System and method for testing an electronic device
US8074182B2 (en) Work procedure display method and system, production process management method and system, and computer program of the same
CN108595343A (en) The test method and device of application program
WO2014136228A1 (en) Programmable controller, programmable controller system, and execute error information creation method
CN108946370B (en) Elevator fault information processing method, system, equipment and readable storage medium
CN115756992A (en) Method and device for positioning abnormity, storage medium and electronic equipment
JP2016143107A (en) Source code evaluation system and method
JP4592022B2 (en) Automatic execution command generation system, method and program
JP7218140B2 (en) Simulation device and simulation method
CN113572900A (en) Outbound test method, device, computer equipment and computer readable storage medium
CN110780852A (en) Method, device, equipment and medium for determining data source
CN108255490B (en) Hard code processing method and device
CN116050811B (en) Work order processing method and device, electronic equipment and storage medium
CN113220596B (en) Application testing method, device, equipment, storage medium and program product
CN109726818B (en) Model editing method, device, equipment and medium
JP7392821B2 (en) Automatic testing method and device for control software and computer program
JP2021135548A (en) Processor, processing method, and program
CN112612882B (en) Review report generation method, device, equipment and storage medium
CN115879966A (en) Quotation automatic generation method, device, equipment and storage medium
CN113742626A (en) Visual verification method and system for preset webpage file
CN116300797A (en) Automatic testing method and system for numerical control system based on instruction domain big data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination