[go: up one dir, main page]

CN118860550A - An automatic element extraction method based on understanding of business processes - Google Patents

An automatic element extraction method based on understanding of business processes Download PDF

Info

Publication number
CN118860550A
CN118860550A CN202410881859.1A CN202410881859A CN118860550A CN 118860550 A CN118860550 A CN 118860550A CN 202410881859 A CN202410881859 A CN 202410881859A CN 118860550 A CN118860550 A CN 118860550A
Authority
CN
China
Prior art keywords
xpath
recorder
path
iframe
user
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
CN202410881859.1A
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.)
Chongqing Xiaoyi Zhilian Intelligent Technology Co ltd
Original Assignee
Chongqing Xiaoyi Zhilian Intelligent 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 Chongqing Xiaoyi Zhilian Intelligent Technology Co ltd filed Critical Chongqing Xiaoyi Zhilian Intelligent Technology Co ltd
Priority to CN202410881859.1A priority Critical patent/CN118860550A/en
Publication of CN118860550A publication Critical patent/CN118860550A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Mathematical Physics (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明提供了一种基于对业务流程理解的元素自动提取方法,1)录制器C端程序的服务端与录制器插件之间创建通信;记录事件的具体属性,从捕获的元素生成Xpath和iframe层级信息的数据包,传输至录制器C端程序的服务端;元素提取解析,将iframe路径与基本Xpath动态合成为一个完整的、可直接访问的Xpath,实现双向的数据传输和协同工作;进行元素验证与反馈。本发明的方法元素深度提取,可自动挖掘iframe层级,并实现动态拼接,可实现对提取的元素进行高亮标记,二次验真。

The present invention provides an automatic element extraction method based on the understanding of business processes, 1) establishing communication between the server end of the recorder C-end program and the recorder plug-in; recording the specific attributes of the event, generating a data packet of Xpath and iframe hierarchical information from the captured elements, and transmitting it to the server end of the recorder C-end program; element extraction and analysis, dynamically synthesizing the iframe path and the basic Xpath into a complete, directly accessible Xpath, realizing two-way data transmission and collaborative work; performing element verification and feedback. The method of the present invention can extract elements in depth, automatically mine the iframe hierarchy, and realize dynamic splicing, and can realize highlighting and secondary verification of the extracted elements.

Description

一种基于对业务流程理解的元素自动提取方法An automatic element extraction method based on understanding of business processes

技术领域Technical Field

本发明属于软件开发技术领域,具体涉及一种基于对业务流程理解的元素自动提取方法。The present invention belongs to the technical field of software development, and in particular relates to an automatic element extraction method based on understanding of business processes.

背景技术Background Art

由于需求的增长,人力成本持续上升,企业越来越需要利用自动化技术,将工人从繁琐、重复和生产率较低的任务中解放出来,去从事具有决策性的工作,譬如抽象思维、建立联系,应对歧义、创新等等。业务流程自动化,可以推动业务价值增长和提高的员工敬业度。As demand grows, labor costs continue to rise, and companies increasingly need to use automation technology to free workers from tedious, repetitive and low-productivity tasks and engage in decision-making work, such as abstract thinking, building connections, dealing with ambiguity, innovation, etc. Business process automation can drive business value growth and improve employee engagement.

新兴的劳动力,正在接受越来越先进的技术技能和自动化培训。这些人进入工作岗位后,对工作影响、满意度和效率有更高的期望值,并将软件应用视为实现期望值的驱动力。The emerging workforce is being trained in increasingly advanced technology skills and automation. These people enter the workforce with higher expectations for job impact, satisfaction, and efficiency, and see software applications as a driver to achieve these expectations.

而在企业内部,对自动化流程的实施过程中面临的一个最大的问题源于对元素的精确选取,由于元素的动态可变性,以及网页版本迭代后元素的各种相对位置的偏移导致自动化流程失败,我们不得不重新将元素选取分析这一复杂的过程重新进行一遍,极大的消耗了人力物力财力,所以网页元素自动提取器应运而生,帮助我们解决这一问题。Within the enterprise, one of the biggest problems faced in the implementation of automated processes stems from the accurate selection of elements. Due to the dynamic variability of elements and the offset of various relative positions of elements after web page version iterations, the automated process fails. We have to re-do the complex process of element selection and analysis, which greatly consumes manpower, material and financial resources. Therefore, the automatic extractor of web page elements came into being to help us solve this problem.

因此,目前急需基于Chrome浏览器在Web端自动化过程中的辅助工具,通过录选的方式自动将目标元素的Xpath以及FullXpath提取出来并存放在工具列表中,可供后续自动化,该Path路径唯一指向目标元素。Therefore, there is an urgent need for an auxiliary tool based on the Chrome browser in the web-side automation process, which can automatically extract the Xpath and FullXpath of the target element by selecting and storing them in the tool list for subsequent automation. The Path uniquely points to the target element.

发明内容Summary of the invention

为了克服现有技术上的问题,本发明提供一种基于对业务流程理解的元素自动提取方法,实现元素深度提取。In order to overcome the problems in the prior art, the present invention provides an automatic element extraction method based on the understanding of business processes to achieve deep element extraction.

本发明提供以下技术方案:The present invention provides the following technical solutions:

一种基于对业务流程理解的元素自动提取方法,其特征在于,包括以下步骤:1)业务人员登录录制器C端程序,创建新的录制任务,录制器C端程序的服务端与位于Chrome浏览器的录制器插件之间创建通信;An automatic element extraction method based on understanding of business processes, characterized in that it includes the following steps: 1) a business person logs in to a recorder C-end program, creates a new recording task, and establishes communication between a server end of the recorder C-end program and a recorder plug-in located in a Chrome browser;

2)录制器插件实时捕获用户的所有操作互动,并记录事件的具体属性,从捕获的元素生成Xpath和iframe层级信息的数据包,封装成数据包传输至录制器C端程序的服务端;2) The recorder plug-in captures all user operations and interactions in real time, records the specific attributes of the events, generates data packets of Xpath and iframe level information from the captured elements, encapsulates them into data packets and transmits them to the server of the recorder C-end program;

