CN116185881A - Source system page change detection positioning method, device, equipment and storage medium - Google Patents

Source system page change detection positioning method, device, equipment and storage medium Download PDF

Info

Publication number
CN116185881A
CN116185881A CN202310466067.3A CN202310466067A CN116185881A CN 116185881 A CN116185881 A CN 116185881A CN 202310466067 A CN202310466067 A CN 202310466067A CN 116185881 A CN116185881 A CN 116185881A
Authority
CN
China
Prior art keywords
source system
automation component
system page
output
target source
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
CN202310466067.3A
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.)
Hangzhou Zhongyun Data Technology Co ltd
Huzhou Big Data Operation Co ltd
Hangzhou City Big Data Operation Co ltd
Original Assignee
Hangzhou Zhongyun Data Technology Co ltd
Huzhou Big Data Operation Co ltd
Hangzhou City Big Data Operation 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 Hangzhou Zhongyun Data Technology Co ltd, Huzhou Big Data Operation Co ltd, Hangzhou City Big Data Operation Co ltd filed Critical Hangzhou Zhongyun Data Technology Co ltd
Priority to CN202310466067.3A priority Critical patent/CN116185881A/en
Publication of CN116185881A publication Critical patent/CN116185881A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3676Test management for coverage analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Automatic Assembly (AREA)

Abstract

The application relates to a method, a device, equipment and a storage medium for detecting and positioning page change of a source system. The method comprises the following steps: constructing a robot flow automation component aiming at a target source system page, adopting a preset standard test example as the input of the robot flow automation component, and recording the standard output of the robot flow automation component; testing the robot flow automatic assembly according to a preset self-checking frequency, and recording test output; and when the test output is different from the standard output, determining the changed target source system page. According to the method and the device for locating the source system page, the problems are found out in the specific operation steps through embedding the points on the operation steps, so that the page which is found to be changed is located, the assembly scheduler is further helped to quickly adjust the assembly layout, and the source system page which is changed in the behavior can be timely and accurate.

Description

