CN117312123A - Bug processing method and device, electronic equipment and storage medium - Google Patents

Bug processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117312123A
CN117312123A CN202210718938.1A CN202210718938A CN117312123A CN 117312123 A CN117312123 A CN 117312123A CN 202210718938 A CN202210718938 A CN 202210718938A CN 117312123 A CN117312123 A CN 117312123A
Authority
CN
China
Prior art keywords
bug
information
interface
processing
page
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
CN202210718938.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.)
Beijing Rockwell Technology Co Ltd
Original Assignee
Beijing Rockwell 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 Beijing Rockwell Technology Co Ltd filed Critical Beijing Rockwell Technology Co Ltd
Priority to CN202210718938.1A priority Critical patent/CN117312123A/en
Publication of CN117312123A publication Critical patent/CN117312123A/en
Pending legal-status Critical Current

Links

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/3688Test management for test execution, e.g. scheduling of test suites

Abstract

The disclosure provides a bug processing method, a bug processing device, electronic equipment and a storage medium, and particularly relates to the technical field of software testing. The bug processing method comprises the following steps: testing the business page; when a bug appears in the test, acquiring data information of the bug, wherein the data information of the bug comprises description information of the bug, interface element information of the bug in a test interface and page identification information of a bug service page; and (5) sending the data information of the bug to a bug data processing platform. The bug processing scheme solves the problems that in the prior art, manual operation is needed to record and submit the bug appointed handler, the bug processing efficiency is low, time is wasted, and mistakes are easy to occur in manual links, so that the bug processing is more efficient, and the accuracy of each link on bug processing is improved.

Description