3)录制器C端程序的客户端根据服务队指令进行元素提取解析,将iframe路径与基本Xpath动态合成为一个完整的、可直接访问的Xpath,并将提取结果反馈给服务端;3) The client of the recorder C-end program extracts and parses the elements according to the instructions of the service team, dynamically combines the iframe path and the basic Xpath into a complete and directly accessible Xpath, and feeds back the extraction results to the server;

4)进行元素验证与反馈。4) Perform element verification and feedback.

进一步的,在步骤1)中,录制器C端程序发送WebSocket升级请求至录制器插件,录制器插件响应握手,确认WebSocket连接,并建立TCP连接双向传输,使用TLS加密传输。Furthermore, in step 1), the recorder C-end program sends a WebSocket upgrade request to the recorder plug-in, and the recorder plug-in responds to the handshake, confirms the WebSocket connection, and establishes a TCP connection for two-way transmission, using TLS for encrypted transmission.

进一步的,在步骤2)中,录制器插件通过DOM事件监听器实时捕获用户的操作互动事件,所述操作包括但不限于:点击、输入、滚动、拖拽、悬停、选取、右键操作;记录事件的具体属性包括时间戳、目标元素的CSS选择器、输入值或操作类型,捕获的事件及事件属性被封装成JSON格式,并附加当前页面的URL和时间戳。Furthermore, in step 2), the recorder plug-in captures the user's operation interaction events in real time through the DOM event listener, and the operations include but are not limited to: click, input, scroll, drag, hover, select, and right-click operations; the specific attributes of the recorded events include timestamp, CSS selector of the target element, input value or operation type, and the captured events and event attributes are encapsulated in JSON format, and the URL and timestamp of the current page are attached.

进一步的,在步骤2)中的生成数据包的步骤中,录制器插件使用DOM解析技术,执行以下子步骤:Furthermore, in the step of generating a data packet in step 2), the recorder plug-in uses DOM parsing technology to perform the following sub-steps:

a)元素定位与数据捕获:录制器插件实时监视用户的交互行为,并捕获与操作相关的DOM元素,插件读取这些元素的所有可用属性,包括ID、类、样式以及其在DOM树中的嵌套结构;a) Element location and data capture: The recorder plug-in monitors the user's interactive behavior in real time and captures the DOM elements related to the operation. The plug-in reads all available attributes of these elements, including ID, class, style, and their nested structure in the DOM tree;

b)Xpath与FullXpath生成:对于每个操作的目标元素,插件使用DOM解析技术自动生成两种类型的Xpath,简单Xpath提供了从最近的具有唯一标识的父元素到目标元素的直接路径;FullXpath则提供从根元素开始的完整路径,确保无论页面上的其他内容如何变化,路径都能准确指向目标元素;b) Xpath and FullXpath generation: For each target element of an operation, the plug-in automatically generates two types of Xpath using DOM parsing technology. Simple Xpath provides a direct path from the nearest uniquely identified parent element to the target element; FullXpath provides a complete path starting from the root element, ensuring that the path accurately points to the target element no matter how other content on the page changes;

c)位置计算:插件计算元素在DOM树中的绝对位置和相对位置;c) Position calculation: The plug-in calculates the absolute and relative position of the element in the DOM tree;

d)数据封装与存储:生成的Xpath及位置信息被封装成JSON格式的数据包,附加必要的元信息,元信息包括时间戳和页面URL。d) Data encapsulation and storage: The generated Xpath and location information are encapsulated into a data packet in JSON format, with necessary meta information attached, including timestamp and page URL.

进一步的,在步骤2)中,还包括iframe检测步骤,具体判断和处理流程如下:Furthermore, in step 2), an iframe detection step is also included, and the specific judgment and processing flow is as follows:

a)目标元素检测:当用户互动产生数据时,系统首先检查目标元素是否属于某个iframe,若目标元素不在任何iframe中,则直接按照常规流程处理;a) Target element detection: When user interaction generates data, the system first checks whether the target element belongs to an iframe. If the target element is not in any iframe, it is directly processed according to the normal process;

b)确定iframe嵌套关系:若目标元素位于一个或多个iframe中,则进行递归分析,将从目标元素所在的iframe开始,向上追溯至顶级文档,逐层识别每个iframe;b) Determine iframe nesting relationships: If the target element is located in one or more iframes, a recursive analysis is performed, starting from the iframe where the target element is located, tracing upward to the top-level document, and identifying each iframe layer by layer;

c)路径解析与拼接:基础路径识别:为每个发现的iframe元素生成基础Xpath;完整路径构建:将目标元素的Xpath与每个上层iframe的Xpath进行动态拼接;c) Path parsing and splicing: Basic path identification: Generate a basic Xpath for each found iframe element; Complete path construction: Dynamically splice the Xpath of the target element with the Xpath of each upper iframe;

d)判断及反馈:数据包封装:构建完整的iframe层级路径后,将信息封装成数据包,其中包括完整的层级Xpath和相关元数据;发送到服务端:数据包发送至录制器C端程序的服务端,由服务端进行进一步的分析和存储处理;d) Judgment and feedback: Data packet encapsulation: After constructing the complete iframe hierarchical path, the information is encapsulated into a data packet, which includes the complete hierarchical Xpath and related metadata; Send to the server: The data packet is sent to the server of the recorder C-end program, which performs further analysis and storage processing;

e)异常处理:如果在任何步骤中遇到元素无法访问或路径错误,系统将记录错误信息,并可能提示用户重新进行操作或自动尝试修复问题。e) Exception handling: If an inaccessible element or path error is encountered at any step, the system will record the error information and may prompt the user to redo the operation or automatically try to fix the problem.

进一步的,在步骤3)中,执行路径解析算法,具体处理流程如下:Furthermore, in step 3), a path resolution algorithm is executed, and the specific processing flow is as follows:

a)路径归一化:将接收到的所有Xpath进行归一化处理,确保路径的格式统一,便于后续处理;a) Path normalization: Normalize all received XPaths to ensure that the path format is unified for subsequent processing;