Source system page change detection positioning method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of computer systems, and in particular, to a method, an apparatus, a device, and a storage medium for detecting and positioning page changes of a source system.
Background
Generally, a function or service of an application system may be implemented by sequentially performing a series of operations on the application system. The RPA (Robotic process automation, robot flow automation) technology forms a script by recording the series of operation procedures, and realizes the automatic operation of the script, so that the expected functions or services can be realized efficiently without manual participation.
In the related art, the operation script is packaged and becomes a component shared, so that the function or service is provided for more users who cannot enter the application systems. Such components are parasitic on the source application system. When a component is running, the source system page, if it has changed, can cause the component to fail to function properly. In existing RPA products, automatic detection and localization of source system page changes is not considered.
Disclosure of Invention
In order to solve or partially solve the problems existing in the related art, the application provides a method, a device, equipment and a storage medium for detecting and positioning the page change of a source system, which can automatically detect the page change of the source system and position the changed page according to a preset frequency.
The first aspect of the present application provides a method for detecting and positioning page changes of a source system, including:
constructing a robot flow automation component aiming at a target source system page, wherein the robot flow automation component can perform operation of a specific function on the target source system page when in operation;
using a preset standard test example as input of the robot flow automation component, testing the robot flow automation component, and recording standard output of the robot flow automation component;
according to the preset self-checking frequency, testing the automated component of the robot flow by adopting the standard test example, and recording test output;
and when the test output is different from the standard output, determining an operation step of the robot flow automation component corresponding to the test output on the target source system page, and determining the changed target source system page based on the operation step.
As a possible implementation manner of the present application, in this implementation manner, the building a robotic process automation component for a target source system page, where the robotic process automation component may perform an operation with a specific function on the target source system page during operation, includes:
determining a component which needs to be operated by a user in a target source system page and the operation content of the component based on a function to be realized, and generating a script capable of completing the operation content;
and packaging the script to obtain the robot flow automation component capable of operating the target source system page to realize the function to be realized.
As a possible implementation manner of the present application, in this implementation manner, the using a preset standard test example as an input of the robotic flow automation component, testing the robotic flow automation component, and recording a standard output of the robotic flow automation component includes:
and taking the standard test example as the input of the robot flow automation component, and recording the standard output of each operation step of the robot flow automation component on the target source system page.
As a possible implementation manner of the present application, in this implementation manner, the testing the robotic flow automation component according to the preset self-checking frequency by using the standard test example, and recording a test output includes:
according to a preset self-checking frequency, taking the standard test example as the input of the robot flow automation component, and testing the robot flow automation component;
and recording the test output of each operation step of the robot flow automation component on the target source system page.
As a possible implementation manner of the present application, in this implementation manner, when the test output is different from the standard output, determining an operation step performed by the robotic process automation component corresponding to the test output on the target source system page, and determining, based on the operation step, a changed target source system page, where the operation step includes:
comparing the test output of each operation step of the robot flow automation component on the target source system page with the corresponding standard output, and determining the operation step of which the test output is different from the standard output;
and determining the source system page corresponding to the operation steps of which the test output is different from the standard output as a changed target source system page.
A second aspect of the present application provides a source system page change detection positioning device, including:
the system comprises a component construction module, a target source system page generation module and a target source system page generation module, wherein the component construction module is used for constructing a robot flow automation component aiming at the target source system page, and the robot flow automation component can perform specific functional operation on the target source system page when in operation;
the standard making module is used for adopting a preset standard test example as the input of the robot flow automation component, testing the robot flow automation component and recording the standard output of the robot flow automation component;
the test module is used for testing the robot flow automation component by adopting the standard test example according to the preset self-checking frequency and recording test output;
and the positioning module is used for determining the operation steps of the robot flow automation component corresponding to the test output on the target source system page when the test output is different from the standard output, and determining the changed target source system page based on the operation steps.
As a possible embodiment of the present application, in this embodiment, the standard making module is configured to:
and taking the standard test example as the input of the robot flow automation component, and recording the standard output of each operation step of the robot flow automation component on the target source system page.
As one possible embodiment of the present application, in this embodiment,
the test module is used for:
according to a preset self-checking frequency, taking the standard test example as the input of the robot flow automation component, and testing the robot flow automation component;
and recording the test output of each operation step of the robot flow automation component on the target source system page.
A third aspect of the present application provides an electronic device, comprising:
a processor; and
a memory having executable code stored thereon which, when executed by the processor, causes the processor to perform the method as described above.
A fourth aspect of the present application provides a computer readable storage medium having stored thereon executable code which, when executed by a processor of an electronic device, causes the processor to perform a method as described above.
According to the embodiment of the application, the robot process automation component aiming at the target source system page is constructed, and the standard test example is adopted to automatically and regularly detect the source system page change, so that the source system page change is timely found, the arrangement of the component script can be timely adjusted, the service of the component is timely restored, the problem in specific operation is quickly found out through embedding points on some operation steps, the page for finding the change is located, the arrangement of the component is further facilitated, and the source system page with the changed behavior can be timely and accurately adjusted.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The foregoing and other objects, features and advantages of the application will be apparent from the following more particular descriptions of exemplary embodiments of the application as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts throughout the exemplary embodiments of the application.
Fig. 1 is a schematic flow chart of a source system page change detection positioning method according to an embodiment of the present application;
FIG. 2 is a flow diagram of a component generation method shown in an embodiment of the present application;
FIG. 3 is a flow chart of a test method according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a source system page change detecting and positioning device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
Detailed Description
Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms "first," "second," "third," etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
Generally, a function or service of an application system may be implemented by sequentially performing a series of operations on the application system. The RPA (Robotic process automation, robot flow automation) technology forms a script by recording the series of operation procedures, and realizes the automatic operation of the script, so that the expected functions or services can be realized efficiently without manual participation. In the related art, the operation script is packaged and becomes a component shared, so that the function or service is provided for more users who cannot enter the application systems. Such components are parasitic on the source application system. When a component is running, the source system page, if it has changed, can cause the component to fail to function properly. In existing RPA products, automatic detection and localization of source system page changes is not considered.
In view of the above problems, embodiments of the present application provide a method for detecting and positioning a source system page change, which can automatically detect a source system page change according to a preset frequency and position a changed page.
Fig. 1 is a flowchart of a source system page change detection positioning method according to an embodiment of the present application.
Referring to fig. 1, the method for detecting and positioning page changes of a source system provided in the embodiment of the present application includes: step S101, a robot flow automation component is constructed for a target source system page, where the robot flow automation component can perform operation with a specific function on the target source system page during operation.
In the embodiment of the present application, a certain function or service of an application system may be implemented by sequentially performing a certain series of operations on the application system. The RPA (Robotic process automation, robot process automation) technology just records the series of operation processes to form a script, and realizes the automatic operation of the script, and encapsulates the script into a component, so that the robot process automation component in the embodiment of the application can be generated, and the target source system page can be any system page, wherein the robot process automation component and the target source system page are mutually matched.
As a possible implementation manner of the present application, in this implementation manner, as shown in fig. 2, the building a robotic process automation component for a target source system page, where the robotic process automation component may perform an operation with a specific function on the target source system page during operation, includes:
step S201, determining a component required to be operated by a user and the operation content of the component in a target source system page based on a function to be realized, and generating a script capable of completing the operation content;
step S202, packaging the script to obtain a robot flow automation component capable of operating the target source system page to realize the function to be realized.
In the embodiment of the application, the function to be realized determines the components to be operated by the user in the target source system page and the operation content of the components, for example, aiming at the user information inquiry page, the user needs to click 'my', 'information inquiry'. The script capable of automatically completing the operation can be generated aiming at the two clicks, and the script is packaged to obtain the robot flow automation component capable of operating the target source system page to realize the function to be realized. The specific target source system page can be selected according to actual conditions, and the application is not limited.
Step S102, using a preset standard test example as an input of the robotic flow automation component, testing the robotic flow automation component, and recording a standard output of the robotic flow automation component.
In the embodiment of the present application, when the source system page changes, there are two general cases: (1) component run interrupt error reporting; (2) the component may still complete operation: the simulation operations that the component contains can still be performed although the source system page changes, except that the "component" is not the "component". The two conditions are combined, and the other condition is as follows: assuming that the component includes five operation steps a-b-c-d-e, the component interrupts reporting errors when running to step d, but in reality, the corresponding page may have changed when operating step b, but the operation may still be performed until the component fails to execute and report errors when running to step d. Therefore, no matter whether the component runs smoothly, the situation that the source system page changes is possible, and therefore, from the operation step of the component at the beginning, each step needs to judge whether the source system page changes or not, so that the change of the system page is detected early. In view of the above, assume that X is a component running on the application system S and that the component contains the steps of operation 1-2-3-4-5-6, with the inputs and outputs of each step being respectively
Figure SMS_1
And->
Figure SMS_2
,/>
Figure SMS_3
. (in practice, there are some operating steps not involving input and output, such as simple click, jump, which are omitted here for simplicity, but do not affect the description of the solution of the invention)/(>
Figure SMS_4
And->
Figure SMS_5
For the input parameters and output results of the whole assembly, it is assumed for simplicity that the whole assembly has only external inputs at step 1.
In this embodiment of the present application, the adopting a preset standard test example as an input of the robotic process automation component, testing the robotic process automation component, and recording a standard output of the robotic process automation component includes:
and taking the standard test example as the input of the robot flow automation component, and recording the standard output of each operation step of the robot flow automation component on the target source system page.
As a possible implementation manner of the present application, to complete self-checking of a source system page, when a component is built, based on a test example E (i.e. some external input), the component passes a test successfully, so as to prove that the component can run and realize a desired service, where the output of the component X at each step under the test example is recorded, where the output is respectivelyoutput(1)、output (2)、output(3)、output(4)、output(5)、output(6)
Step S103, testing the automated component of the robot flow by adopting the standard test example according to the preset self-checking frequency, and recording test output.
In this embodiment of the present application, when detecting a source system page, the standard test example may be used to test the robot flow automation component according to a preset self-checking frequency, and record test output, as shown in fig. 3, including:
step S301, according to a preset self-checking frequency, taking the standard test example as the input of the robot flow automation component, and testing the robot flow automation component;
step S302, recording test output of each operation step of the robot flow automation component on the target source system page.
In the embodiment of the application, the frequency of self-checking is set after the component is tested, and the component X is tested with the test example E periodically by the set frequency, such as once every day, once every 6 hours, and so on; in each process of testing the component X by using the test example E, positioning the position of the change of the source system page according to the following checking mechanism, comparing the test output of each operation step of the robot process automation component on the target source system page with the corresponding standard output, and determining the operation steps of which the test output is different from the standard output; and determining the source system page corresponding to the operation steps of which the test output is different from the standard output as a changed target source system page. Specifically, when the component runs to step 1, the output of the component is recorded as
Figure SMS_6
Comparing the output with the previously stored output result of step 1 +.>
Figure SMS_7
If the page is the same, the page corresponding to the operation step 1 is unchanged, and the operation step 2 is continued; when the component runs to step 2, its output is +.>
Figure SMS_8
Comparing the output with the previously stored result +.>
Figure SMS_9
If the same, the operation steps are representedThe page corresponding to step 2 is unchanged, and step 3 is continued, and so on, when found at any step
Figure SMS_10
When the page corresponding to the operation step K is considered to be changed, the operation is immediately interrupted and the fault is reported, and the fault is displayed in the operation log, in other words, the fault is reported only when the component cannot operate, and the operation is interrupted and the fault is reported when the output of the component is found to be inconsistent with the preset output in any operation step. Here, it should be emphasized that the output of each step is a relatively broad concept including data, url, xpath information of a page element, display text of a corresponding element, page structure relationship, and so on. Therefore, the specific situation of the components needs to be considered here, and different components may need to be provided with different verification objects.
And step S104, when the test output is different from the standard output, determining an operation step of the robot flow automation component corresponding to the test output on the target source system page, and determining the changed target source system page based on the operation step.
In the present embodiment, as described in the previous embodiment, when found in any one of the steps
Figure SMS_11
And (3) when the page corresponding to the operation step K is considered to be changed, reporting errors, and displaying the changed page in the source system page.
According to the embodiment of the application, the robot process automation component aiming at the target source system page is constructed, and the standard test example is adopted to automatically and regularly detect the source system page change, so that the source system page change is timely found, the arrangement of the component script can be timely adjusted, the service of the component is timely restored, the problem in specific operation is quickly found out through embedding points on some operation steps, the page for finding the change is located, the arrangement of the component is further facilitated, and the source system page with the changed behavior can be timely and accurately adjusted.
Corresponding to the embodiment of the application function implementation method, the application also provides a source system page change detection device, electronic equipment and corresponding embodiments.
Fig. 4 is a schematic structural diagram of a source system page change detecting and positioning device according to an embodiment of the present application.
Referring to fig. 4, the source system page change detection positioning device 40 provided in the embodiment of the present application includes a component building module 410, a standard making module 420, a testing module 430, and a positioning module 440, where:
a component construction module 410, configured to construct a robotic process automation component for a target source system page, where the robotic process automation component can perform a specific function operation on the target source system page when running;
the standard making module 420 is configured to use a preset standard test example as an input of the robotic process automation component, test the robotic process automation component, and record a standard output of the robotic process automation component;
the test module 430 is configured to test the automated robot flow component according to a preset self-checking frequency by using the standard test example, and record a test output;
and the positioning module 440 is configured to determine an operation step of the robotic process automation component corresponding to the test output on the target source system page when the test output is different from the standard output, and determine a changed target source system page based on the operation step.
As a possible embodiment of the present application, in this embodiment, the standard making module is configured to:
and taking the standard test example as the input of the robot flow automation component, and recording the standard output of each operation step of the robot flow automation component on the target source system page.
As a possible embodiment of the present application, in this embodiment, the test module is configured to:
according to a preset self-checking frequency, taking the standard test example as the input of the robot flow automation component, and testing the robot flow automation component;
and recording the test output of each operation step of the robot flow automation component on the target source system page.
The specific manner in which the respective modules perform the operations in the apparatus of the above embodiments has been described in detail in the embodiments related to the method, and will not be described in detail herein.
According to the embodiment of the application, the robot process automation component aiming at the target source system page is constructed, and the standard test example is adopted to automatically and regularly detect the source system page change, so that the source system page change is timely found, the arrangement of the component script can be timely adjusted, the service of the component is timely restored, the problem in specific operation is quickly found out through embedding points on some operation steps, the page for finding the change is located, the arrangement of the component is further facilitated, and the source system page with the changed behavior can be timely and accurately adjusted.
Referring now to fig. 5, a schematic diagram of an electronic device 500 suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
An electronic device includes: a memory and a processor, where the processor may be referred to as a processing device 501 described below, the memory may include at least one of a Read Only Memory (ROM) 502, a Random Access Memory (RAM) 503, and a storage device 508 described below, as follows:
as shown in fig. 5, the electronic device 500 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 501, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
In general, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 507 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 508 including, for example, magnetic tape, hard disk, etc.; and communication means 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 shows an electronic device 500 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or from the storage means 508, or from the ROM 502. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 501.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: constructing a robot flow automation component aiming at a target source system page, wherein the robot flow automation component can perform operation of a specific function on the target source system page when in operation; using a preset standard test example as input of the robot flow automation component, testing the robot flow automation component, and recording standard output of the robot flow automation component; according to the preset self-checking frequency, testing the automated component of the robot flow by adopting the standard test example, and recording test output; and when the test output is different from the standard output, determining an operation step of the robot flow automation component corresponding to the test output on the target source system page, and determining the changed target source system page based on the operation step.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules or units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Where the name of a module or unit does not in some cases constitute a limitation of the unit itself.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (10)

1. The method for detecting and positioning the page change of the source system is characterized by comprising the following steps:
constructing a robot flow automation component aiming at a target source system page, wherein the robot flow automation component can perform operation of a specific function on the target source system page when in operation;
using a preset standard test example as input of the robot flow automation component, testing the robot flow automation component, and recording standard output of the robot flow automation component;
according to the preset self-checking frequency, testing the automated component of the robot flow by adopting the standard test example, and recording test output;
and when the test output is different from the standard output, determining an operation step of the robot flow automation component corresponding to the test output on the target source system page, and determining the changed target source system page based on the operation step.
2. The source system page change detecting and positioning method according to claim 1, wherein the constructing a robotic process automation component for a target source system page, the robotic process automation component being capable of performing a specific function operation on the target source system page during operation, comprises:
determining a component which needs to be operated by a user in a target source system page and the operation content of the component based on a function to be realized, and generating a script capable of completing the operation content;
and packaging the script to obtain the robot flow automation component capable of operating the target source system page to realize the function to be realized.
3. The method for detecting and positioning page changes of a source system according to claim 1, wherein said using a preset standard test example as an input of the robotic process automation component, testing the robotic process automation component, and recording a standard output of the robotic process automation component comprises:
and taking the standard test example as the input of the robot flow automation component, and recording the standard output of each operation step of the robot flow automation component on the target source system page.
4. The method for detecting and positioning page changes of a source system according to claim 3, wherein said testing said automated robotic process components using said standard test examples according to a preset self-test frequency and recording test outputs comprises:
according to a preset self-checking frequency, taking the standard test example as the input of the robot flow automation component, and testing the robot flow automation component;
and recording the test output of each operation step of the robot flow automation component on the target source system page.
5. The source system page change detecting and positioning method according to claim 4, wherein when the test output is different from the standard output, determining an operation step of the robotic process automation component corresponding to the test output on the target source system page, and determining the changed target source system page based on the operation step, includes:
comparing the test output of each operation step of the robot flow automation component on the target source system page with the corresponding standard output, and determining the operation step of which the test output is different from the standard output;
and determining the source system page corresponding to the operation steps of which the test output is different from the standard output as a changed target source system page.
6. A source system page change detection positioning device, characterized by comprising:
the system comprises a component construction module, a target source system page generation module and a target source system page generation module, wherein the component construction module is used for constructing a robot flow automation component aiming at the target source system page, and the robot flow automation component can perform specific functional operation on the target source system page when in operation;
the standard making module is used for adopting a preset standard test example as the input of the robot flow automation component, testing the robot flow automation component and recording the standard output of the robot flow automation component;
the test module is used for testing the robot flow automation component by adopting the standard test example according to the preset self-checking frequency and recording test output;
and the positioning module is used for determining the operation steps of the robot flow automation component corresponding to the test output on the target source system page when the test output is different from the standard output, and determining the changed target source system page based on the operation steps.
7. The source system page change detection positioning device of claim 6, wherein the criteria making module is configured to:
and taking the standard test example as the input of the robot flow automation component, and recording the standard output of each operation step of the robot flow automation component on the target source system page.
8. The source system page change detection positioning device of claim 7, wherein the test module is configured to:
according to a preset self-checking frequency, taking the standard test example as the input of the robot flow automation component, and testing the robot flow automation component;
and recording the test output of each operation step of the robot flow automation component on the target source system page.
9. An electronic device, comprising:
a processor; and
a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the method of any of claims 1-5.
10. A computer readable storage medium having stored thereon executable code which when executed by a processor of an electronic device causes the processor to perform the method of any of claims 1-5.
CN202310466067.3A 2023-04-27 2023-04-27 Source system page change detection positioning method, device, equipment and storage medium Pending CN116185881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310466067.3A CN116185881A (en) 2023-04-27 2023-04-27 Source system page change detection positioning method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310466067.3A CN116185881A (en) 2023-04-27 2023-04-27 Source system page change detection positioning method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116185881A true CN116185881A (en) 2023-05-30

Family

ID=86446539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310466067.3A Pending CN116185881A (en) 2023-04-27 2023-04-27 Source system page change detection positioning method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116185881A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110928774A (en) * 2019-11-07 2020-03-27 杭州顺网科技股份有限公司 Automatic test system based on node formula
CN113589767A (en) * 2021-04-06 2021-11-02 大连连合信息技术有限公司 Robot process automation RPA processing method and related device
CN114461533A (en) * 2022-02-16 2022-05-10 浙江百应科技有限公司 Method, system, electronic device and storage medium for automatic testing of Web page
CN114546850A (en) * 2022-02-15 2022-05-27 上海钧正网络科技有限公司 Automatic testing method, system and device for embedded point and storage medium
CN115934566A (en) * 2022-12-29 2023-04-07 上海艺赛旗软件股份有限公司 Debugging information display method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110928774A (en) * 2019-11-07 2020-03-27 杭州顺网科技股份有限公司 Automatic test system based on node formula
CN113589767A (en) * 2021-04-06 2021-11-02 大连连合信息技术有限公司 Robot process automation RPA processing method and related device
CN114546850A (en) * 2022-02-15 2022-05-27 上海钧正网络科技有限公司 Automatic testing method, system and device for embedded point and storage medium
CN114461533A (en) * 2022-02-16 2022-05-10 浙江百应科技有限公司 Method, system, electronic device and storage medium for automatic testing of Web page
CN115934566A (en) * 2022-12-29 2023-04-07 上海艺赛旗软件股份有限公司 Debugging information display method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112650685B (en) Automatic test method, device, electronic equipment and computer storage medium
CN111679990B (en) Test data generation method and device, readable medium and electronic equipment
CN113742153B (en) Equipment testing method and device, readable medium and electronic equipment
CN112597047A (en) Test method, test device, electronic equipment and computer readable medium
CN110619100B (en) Method and apparatus for acquiring data
CN110851139A (en) Method and device for checking codes and electronic equipment
CN112363885B (en) Method, device, electronic equipment and computer readable medium for detecting application abnormality
CN111506904B (en) Method and device for online bug repair
CN111628938B (en) Branch merging method, device, electronic equipment and computer storage medium
CN116662193A (en) Page testing method and device
WO2022247441A1 (en) Log file parsing method and apparatus, and device and storage medium
CN116185881A (en) Source system page change detection positioning method, device, equipment and storage medium
CN113849416A (en) Test method, test device, storage medium and electronic equipment
CN109960659B (en) Method and device for detecting application program
CN113656286A (en) Software testing method and device, electronic equipment and readable storage medium
CN112882948A (en) Stability testing method, device and system for application and storage medium
CN110489341B (en) Test method and device, storage medium and electronic equipment
CN113835995B (en) Method and device for generating test cases
CN115827415B (en) System process performance test method, device, equipment and computer medium
CN113032172B (en) Abnormality detection method and device and electronic equipment
CN111367555B (en) Assertion method, assertion device, electronic equipment and computer readable medium
CN109542921B (en) Data checking method and device, electronic equipment and storage medium
CN116467178B (en) Database detection method, apparatus, electronic device and computer readable medium
CN117493091A (en) Storage system fault injection method, device, equipment and storage medium
CN115373972A (en) Interface testing method and device, storage medium and electronic equipment

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