Bug processing method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of software testing, and in particular relates to a bug processing method, a bug processing device, electronic equipment and a storage medium.
Background
In software development, software testing is an active process of verifying and validating a software product throughout the software development lifecycle, with the purpose of discovering and correcting various problems present in the software product in time.
In the current software testing process, a tester needs to enter a bug platform through manual screen capturing after finding out a bug, and then searches and designates a bug handler through a work order. Under such a scheme, there are often two problems: firstly, the procedure of submitting a bug is complicated, and a long time is required for submitting a bug, so that the bug submitting efficiency is low; and secondly, the data errors easily occur in a mode of manually organizing the data.
Disclosure of Invention
The present disclosure provides a method, apparatus, electronic device, and storage medium for bug processing.
According to a first aspect of the present disclosure, there is provided a bug processing method, wherein the method includes:
testing the business page; when a bug appears in the test, acquiring data information of the bug, wherein the data information of the bug comprises description information of the bug, interface element information of the bug in a test interface and page identification information of a bug service page; and (5) sending the data information of the bug to a bug data processing platform.
In some embodiments of the present disclosure, acquiring data information of a bug includes: positioning interface elements of the bug in the test interface, and acquiring interface element identification information of the bug; and acquiring the description information of the bug input through interface operation.
In some embodiments of the present disclosure, acquiring description information of a bug input through an interface operation includes: detecting whether interface operation triggering bug description information is received or not; if the interface operation is received, judging whether the interface operation position is the interface element position of the bug; if yes, receiving the bug description information input through interface operation.
In some embodiments of the present disclosure, the interface operates as a single finger holding down the screen for a predetermined time.
According to a second aspect of the present disclosure, there is provided a method of processing a bug, the method comprising: receiving data information of a bug, wherein the data information of the bug comprises description information of the bug, interface element information of the bug in a test interface and page identification information of a bug service page; searching a code library according to the page identification information to obtain code submitter information; extracting codes corresponding to the bug from a code base according to interface element information of the bug; and sending the codes and the description information of the bug to a submitter for bug processing.
According to a third aspect of the present disclosure, there is provided an apparatus for handling a bug, the apparatus being arranged on a test platform, and the apparatus comprising: the test module is used for testing the business page; the acquisition module is used for acquiring the data information of the bug when the bug appears in the test, wherein the bug data information comprises the description information of the bug, the interface element information of the bug in the test interface and the page identification information of the bug service page; and the uploading module is used for uploading the data information of the bug to the bug platform.
According to a fourth aspect of the present disclosure, there is provided an apparatus for processing a bug, the apparatus being arranged on a bug processing platform, and the apparatus comprising: the receiving module is used for receiving the data information of the bug, wherein the data information of the bug comprises the description information of the bug, interface element information of the bug in a test interface and page identification information of a bug service page; the searching module is used for searching the code library according to the page identification information and acquiring the information of the submitter of the code; the extraction module is used for extracting codes corresponding to the bug from the code base according to interface element information of the bug; and the sending module is used for sending the codes and the description information of the bug to a submitter for bug processing.
According to a fifth aspect of the present disclosure, there is provided an electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the first aspect or the second aspect described above.
According to a sixth aspect of the present disclosure there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of the foregoing first or second aspect.
According to a seventh aspect of the present disclosure there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method of the first or second aspect as described above.
According to the bug processing method, device, electronic equipment and storage medium, through testing the business page, when a bug appears in the test, the bug data information is obtained, and then the bug data information is automatically uploaded to the bug data processing platform. The problem that in the prior art, a mode of manually operating records and submitting bug specified handler is needed, so that bug handling efficiency is low, time is wasted, errors are easy to occur in manual links is solved, bug handling is more efficient, and accuracy of each link on bug handling is improved.
It should be understood that the description of this section is not intended to identify key or critical features of the embodiments of the application or to delineate the scope of the application. Other features of the present application will become apparent from the description that follows.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a flowchart of a bug processing method according to an embodiment of the present disclosure;
FIG. 2 is a flowchart of a bug processing method according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of a bug processing method according to an embodiment of the present disclosure;
FIG. 4 is a schematic view of a bug handling apparatus according to an embodiment of the present disclosure;
FIG. 5 is a schematic view of a bug handling apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic block diagram of an example electronic device 600 provided by an embodiment of the disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The following describes a bug processing method, apparatus, electronic device, and storage medium of an embodiment of the present disclosure with reference to the accompanying drawings.
In the related technology, in the software testing process, a tester needs to enter a bug platform through manual screen capturing after finding out a bug, and then searches and designates a bug handler through a work sheet. Under such a scheme, there are often two problems: firstly, the procedure of submitting a bug is complicated, and a long time is required for submitting a bug, so that the bug submitting efficiency is low; and secondly, the data errors easily occur in a mode of manually organizing the data.
In the present disclosure, a service page is tested; when a bug appears in the test, acquiring the data information of the bug, and then automatically sending the data information of the bug to a bug data processing platform. The problem that in the prior art, the bug processing efficiency is low, time is wasted and mistakes are easy to occur in manual links because of the mode of manually operating records and submitting bug designated handler is solved, so that bug processing is more efficient, and the bug processing accuracy of each link is improved.
FIG. 1 is a flowchart of a bug processing method according to an embodiment of the present disclosure.
As shown in fig. 1, the method comprises the steps of:
and step 101, testing the service page.
In one embodiment of the present disclosure, a business page is tested to determine if a bug is present in the business page.
Step 102, when a bug appears in the test, acquiring bug data information, wherein the bug data information comprises bug description information, bug interface element information in a test interface and page identification information of a bug business page.
In some embodiments of the present disclosure, the description information of the bug is an exhaustive description of the bug present by the tester, including but not limited to the severity of the bug, the expected outcome and the actual outcome. Interface elements include windows, scroll bars, dialog boxes, menu bars, and various graphics that are viewable through the interface. And then, the identification of the interface element can be positioned through the interface element information, so that the data information such as the UI page history of user operation in the page stack where the current interface is positioned, namely the identification information of the interface element, such as specific code class names and the like can be obtained. The page identification information is a unique positioning identification of the page where the bug service appears.
And step 103, uploading the data information of the bug to a bug data processing platform.
In some embodiments, after describing the bug in detail, the description information is saved in the data information of the bug, and the data information of the bug is uploaded to the bug data processing platform.
It should be noted that the bug data processing platform is a program for processing bug data information at the server side, including but not limited to, a bug distribution processor.
In summary, according to the bug processing method disclosed by the disclosure, by automatically testing a business page, when a bug appears in the test, the data information of the bug is obtained, and then the data information of the bug is automatically uploaded to the bug data processing platform. The problem that the conventional technology needs manual operation to record and submit a bug to be processed by a specified handler is low in bug processing efficiency, time is wasted and mistakes are easy to occur in manual links is solved, so that bug processing is more efficient, and accuracy of each link on bug processing is improved.
FIG. 2 is a flowchart illustrating a bug processing method according to an embodiment of the present disclosure acting on a bug data processing platform. As shown, the method comprises the steps of:
step 201, receiving data information of a bug, wherein the data information of the bug comprises description information of the bug, interface element information of the bug in a test interface and page identification information of a bug service page.
In some embodiments, the bug data processing platform receives data information of a bug that appears to be uploaded by a bug service page. The data information of the bug is explained in detail above and will not be described here again.
Step 202, searching a code base according to the page identification information, and obtaining the presenter information of the codes.
In some embodiments, when receiving the data information of the bug, analyzing the data information of the bug, searching a background code base according to the page identification information, and obtaining the writer of the code, namely the submitter of the code, through the code information.
It should be noted that, the code submitter searched in this step is to feed back the code to the submitter for modification.
And 203, extracting codes corresponding to the bug from a code base according to interface element information of the bug.
In some embodiments, the bug data processing platform extracts corresponding background code from the code base according to bug interface element information.
It should be noted that, the purpose of extracting the corresponding background code in this step is to feed back the code with the bug to the presenter of the code for modification.
And 204, transmitting the codes and the description information of the bug to a submitter for bug processing.
In some embodiments, the bug data processing platform sends the code and the code description information to the code submitter to perform the repairing work of the subsequent bug.
It will be appreciated that it is a preferred option to send the code, the code description information, to the presenter, and in some other arrangements to other processing personnel.
In summary, according to the bug processing method disclosed by the disclosure, by automatically testing a business page, when a bug appears in the test, the data information of the bug is obtained, and then the data information of the bug is automatically uploaded to the bug data processing platform. The problem that the conventional technology needs manual operation to record and submit a bug to be processed by a specified handler is low in bug processing efficiency, time is wasted and mistakes are easy to occur in manual links is solved, so that bug processing is more efficient, and accuracy of each link on bug processing is improved.
FIG. 3 is a flowchart illustrating a bug processing method according to an embodiment of the present disclosure. As shown in fig. 3, the method comprises the steps of:
step 301, testing the service interface.
In one embodiment of the present disclosure, a business page is tested to determine if a bug is present in the business page.
Step 302, it is detected whether an interface operation triggering the bug description information is received.
In some embodiments, the interface triggering the bug description information is an event triggering a pop-up text box, and the interface triggering the bug description information operates to hold the screen for a predetermined time with a single finger.
It should be noted that, the test person holds the screen for a predetermined time by a single finger to trigger an event, which is only a preferred embodiment, and the finger is used as a reference to help understand the operation. The interface operation of the trigger event may be set to other operations.
Step 303, if an interface operation is received, judging whether the interface operation position is the interface element position of the bug; if yes, receiving the bug description information input through interface operation.
In some embodiments, upon detecting a bug, the tester may obtain an event that pops up the text box by holding the screen for a predetermined time with a single finger. For example: the tester detects that the bug needs to press the interface element where the bug is located by a single finger, the duration is 1s, and the interface pops up a text box. The tester may describe the bug in detail in the text box.
When the tester performs interface operation by touching the screen with a single finger, it is necessary to determine whether the interface element of the selected screen is the interface element with bug, if yes, the pop-up text box event is triggered, and if not, no response is made to the interface operation.
And step 304, uploading the data information of the bug to a bug data processing platform.
In some embodiments, after describing the bug in detail, the description information is saved in the data information of the bug, and the data information of the bug is uploaded to the bug data processing platform.
It should be appreciated that, as a preferred solution, after the tester makes an exhaustive description of the bug in the pop-up text box, the tester may implement the uploading of the bug's data information by clicking the upload button or closing the text box.
It should be noted that the bug data processing platform is a program for processing bug data information at the server side, including but not limited to a bug distribution processor.
In summary, the present disclosure includes, by acquiring description information of a bug input through an interface operation: detecting whether interface operation of single-finger pressing the screen to trigger bug description information is received or not; if the interface operation is received, judging whether the interface operation position is the interface element position of the bug; if yes, receiving the bug description information input through interface operation. The problem that the bug processing efficiency is low, time is wasted and errors are easy to occur in manual links caused by the mode of manually operating records and submitting bug designated handler in the prior art is solved, so that bug processing is more efficient, and the bug processing accuracy of each link is improved.
Corresponding to the bug processing method, the invention also provides a bug processing device which is suitable for the test platform. Since the device embodiment of the present invention corresponds to the above-mentioned method embodiment, details not disclosed in the device embodiment may refer to the above-mentioned method embodiment, and details are not described in detail in the present invention.
Fig. 4 is a schematic structural diagram of a bug processing device 400 according to an embodiment of the present disclosure, as shown in fig. 4, including:
and the testing module 410 is configured to test the service page.
The obtaining module 420 is configured to obtain, when a bug appears in the test, data information of the bug, where the data information of the bug includes description information of the bug, interface element information of the bug in a test interface, and page identification information of a bug service page.
And the uploading module 430 is used for uploading the data information of the bug to the bug platform.
Further, the apparatus 400 further includes: and the buffer unit is used for temporarily buffering the bug data in the test platform.
The foregoing explanation of the method embodiment is also applicable to the apparatus of this embodiment, and the principle is the same, and this embodiment is not limited thereto.
In one embodiment of the present disclosure, an automatic test needs to be performed on the service, and the test module 410 is specifically configured to test the service page to determine whether a bug exists in the service page.
In one embodiment of the present disclosure, the obtaining module 420 is specifically configured to obtain the information of each item of data of the bug, that is, the detailed description of the bug by the tester, including, but not limited to, the severity of the bug, the expected result and the actual result, and the interface element information, including the window, the scroll bar, the dialog box, the menu bar, and the various graphics of the interface, and the page identification information, that is, the unique positioning identifier of the bug service page.
In one embodiment of the present disclosure, the uploading module 430 is specifically configured to save the description information into the data information of the bug after describing the bug in detail, and upload the data information of the bug to the bug data processing platform.
In summary, according to the bug processing apparatus of the present disclosure, by automatically testing a service page, when a bug appears in the test, data information of the bug is obtained, and then the data information of the bug is automatically uploaded to a bug data processing platform. The problem that the conventional technology needs manual operation to record and submit a bug to be processed by a specified handler is low in bug processing efficiency, time is wasted and mistakes are easy to occur in manual links is solved, so that bug processing is more efficient, and accuracy of each link on bug processing is improved.
Corresponding to the bug processing method, the invention also provides a bug processing device which is suitable for a bug data processing platform. Since the device embodiment of the present invention corresponds to the above-mentioned method embodiment, details not disclosed in the device embodiment may refer to the above-mentioned method embodiment, and details are not described in detail in the present invention.
Fig. 5 is a schematic structural diagram of a bug processing device 500 according to an embodiment of the present disclosure, as shown in fig. 5, including:
the receiving module 510 is configured to receive data information of a bug, where the data information of the bug includes description information of the bug, interface element information of the bug in a test interface, and page identification information of a page where a bug service appears.
The searching module 520 is configured to search the code base according to the page identification information, and obtain the presenter information of the code.
The extracting module 530 is configured to extract codes corresponding to the bug from the code base according to interface element information of the bug;
and a sending module 540, configured to send the code and the description information of the bug to a submitter for bug processing.
Further, the apparatus 500 further includes an parsing unit, configured to parse bug data information of the test platform; for resolving the code.
The foregoing explanation of the method embodiment is also applicable to the apparatus of this embodiment, and the principle is the same, and this embodiment is not limited thereto.
In some embodiments of the present disclosure, the receiving module 510 is specifically configured to receive the description information of the bug, that is, the detailed description of the bug existing by the tester, including, but not limited to, the severity of the bug, the expected result and the actual result, and interface element information, including a window visible on the interface, a scroll bar, a dialog box, a menu bar, and various graphics, and page identification information, that is, a unique location identifier of the bug service page.
In some embodiments of the present disclosure, the searching module 520 is specifically configured to, when receiving the data information of the bug, parse the data information of the bug, search the background code base according to the page identification information, and obtain the code writer, that is, the code submitter, through the code information.
In some embodiments of the present disclosure, the extraction module 530 is specifically configured to extract, by the bug data processing platform, a corresponding background code from the code library according to bug interface element information.
In some embodiments of the present disclosure, the sending module 540 is specifically configured to send the code and the code description information to the code submitter by the bug data processing platform, so as to perform a repair task of a subsequent bug. It will be appreciated that it is a preferred option to send the code, the code description information, to the presenter, and in some other arrangements to other processing personnel.
In summary, according to the bug processing apparatus provided by the present disclosure, by receiving bug data information, the bug data information includes description information of a bug, interface element information of the bug in a test interface, and page identification information of a bug service page; searching a code library according to the page identification information to obtain code submitter information; extracting codes corresponding to the bug from a code base according to interface element information of the bug; and sending the codes and the description information of the bug to a submitter for bug processing. The problem that the conventional technology needs manual operation to record and submit a bug to be processed by a specified handler is low in bug processing efficiency, time is wasted and mistakes are easy to occur in manual links is solved, so that bug processing is more efficient, and accuracy of each link on bug processing is improved.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 6 illustrates a schematic block diagram of an example electronic device 600 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601 that can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 602 or a computer program loaded from a storage unit 608 into a RAM (Random Access Memory ) 603. In the RAM 603, various programs and data required for the operation of the device 600 may also be stored. The computing unit 601, ROM 602, and RAM 603 are connected to each other by a bus 604. An I/O (Input/Output) interface 605 is also connected to bus 604.
Various components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, mouse, etc.; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing units 601 include, but are not limited to, a CPU (Central Processing Unit ), a GPU (Graphic Processing Units, graphics processing unit), various dedicated AI (Artificial Intelligence ) computing chips, various computing units running machine learning model algorithms, DSPs (Digital Signal Processor, digital signal processors), and any suitable processors, controllers, microcontrollers, and the like. The computing unit 601 performs the respective methods and processes described above, such as the bug processing method. For example, in some embodiments, the bug processing method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the aforementioned bug processing method in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit System, FPGA (Field Programmable Gate Array ), ASIC (Application-Specific Integrated Circuit, application-specific integrated circuit), ASSP (Application Specific Standard Product, special-purpose standard product), SOC (System On Chip ), CPLD (Complex Programmable Logic Device, complex programmable logic device), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
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, RAM, ROM, EPROM (Electrically Programmable Read-Only-Memory, erasable programmable read-Only Memory) or flash Memory, an optical fiber, a CD-ROM (Compact Disc Read-Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display ) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network ), WAN (Wide Area Network, wide area network), internet and blockchain networks.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service ("Virtual Private Server" or simply "VPS") are overcome. The server may also be a server of a distributed system or a server that incorporates a blockchain.
It should be noted that, artificial intelligence is a subject of studying a certain thought process and intelligent behavior (such as learning, reasoning, thinking, planning, etc.) of a computer to simulate a person, and has a technology at both hardware and software level. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing, and the like; the artificial intelligence software technology mainly comprises a computer vision technology, a voice recognition technology, a natural language processing technology, a machine learning/deep learning technology, a big data processing technology, a knowledge graph technology and the like.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (10)