b)iframe路径融合:将基础Xpath与对应的iframe层级路径进行融合,若元素直接位于顶级文档内,则最终Xpath即为基础Xpath;若元素位于一个或多个iframe内,则从最内层iframe开始,逐层向外融合每个iframe的路径与其内部元素的基础Xpath。b) Iframe path fusion: The basic Xpath is merged with the corresponding iframe level path. If the element is directly in the top-level document, the final Xpath is the basic Xpath; if the element is in one or more iframes, starting from the innermost iframe, the path of each iframe is merged with the basic Xpath of its internal elements layer by layer.

c)路径优化:利用DOM结构的稳定性分析,去除过于复杂或冗余的部分,简化路径表达式;c) Path optimization: Utilize the stability analysis of DOM structure to remove overly complex or redundant parts and simplify the path expression;

d)结果输出:生成的最终Xpath作为元素的唯一标识提供给服务端。d) Result output: The final XPath generated is provided to the server as the unique identifier of the element.

进一步的,在步骤3)合成为一个完整的、可直接访问的Xpath后,还包括高亮二次验真的步骤,其特征在于,Furthermore, after the synthesis into a complete and directly accessible Xpath in step 3), a step of highlighting secondary verification is also included, which is characterized in that:

a)若录制器C端程序的客户端检测到最终Xpath有效且定位到单一目标元素,则将自动在用户界面上将该元素进行视觉高亮显示;a) If the client of the recorder C-side program detects that the final Xpath is valid and locates a single target element, it will automatically visually highlight the element on the user interface;

b)若高亮后的元素与用户预期一致,则用户可确认操作,系统将记录该次验证为成功,并将数据存储或传递给下一工作流程;b) If the highlighted element is consistent with the user's expectations, the user can confirm the operation, and the system will record the verification as successful and store or pass the data to the next workflow;

c)若高亮后的元素与用户预期不一致或定位多个元素,则提供用户界面上的反馈选项,允许用户拒绝确认,并要求重新录制或修改路径;c) If the highlighted element is inconsistent with the user's expectations or multiple elements are located, provide feedback options on the user interface to allow the user to refuse confirmation and request to re-record or modify the path;

d)若验证通过,客户端将记录元素的验证状态和时间戳,作为后续流程的依据;若验证失败,客户端将记录用户的反馈和问题描述。d) If the verification passes, the client will record the verification status and timestamp of the element as a basis for subsequent processes; if the verification fails, the client will record the user's feedback and problem description.

进一步的,在所述步骤4)引入深度学习驱动的智能元素,步骤如下:Furthermore, in step 4), a deep learning-driven intelligent element is introduced, and the steps are as follows:

a)训练数据准备与预处理:若需要进行智能元素识别,则在步骤1)之前,录制器C端程序的客户端收集标注的网页元素数据,网页元素数据将作为训练集;系统对这些数据进行预处理,包括规范化、去噪和特征提取;a) Training data preparation and preprocessing: If intelligent element recognition is required, before step 1), the client of the recorder C-end program collects the labeled web page element data, which will be used as the training set; the system preprocesses this data, including normalization, denoising and feature extraction;

b)模型训练:使用深度学习框架来构建和训练模型,该模型能够学习和识别不同类型的网页元素及其属性,若模型训练完成,则系统进行验证测试,确定模型的最优参数和结构;b) Model training: Use a deep learning framework to build and train a model that can learn and identify different types of web page elements and their attributes. Once the model training is complete, the system performs a validation test to determine the optimal parameters and structure of the model.

c)集成与实施:若训练后的模型验证结果满意,则将模型集成到元素自动提取方法中,模型将实时接收来自用户界面的输入数据,包括DOM元素的截图、HTML代码;模型将预测每个元素的类别和属性,并生成对应的Xpath或标识符;c) Integration and implementation: If the model verification results after training are satisfactory, the model will be integrated into the element automatic extraction method. The model will receive input data from the user interface in real time, including screenshots of DOM elements and HTML codes; the model will predict the category and attributes of each element and generate the corresponding Xpath or identifier;

d)智能元素识别:若用户在浏览器中与元素交互,则系统使用已经训练好的深度学习模型实时分析元素,识别出关键属性和路径,并自动填充或建议正确的Xpath;录制器C端程序的客户端将提供反馈机制;d) Intelligent element recognition: If the user interacts with an element in the browser, the system uses the trained deep learning model to analyze the element in real time, identify key attributes and paths, and automatically fill in or suggest the correct Xpath; the client of the recorder C-end program will provide a feedback mechanism;

e)持续学习与优化:若录制器C端程序的客户端发现新的元素类型或遇到预测错误,则自动收集这些情况的数据,并用于模型的再训练,实现模型的持续更新和优化。e) Continuous learning and optimization: If the client of the recorder C-end program discovers new element types or encounters prediction errors, data on these situations will be automatically collected and used to retrain the model, thereby achieving continuous updating and optimization of the model.

采用上述技术方案,本发明具有如下有益效果:By adopting the above technical solution, the present invention has the following beneficial effects:

1、本发明的元素自动提取方法操作简单,无需关注底层原理,业务人员可用。1. The element automatic extraction method of the present invention is simple to operate, does not need to pay attention to the underlying principles, and can be used by business personnel.

2、本发明元素深度提取,可自动挖掘iframe层级,并实现动态拼接。2. The deep extraction of elements in the present invention can automatically mine the iframe hierarchy and realize dynamic splicing.

3、本发明可实现对提取的元素进行高亮标记,二次验真。3. The present invention can realize highlighting of the extracted elements and secondary verification.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本发明提取方法的流程示意图。FIG1 is a schematic flow diagram of the extraction method of the present invention.

具体实施方式DETAILED DESCRIPTION

为了使本发明的目的、技术方案及优点更加清楚明白,下面结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的结构图及具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the structural diagrams and specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

实施例1Example 1

本发明提供了一种基于对业务流程理解的元素自动提取方法,其特征在于,1)业务人员登录录制器C端程序,创建新的录制任务,录制器C端程序的服务端与位于Chrome浏览器的录制器插件之间创建通信;The present invention provides an automatic element extraction method based on understanding of business processes, which is characterized by: 1) a business person logs in to a recorder C-end program, creates a new recording task, and establishes communication between a server end of the recorder C-end program and a recorder plug-in located in a Chrome browser;

