A method and system for automatically filling in a report
By writing client programs and server applications, using Selenium WebDriver toolkit to build an RPA process and automatically complete the report filling, solving the human resource consumption and data accuracy problems of enterprises when filling out the declaration form, and achieving efficient and accurate reporting process.
Patent Information
- Application Number
- CN202411033557.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2044-07-30
AI Technical Summary
When filling out multiple tax declaration forms, enterprises need to spend a lot of human resources, and they are prone to inaccurate data due to operational errors, which increases tax risks.
通过编写客户端程序和服务端应用程序,利用Selenium WebDriver工具包,搭建RPA流程,模拟人工填报流程,自动完成报表的填报工作。
It improves the efficiency and accuracy of data filling, reduces the human resources cost of enterprises, and reduces the occurrence of human errors.
Smart Images

Figure CN118643812B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automatic report filling, and in particular to an automatic report filling method and system. Background Art
[0002] For the reporting work involving finance, taxation, personnel, sales and operations in enterprises and organizations, there are often a large number of repetitive and highly regular tasks. These tasks are currently mainly completed manually. For example, tax declaration work in taxation requires financial personnel to manually log in to the tax bureau system's reporting system every month, manually enter the data to be reported, and fill in the tax return forms involved in the company, which requires a lot of human resources.
[0003] Take the tax declaration work scenario as an example: a company needs to complete the declaration of multiple tax types every month, and each tax type needs to fill in multiple forms, and each form has dozens or hundreds of cells to fill in. In addition, tax declaration work also has certain time limits, which generally need to be completed before the 15th of each month. If it is overdue, late payment fees will be incurred. For group companies or accounting companies, they need to complete such heavy report filling work within a limited time every month, and the company needs to invest a lot of human resources costs.
[0004] In addition, the manual reporting process is prone to inaccurate data due to operational errors, which will inevitably lead to missing or incorrect data, resulting in reporting errors and bringing tax risks to the company. Summary of the invention
[0005] In view of this, the purpose of the present invention is to propose a method and system for automatic report filling. By writing client programs and server applications and using the Selenium WebDriver toolkit, the actual manual filling process is simulated, and the filling process is encapsulated as an RPA robot process automation business processing process. The RPA process can be run on multiple terminal computers to replace manual automatic data filling, thereby improving the efficiency and accuracy of data reporting and reducing the human resource costs of the enterprise.
[0006] The present invention provides a method for automatically filling in reports, which uses the Selenium WebDriver toolkit, writes client programs and server applications, builds an RPA process to simulate the manual filling process, and automatically completes the filling of reports, including the following steps:
[0007] S1. Download and configure the corresponding version of Selenium Web Driver toolkit on the client according to the target website and browser type, and prepare the corresponding browser driver;
[0008] Selenium is a tool for testing web applications. The framework uses JavaScript to simulate real users operating the browser. When the script is executed, the browser automatically clicks, inputs, opens, verifies, and other operations according to the script code, just like a real user would do.
[0009] S2. Analyze the HTML structure of the target website's webpage, and use XPath, CSS selector or ID method to accurately identify and locate the data input box, selection box, and button page elements that need to be filled in;
[0010] XPath is a language for finding information in XML (HTML can be considered a special case of XML) documents. It can find specific elements in HTML by element hierarchy, attributes, text content, etc. CSS selector is a mode for selecting HTML elements. It allows us to select elements based on their tag name, class name, ID (the id attribute of the element), attributes, etc.
[0011] S3. Use a programming language supported by Selenium (such as Python, Java, etc.) to write an automated test script, and simulate the manual filling operation process (such as clicking, inputting, drop-down selection, etc.) in the automated test script;
[0012] S4. The client program stores and manages the data to be reported, uses the data acquisition and reporting rules configured in the mapping file, retrieves the data to be filled in from the data source (preferably the report data in json format) according to the data acquisition and reporting rules, and fills it into the identified and located page elements;
[0013] An example of using mapping files to configure data retrieval and reporting rules is as follows: bqxsqkmxb.lb[0].xse=input[name="ywbw.fb1Bqxsqkmx[1].xse"], the part before the first "=" in the expression represents the jpath path of the report data, according to which the specified data item in the report can be retrieved; the part after the first "=" in the expression represents the CSS selector of a specific cell in the target reporting system page, according to which the specific cell to be reported in the page can be located;
[0014] S5. After completing the filling of the report data, the form filling and submission operation is automatically performed through an automated script. The automated script contains exception handling logic to deal with problems caused by abnormal events such as network delays, server response timeouts, and page structure changes; and the results are confirmed after submission to ensure that the data has been correctly submitted to the server-side application of the target system's server.
[0015] The automatic report filling method and system of the present invention are mainly divided into two parts: a client program and a server application program in the architecture design.
[0016] The client program is the key part of this technical solution. The client program periodically requests the server to check whether there are any tasks that need to be reported. After finding the reporting tasks, the driver opens the browser, automatically logs in to the reporting system, automatically fills in the report data into the corresponding form, and automatically submits and saves the form, obtains the reporting results fed back by the reporting system, and reports the reporting results to the server for the customer to query.
[0017] The server application is used to receive and store the report data that the enterprise needs to report, and provides the function of querying the processing status of the reporting task.
[0018] The process of using the server application and the client program together includes:
[0019] The client accesses the data interface of the server application and submits the report data to the server application according to the data interface specifications. The server application saves the report data to the database, generates a pending report task, and sets the task status to "initial".
[0020] The client program always detects whether there are pending tasks in the "initial" state on the server side. After detecting the pending tasks in the "initial" state, the client program downloads the task and the corresponding report data to the client locally; the client program drives the client's browser according to the web address of the reporting system in the task and the login account information, automatically opens the corresponding reporting system, automatically enters the login account, password and SMS verification code, completes the login process of the reporting system, and automatically enters the reporting page of the business type in the reporting system according to the form business type in the task, automatically completes the entry, saving and submission of the form data, and automatically obtains the reporting results fed back by the reporting system. After obtaining the reporting results, the reporting results and the page screenshots of the entire reporting process are automatically reported to the server application.
[0021] Users can query the processing status of the reporting task and the system page screenshot information during the reporting process on the server application.
[0022] Furthermore, the abnormality handling method for dealing with the abnormal event of network delay in step S5 includes:
[0023] Add a configuration for the waiting time for element loading in the client program. If the target element is still not loaded after the set time, the processing status of the task will be automatically marked as "manual stage", and the operation and maintenance personnel will intervene to verify it later.
[0024] Furthermore, the abnormality handling method for dealing with the problem of abnormal event of server response timeout in step S5 includes:
[0025] An automatic retry mechanism is added to the client program. If the expected response data is still not obtained after the set number of retries, the processing status of the task will be automatically marked as "manual stage", and the operation and maintenance personnel will intervene to verify it later.
[0026] Furthermore, the abnormality handling method for the abnormal event of page structure change in step S5 includes:
[0027] When the client program operates on the target page element, it first determines whether the page element exists in the current page. If not, the processing status of the task is automatically marked as "manual stage", and the operation and maintenance personnel will intervene to verify it later.
[0028] Furthermore, the process of filling in and submitting the form in step S5 includes:
[0029] A detailed log is recorded for each automatic reporting, including reporting time, reporting data, page screenshots, and possible error messages, to facilitate subsequent tracking and troubleshooting.
[0030] These business operations that typically use RPA processes are largely repetitive, high in number, and defined by strict rules and results. RPA (Robotic Process Automation) is an application that provides an alternative way to automate end-user manual operations by mimicking the manual operations of end-users on a computer. Using RPA can bring the following benefits:
[0031] (1) Save time and improve efficiency;
[0032] (2) Improve accuracy;
[0033] (3) Scalable, flexible, enhanced “virtual” employees that can respond quickly to business needs.
[0034] The present invention also provides an automatic report filling system, which executes the automatic report filling method as described above, including:
[0035] Environment building and configuration module: used to download and configure the corresponding version of Selenium WebDriver toolkit on the client according to the target website and browser type, and prepare the corresponding browser driver;
[0036] Page element location module: used to analyze the HTML structure of the target website's webpage, and use XPath, CSS selector or ID method to accurately identify and locate the data input box, selection box, button page elements that need to be filled in;
[0037] Interactive script writing module: used to write automated test scripts using a programming language supported by Selenium, simulating the manual reporting operation process in the automated test scripts;
[0038] Data management and filling module: used by the client program to store and manage the data to be filled in, using the data retrieval and filling rules set in the mapping file configuration, fetching the data to be filled in from the data source according to the data retrieval and filling rules, and filling it into the identified and located page elements;
[0039] Form submission and confirmation module: After completing the filling of report data, it is used to automatically fill in and submit the form through an automated script. The automated script contains exception handling logic to deal with problems caused by abnormal events such as network delays, server response timeouts, and page structure changes; and confirm the results after submission to ensure that the data has been correctly submitted to the server-side application of the target system's server.
[0040] Furthermore, the form submission and confirmation module includes: an exception handling unit, and the exception handling unit includes:
[0041] Network delay processing subunit: used to add the configuration of the waiting time for element loading in the client program. When the target element is still not loaded after the set time, the processing status of the task is automatically marked as: manual stage, and the operation and maintenance personnel will intervene to verify it later;
[0042] Server response timeout processing subunit: used to add an automatic retry mechanism in the client program. If the expected response data is still not obtained after the set number of retries, the processing status of the task is automatically marked as: manual stage, and the operation and maintenance personnel will intervene to verify it later;
[0043] Page structure change processing subunit: When the client program operates on the target page element, it first determines whether the page element exists in the current page. If not, the processing status of the task is automatically marked as: manual stage, and the operation and maintenance personnel will intervene to verify it later.
[0044] Furthermore, the form submission and confirmation module also includes:
[0045] Logging and reporting unit: used to record detailed logs of each automatic reporting, including reporting time, reporting data, page screenshots, and possible error messages, to facilitate subsequent tracking and troubleshooting.
[0046] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the automatic report filling method as described above are implemented.
[0047] The present invention also provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of the automatic report filling method described above are implemented.
[0048] Compared with the prior art, the present invention has the following beneficial effects:
[0049] The automatic report filling method and system provided by the present invention can automatically complete the report filling work by simulating the manual filling process through programming; there is no restriction on the installation of client programs, and multiple client programs can be run simultaneously on the same client machine, and multiple filling tasks can be processed in parallel, thereby improving machine utilization and saving hardware costs; the high degree of automation significantly reduces manual intervention and saves human resources; reduces the occurrence of human errors, improves reporting efficiency and data accuracy; the work is schedulable and can be automatically executed during non-working hours, which improves the flexibility of reporting work; when the report format changes, the automation script can be quickly adjusted to adapt to the new format, which is easy to maintain and modify, and effectively improves the efficiency of automatic report filling. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the following detailed description of the preferred embodiment.The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting the invention.
[0051] In the attached picture:
[0052] Figure 1 A flow chart of a method for automatically filling in a report according to the present invention;
[0053] Figure 2 The figure is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0054] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and products consistent with some aspects of the present disclosure as detailed in the appended claims.
[0055] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0056] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0057] The embodiments of the present invention are described in further detail below.
[0058] The embodiment of the present invention provides a method for automatically filling in reports. By using the Selenium WebDriver toolkit, a client program and a server application are written to build an RPA process to simulate the manual filling process, and the report filling work is automatically completed. Figure 1 As shown, the following steps are included:
[0059] S1. Download and configure the corresponding version of Selenium Web Driver toolkit on the client according to the target website and browser type, and prepare the corresponding browser driver;
[0060] S2. Analyze the HTML structure of the target website's webpage, and use XPath, CSS selector or ID method to accurately identify and locate the data input box, selection box, and button page elements that need to be filled in;
[0061] S3. Use the programming language (Java) supported by Selenium to write an automated test script, and simulate the manual filling operation process (including: clicking, inputting, drop-down selection, etc.) in the automated test script;
[0062] Java is an object-oriented programming language. It not only absorbs various advantages of C++ language, but also abandons the difficult-to-understand concepts such as multiple inheritance and pointers in C++. Therefore, Java language has two characteristics: powerful functions and simple and easy to use.
[0063] S4. The client program stores and manages the data to be reported, uses the data acquisition and reporting rules configured in the mapping file, retrieves the data to be filled in from the data source (report data in json format) according to the data acquisition and reporting rules, and fills it into the identified and located page elements;
[0064] In this embodiment, the mapping file is used to configure the data acquisition and reporting rules as follows: bqxsqkmxb.lb[0].xse=input[name="ywbw.fb1Bqxsqkmx[1].xse"], the part before the first "=" in the expression represents the jpath path of the report data, according to which the data item specified in the report can be obtained; the part after the first "=" in the expression represents the CSS selector of a specific cell in the target reporting system page, according to which the specific cell to be reported in the page can be located;
[0065] S5. After completing the filling of the report data, the form filling and submission operation is automatically performed through an automated script. The automated script contains exception handling logic to deal with problems caused by abnormal events such as network delays, server response timeouts, and page structure changes; and the results are confirmed after submission to ensure that the data has been correctly submitted to the server-side application of the target system's server.
[0066] The exception handling methods for dealing with problems caused by abnormal events of network delay include:
[0067] Add a configuration for the waiting time for element loading in the client program. If the target element is still not loaded after the set time, the processing status of the task will be automatically marked as "manual stage", and the operation and maintenance personnel will intervene to verify it later.
[0068] The exception handling methods for problems caused by abnormal events of server response timeout include:
[0069] An automatic retry mechanism is added to the client program. If the expected response data is still not obtained after the set number of retries, the processing status of the task will be automatically marked as "manual stage", and the operation and maintenance personnel will intervene to verify it later.
[0070] The exception handling methods for dealing with problems caused by abnormal events of page structure changes include:
[0071] When the client program operates on the target page element, it first determines whether the page element exists in the current page. If not, the processing status of the task is automatically marked as "manual stage", and the operation and maintenance personnel will intervene to verify it later.
[0072] The process of filling in and submitting the form includes:
[0073] A detailed log is recorded for each automatic reporting, including reporting time, reporting data, page screenshots, and possible error messages, to facilitate subsequent tracking and troubleshooting.
[0074] The embodiment of the present invention further provides a report automatic filling system, which executes the report automatic filling method as described above, including:
[0075] Environment building and configuration module: used to download and configure the corresponding version of Selenium WebDriver toolkit on the client according to the target website and browser type, and prepare the corresponding browser driver;
[0076] Page element location module: used to analyze the HTML structure of the target website's webpage, and use XPath, CSS selector or ID method to accurately identify and locate the data input box, selection box, button page elements that need to be filled in;
[0077] Interactive script writing module: used to write automated test scripts using a programming language supported by Selenium, simulating the manual reporting operation process in the automated test scripts;
[0078] Data management and filling module: used by the client program to store and manage the data to be filled in, using the data retrieval and filling rules set in the mapping file configuration, fetching the data to be filled in from the data source according to the data retrieval and filling rules, and filling it into the identified and located page elements;
[0079] Form submission and confirmation module: After completing the filling of report data, it is used to automatically fill in and submit the form through an automated script. The automated script contains exception handling logic to deal with problems caused by abnormal events such as network delays, server response timeouts, and page structure changes; and confirm the results after submission to ensure that the data has been correctly submitted to the server-side application of the target system's server.
[0080] The form submission and confirmation module includes: an exception handling unit, a log recording and reporting unit, and the exception handling unit includes:
[0081] Network delay processing subunit: used to add the configuration of the waiting time for element loading in the client program. When the target element is still not loaded after the set time, the processing status of the task is automatically marked as: manual stage, and the operation and maintenance personnel will intervene to verify it later;
[0082] Server response timeout processing subunit: used to add an automatic retry mechanism in the client program. If the expected response data is still not obtained after the set number of retries, the processing status of the task is automatically marked as: manual stage, and the operation and maintenance personnel will intervene to verify it later;
[0083] Page structure change processing subunit: When the client program operates on the target page element, it first determines whether the page element exists in the current page. If not, the processing status of the task is automatically marked as: manual stage, and the operation and maintenance personnel will intervene to verify it later.
[0084] The log recording and reporting unit is used to record the detailed log of each automatic filling, and the detailed log includes: filling time, filling data, page screenshots and possible error information, which is convenient for subsequent tracking and problem troubleshooting.
[0085] An embodiment of the present invention further provides a computer device, Figure 2 is a schematic diagram of the structure of a computer device provided by an embodiment of the present invention; see the accompanying drawings Figure 2 As shown, the computer device includes: an input device 23, an output device 24, a memory 22 and a processor 21; the memory 22 is used to store one or more programs; when the one or more programs are executed by the one or more processors 21, the one or more processors 21 implement the automatic report filling method provided in the above embodiment; wherein the input device 23, the output device 24, the memory 22 and the processor 21 can be connected by a bus or other means, Figure 2 The example of connecting through bus is taken in the following.
[0086] The memory 22 is a readable and writable storage medium of a computing device, which can be used to store software programs and computer executable programs, such as program instructions corresponding to the method for automatically filling in reports described in the embodiment of the present invention; the memory 22 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function; the data storage area can store data created according to the use of the device, etc.; in addition, the memory 22 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device; in some instances, the memory 22 can further include a memory remotely arranged relative to the processor 21, and these remote memories can be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0087] The input device 23 may be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the device; the output device 24 may include a display device such as a display screen.
[0088] The processor 21 executes the software programs, instructions and modules stored in the memory 22 to execute various functional applications and data processing of the device, that is, to implement the above-mentioned automatic report filling method.
[0089] The computer device provided above can be used to execute the automatic report filling method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0090] The embodiment of the present invention also provides a storage medium containing computer executable instructions, which are used to execute the automatic report filling method provided in the above embodiment when executed by a computer processor. The storage medium is any memory device or storage device of various types, and the storage medium includes: installation media, such as CD-ROM, floppy disk or tape device; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory elements, etc.; the storage medium may also include other types of memory or a combination thereof; in addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system, which is connected to the first computer system via a network (such as the Internet); the second computer system may provide program instructions to the first computer for execution. The storage medium includes two or more storage media that may reside in different locations (for example, in different computer systems connected via a network). The storage medium may store program instructions (for example, specifically implemented as a computer program) that may be executed by one or more processors.
[0091] Of course, the computer executable instructions of a storage medium containing computer executable instructions provided in an embodiment of the present invention are not limited to the automatic report filling method described in the above embodiment, and can also execute related operations in the automatic report filling method provided in any embodiment of the present invention.
[0092] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0093] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for automatically filling in a report, characterized in that: Using the Selenium WebDriver toolkit, by writing client programs and server applications, we can build an RPA process to simulate the manual reporting process and automatically complete the report filling work, including the following steps: S1. Download and configure the corresponding version of Selenium Web Driver toolkit on the client according to the target website and browser type, and prepare the corresponding browser driver; S2. Analyze the HTML structure of the target website's webpage, and use XPath, CSS selector or ID method to accurately identify and locate the data input box, selection box, and button page elements that need to be filled in; S3. Use a programming language supported by Selenium to write an automated test script, simulating the manual reporting operation process in the automated test script; S4. The client program stores and manages the data to be reported, uses the data acquisition and reporting rules configured in the mapping file, retrieves the data to be filled in from the data source according to the data acquisition and reporting rules, and fills it into the identified and located page elements; S5. After completing the filling of the report data, the form filling and submission operation is automatically performed through an automated script, wherein the automated script contains exception handling logic to deal with problems arising from abnormal events such as network delays, server response timeouts, and page structure changes; and after submission, the result is confirmed to ensure that the data has been correctly submitted to the server-side application of the target system's server; The abnormality handling method for dealing with the abnormal event of network delay in step S5 includes: Add a configuration for the waiting time for element loading in the client program. If the target element is still not loaded after the set time, the processing status of the task will be automatically marked as manual stage, and the operation and maintenance personnel will intervene to verify it later. The abnormality handling method for the problem of abnormal event of server response timeout in step S5 includes: An automatic retry mechanism is added to the client program. If the expected response data is still not obtained after the set number of retries, the processing status of the task is automatically marked as: manual stage, and the operation and maintenance personnel will intervene to verify it later; The abnormality handling method for the abnormal event of page structure change in step S5 includes: When the client program operates on the target page element, it first determines whether the page element exists in the current page. If not, the processing status of the task is automatically marked as: manual stage, and the operation and maintenance personnel will intervene to verify it later.
2. The method for automatically filling in a report according to claim 1, characterized in that: The process of filling in and submitting the form in step S5 includes: A detailed log is recorded for each automatic reporting, including reporting time, reporting data, page screenshots, and possible error messages, to facilitate subsequent tracking and troubleshooting.
3. A report automatic filling system, executing the report automatic filling method according to claim 1 or 2, characterized in that: include: Environment building and configuration module: used to download and configure the corresponding version of Selenium WebDriver toolkit on the client according to the target website and browser type, and prepare the corresponding browser driver; Page element location module: used to analyze the HTML structure of the target website's webpage, and use XPath, CSS selector or ID method to accurately identify and locate the data input box, selection box, button page elements that need to be filled in; Interactive script writing module: used to write automated test scripts using a programming language supported by Selenium, simulating the manual reporting operation process in the automated test scripts; Data management and filling module: used by the client program to store and manage the data to be filled in, using the data retrieval and filling rules set in the mapping file configuration, fetching the data to be filled in from the data source according to the data retrieval and filling rules, and filling it into the identified and located page elements; Form submission and confirmation module: After completing the filling of report data, the form filling and submission operation is automatically performed through an automated script. The automated script contains exception handling logic to deal with problems caused by abnormal events such as network delays, server response timeouts, and page structure changes; And confirm the results after submission to ensure that the data has been correctly submitted to the server-side application of the target system's server.
4. The automatic report filling system according to claim 3 is characterized in that: The form submission and confirmation module includes: an exception handling unit, and the exception handling unit includes: Network delay processing subunit: used to add the configuration of the waiting time for element loading in the client program. When the target element is still not loaded after the set time, the processing status of the task is automatically marked as: manual stage, and the operation and maintenance personnel will intervene to verify it later; Server response timeout processing subunit: used to add an automatic retry mechanism in the client program. If the expected response data is still not obtained after the set number of retries, the processing status of the task is automatically marked as: manual stage, and the operation and maintenance personnel will intervene to verify it later; Page structure change processing subunit: When the client program operates on the target page element, it first determines whether the page element exists in the current page. If not, the processing status of the task is automatically marked as: manual stage, and the operation and maintenance personnel will intervene to verify it later.
5. The automatic report filling system according to claim 3 is characterized in that: The form submission and confirmation module also includes: Logging and reporting unit: used to record detailed logs of each automatic reporting, including reporting time, reporting data, page screenshots, and possible error messages, to facilitate subsequent tracking and troubleshooting.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by the processor, the steps of the automatic report filling method according to claim 1 or 2 are implemented.
7. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the automatic report filling method as claimed in claim 1 or 2 are implemented.
Citation Information
Patent Citations
Intelligent substation work ticket filling method and system based on RPA process automation
CN117649105A
RPA product automatic test method, system, device and medium
CN118012749A