1. A bug handling method, characterized by comprising:
testing the business page;
when a bug appears in the test, acquiring data information of the bug, wherein the data information of the bug comprises description information of the bug, interface element information of the bug in a test interface and page identification information of a bug service page;
and uploading the data information of the bug to a bug data processing platform.
2. The method of processing a bug of claim 1, wherein obtaining data information of the bug comprises:
positioning interface element information of the bug in a test interface, and acquiring identification information of the interface element;
and acquiring the description information of the bug input through interface operation.
3. The method of claim 2, wherein the acquiring the description information of the bug input through an interface operation comprises:
detecting whether interface operation triggering the bug description information is received or not;
if the interface operation is received, judging whether the interface operation position is the interface element position of the bug;
and if yes, receiving the description information of the bug input through the interface operation.
4. A method according to claim 3, wherein the interface operation comprises: the single finger holds the screen for a predetermined time.
5. A bug handling method, characterized by comprising:
receiving data information of a bug, wherein the data information of the bug comprises description information of the bug, interface element information of the bug in a test interface and page identification information of a bug service page;
searching a code base according to the page identification information, and acquiring the presenter information of the code;
extracting codes corresponding to the bug from a code base according to the interface element information of the bug;
and sending the codes and the bug description information to the submitter for performing the bug processing.
6. A bug handling apparatus, comprising:
the test module is used for testing the business page;
the acquisition module is used for acquiring the data information of the bug when the bug appears in the test, wherein the bug data information comprises the description information of the bug, the interface element information of the bug in a test interface and the page identification information of the bug service page;
and the uploading module is used for uploading the data information of the bug to the bug platform.
7. A bug handling apparatus, comprising:
the receiving module is used for receiving the data information of the bug, wherein the data information of the bug comprises the description information of the bug, interface element information of the bug in a test interface and page identification information of the bug service page;
the searching module is used for searching a code base according to the page identification information and acquiring the information of a submitter of the code;
the extraction module is used for extracting codes corresponding to the bug from a code base according to the interface element information of the bug;
and the sending module is used for sending the codes and the bug description information to the submitter for performing the bug processing.
8. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-4 or the method of claim 5.
9. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-4 or the method of claim 5.
10. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-4 or the method according to claim 5.
CN202210718938.1A 2022-06-23 2022-06-23 Bug processing method and device, electronic equipment and storage medium Pending CN117312123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210718938.1A CN117312123A (en) 2022-06-23 2022-06-23 Bug processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210718938.1A CN117312123A (en) 2022-06-23 2022-06-23 Bug processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117312123A true CN117312123A (en) 2023-12-29