2)录制器插件实时捕获用户的所有操作互动,并记录事件的具体属性,从捕获的元素生成Xpath和iframe层级信息的数据包,封装成数据包传输至录制器C端程序的服务端;2) The recorder plug-in captures all user operations and interactions in real time, records the specific attributes of the events, generates data packets of Xpath and iframe level information from the captured elements, encapsulates them into data packets and transmits them to the server of the recorder C-end program;

3)录制器C端程序的客户端根据服务队指令进行元素提取解析,将iframe路径与基本Xpath动态合成为一个完整的、可直接访问的Xpath,并将提取结果反馈给服务端,实现了双向的数据传输和协同工作;3) The client of the recorder C-end program extracts and parses the elements according to the instructions of the service team, dynamically combines the iframe path and the basic Xpath into a complete and directly accessible Xpath, and feeds back the extraction results to the server, thus realizing two-way data transmission and collaborative work;

4)进行元素验证与反馈。4) Perform element verification and feedback.

在步骤1)中,录制器C端程序发送WebSocket升级请求至录制器插件,录制器插件响应握手,确认WebSocket连接,并建立TCP连接双向传输,使用TLS加密传输。In step 1), the recorder C-end program sends a WebSocket upgrade request to the recorder plug-in, and the recorder plug-in responds to the handshake, confirms the WebSocket connection, and establishes a TCP connection for two-way transmission, using TLS for encrypted transmission.

实施例2Example 2

优选的,在步骤2)中,录制器插件通过DOM事件监听器实时捕获用户的操作互动事件,所述操作包括但不限于:点击、输入、滚动、拖拽、悬停、选取、右键操作;记录事件的具体属性包括时间戳、目标元素的CSS选择器、输入值或操作类型,以使属性记录更为全面,允许后续操作中更精确地重现或分析用户的行为。这里的“操作类型”指的是用户在元素上进行的具体动作,例如点击、双击、拖动等。捕获的事件及事件属性被封装成JSON格式,并附加当前页面的URL和时间戳。Preferably, in step 2), the recorder plug-in captures the user's operation interaction events in real time through the DOM event listener, and the operations include but are not limited to: click, input, scroll, drag, hover, select, right-click operation; the specific attributes of the recorded event include timestamp, CSS selector of the target element, input value or operation type, so that the attribute record is more comprehensive, allowing the user's behavior to be reproduced or analyzed more accurately in subsequent operations. The "operation type" here refers to the specific action performed by the user on the element, such as click, double-click, drag, etc. The captured events and event attributes are encapsulated in JSON format, and the URL and timestamp of the current page are attached.

在步骤2)中的生成数据包的步骤中,录制器插件使用DOM解析技术,执行以下子步骤:In the step of generating a data packet in step 2), the recorder plug-in uses DOM parsing technology to perform the following sub-steps:

a)元素定位与数据捕获:录制器插件实时监视用户的交互行为,并捕获与操作相关的DOM元素,插件读取这些元素的所有可用属性,包括ID、类、样式以及其在DOM树中的嵌套结构。a) Element positioning and data capture: The recorder plug-in monitors the user's interactive behavior in real time and captures the DOM elements related to the operation. The plug-in reads all available attributes of these elements, including ID, class, style, and their nested structure in the DOM tree.

b)Xpath与FullXpath生成:对于每个操作的目标元素,插件使用DOM解析技术自动生成两种类型的Xpath,简单Xpath提供了从最近的具有唯一标识的父元素到目标元素的直接路径;FullXpath则提供从根元素(如HTML标签)开始的完整路径,确保无论页面上的其他内容如何变化,路径都能准确指向目标元素。b) Xpath and FullXpath generation: For each target element of an operation, the plug-in automatically generates two types of Xpath using DOM parsing technology. Simple Xpath provides a direct path from the nearest uniquely identified parent element to the target element; FullXpath provides a complete path starting from the root element (such as an HTML tag), ensuring that the path accurately points to the target element no matter how other content on the page changes.

c)位置计算:插件计算元素在DOM树中的绝对位置和相对位置,绝对位置指元素从页面顶部开始的像素位置,而相对位置是元素相对于其最近的定位过(positioned)祖先元素的位置。c) Position calculation: The plugin calculates the absolute and relative positions of an element in the DOM tree. The absolute position refers to the pixel position of the element from the top of the page, while the relative position is the position of the element relative to its nearest positioned ancestor element.

d)数据封装与存储:生成的Xpath及位置信息被封装成JSON格式的数据包,附加必要的元信息,元信息包括时间戳和页面URL。数据包随后被发送到录制器C端程序的服务端,服务端将数据存储在数据库中,为后续的元素自动提取及其他业务逻辑提供支持。d) Data packaging and storage: The generated Xpath and location information are packaged into a JSON format data packet, with necessary meta information attached, including timestamp and page URL. The data packet is then sent to the server of the recorder C-end program, which stores the data in the database to provide support for subsequent automatic element extraction and other business logic.

在步骤2)中,还包括iframe检测步骤,具体判断和处理流程如下:In step 2), an iframe detection step is also included, and the specific judgment and processing flow is as follows:

a)目标元素检测:当用户互动产生数据时,系统首先检查目标元素是否属于某个iframe,若目标元素不在任何iframe中,则直接按照常规流程处理。a) Target element detection: When user interaction generates data, the system first checks whether the target element belongs to an iframe. If the target element is not in any iframe, it is directly processed according to the normal process.

b)确定iframe嵌套关系:若目标元素位于一个或多个iframe中,则进行递归分析,将从目标元素所在的iframe开始,向上追溯至顶级文档,逐层识别每个iframe。b) Determine iframe nesting relationships: If the target element is located in one or more iframes, a recursive analysis is performed, starting from the iframe where the target element is located, tracing upward to the top-level document, and identifying each iframe layer by layer.

c)路径解析与拼接:基础路径识别:为每个发现的iframe元素生成基础Xpath;完整路径构建:将目标元素的Xpath与每个上层iframe的Xpath进行动态拼接,这一拼接过程从最内层的iframe开始,逐步向外层拼接,直到达到顶级文档。c) Path parsing and splicing: Basic path identification: Generate a basic Xpath for each found iframe element; Complete path construction: Dynamically splice the Xpath of the target element with the Xpath of each upper iframe. This splicing process starts from the innermost iframe and gradually splices to the outer layers until the top-level document is reached.

d)判断及反馈:d) Judgment and feedback:

数据包封装:构建完整的iframe层级路径后,将信息封装成数据包,其中包括完整的层级Xpath和相关元数据;发送到服务端:数据包发送至录制器C端程序的服务端,由服务端进行进一步的分析和存储处理;Packet encapsulation: After constructing the complete iframe hierarchical path, encapsulate the information into a packet, which includes the complete hierarchical Xpath and related metadata; Send to the server: The packet is sent to the server of the recorder C-end program, which performs further analysis and storage processing;

e)异常处理:如果在任何步骤中遇到元素无法访问或路径错误,系统将记录错误信息,并可能提示用户重新进行操作或自动尝试修复问题。e) Exception handling: If an inaccessible element or path error is encountered at any step, the system will record the error information and may prompt the user to redo the operation or automatically try to fix the problem.

在步骤3)中,执行路径解析算法,路径解析算法主要功能是将动态生成的Xpath和iframe层级信息转化为一个稳定、唯一的标识符,即最终Xpath。该算法需要解决的关键问题包括多层嵌套的iframe解析、动态内容的处理以及页面结构变化的适应。In step 3), the path resolution algorithm is executed. The main function of the path resolution algorithm is to convert the dynamically generated Xpath and iframe hierarchical information into a stable and unique identifier, namely the final Xpath. The key issues that the algorithm needs to solve include multi-layer nested iframe resolution, dynamic content processing, and adaptation to page structure changes.

具体处理流程如下:The specific processing flow is as follows:

a)路径归一化:将接收到的所有Xpath进行归一化处理,确保路径的格式统一,便于后续处理。a) Path normalization: Normalize all received XPaths to ensure that the path format is unified for subsequent processing.

b)iframe路径融合:通过算法将基础Xpath与对应的iframe层级路径进行融合:若元素直接位于顶级文档内,则最终Xpath即为基础Xpath;若元素位于一个或多个iframe内,则从最内层iframe开始,逐层向外融合每个iframe的路径与其内部元素的基础Xpath。b) Iframe path fusion: The basic Xpath is fused with the corresponding iframe level path through an algorithm: if the element is directly in the top-level document, the final Xpath is the basic Xpath; if the element is in one or more iframes, starting from the innermost iframe, the path of each iframe is fused with the basic Xpath of its internal elements layer by layer.

路径融合可以通过以下公式简化表示:Path fusion can be simplified by the following formula:

\[X_{final}=f(X_{n},I_{n-1},I_{n-2},...,I_1)\]\[X_{final}=f(X_{n},I_{n-1},I_{n-2},...,I_1)\]

其中,\(X_{final}\)是最终的Xpath,\(X_n\)是目标元素的基础Xpath,\(I_{n-1},I_{n-2},...,I_1\)分别表示从目标元素首个iframe到外层依次的iframe路径。Among them, \(X_{final}\) is the final Xpath, \(X_n\) is the basic Xpath of the target element, and \(I_{n-1},I_{n-2},...,I_1\) represent the iframe paths from the first iframe of the target element to the outer layer.

c)路径优化:利用DOM结构的稳定性分析,去除过于复杂或冗余的部分,简化路径表达式。c) Path optimization: Utilize the stability analysis of the DOM structure to remove overly complex or redundant parts and simplify the path expression.

d)结果输出:生成的最终Xpath作为元素的唯一标识提供给服务端,并可用于后续的自动化操作或测试脚本中。d) Result output: The final XPath generated is provided to the server as the unique identifier of the element and can be used in subsequent automated operations or test scripts.

实施例3Example 3

在步骤3)合成为一个完整的、可直接访问的Xpath后,还包括高亮二次验真的步骤,高亮二次验真是验证元素路径准确性的一种方法,通过在用户界面上高亮显示已解析的元素,确保路径正确无误反映了用户的意图。After synthesizing into a complete and directly accessible Xpath in step 3), a highlight secondary verification step is also included. Highlight secondary verification is a method of verifying the accuracy of the element path. By highlighting the resolved elements on the user interface, it is ensured that the path correctly reflects the user's intention.

在元素的最终Xpath已成功生成后,系统自动触发高亮二次验真步骤。After the final Xpath of the element has been successfully generated, the system automatically triggers the highlighted secondary verification step.

a)若录制器C端程序的客户端检测到最终Xpath有效且定位到单一目标元素,则将自动在用户界面上将该元素进行视觉高亮显示,高亮显示可以是边框、背景色变更或闪烁等可视提示。a) If the client of the recorder C-end program detects that the final Xpath is valid and locates a single target element, the element will be automatically visually highlighted on the user interface. The highlighting can be a visual prompt such as a border, background color change or flashing.

b)若高亮后的元素与用户预期一致,则用户可确认操作,系统将记录该次验证为成功,并将数据存储或传递给下一工作流程。b) If the highlighted element is consistent with the user's expectations, the user can confirm the operation, and the system will record the verification as successful and store or pass the data to the next workflow.

c)若高亮后的元素与用户预期不一致或定位多个元素,则提供用户界面上的反馈选项,允许用户拒绝确认,并要求重新录制或修改路径。c) If the highlighted element is inconsistent with the user's expectation or multiple elements are located, provide a feedback option on the user interface to allow the user to refuse confirmation and request to re-record or modify the path.

d)若验证通过,客户端将记录元素的验证状态和时间戳,作为后续流程的依据;若验证失败,客户端将记录用户的反馈和问题描述,供技术团队分析和优化路径生成算法。d) If the verification passes, the client will record the verification status and timestamp of the element as a basis for subsequent processes; if the verification fails, the client will record the user's feedback and problem description for the technical team to analyze and optimize the path generation algorithm.

例如:在一个在线电商平台上,业务人员需要自动提取商品详情页面上的“加入购物车”按钮的元素信息,以便于后续自动化测试或业务流程自动化中使用。以下是该过程的详细描述。For example, on an online e-commerce platform, business personnel need to automatically extract the element information of the "Add to Cart" button on the product details page for use in subsequent automated testing or business process automation. The following is a detailed description of the process.