Family

ID=89245020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210718938.1A Pending CN117312123A (en) 2022-06-23 2022-06-23 Bug processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117312123A (en)

Similar Documents

Publication Publication Date Title
US9846634B2 (en) Visual graphical user interface verification
US9760475B2 (en) Automatic updating of graphical user interface element locators based on image comparison
US9946637B2 (en) Automatic updating of graphical user interface element locators based on dimension comparison
CN112612664B (en) Electronic equipment testing method and device, electronic equipment and storage medium
CN114428677B (en) Task processing method, processing device, electronic equipment and storage medium
CN113256583A (en) Image quality detection method and apparatus, computer device, and medium
CN113360144B (en) Auxiliary processing method, device, storage medium and program product for software development
CN112508432A (en) Advertisement potential risk detection method and device, electronic equipment, medium and product
CN117312123A (en) Bug processing method and device, electronic equipment and storage medium
CN115328736A (en) Probe deployment method, device, equipment and storage medium
CN115061921A (en) Automatic test method, device, electronic equipment and readable storage medium
CN115437961A (en) Data processing method and device, electronic equipment and storage medium
CN112596814B (en) Integrated packaging method, apparatus, device, medium and program product for items
CN114239505A (en) Method, device and equipment for cleaning hidden characters in word document
CN114547252A (en) Text recognition method and device, electronic equipment and medium
CN114116288A (en) Fault processing method, device and computer program product
CN112597012A (en) Traversal method and device of application program, electronic equipment and storage medium
CN113554062A (en) Training method, device and storage medium of multi-classification model
CN112905743A (en) Text object detection method and device, electronic equipment and storage medium
CN114693115A (en) Method and device for detecting code review validity and electronic equipment
CN116340172A (en) Data collection method and device based on test scene and test case detection method
CN114238149A (en) Batch testing method of accounting system, electronic device and storage medium
CN114706793A (en) Webpage testing method and device, electronic equipment and medium
CN114416678A (en) Resource processing method, device, equipment and storage medium
CN115878461A (en) Operation log test method, device, equipment and storage medium

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