步骤1:业务人员交互启动Step 1: Business personnel interaction starts

-业务人员登录录制器C端程序,创建一个新的录制任务,并开始与Chrome浏览器中的录制器插件进行通信。-Business personnel log in to the recorder C-end program, create a new recording task, and start communicating with the recorder plug-in in the Chrome browser.

步骤2:实时操作捕获与记录Step 2: Real-time operation capture and recording

-业务人员在电商平台的商品详情页面进行操作,移动鼠标并点击“加入购物车”按钮。-Business personnel operate on the product details page of the e-commerce platform, move the mouse and click the "Add to Cart" button.

-录制器插件实时捕获并记录此操作互动,包括点击事件的具体属性如时间戳、CSS选择器、操作类型(点击)及输入值(无)。-The recorder plugin captures and records this action interaction in real time, including the specific properties of the click event such as timestamp, CSS selector, action type (click) and input value (none).

-插件同时通过DOM解析技术从捕获的元素生成Xpath和FullXpath,并计算元素在DOM树中的绝对位置和相对位置。-The plugin also generates Xpath and FullXpath from the captured elements through DOM parsing technology, and calculates the absolute and relative positions of the elements in the DOM tree.

-如果按钮元素位于iframe中,插件还会检测并递归地解析出所有父iframe的路径,并将基本路径与iframe层级的路径动态拼接,形成一个完整的iframe层级路径。-If the button element is in an iframe, the plug-in will also detect and recursively parse the paths of all parent iframes, and dynamically concatenate the base path with the iframe-level path to form a complete iframe-level path.

步骤3:路径信息解析与优化Step 3: Path information analysis and optimization

-录制器C端程序的客户端接收到这些数据,并执行路径解析算法,动态合成可直接访问的、优化后的完整Xpath。-The client of the recorder C-end program receives this data and executes the path resolution algorithm to dynamically synthesize a directly accessible, optimized complete Xpath.

-结合高亮二次验真功能,系统会在用户界面上高亮显示“加入购物车”按钮,确保路径的准确性。- Combined with the highlighted secondary verification function, the system will highlight the "Add to Cart" button on the user interface to ensure the accuracy of the path.

步骤4:结果验证与调整Step 4: Result verification and adjustment

-业务人员检查高亮显示的元素是否正确,验证操作的结果。-Business personnel check whether the highlighted elements are correct and verify the results of the operation.

-如果高亮显示的元素准确无误,业务人员确认完成,系统则将这一验证标记为成功。-If the highlighted elements are correct and the business person confirms completion, the system marks the verification as successful.

-若发现问题,业务人员可以选择重新录制或使用删除功能来调整错误的元素路径。-If a problem is found, business personnel can choose to re-record or use the delete function to adjust the incorrect element path.

步骤5:数据存储与报告Step 5: Data Storage and Reporting

-一旦确认无误,录制器C端程序的服务端将提取结果和相关数据存储在数据库中,并生成报告供后续分析使用。-Once confirmed, the server side of the recorder C-side program will store the extraction results and related data in the database and generate a report for subsequent analysis.

实施例4Example 4

在步骤3)之后还重新录制、删除以及高亮验真的步骤,具体操作流程如下:After step 3), the steps of re-recording, deleting and highlighting verification are as follows:

a)重新录制功能:a) Re-recording function:

若用户不满意当前捕获的元素或路径解析结果出现错误,则用户可以选择重新录制功能;录制器C端程序的客户端将允许用户重新启动录制流程,以便捕获新的用户交互和元素操作;重新录制可以是完全重新开始或从上一个检测点开始。If the user is not satisfied with the currently captured element or path parsing result, the user can choose the re-recording function; the client of the recorder C-end program will allow the user to restart the recording process to capture new user interactions and element operations; re-recording can be a complete restart or start from the last detection point.

b)删除功能:b) Delete function:

若用户确定某个已捕获的元素或生成的Xpath不再需要或错误,则用户可以选择删除该元素的记录。录制器C端程序的客户端将提供界面选项允许用户删除特定的元素或其关联的路径信息,确保数据的准确性和有效性。If the user determines that a captured element or generated XPath is no longer needed or is incorrect, the user can choose to delete the record of the element. The client of the recorder C-end program will provide an interface option to allow the user to delete a specific element or its associated path information to ensure the accuracy and validity of the data.

c)高亮验真:c) Highlight verification:

若元素路径已经生成并需要验证其正确性,则录制器C端程序的客户端自动执行高亮显示过程,如之前第7项所述。系统将在用户界面上高亮显示通过最终Xpath定位到的目标元素,验证其准确性。If the element path has been generated and needs to be verified for correctness, the client of the recorder C-end program automatically performs the highlighting process, as described in item 7 above. The system will highlight the target element located by the final Xpath on the user interface to verify its accuracy.

若用户确认高亮显示的元素与预期相符,则录制器C端程序的客户端将该验证结果标记为成功,并继续后续流程。If the user confirms that the highlighted element is as expected, the client of the recorder C-end program marks the verification result as successful and continues the subsequent process.

若用户发现高亮元素不符合预期,则可进行重新录制或使用删除功能移除错误数据,并需重新捕获和验证元素。If the user finds that the highlighted elements are not as expected, they can re-record or use the delete function to remove the incorrect data and need to re-capture and verify the elements.

d)用户交互和反馈:d) User interaction and feedback:

录制器C端程序的客户端将提供直观的用户界面供用户执行上述操作,并基于用户输入实时更新数据和状态。The client of the recorder C-end program will provide an intuitive user interface for users to perform the above operations and update data and status in real time based on user input.

录制器C端程序的客户端应记录所有用户操作和系统响应,以支持问题诊断和流程优化。The client of the recorder C-end program should record all user operations and system responses to support problem diagnosis and process optimization.

实施例5Example 5

在步骤4)引入深度学习驱动的智能元素识别,具体步骤如下:In step 4), deep learning-driven intelligent element recognition is introduced. The specific steps are as follows:

a)训练数据准备与预处理:若需要进行智能元素识别,则在步骤1)之前,录制器C端程序的客户端收集标注的网页元素数据,这些数据将作为训练集;系统对这些数据进行预处理,包括但规范化、去噪和特征提取,确保数据质量符合训练需求;a) Training data preparation and preprocessing: If intelligent element recognition is required, before step 1), the client of the recorder C-end program collects the labeled web page element data, which will be used as the training set; the system preprocesses the data, including normalization, denoising and feature extraction, to ensure that the data quality meets the training requirements;

b)模型训练:使用深度学习框架来构建和训练一个模型,该模型能够学习和识别不同类型的网页元素及其属性,若模型训练完成,则系统进行验证测试,以评估模型的准确性和效率,通过交叉验证等技术确定模型的最优参数和结构;b) Model training: Use a deep learning framework to build and train a model that can learn and identify different types of web page elements and their attributes. Once the model training is completed, the system performs a validation test to evaluate the accuracy and efficiency of the model and determine the optimal parameters and structure of the model through cross-validation and other techniques;

c)集成与实施:若训练后的模型验证结果满意,则将模型集成到元素自动提取方法中,模型将实时接收来自用户界面的输入数据,包括DOM元素的截图、HTML代码;模型将预测每个元素的类别和属性,并生成对应的Xpath或标识符;c) Integration and implementation: If the model verification results after training are satisfactory, the model will be integrated into the element automatic extraction method. The model will receive input data from the user interface in real time, including screenshots of DOM elements and HTML codes; the model will predict the category and attributes of each element and generate the corresponding Xpath or identifier;

d)智能元素识别:若用户在浏览器中与元素交互,则系统使用已经训练好的深度学习模型实时分析这些元素,识别出关键属性和路径,并自动填充或建议正确的Xpath;录制器C端程序的客户端将提供一个反馈机制,以便用户可以验证和纠正模型的输出,进一步提升模型的准确率;d) Intelligent element recognition: If the user interacts with elements in the browser, the system uses the trained deep learning model to analyze these elements in real time, identify key attributes and paths, and automatically fill in or suggest the correct Xpath; the client of the recorder C-end program will provide a feedback mechanism so that users can verify and correct the output of the model to further improve the accuracy of the model;

e)持续学习与优化:若录制器C端程序的客户端发现新的元素类型或遇到预测错误,则自动收集这些情况的相关数据,并用于模型的再训练,实现模型的持续更新和优化。e) Continuous learning and optimization: If the client of the recorder C-end program discovers new element types or encounters prediction errors, the relevant data of these situations will be automatically collected and used for retraining the model to achieve continuous updating and optimization of the model.

以上所述实施例仅表达了本发明的实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express the implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be based on the attached claims.

Claims (8)

1. An element automatic extraction method based on understanding of a business process is characterized by comprising the following steps: 1) Business personnel log in a recorder C-end program to create a new recording task, and a communication is created between a server end of the recorder C-end program and a recorder plug-in located in a Chrome browser;
2) The recorder plug-in captures all operation interactions of a user in real time, records specific attributes of an event, generates data packets of Xpath and iframe level information from the captured elements, encapsulates the data packets into data packets, and transmits the data packets to a server of a recorder C-end program;
3) The client of the recorder C-end program performs element extraction and analysis according to the service team instruction, dynamically synthesizes the iframe path and the basic Xpath into a complete and directly accessible Xpath, and feeds back the extraction result to the service end;
4) Element verification and feedback are performed.
2. The method according to claim 1, wherein in step 1), the recorder C-side program sends a WebSocket upgrade request to the recorder plug-in, and the recorder plug-in responds to the handshake, confirms the WebSocket connection, establishes a TCP connection bidirectional transmission, and encrypts the transmission using TLS.
3. The method for automatically extracting elements according to claim 1, wherein in step 2), the recorder plug-in captures the operation interaction event of the user in real time through the DOM event listener, and the operations include, but are not limited to: clicking, inputting, scrolling, dragging, hovering, selecting and right-hand key operation; specific attributes of the recorded event include a timestamp, a CSS selector of the target element, an input value or an operation type, the captured event and event attributes are encapsulated into a JSON format, and a URL and a timestamp of the current page are appended.
4. The method of automatic element extraction according to claim 1, wherein in the step of generating a data packet in step 2), the recorder plug-in performs the following sub-steps using DOM parsing technique:
a) Element positioning and data capturing: the recorder plug-in monitors interaction behavior of a user in real time, captures DOM elements related to operation, and reads all available attributes of the elements, including IDs, classes, styles and nested structures thereof in a DOM tree;
b) Xpath and FullXpath generation: for each operational target element, the plug-in automatically generates two types of Xpath using DOM parsing techniques, the simple Xpath providing a direct path from the nearest parent element with a unique identification to the target element; fullXpath provides a complete path from the root element, ensuring that the path can accurately point to the target element no matter how other contents on the page change;
c) Position calculation: the plug-in calculates the absolute position and the relative position of the element in the DOM tree;
d) Data packaging and storage: the generated Xpath and location information are encapsulated into a JSON format packet, and necessary meta information including a time stamp and a page URL is attached.
5. The method for automatically extracting elements according to claim 1, wherein in step 2), the method further comprises an iframe detection step, and the specific judgment and processing flow is as follows:
a) Target element detection: when user interaction generates data, the system firstly checks whether the target element belongs to a certain iframe, and if the target element is not in any iframe, the target element is directly processed according to a conventional flow;
b) Determining iframe nesting relation: if the target element is positioned in one or more iframes, performing recursion analysis, and tracing upwards from the iframes in which the target element is positioned to the top-level document, and identifying each iframe layer by layer;
c) Path analysis and splicing: and (3) basic path identification: generating a basic Xpath for each discovered iframe element; and (3) complete path construction: dynamically splicing the Xpath of the target element with the Xpath of each upper-layer iframe;
d) Judging and feeding back:
And (3) packaging data packets: after a complete iframe hierarchical path is constructed, information is packaged into a data packet, wherein the data packet comprises a complete hierarchical Xpath and related metadata; transmitting to a server side: the data packet is sent to a server of a recorder C-end program, and the server performs further analysis and storage processing;
e) Exception handling: if an element is encountered in any step that is not accessible or has a path error, the system will record an error message and may prompt the user to re-operate or automatically attempt to fix the problem.
6. The method for automatically extracting elements according to claim 1, wherein in step 3), a path analysis algorithm is executed, and the specific process flow is as follows:
a) Path normalization: normalizing all the received Xpaths to ensure the uniform format of the paths, and facilitating the subsequent processing;
b) iframe path fusion: fusing the basic Xpath with the corresponding iframe hierarchical path through an algorithm, wherein if the element is directly positioned in the top-level document, the final Xpath is the basic Xpath; if the element is located in one or more iframes, the path of each iframe and the basic Xpath of the element inside are fused outwards layer by layer from the innermost iframe.
C) Path optimization: removing the too complex or redundant part by utilizing stability analysis of the DOM structure, and simplifying the path expression;
d) And (3) outputting results: the generated final Xpath is provided as a unique identifier of the element to the server.
7. The method for automatic element extraction according to claim 1, further comprising the step of highlighting the secondary authentication after the step 3) of synthesizing into a complete, directly accessible Xpath,
A) If the client of the recorder C-end program detects that the final Xpath is valid and a single target element is positioned, the element is automatically visually highlighted on a user interface;
b) If the highlighted element is consistent with the user expectation, the user can confirm the operation, the system records the verification as successful, and stores or transmits the data to the next workflow;
c) If the highlighted element is inconsistent with the user's expectation or a plurality of elements are positioned, providing feedback options on the user interface, allowing the user to reject the confirmation and to request re-recording or modifying the path;
d) If the verification is passed, the client uses the verification state and the time stamp of the record element as the basis of the subsequent flow; if the verification fails, the client records the feedback and the problem description of the user.
8. The automatic element extraction method according to claim 1, wherein the deep learning driven intelligent element is introduced in step 4), comprising the steps of:
a) Training data preparation and preprocessing: if intelligent element identification is needed, before step 1), collecting marked webpage element data by a client of a recorder C-end program, wherein the webpage element data is used as a training set; the system preprocesses the data, including normalization, denoising and feature extraction;
b) Model training: constructing and training a model by using a deep learning framework, wherein the model can learn and identify different types of webpage elements and attributes thereof, and if the model training is completed, the system performs a verification test to determine optimal parameters and structures of the model;
c) Integration and implementation: if the trained model verification result is satisfactory, integrating the model into an element automatic extraction method, wherein the model receives input data from a user interface in real time, wherein the input data comprises screenshot of DOM elements and HTML codes; the model predicts the class and attribute of each element and generates a corresponding Xpath or identifier;
d) Intelligent element identification: if the user interacts with the elements in the browser, the system uses the trained deep learning model to analyze the elements in real time, identify key attributes and paths, and automatically fill or suggest correct Xpath; the client of the recorder C-side program will provide a feedback mechanism;
e) Continuous learning and optimization: if the client of the recorder C-end program finds a new element type or encounters a prediction error, the data of the situations are automatically collected and used for retraining the model, so that continuous updating and optimization of the model are realized.
CN202410881859.1A 2024-07-02 2024-07-02 An automatic element extraction method based on understanding of business processes Pending CN118860550A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410881859.1A CN118860550A (en) 2024-07-02 2024-07-02 An automatic element extraction method based on understanding of business processes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410881859.1A CN118860550A (en) 2024-07-02 2024-07-02 An automatic element extraction method based on understanding of business processes

Publications (1)

Publication Number Publication Date
CN118860550A true CN118860550A (en) 2024-10-29

Family

ID=93176558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410881859.1A Pending CN118860550A (en) 2024-07-02 2024-07-02 An automatic element extraction method based on understanding of business processes

Country Status (1)

Country Link
CN (1) CN118860550A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119883837A (en) * 2024-12-25 2025-04-25 五八畅生活(北京)信息技术有限公司 Buried point parameter generation method, buried point parameter generation device, buried point parameter generation equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119883837A (en) * 2024-12-25 2025-04-25 五八畅生活(北京)信息技术有限公司 Buried point parameter generation method, buried point parameter generation device, buried point parameter generation equipment and storage medium
CN119883837B (en) * 2024-12-25 2025-11-21 五八畅生活(北京)信息技术有限公司 Methods, devices, equipment and storage media for generating embedded point parameters

Similar Documents

Publication Publication Date Title
US8701092B1 (en) System and method for testing applications
US8621417B2 (en) Rule merging in system for monitoring adherence by developers to a software code development process
US8099787B2 (en) Knowledge-based and collaborative system for security assessment of web applications
JPH11296544A (en) Structured data management system and computer-readable recording medium recording structured data management program
Fontana et al. DPB: A benchmark for design pattern detection tools
CN108628748A (en) Automatic test management method and automatic test manage system
CN118051583A (en) Data visualization interaction method, device and equipment based on large language model
CN118860881A (en) Test case management system, method and storage medium based on AI model
CN120469923A (en) A code automation testing method, device and medium based on a low-code platform
CN118860550A (en) An automatic element extraction method based on understanding of business processes
CN119692744A (en) A method for intelligent optimization of RPA processes based on large models
CA2739762C (en) Rule merging in system for monitoring adherence by developers to a software code development process
CN115935041A (en) Government website inspection method based on AI and RPA technology
CN114297055A (en) An automated testing method for WebUI based on intelligent learning
CN118796203A (en) Code generation method, device, electronic device, product and storage medium
CN116955207A (en) Identify test cases to complete automated testing methods, systems and media for software and hardware
CN116452354A (en) Application software for checking account data online and application method thereof
CN115933922A (en) Visualization tool and method based on online intelligent underwriting rule configuration
CN111783391A (en) Online artificial text marking system and method
CN105138660B (en) Method for automatically capturing internet price data
CN119883936B (en) A method for generating automatic test assertions based on large models
CN120821673B (en) Intelligent terminal function test method and system
CN120509955B (en) A method and system for processing online banking transactions
Wu et al. MCPMark: A Benchmark for Stress-Testing Realistic and Comprehensive MCP Use
CN120872752A (en) A method, system, and device for automated front-end data collection based on two-stage collaborative analysis.

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