CN117609104A - Page exception processing method, system and equipment in client test process - Google Patents
Page exception processing method, system and equipment in client test process Download PDFInfo
- Publication number
- CN117609104A CN117609104A CN202410099084.2A CN202410099084A CN117609104A CN 117609104 A CN117609104 A CN 117609104A CN 202410099084 A CN202410099084 A CN 202410099084A CN 117609104 A CN117609104 A CN 117609104A
- Authority
- CN
- China
- Prior art keywords
- page
- exception
- client
- solution
- target image
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0793—Remedial or corrective actions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Human Computer Interaction (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域Technical field
本申请涉及测试技术领域,尤其涉及一种客户端测试过程中页面异常的处理方法、系统和设备。This application relates to the field of testing technology, and in particular to a method, system and device for handling page exceptions during client testing.
背景技术Background technique
客户端投入应用之前,通常会对其界面、功能或者其他方面进行测试,在测试通过后,客户端才会投入应用。Before the client is put into application, its interface, functions or other aspects are usually tested. Only after the test passes, the client is put into use.
目前,在客户端测试过程中,测试人员在发现客户端的页面存在异常时,手动对存在异常的页面中的视图进行截图操作,并将得到的图像和对应的异常问题描述,发送到电脑上;在电脑上登陆测试平台,并将图像和对应的异常问题描述上传至测试平台,以使测试平台处理异常。Currently, during client testing, when testers discover an exception on a client page, they manually take a screenshot of the view on the page with the exception, and send the resulting image and corresponding exception description to the computer; Log in to the test platform on the computer and upload the image and corresponding abnormal problem description to the test platform so that the test platform can handle the exception.
但是,采用现有的页面异常处理方法,操作过程比较繁琐,导致异常处理效率降低。However, using the existing page exception handling method, the operation process is relatively cumbersome, resulting in reduced exception handling efficiency.
发明内容Contents of the invention
本申请提供一种客户端测试过程中页面异常的处理方法、系统和设备,在检测客户端的页面中存在异常的情况下,可以有效地提高页面异常的处理效率。This application provides a method, system and device for handling page exceptions during client testing, which can effectively improve page exception processing efficiency when detecting exceptions in client pages.
本申请提供一种客户端测试过程中页面异常的处理方法,应用于终端设备,所述终端设备上集成有待测试的客户端,所述方法包括:This application provides a method for handling page exceptions during client testing, which is applied to a terminal device that integrates a client to be tested. The method includes:
在所述客户端测试过程中,通过所述客户端中集成的测试插件,检测所述客户端的页面中是否存在异常,所述测试插件是基于所述客户端的类型和页面测试需求生成的;During the client testing process, detect whether there is an abnormality in the client's page through a test plug-in integrated in the client. The test plug-in is generated based on the type of the client and page testing requirements;
在所述页面中存在异常的情况下,通过所述测试插件对所述页面中的视图进行格式转换处理,得到所述视图对应的目标图像;并可视化所述视图对应的异常编辑框;When there is an exception in the page, perform format conversion processing on the view in the page through the test plug-in to obtain the target image corresponding to the view; and visualize the abnormal edit box corresponding to the view;
向测试平台发送异常处理请求,所述异常处理请求中包括所述目标图像和通过所述异常编辑框输入的异常描述文本,所述异常处理请求用于请求所述测试平台基于所述目标图像和所述异常描述文本处理所述异常。Send an exception handling request to the test platform, the exception handling request includes the target image and the exception description text input through the exception edit box, the exception handling request is used to request the test platform to based on the target image and The exception description text handles the exception.
根据本申请提供的一种客户端测试过程中页面异常的处理方法,所述通过所述客户端中集成的测试插件,检测所述客户端的页面中是否存在异常,包括:According to a method for handling page exceptions during client testing provided by this application, detecting whether there are abnormalities in the client's pages through a test plug-in integrated in the client includes:
通过所述测试插件,检测所述页面中的视图是否存在异常;Use the test plug-in to detect whether there are abnormalities in the views on the page;
和/或,and / or,
通过所述测试插件,检测所述客户端在显示所述页面同时,是否存在所述客户端异常信息。Through the test plug-in, it is detected whether the client has abnormal information while displaying the page.
根据本申请提供的一种客户端测试过程中页面异常的处理方法,所述异常处理请求还包括所述视图对应的客户端访问请求和所述页面的堆栈信息;According to a method for handling page exceptions during client testing provided by this application, the exception handling request also includes the client access request corresponding to the view and the stack information of the page;
对应的,corresponding,
所述异常处理请求用于请求所述测试平台基于所述目标图像、所述异常描述文本、所述客户端访问请求和所述页面的堆栈信息处理所述异常。The exception handling request is used to request the testing platform to process the exception based on the target image, the exception description text, the client access request, and the stack information of the page.
本申请还提供一种客户端测试过程中页面异常的处理方法,应用于测试平台,所述方法包括:This application also provides a method for handling page exceptions during client testing, which is applied to the testing platform. The method includes:
接收终端设备发送的异常处理请求,所述异常处理请求中包括目标图像和异常描述文本;其中,所述目标图像为所述客户端测试过程中,通过所述客户端中集成的测试插件,检测到所述客户端的页面中存在异常的情况下,通过所述测试插件对所述页面中的视图进行格式转换处理得到的图像,所述异常描述文本为在所述页面中存在异常的情况下,通过所述视图对应的异常编辑框输入的文本,所述测试插件是基于所述客户端的类型和页面测试需求生成的;Receive an exception handling request sent by the terminal device. The exception handling request includes a target image and an exception description text; wherein the target image is detected through the test plug-in integrated in the client during the client testing process. When there is an exception in the client's page, the image obtained by performing format conversion processing on the view in the page through the test plug-in, and the exception description text is When there is an exception in the page, Through the text input in the exception edit box corresponding to the view, the test plug-in is generated based on the type of the client and the page testing requirements;
基于所述目标图像和所述异常描述文本处理所述异常。The exception is processed based on the target image and the exception description text.
根据本申请提供的一种客户端测试过程中页面异常的处理方法,所述异常处理请求还包括所述视图对应的客户端访问请求和所述页面的堆栈信息,所述基于所述目标图像和所述异常描述文本处理所述异常,包括:According to a method for handling page exceptions during client testing provided by this application, the exception handling request also includes the client access request corresponding to the view and the stack information of the page. The method is based on the target image and The exception description text handles the exception, including:
基于所述目标图像、所述异常描述文本、所述客户端访问请求和所述页面的堆栈信息,处理所述异常。The exception is processed based on the target image, the exception description text, the client access request, and the stack information of the page.
根据本申请提供的一种客户端测试过程中页面异常的处理方法,所述基于所述目标图像、所述异常描述文本、所述客户端访问请求和所述页面的堆栈信息,处理所述异常,包括:According to a method for processing page exceptions during client testing provided by this application, the exception is processed based on the target image, the exception description text, the client access request and the stack information of the page. ,include:
基于所述目标图像、所述异常描述文本和所述页面的堆栈信息,从预设的解决方案库中确定第一解决方案;Determine a first solution from a preset solution library based on the target image, the exception description text, and the stack information of the page;
基于所述客户端访问请求,从所述解决方案库中确定第二解决方案;determining a second solution from the solution library based on the client access request;
基于所述第一解决方案和所述第二解决方案,处理所述异常。Based on the first solution and the second solution, the exception is handled.
根据本申请提供的一种客户端测试过程中页面异常的处理方法,所述基于所述第一解决方案和所述第二解决方案,处理所述异常,包括:According to a method for handling page exceptions during client testing provided by this application, processing the exception based on the first solution and the second solution includes:
基于所述第一解决方案和所述第二解决方案各自对应的优先级,从所述第一解决方案和所述第二解决方案中确定预设数量个目标解决方案;其中,所述第二解决方案的优先级高于所述第一解决方案;Based on the respective priorities of the first solution and the second solution, a preset number of target solutions are determined from the first solution and the second solution; wherein, the second solution A solution with a higher priority than said first solution;
基于预设的页面与候选对象之间的映射关系,向所述页面对应的目标对象的终端发送所述目标解决方案,所述目标解决方案用于处理所述异常。Based on the preset mapping relationship between the page and the candidate object, the target solution is sent to the terminal of the target object corresponding to the page, and the target solution is used to handle the exception.
根据本申请提供的一种客户端测试过程中页面异常的处理方法,所述方法还包括:According to a method for handling page exceptions during client testing provided by this application, the method further includes:
基于所述目标对象的待处理任务的任务等级和所述待处理任务所需的处理时间,确定所述异常对应的处理时间;Determine the processing time corresponding to the exception based on the task level of the task to be processed of the target object and the processing time required for the task to be processed;
向所述终端设备发送所述异常对应的处理时间。Send the processing time corresponding to the exception to the terminal device.
本申请还提供一种终端设备,所述终端设备上集成有待测试的客户端,所述终端设备包括:This application also provides a terminal device on which a client to be tested is integrated. The terminal device includes:
检测单元,用于在所述客户端测试过程中,通过所述客户端中集成的测试插件,检测所述客户端的页面中是否存在异常,所述测试插件是基于所述客户端的类型和页面测试需求生成的;A detection unit, used to detect whether there are abnormalities in the client's page through a test plug-in integrated in the client during the client testing process. The test plug-in is based on the type of the client and the page test. demand generated;
处理单元,用于在所述页面中存在异常的情况下,通过所述测试插件对所述页面中的视图进行格式转换处理,得到所述视图对应的目标图像;并可视化所述视图对应的异常编辑框;A processing unit configured to perform format conversion processing on the views in the page through the test plug-in when there is an exception in the page, to obtain a target image corresponding to the view; and to visualize the exception corresponding to the view. Edit box;
发送单元,用于向测试平台发送异常处理请求,所述异常处理请求中包括所述目标图像和通过所述异常编辑框输入的异常描述文本,所述异常处理请求用于请求所述测试平台基于所述目标图像和所述异常描述文本处理所述异常。A sending unit, configured to send an exception handling request to the test platform. The exception handling request includes the target image and the exception description text input through the exception editing box. The exception handling request is used to request that the test platform is based on The target image and the exception description text handle the exception.
根据本申请提供的一种终端设备,所述检测单元,用于通过所述客户端中集成的测试插件,检测所述客户端的页面中是否存在异常,包括:According to a terminal device provided by this application, the detection unit is used to detect whether there is an abnormality in the page of the client through a test plug-in integrated in the client, including:
通过所述测试插件,检测所述页面中的视图是否存在异常;Use the test plug-in to detect whether there are abnormalities in the views on the page;
和/或,and / or,
通过所述测试插件,检测所述客户端在显示所述页面同时,是否存在所述客户端异常信息。Through the test plug-in, it is detected whether the client has abnormal information while displaying the page.
根据本申请提供的一种终端设备,所述异常处理请求还包括所述视图对应的客户端访问请求和所述页面的堆栈信息;According to a terminal device provided by this application, the exception handling request also includes the client access request corresponding to the view and the stack information of the page;
对应的,corresponding,
所述异常处理请求用于请求所述测试平台基于所述目标图像、所述异常描述文本、所述客户端访问请求和所述页面的堆栈信息处理所述异常。The exception handling request is used to request the testing platform to process the exception based on the target image, the exception description text, the client access request, and the stack information of the page.
本申请还提供一种测试平台,应用于测试平台,所述测试平台包括:This application also provides a test platform, which is applied to the test platform. The test platform includes:
接收单元,用于接收终端设备发送的异常处理请求,所述异常处理请求中包括目标图像和异常描述文本;其中,所述目标图像为所述客户端测试过程中,通过所述客户端中集成的测试插件,检测到所述客户端的页面中存在异常的情况下,通过所述测试插件对所述页面中的视图进行格式转换处理得到的图像,所述异常描述文本为在所述页面中存在异常的情况下,通过所述视图对应的异常编辑框输入的文本,所述测试插件是基于所述客户端的类型和页面测试需求生成的;A receiving unit, configured to receive an exception handling request sent by the terminal device, where the exception handling request includes a target image and an exception description text; wherein the target image is an integrated image generated by the client during the client testing process. A test plug-in that detects an abnormality in the client's page and performs format conversion processing on the view in the page through the test plug-in. The abnormal description text is the image that exists in the page. In the case of an exception, the test plug-in is generated based on the type of the client and the page testing requirements through the text entered in the exception edit box corresponding to the view;
处理单元,用于基于所述目标图像和所述异常描述文本处理所述异常。A processing unit configured to process the exception based on the target image and the exception description text.
根据本申请提供的一种测试平台,所述异常处理请求还包括所述视图对应的客户端访问请求和所述页面的堆栈信息,所述处理单元,用于基于所述目标图像和所述异常描述文本处理所述异常,包括:According to a test platform provided by this application, the exception handling request also includes the client access request corresponding to the view and the stack information of the page, and the processing unit is configured to based on the target image and the exception. Descriptive text handling the exception, including:
基于所述目标图像、所述异常描述文本、所述客户端访问请求和所述页面的堆栈信息,处理所述异常。The exception is processed based on the target image, the exception description text, the client access request, and the stack information of the page.
根据本申请提供的一种测试平台,所述处理单元,用于基于所述目标图像、所述异常描述文本、所述客户端访问请求和所述页面的堆栈信息,处理所述异常,包括:According to a test platform provided by this application, the processing unit is used to process the exception based on the target image, the exception description text, the client access request and the stack information of the page, including:
基于所述目标图像、所述异常描述文本和所述页面的堆栈信息,从预设的解决方案库中确定第一解决方案;Determine a first solution from a preset solution library based on the target image, the exception description text, and the stack information of the page;
基于所述客户端访问请求,从所述解决方案库中确定第二解决方案;determining a second solution from the solution library based on the client access request;
基于所述第一解决方案和所述第二解决方案,处理所述异常。Based on the first solution and the second solution, the exception is handled.
根据本申请提供的一种测试平台,所述处理单元,用于基于所述第一解决方案和所述第二解决方案,处理所述异常,包括:According to a test platform provided by this application, the processing unit is used to process the exception based on the first solution and the second solution, including:
基于所述第一解决方案和所述第二解决方案各自对应的优先级,从所述第一解决方案和所述第二解决方案中确定预设数量个目标解决方案;其中,所述第二解决方案的优先级高于所述第一解决方案;Based on the respective priorities of the first solution and the second solution, a preset number of target solutions are determined from the first solution and the second solution; wherein, the second solution A solution with a higher priority than said first solution;
基于预设的页面与候选对象之间的映射关系,向所述页面对应的目标对象的终端发送所述目标解决方案,所述目标解决方案用于处理所述异常。Based on the preset mapping relationship between the page and the candidate object, the target solution is sent to the terminal of the target object corresponding to the page, and the target solution is used to handle the exception.
根据本申请提供的一种测试平台,所述测试平台还包括确定单元和发送单元;According to a test platform provided by this application, the test platform further includes a determining unit and a sending unit;
所述确定单元,用于基于所述目标对象的待处理任务的任务等级和所述待处理任务所需的处理时间,确定所述异常对应的处理时间;The determining unit is configured to determine the processing time corresponding to the exception based on the task level of the task to be processed of the target object and the processing time required for the task to be processed;
所述发送单元,用于向所述终端设备发送所述异常对应的处理时间。The sending unit is configured to send the processing time corresponding to the exception to the terminal device.
本申请还提供一种客户端测试过程中页面异常的处理系统,包括终端设备和测试平台,所述终端设备上集成有待测试的客户端;This application also provides a system for handling page exceptions during client testing, including a terminal device and a test platform, and the terminal device integrates a client to be tested;
其中,所述终端设备,用于在所述客户端测试过程中,通过所述客户端中集成的测试插件,检测所述客户端的页面中是否存在异常,所述测试插件是基于所述客户端的类型和页面测试需求生成的;在所述页面中存在异常的情况下,通过所述测试插件对所述页面中的视图进行格式转换处理,得到所述视图对应的目标图像;并可视化所述视图对应的异常编辑框;向测试平台发送异常处理请求,所述异常处理请求中包括所述目标图像和通过所述异常编辑框输入的异常描述文本;Wherein, the terminal device is used to detect whether there is an abnormality in the page of the client through a test plug-in integrated in the client during the client testing process, and the test plug-in is based on the client. Type and page test requirements are generated; when there is an exception in the page, the test plug-in performs format conversion processing on the view in the page to obtain the target image corresponding to the view; and visualizes the view The corresponding exception editing box; sends an exception processing request to the test platform, where the exception processing request includes the target image and the exception description text input through the exception editing box;
所述测试平台,用于基于所述目标图像和所述异常描述文本处理所述异常。The test platform is used to process the exception based on the target image and the exception description text.
本申请还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述任一项所述的客户端测试过程中页面异常的处理方法。This application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the client as described in any one of the above is implemented. How to handle page exceptions during testing.
本申请还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一项所述的客户端测试过程中页面异常的处理方法。This application also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for handling page exceptions during client testing as described in any one of the above is implemented.
本申请还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述任一项所述的客户端测试过程中页面异常的处理方法。This application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the method for handling page exceptions during client testing as described in any one of the above is implemented.
本申请提供的客户端测试过程中页面异常的处理方法、系统和设备,在客户端测试过程中,通过在客户端上集成测试插件,使得可以通过测试插件自动检测客户端的页面中是否存在异常,并在页面中存在异常的情况下,对页面中的视图进行格式转换处理,得到对应的目标图像,无需测试人员手动对页面中的视图进行截图操作,且可视化视图对应的异常编辑框;向测试平台发送异常处理请求,异常处理请求中包括目标图像和通过异常编辑框输入的异常描述文本,用于处理异常,简化了操作过程,从而提高了异常处理效率。This application provides methods, systems and equipment for handling page exceptions during client testing. During the client testing process, by integrating the test plug-in on the client, it is possible to automatically detect whether there are abnormalities in the client's page through the test plug-in. And when there is an exception in the page, the format conversion process is performed on the view in the page to obtain the corresponding target image. There is no need for the tester to manually take a screenshot of the view in the page, and the abnormal edit box corresponding to the visual view is visualized; to the tester The platform sends an exception handling request, which includes the target image and the exception description text entered through the exception edit box, which is used to handle exceptions, simplifying the operation process, thereby improving exception handling efficiency.
附图说明Description of drawings
为了更清楚地说明本申请或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in this application or the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are of the present invention. For some embodiments of the application, those of ordinary skill in the art can also obtain other drawings based on these drawings without exerting creative efforts.
图1为本申请实施例提供的一种客户端测试过程中页面异常的处理方法的流程示意图;Figure 1 is a schematic flow chart of a method for handling page exceptions during client testing provided by an embodiment of the present application;
图2为本申请实施例提供的一种页面异常处理的框架示意图;Figure 2 is a schematic framework diagram of page exception processing provided by an embodiment of the present application;
图3为本申请实施例提供的另一种客户端测试过程中页面异常的处理方法的流程示意图;Figure 3 is a schematic flow chart of another method for handling page exceptions during client testing provided by an embodiment of the present application;
图4为本申请实施例提供的一种终端设备的结构示意图;Figure 4 is a schematic structural diagram of a terminal device provided by an embodiment of the present application;
图5为本申请实施例提供的一种测试平台的结构示意图;Figure 5 is a schematic structural diagram of a test platform provided by an embodiment of the present application;
图6为本申请实施例提供的一种电子设备的实体结构示意图。FIG. 6 is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请中的附图,对本申请中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application. , not all examples. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.
在本申请的实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,其中A,B可以是单数或者复数。在本申请的文字描述中,字符“/”一般表示前后关联对象是一种“或”的关系。In the embodiments of this application, "at least one" refers to one or more, and "multiple" refers to two or more. "And/or" describes the relationship between associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. In the text description of this application, the character "/" generally indicates that the related objects are in an "or" relationship.
本申请实施例提供的技术方案可以应用于测试场景中。以客户端测试场景为例,目前,在客户端测试过程中,测试人员在发现客户端的页面存在异常时,手动对存在异常的页面中的视图进行截图操作,并将得到的图像和对应的异常问题描述,发送到电脑上;在电脑上登陆测试平台,并将图像和对应的异常问题描述上传至测试平台,以使测试平台处理异常。The technical solutions provided by the embodiments of this application can be applied in test scenarios. Take the client test scenario as an example. Currently, during the client test process, when the tester discovers an exception on the client page, he or she manually takes a screenshot of the view in the abnormal page and records the resulting image and the corresponding exception. Send the problem description to the computer; log in to the test platform on the computer, and upload the image and corresponding abnormal problem description to the test platform so that the test platform can handle the exception.
但是,采用现有的页面异常处理方法,操作过程比较繁琐,导致异常处理效率降低。However, using the existing page exception handling method, the operation process is relatively cumbersome, resulting in reduced exception handling efficiency.
为了可以有效地提高异常处理效率,本申请实施例提供一种客户端测试过程中页面异常的处理方法,在客户端测试过程中,通过在客户端上集成测试插件,使得可以通过测试插件自动检测客户端的页面中是否存在异常,并在页面中存在异常的情况下,对页面中的视图进行格式转换处理,得到对应的目标图像,无需测试人员手动对页面中的视图进行截图操作,且可以直接将目标图像和通过异常编辑框输入的异常描述文本发送给测试平台用于处理异常,简化了操作过程,从而提高了异常处理效率。In order to effectively improve the efficiency of exception handling, embodiments of the present application provide a method for handling page exceptions during client testing. During the client testing process, a test plug-in is integrated on the client, so that it can be automatically detected by the test plug-in. Whether there is an exception in the client page, and if there is an exception in the page, perform format conversion processing on the view in the page, and obtain the corresponding target image. There is no need for the tester to manually take screenshots of the view in the page, and it can be directly The target image and the exception description text entered through the exception edit box are sent to the test platform for handling exceptions, which simplifies the operation process and thereby improves exception handling efficiency.
下面,将通过下述几个具体的实施例对本申请提供的客户端测试过程中页面异常的处理方法进行详细地说明。可以理解的是,下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。Below, the method for handling page exceptions during client testing provided by this application will be described in detail through the following specific embodiments. It can be understood that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
图1为本申请实施例提供的一种客户端测试过程中页面异常的处理方法的流程示意图,该处理方法可以由软件和/或硬件装置执行,应用于终端设备,示例的,请参见图1所示,该客户端测试过程中页面异常的处理方法可以包括:Figure 1 is a schematic flow chart of a method for handling page exceptions during client testing provided by an embodiment of the present application. The processing method can be executed by software and/or hardware devices and applied to terminal equipment. For an example, see Figure 1 As shown, the methods for handling page exceptions during client testing can include:
S101、在客户端测试过程中,通过客户端中集成的测试插件,检测客户端的页面中是否存在异常,测试插件是基于客户端的类型和页面测试需求生成的。S101. During the client testing process, detect whether there are abnormalities in the client's page through the test plug-in integrated in the client. The test plug-in is generated based on the client type and page testing requirements.
示例地,客户端的类型可以为Android类型,也可以为ios类型,浏览器,或者小程序类型等,具体可以根据实际需要进行设置,在此,对于客户端的具体类型,本申请实施例不做进一步地限制。For example, the client type can be an Android type, an ios type, a browser, or an applet type, etc. The specific type can be set according to actual needs. Here, regarding the specific type of the client, the embodiment of this application will not go further. land restrictions.
可以理解的是,在本申请实施例中,页面测试需求可以理解为一些测试用例,用于实现对客户端的测试。It can be understood that in the embodiment of this application, the page test requirements can be understood as some test cases, used to implement testing of the client.
在本申请实施例中,正是因为在客户端中集成了测试插件,使得后续可以通过测试插件,检测客户端的页面中是否存在异常,并在页面中存在异常的情况下,对页面中的视图进行格式转换处理,得到对应的目标图像,无需测试人员手动对页面中的视图进行截图操作,而且可以直接将目标图像和通过异常编辑框输入的异常描述文本发送给测试平台用于处理异常,简化了操作过程,从而提高了异常处理效率。In the embodiment of this application, it is precisely because the test plug-in is integrated in the client that the test plug-in can be used to detect whether there is an abnormality in the client's page, and if there is an exception in the page, the view in the page Perform format conversion processing to obtain the corresponding target image. There is no need for testers to manually take screenshots of the views on the page, and the target image and the exception description text input through the exception edit box can be directly sent to the test platform for handling exceptions, simplifying The operation process is simplified, thereby improving the efficiency of exception handling.
其中,测试插件是一种用于测试客户端或应用程序的工具,它可以帮助开发人员检测代码中的错误、漏洞和性能问题。测试插件通常与集成开发环境(IDE)或测试框架一起使用,可以自动化执行测试用例、生成测试报告和分析测试结果。Among them, a test plug-in is a tool for testing clients or applications, which can help developers detect errors, vulnerabilities, and performance issues in the code. Test plug-ins are typically used with an integrated development environment (IDE) or testing framework to automate the execution of test cases, generate test reports, and analyze test results.
测试插件可以提供各种测试功能,例如单元测试、集成测试、性能测试、安全测试等,可以检测代码中的语法错误、逻辑错误、内存泄漏、安全问题等,并提供详细的错误信息和建议。Test plug-ins can provide various testing functions, such as unit testing, integration testing, performance testing, security testing, etc., can detect syntax errors, logic errors, memory leaks, security issues, etc. in the code, and provide detailed error information and suggestions.
示例地,常见的测试插件包括JUnit测试插件、Selenium测试插件、或者Appium测试插件等。For example, common test plug-ins include JUnit test plug-in, Selenium test plug-in, or Appium test plug-in, etc.
示例地,在本申请实施例中,通过测试插件检测客户端的页面中是否存在异常时,可以通过测试插件,检测页面中的视图是否存在异常;和/或,通过测试插件,检测客户端在显示页面同时,是否存在客户端异常信息,从而实现对客户端的页面的检测。For example, in the embodiment of the present application, when the test plug-in is used to detect whether there is an abnormality in the client's page, the test plug-in can be used to detect whether the view in the page is abnormal; and/or the test plug-in can be used to detect whether the client is displaying an abnormality. At the same time, the page checks whether there is any client-side abnormal information, so as to detect the client's page.
示例地,在通过检测页面中的视图,确定客户端的页面中是否存在异常时,若检测到页面中的视图未存在异常,则可以确定页面未存在异常;若检测到页面中的视图存在异常,则可以确定页面存在异常;类似的,在通过检测客户端在显示页面同时,是否存在客户端异常信息,确定客户端的页面中是否存在异常时,若检测到客户端在显示页面同时,未存在客户端异常信息,则可以确定页面未存在异常;若检测到客户端在显示页面同时,存在客户端异常信息,则可以确定页面存在异常。For example, when determining whether there is an exception in the client's page by detecting the view in the page, if it is detected that there is no exception in the view in the page, it can be determined that there is no exception in the page; if it is detected that there is an exception in the view in the page, It can be determined that there is an abnormality in the page; similarly, when determining whether there is an abnormality in the client's page by detecting whether there is client exception information while the client is displaying the page, if it is detected that there is no client while the client is displaying the page. If the client abnormal information is detected, it can be determined that there is no abnormality on the page; if it is detected that the client has client abnormal information while displaying the page, it can be determined that the page is abnormal.
在通过测试插件确定客户端的页面中未存在异常时,可以继续执行后续的其他相关测试操作;在通过测试插件确定客户端的页面中存在异常时,可以执行下述S102:When it is determined through the test plug-in that there is no exception in the client's page, you can continue to perform other subsequent related test operations; when it is determined through the test plug-in that there is an exception in the client's page, you can perform the following S102:
S102、在页面中存在异常的情况下,通过测试插件对页面中的视图进行格式转换处理,得到视图对应的目标图像;并可视化视图对应的异常编辑框。S102. When there is an exception in the page, perform format conversion processing on the view in the page through the test plug-in to obtain the target image corresponding to the view; and visualize the abnormal edit box corresponding to the view.
在本申请实施例中,在页面中存在异常的情况下,通过测试插件对页面中的视图进行格式转换处理,得到视图对应的目标图像,无需测试人员手动对页面中的视图进行截图操作,可以实现自动获取视频的图像,提高了图像的获取效率。In the embodiment of this application, when there is an abnormality in the page, the test plug-in performs format conversion processing on the view in the page to obtain the target image corresponding to the view. There is no need for the tester to manually screenshot the view in the page. Realize automatic acquisition of video images and improve image acquisition efficiency.
在对视图进行格式转换处理得到对应的目标图像后,还可以可视化该视图对应的异常编辑框,该异常编辑框用于测试人员编辑输入异常问题对应的异常描述文本,这样对于终端设备而言,在客户端的页面存在异常时,就可以获取到异常页面中视图对应的目标图像,和异常问题对应的异常描述文本。After format conversion processing is performed on the view to obtain the corresponding target image, the exception editing box corresponding to the view can also be visualized. The exception editing box is used by the tester to edit and input the exception description text corresponding to the abnormal problem, so that for the terminal device, When there is an exception on the client page, you can obtain the target image corresponding to the view in the abnormal page and the exception description text corresponding to the abnormal problem.
S103、向测试平台发送异常处理请求,异常处理请求中包括目标图像和通过异常编辑框输入的异常描述文本,异常处理请求用于请求测试平台基于目标图像和异常描述文本处理异常。S103. Send an exception processing request to the test platform. The exception processing request includes the target image and the exception description text input through the exception edit box. The exception processing request is used to request the test platform to handle the exception based on the target image and the exception description text.
示例地,测试平台可以为jira测试平台,也可以为其他测试平台,例如,禅道测试平台等,具体可以根据实际需要进行设置。For example, the test platform can be the jira test platform, or other test platforms, such as ZenTao test platform, etc., which can be set according to actual needs.
可以看出,本申请实施例中,在客户端测试过程中,通过在客户端上集成测试插件,使得可以通过测试插件自动检测客户端的页面中是否存在异常,并在页面中存在异常的情况下,对页面中的视图进行格式转换处理,得到对应的目标图像,无需测试人员手动对页面中的视图进行截图操作,且可以直接将目标图像和通过异常编辑框输入的异常描述文本发送给测试平台用于处理异常,简化了操作过程,从而提高了异常处理效率。It can be seen that in the embodiment of the present application, during the client testing process, by integrating the test plug-in on the client, it is possible to automatically detect whether there is an abnormality in the page of the client through the test plug-in, and when there is an abnormality in the page , perform format conversion processing on the views on the page to obtain the corresponding target image. There is no need for testers to manually take screenshots of the views on the page, and the target image and the exception description text input through the exception edit box can be directly sent to the test platform. Used to handle exceptions, simplifying the operation process and thereby improving exception handling efficiency.
基于上述图1所示的实施例,示例地,在本申请实施例中,终端设备通过异常处理请求,请求测试平台处理异常时,异常处理请求中除了包括目标图像和异常描述文本之外,还可以包括视图对应的客户端访问请求和页面的堆栈信息;示例地,还可以包括客户端异常信息等,具体可以根据实际需要进行设置。Based on the embodiment shown in Figure 1 above, for example, in the embodiment of the present application, when the terminal device requests the test platform to handle an exception through an exception processing request, the exception processing request includes in addition to the target image and exception description text, It can include the client access request corresponding to the view and the stack information of the page; for example, it can also include client exception information, etc., which can be set according to actual needs.
以异常处理请求中除了包括目标图像和异常描述文本之外,还可以包括视图对应的客户端访问请求和页面的堆栈信息为例,对应的,测试平台可以基于目标图像、异常描述文本、客户端访问请求和页面的堆栈信息,这四种信息共同处理异常,使得开发人员可以更好地理解和调试程序,从而可以更好地处理异常。Take the exception handling request as an example, in addition to the target image and exception description text, it can also include the client access request corresponding to the view and the stack information of the page. Correspondingly, the test platform can be based on the target image, exception description text, client Access request and page stack information. These four types of information work together to handle exceptions, allowing developers to better understand and debug the program, so they can better handle exceptions.
其中,堆栈信息是指在程序运行过程中,程序内部的变量和函数调用的相关信息,这些相关信息被存储在堆栈中,用于支持程序的执行和调试。Among them, stack information refers to information related to variables and function calls inside the program during the running of the program. This related information is stored in the stack to support program execution and debugging.
示例地,在本申请实施例中,堆栈信息主要包括下述几个方面:For example, in the embodiment of this application, the stack information mainly includes the following aspects:
函数调用栈:记录当前正在执行的函数调用链。每个函数调用都会在堆栈上创建一个新的栈帧,用于存储该函数的局部变量、参数等信息。通过查看函数调用栈,可以了解程序执行的流程和上下文。Function call stack: records the function call chain currently being executed. Each function call creates a new stack frame on the stack to store the function's local variables, parameters and other information. By looking at the function call stack, you can understand the flow and context of program execution.
局部变量:在函数内部定义的变量会被存储在堆栈上。这些变量只在该函数内部可见,并且当函数返回时会被销毁。通过查看局部变量,可以了解函数内部的状态和操作。Local variables: Variables defined inside a function are stored on the stack. These variables are only visible inside the function and are destroyed when the function returns. By looking at local variables, you can understand the state and operations inside a function.
返回地址:在函数调用时,会将返回地址压入堆栈。当函数返回时,程序会从堆栈中弹出返回地址,并跳转到该地址继续执行。通过查看返回地址,可以了解函数调用的结束位置。Return address: When a function is called, the return address is pushed onto the stack. When the function returns, the program pops the return address from the stack and jumps to that address to continue execution. You can tell where a function call ends by looking at the return address.
参数和函数指针:在函数调用时,会将参数和函数指针压入堆栈。这些信息用于支持函数的执行和回调。通过查看参数和函数指针,可以了解函数的输入和输出,以及函数之间的交互方式。Parameters and function pointers: When a function is called, parameters and function pointers are pushed onto the stack. This information is used to support function execution and callbacks. By looking at parameters and function pointers, you can learn about a function's inputs and outputs, and how functions interact with each other.
可以理解的是,在测试过程中,通过查看堆栈信息,可以了解程序当前的执行状态、调用链以及可能的错误来源。在一些高级语言中,调试器通常会提供查看堆栈信息的功能,以便开发人员更好地理解和调试程序。It is understandable that during the test process, by viewing the stack information, you can understand the current execution status of the program, the call chain, and possible sources of errors. In some high-level languages, debuggers usually provide the function of viewing stack information so that developers can better understand and debug the program.
基于上述图1所示的实施例,终端设备通过客户端中集成的测试插件,检测到客户端的页面中存在异常的情况下,对页面中的视图进行格式转换处理,得到对应的目标图像,并向测试平台发送异常处理请求,示例地,可参见图2所示,图2为本申请实施例提供的一种页面异常处理的框架示意图,异常处理请求中包括目标图像和异常描述文本,对应的,测试平台在接收到异常处理请求后,可以对异常进行处理,其具体实现可参见下述图3所示的实施例。Based on the embodiment shown in Figure 1 above, when the terminal device detects an abnormality in the client's page through the test plug-in integrated in the client, it performs format conversion processing on the view in the page to obtain the corresponding target image, and Send an exception handling request to the test platform. For example, see Figure 2. Figure 2 is a schematic framework diagram of a page exception handling provided by an embodiment of the present application. The exception handling request includes a target image and an exception description text, corresponding to , after receiving the exception handling request, the test platform can handle the exception. For its specific implementation, please refer to the embodiment shown in Figure 3 below.
示例地,测试平台可以为jira测试平台,也可以为其他测试平台,例如,禅道测试平台等,具体可以根据实际需要进行设置。For example, the test platform can be the jira test platform, or other test platforms, such as ZenTao test platform, etc., which can be set according to actual needs.
图3为本申请实施例提供的另一种客户端测试过程中页面异常的处理方法的流程示意图,该处理方法同样可以由软件和/或硬件装置执行,应用于测试平台,示例的,请参见图3所示,该客户端测试过程中页面异常的处理方法可以包括:Figure 3 is a schematic flowchart of another method for handling page exceptions during client testing provided by the embodiment of the present application. This processing method can also be executed by software and/or hardware devices and applied to the test platform. For examples, see As shown in Figure 3, the page exception handling method during the client test process may include:
S301、接收终端设备发送的异常处理请求,异常处理请求中包括目标图像和异常描述文本。S301. Receive an exception handling request sent by the terminal device. The exception handling request includes the target image and the exception description text.
其中,目标图像为客户端测试过程中,通过客户端中集成的测试插件,检测到客户端的页面中存在异常的情况下,通过测试插件对页面中的视图进行格式转换处理得到的图像,异常描述文本为在页面中存在异常的情况下,通过视图对应的异常编辑框输入的文本,测试插件是基于客户端的类型和页面测试需求生成的。Among them, the target image is the image obtained by format conversion processing of the view in the page through the test plug-in integrated in the client when an abnormality is detected in the client page during the client testing process, and the exception description The text is the text entered through the exception edit box corresponding to the view when there is an exception on the page. The test plug-in is generated based on the client type and page testing requirements.
S302、基于目标图像和异常描述文本处理异常。S302. Process the exception based on the target image and the exception description text.
可以看出,本申请实施例中,测试平台通过接收终端设备发送的异常处理请求,异常处理请求中包括目标图像和异常描述文本;其中,目标图像是测试插件自动检测客户端的页面中存在异常的情况下,对页面中的视图进行格式转换处理得到的,无需测试人员手动对页面中的视图进行截图操作,且可以直接将目标图像和通过异常编辑框输入的异常描述文本携带在异常处理请求中发送给测试平台,使得测试平台可以基于目标图像和异常描述文本处理异常,简化了操作过程,从而提高了异常处理效率。It can be seen that in the embodiment of the present application, the test platform receives an exception handling request sent by the terminal device. The exception handling request includes a target image and an exception description text; where the target image is the test plug-in that automatically detects the presence of exceptions in the client's page. In this case, it is obtained by format conversion processing of the view in the page. There is no need for the tester to manually take a screenshot of the view in the page, and the target image and the exception description text input through the exception edit box can be directly carried in the exception handling request. Send it to the test platform so that the test platform can handle exceptions based on the target image and exception description text, simplifying the operation process and thereby improving exception handling efficiency.
基于上述图2所示的实施例,示例地,异常处理请求中除了包括目标图像和异常描述文本之外,还可以包括视图对应的客户端访问请求和页面的堆栈信息,此外,还可以包括客户端异常信息等,具体可以根据实际需要进行设置。Based on the embodiment shown in Figure 2 above, for example, in addition to the target image and the exception description text, the exception handling request may also include the client access request corresponding to the view and the stack information of the page. In addition, it may also include the client Terminal exception information, etc. can be set according to actual needs.
示例地,当异常处理请求中还包括视图对应的客户端访问请求和页面的堆栈信息时,对应的,测试平台可以基于目标图像、异常描述文本、客户端访问请求和页面的堆栈信息,这四种信息共同处理异常,使得开发人员可以更好地理解和调试程序,从而可以更好地处理异常。For example, when the exception handling request also includes the client access request corresponding to the view and the stack information of the page, correspondingly, the test platform can be based on the target image, the exception description text, the client access request, and the stack information of the page. This information works together to handle exceptions, allowing developers to better understand and debug programs, so they can better handle exceptions.
示例地,在本申请实施例中,测试平台基于目标图像、异常描述文本、客户端访问请求和页面的堆栈信息,共同处理异常时,可以基于目标图像、异常描述文本和页面的堆栈信息,从预设的解决方案库中确定第一解决方案;并基于客户端访问请求,从解决方案库中确定第二解决方案;再基于第一解决方案和第二解决方案,处理异常。For example, in the embodiment of the present application, the test platform is based on the target image, the exception description text, the client access request and the stack information of the page. When jointly processing the exception, the test platform can be based on the target image, the exception description text and the stack information of the page, from Determine the first solution from the preset solution library; determine the second solution from the solution library based on the client access request; and then handle the exception based on the first solution and the second solution.
其中,预设的解决方案中包括可以包括多种异常和各异常对应的解决方案。Among them, the preset solutions may include multiple exceptions and solutions corresponding to each exception.
示例地,测试平台基于目标图像、异常描述文本和页面的堆栈信息,从预设的解决方案库中确定第一解决方案时,可以通过人工智能分析目标图像、异常描述文本和页面的堆栈信息,并基于分析结果从预设的解决方案库中,查找与目标图像、异常描述文本和页面的堆栈信息匹配的异常,并将匹配的异常对应的解决方案,确定为第一解决方案。For example, when the test platform determines the first solution from the preset solution library based on the target image, the exception description text, and the stack information of the page, it can analyze the target image, the exception description text, and the stack information of the page through artificial intelligence. Based on the analysis results, exceptions that match the target image, exception description text, and page stack information are searched from the preset solution library, and the solution corresponding to the matching exception is determined as the first solution.
示例地,测试平台基于客户端访问请求,从解决方案库中确定第二解决方案时,同样可以采用人工智能分析客户端访问请求,并基于分析结果从预设的解决方案库中,查找与客户端访问请求匹配的异常,并将匹配的异常对应的解决方案,确定为第二解决方案。For example, when the test platform determines the second solution from the solution library based on the client access request, it can also use artificial intelligence to analyze the client access request, and based on the analysis results, find the solution that matches the customer from the preset solution library. The end access request matches the exception, and determines the solution corresponding to the matched exception as the second solution.
结合上述描述,基于目标图像、异常描述文本、客户端访问请求和页面的堆栈信息,确定出第一解决方案和第二解决方案。在确定出第一解决方案和第二解决方案后,可以直接将第一解决方案和第二解决方案发送给处理页面异常的目标对象,以为目标对象处理该页面异常提供参考。Combined with the above description, the first solution and the second solution are determined based on the target image, exception description text, client access request, and page stack information. After the first solution and the second solution are determined, the first solution and the second solution can be directly sent to the target object that handles the page exception to provide a reference for the target object to handle the page exception.
为了可以进一步提高与页面异常更匹配的解决方案,示例地,在基于目标图像、异常描述文本、客户端访问请求和页面的堆栈信息,确定出第一解决方案和第二解决方案后,还可以基于第一解决方案和第二解决方案各自对应的优先级,从第一解决方案和第二解决方案中确定预设数量个目标解决方案;其中,第二解决方案的优先级高于第一解决方案;并基于预设的页面与候选对象之间的映射关系,向页面对应的目标对象的终端发送目标解决方案,目标解决方案用于处理异常。In order to further improve the solution that better matches the page exception, for example, after determining the first solution and the second solution based on the target image, the exception description text, the client access request and the stack information of the page, you can also Based on the corresponding priorities of the first solution and the second solution, a preset number of target solutions are determined from the first solution and the second solution; wherein the second solution has a higher priority than the first solution plan; and based on the preset mapping relationship between the page and the candidate object, send the target solution to the terminal of the target object corresponding to the page, and the target solution is used to handle exceptions.
其中,预设数量的取值可以根据实际需要进行设置,例如,优先级最高的前3个解决方案,作为目标解决方案;或者,优先级最高的前5个解决方案,作为目标解决方案等,具体可以根据实际需要进行设置。Among them, the value of the preset number can be set according to actual needs. For example, the top 3 solutions with the highest priority are used as target solutions; or the top 5 solutions with the highest priority are used as the target solution, etc. The specific settings can be made according to actual needs.
需要说明的是,在本申请实施例中,优先级越高,说明其对应的解决方案与页面异常更的匹配越高;优先级越低,说明其对应的解决方案与页面异常更的匹配越低。It should be noted that in the embodiment of the present application, the higher the priority, the better the match between the corresponding solution and the page anomaly; the lower the priority, the better the match between the corresponding solution and the page anomaly. Low.
在确定出目标解决方案后,可以将目标解决方案发送给处理页面异常的目标对象。示例地,在本申请实施例中,通过预设面与候选对象之间的映射关系,使得可以直接基于该映射关系确定用于处理页面异常的目标对象,并将目标解决方案发送给处理页面异常的目标对象的终端,以为目标对象处理该页面异常提供参考。After the target solution is determined, the target solution can be sent to the target object that handles the page exception. For example, in the embodiment of the present application, by presetting the mapping relationship between the surface and the candidate object, the target object for handling the page exception can be determined directly based on the mapping relationship, and the target solution is sent to the page exception processing unit. The terminal of the target object provides a reference for the target object to handle exceptions on this page.
示例地,在本申请实施例中,将目标解决方案发送给处理页面异常的目标对象的终端时,可以通过即时通讯软件,将目标解决方案发送给处理页面异常的目标对象的终端,以使目标终端可以及时获知异常页面。For example, in the embodiment of the present application, when the target solution is sent to the terminal of the target object that handles the page exception, the target solution can be sent to the terminal of the target object that handles the page exception through instant messaging software, so that the target The terminal can learn the abnormal page in time.
示例地,即时通信软件可以为钉钉,也可以为微信等,具体可以根据实际需要进行设置。For example, the instant messaging software can be DingTalk, WeChat, etc., and can be set according to actual needs.
可以理解的是,在本申请实施例中,当在预设的解决方案库中未查找到与页面异常匹配的解决方案时,还可以通过网络爬虫的方式,全网搜索与页面异常匹配的解决方案,并将搜索到的解决方案发送给处理页面异常的目标对象,以为目标对象处理该页面异常提供参数。另外,在目标对象解决该页面异常后,也可以将该页面异常对应的解决方案存储至解决方案库中,以为后续处理类似的页面异常提供参考。It can be understood that in the embodiment of the present application, when no solution matching the page exception is found in the preset solution library, the entire network can also be searched for solutions matching the page exception through a web crawler. Solution, and sends the searched solution to the target object that handles the page exception to provide parameters for the target object to handle the page exception. In addition, after the target object solves the page exception, the solution corresponding to the page exception can also be stored in the solution library to provide a reference for subsequent processing of similar page exceptions.
示例地,在本申请实施例中,为了便于测试人员及时了解异常的处理情况,测试平台还可以基于目标对象的待处理任务的任务等级和待处理任务所需的处理时间,确定异常对应的处理时间;并向终端设备发送异常对应的处理时间。For example, in the embodiment of the present application, in order to facilitate the tester to understand the processing situation of the exception in a timely manner, the test platform can also determine the processing corresponding to the exception based on the task level of the target object's task to be processed and the processing time required for the task to be processed. time; and send the processing time corresponding to the exception to the terminal device.
其中,任务等级越高,对应的处理优先级越高;任务等级越低,对应的处理优先级越低。Among them, the higher the task level, the higher the corresponding processing priority; the lower the task level, the lower the corresponding processing priority.
示例地,在本申请实施例中,任务等级可以基于任务的紧急程度和重要程度设置,具体可以根据实际需要进行设置,在此,对于任务等级的确定因素,本申请实施例不做进一步地限制。For example, in the embodiment of the present application, the task level can be set based on the urgency and importance of the task, and can be set according to actual needs. Here, the embodiment of the present application does not further limit the factors that determine the task level. .
这样通过向终端设备发送异常对应的处理时间,使得测试人员可以及时了解异常的处理情况,此外,测试平台还可以向终端设备发送目标对象的工位信息,使得测试人员可以基于目标对象的工位信息,快速找到目标对象,使得测试人员和目标对象可以面对面沟通异常情况,从而解决页面异常问题。In this way, by sending the processing time corresponding to the exception to the terminal device, the tester can promptly understand the processing situation of the exception. In addition, the test platform can also send the workstation information of the target object to the terminal device, so that the tester can based on the workstation of the target object. Information, quickly find the target object, so that the tester and the target object can communicate face-to-face about the abnormal situation, thereby solving the page abnormality problem.
图4为本申请实施例提供的一种终端设备的结构示意图,所述终端设备上集成有待测试的客户端,示例的,请参见图4所示,该终端设备40可以包括:Figure 4 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. The terminal device is integrated with a client to be tested. For an example, please refer to Figure 4. The terminal device 40 may include:
检测单元401,用于在所述客户端测试过程中,通过所述客户端中集成的测试插件,检测所述客户端的页面中是否存在异常,所述测试插件是基于所述客户端的类型和页面测试需求生成的;The detection unit 401 is used to detect whether there is an abnormality in the page of the client through the test plug-in integrated in the client during the client testing process. The test plug-in is based on the type and page of the client. Test requirements are generated;
处理单元402,用于在所述页面中存在异常的情况下,通过所述测试插件对所述页面中的视图进行格式转换处理,得到所述视图对应的目标图像;并可视化所述视图对应的异常编辑框;The processing unit 402 is configured to perform format conversion processing on the views in the page through the test plug-in when there is an abnormality in the page, to obtain the target image corresponding to the view; and to visualize the image corresponding to the view. Exception edit box;
发送单元403,用于向测试平台发送异常处理请求,所述异常处理请求中包括所述目标图像和通过所述异常编辑框输入的异常描述文本,所述异常处理请求用于请求所述测试平台基于所述目标图像和所述异常描述文本处理所述异常。Sending unit 403, configured to send an exception handling request to the test platform. The exception handling request includes the target image and the exception description text input through the exception edit box. The exception handling request is used to request the test platform. The exception is processed based on the target image and the exception description text.
示例地,在本申请实施例中,所述检测单元401,用于通过所述客户端中集成的测试插件,检测所述客户端的页面中是否存在异常,包括:By way of example, in this embodiment of the present application, the detection unit 401 is configured to detect whether there is an abnormality in the page of the client through the test plug-in integrated in the client, including:
通过所述测试插件,检测所述页面中的视图是否存在异常;Use the test plug-in to detect whether there are abnormalities in the views on the page;
和/或,and / or,
通过所述测试插件,检测所述客户端在显示所述页面同时,是否存在所述客户端异常信息。Through the test plug-in, it is detected whether the client has abnormal information while displaying the page.
示例地,在本申请实施例中,所述异常处理请求还包括所述视图对应的客户端访问请求和所述页面的堆栈信息;For example, in this embodiment of the present application, the exception handling request also includes the client access request corresponding to the view and the stack information of the page;
对应的,corresponding,
所述异常处理请求用于请求所述测试平台基于所述目标图像、所述异常描述文本、所述客户端访问请求和所述页面的堆栈信息处理所述异常。The exception handling request is used to request the testing platform to process the exception based on the target image, the exception description text, the client access request, and the stack information of the page.
本申请实施例提供的终端设备40,可以执行上述任一实施例中终端设备40侧的客户端测试过程中页面异常的处理方法的技术方案,其实现原理及有益效果与客户端测试过程中页面异常的处理方法的实现原理及有益效果类似,可参见客户端测试过程中页面异常的处理方法的实现原理及有益效果,此处不再进行赘述。The terminal device 40 provided by the embodiment of the present application can execute the technical solution of the page exception handling method during the client test on the terminal device 40 side in any of the above embodiments. Its implementation principle and beneficial effects are the same as those in the client test process. The implementation principles and beneficial effects of exception handling methods are similar. Please refer to the implementation principles and beneficial effects of page exception handling methods during client testing, which will not be described again here.
图5为本申请实施例提供的一种测试平台的结构示意图,示例的,请参见图5所示,该测试平台50可以包括:Figure 5 is a schematic structural diagram of a test platform provided by an embodiment of the present application. For an example, please refer to Figure 5. The test platform 50 may include:
接收单元501,用于接收终端设备发送的异常处理请求,所述异常处理请求中包括目标图像和异常描述文本;其中,所述目标图像为所述客户端测试过程中,通过所述客户端中集成的测试插件,检测到所述客户端的页面中存在异常的情况下,通过所述测试插件对所述页面中的视图进行格式转换处理得到的图像,所述异常描述文本为在所述页面中存在异常的情况下,通过所述视图对应的异常编辑框输入的文本,所述测试插件是基于所述客户端的类型和页面测试需求生成的;The receiving unit 501 is configured to receive an exception handling request sent by a terminal device, where the exception handling request includes a target image and an exception description text; wherein the target image is the object passed through the client during the client testing process. The integrated test plug-in detects an abnormality in the client's page and uses the test plug-in to convert the format of the view on the page into an image. The abnormal description text is in the page. In the case of an exception, the test plug-in is generated based on the type of the client and the page testing requirements through the text entered in the exception edit box corresponding to the view;
处理单元502,用于基于所述目标图像和所述异常描述文本处理所述异常。The processing unit 502 is configured to process the exception based on the target image and the exception description text.
示例地,在本申请实施例中,所述异常处理请求还包括所述视图对应的客户端访问请求和所述页面的堆栈信息,所述处理单元502,用于基于所述目标图像和所述异常描述文本处理所述异常,包括:For example, in this embodiment of the present application, the exception handling request also includes the client access request corresponding to the view and the stack information of the page, and the processing unit 502 is configured to based on the target image and the The exception description text handles the exception, including:
基于所述目标图像、所述异常描述文本、所述客户端访问请求和所述页面的堆栈信息,处理所述异常。The exception is processed based on the target image, the exception description text, the client access request, and the stack information of the page.
示例地,在本申请实施例中,所述处理单元502,用于基于所述目标图像、所述异常描述文本、所述客户端访问请求和所述页面的堆栈信息,处理所述异常,包括:For example, in the embodiment of the present application, the processing unit 502 is configured to process the exception based on the target image, the exception description text, the client access request, and the stack information of the page, including :
基于所述目标图像、所述异常描述文本和所述页面的堆栈信息,从预设的解决方案库中确定第一解决方案;Determine a first solution from a preset solution library based on the target image, the exception description text, and the stack information of the page;
基于所述客户端访问请求,从所述解决方案库中确定第二解决方案;determining a second solution from the solution library based on the client access request;
基于所述第一解决方案和所述第二解决方案,处理所述异常。Based on the first solution and the second solution, the exception is handled.
示例地,在本申请实施例中,所述处理单元502,用于基于所述第一解决方案和所述第二解决方案,处理所述异常,包括:By way of example, in this embodiment of the present application, the processing unit 502 is configured to process the exception based on the first solution and the second solution, including:
基于所述第一解决方案和所述第二解决方案各自对应的优先级,从所述第一解决方案和所述第二解决方案中确定预设数量个目标解决方案;其中,所述第二解决方案的优先级高于所述第一解决方案;Based on the respective priorities of the first solution and the second solution, a preset number of target solutions are determined from the first solution and the second solution; wherein, the second solution A solution with a higher priority than said first solution;
基于预设的页面与候选对象之间的映射关系,向所述页面对应的目标对象的终端发送所述目标解决方案,所述目标解决方案用于处理所述异常。Based on the preset mapping relationship between the page and the candidate object, the target solution is sent to the terminal of the target object corresponding to the page, and the target solution is used to handle the exception.
示例地,在本申请实施例中,所述测试平台50还包括确定单元和发送单元;For example, in the embodiment of the present application, the test platform 50 also includes a determining unit and a sending unit;
所述确定单元,用于基于所述目标对象的待处理任务的任务等级和所述待处理任务所需的处理时间,确定所述异常对应的处理时间;The determining unit is configured to determine the processing time corresponding to the exception based on the task level of the task to be processed of the target object and the processing time required for the task to be processed;
所述发送单元,用于向所述终端设备发送所述异常对应的处理时间。The sending unit is configured to send the processing time corresponding to the exception to the terminal device.
本申请实施例提供的测试平台50,可以执行上述任一实施例中测试平台50侧的客户端测试过程中页面异常的处理方法的技术方案,其实现原理及有益效果与客户端测试过程中页面异常的处理方法的实现原理及有益效果类似,可参见客户端测试过程中页面异常的处理方法的实现原理及有益效果,此处不再进行赘述。The test platform 50 provided by the embodiment of the present application can implement the technical solution of the page exception handling method during the client test on the test platform 50 side in any of the above embodiments. Its implementation principle and beneficial effects are the same as those in the client test process. The implementation principles and beneficial effects of exception handling methods are similar. Please refer to the implementation principles and beneficial effects of page exception handling methods during client testing, which will not be described again here.
本申请实施例还提供一种客户端测试过程中页面异常的处理系统,包括终端设备和测试平台,所述终端设备上集成有待测试的客户端;Embodiments of the present application also provide a system for handling page exceptions during client testing, including a terminal device and a test platform, and the terminal device is integrated with a client to be tested;
其中,所述终端设备,用于在所述客户端测试过程中,通过所述客户端中集成的测试插件,检测所述客户端的页面中是否存在异常,所述测试插件是基于所述客户端的类型和页面测试需求生成的;在所述页面中存在异常的情况下,通过所述测试插件对所述页面中的视图进行格式转换处理,得到所述视图对应的目标图像;并可视化所述视图对应的异常编辑框;向测试平台发送异常处理请求,所述异常处理请求中包括所述目标图像和通过所述异常编辑框输入的异常描述文本;Wherein, the terminal device is used to detect whether there is an abnormality in the page of the client through a test plug-in integrated in the client during the client testing process, and the test plug-in is based on the client. Type and page test requirements are generated; when there is an exception in the page, the test plug-in performs format conversion processing on the view in the page to obtain the target image corresponding to the view; and visualizes the view The corresponding exception editing box; sends an exception processing request to the test platform, where the exception processing request includes the target image and the exception description text input through the exception editing box;
所述测试平台,用于基于所述目标图像和所述异常描述文本处理所述异常。The test platform is used to process the exception based on the target image and the exception description text.
本申请实施例提供的客户端测试过程中页面异常的处理系统,可以执行上述任一实施例中客户端测试过程中页面异常的处理方法的技术方案,其实现原理及有益效果与客户端测试过程中页面异常的处理方法的实现原理及有益效果类似,可参见客户端测试过程中页面异常的处理方法的实现原理及有益效果,此处不再进行赘述。The system for handling page exceptions during client testing provided by the embodiments of this application can implement the technical solution of the method for handling page exceptions during client testing in any of the above embodiments. Its implementation principles and beneficial effects are consistent with the client testing process. The implementation principles and beneficial effects of page exception handling methods are similar. Please refer to the implementation principles and beneficial effects of page exception handling methods during client testing, which will not be described again here.
图6为本申请实施例提供的一种电子设备的实体结构示意图,如图6所示,该电子设备可以包括:处理器(processor)610、通信接口(Communications Interface)620、存储器(memory)630和通信总线640,其中,处理器610,通信接口620,存储器630通过通信总线640完成相互间的通信。处理器610可以调用存储器630中的逻辑指令,以执行客户端测试过程中页面异常的处理方法,该方法包括:在所述客户端测试过程中,通过所述客户端中集成的测试插件,检测所述客户端的页面中是否存在异常,所述测试插件是基于所述客户端的类型和页面测试需求生成的;在所述页面中存在异常的情况下,通过所述测试插件对所述页面中的视图进行格式转换处理,得到所述视图对应的目标图像;并可视化所述视图对应的异常编辑框;向测试平台发送异常处理请求,所述异常处理请求中包括所述目标图像和通过所述异常编辑框输入的异常描述文本,所述异常处理请求用于请求所述测试平台基于所述目标图像和所述异常描述文本处理所述异常。Figure 6 is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present application. As shown in Figure 6, the electronic device may include: a processor (processor) 610, a communications interface (Communications Interface) 620, and a memory (memory) 630 and a communication bus 640, wherein the processor 610, the communication interface 620, and the memory 630 complete communication with each other through the communication bus 640. The processor 610 can call logical instructions in the memory 630 to execute a method for handling page exceptions during client testing. The method includes: during the client testing process, detecting through a test plug-in integrated in the client. Whether there is an exception in the client's page, the test plug-in is generated based on the type of the client and the page testing requirements; if there is an exception in the page, the test plug-in is used to test the page The view performs format conversion processing to obtain the target image corresponding to the view; and visualizes the exception editing box corresponding to the view; sends an exception processing request to the test platform, the exception processing request includes the target image and the exception through The exception description text entered in the edit box, the exception handling request is used to request the test platform to process the exception based on the target image and the exception description text.
或者,接收终端设备发送的异常处理请求,所述异常处理请求中包括目标图像和异常描述文本;其中,所述目标图像为所述客户端测试过程中,通过所述客户端中集成的测试插件,检测到所述客户端的页面中存在异常的情况下,通过所述测试插件对所述页面中的视图进行格式转换处理得到的图像,所述异常描述文本为在所述页面中存在异常的情况下,通过所述视图对应的异常编辑框输入的文本,所述测试插件是基于所述客户端的类型和页面测试需求生成的;基于所述目标图像和所述异常描述文本处理所述异常。Or, receive an exception handling request sent by the terminal device, the exception handling request includes a target image and an exception description text; wherein the target image is a test plug-in integrated in the client during the client testing process. , when an abnormality is detected in the client's page, the image obtained by format conversion processing of the view in the page is performed by the test plug-in, and the abnormal description text is the abnormality in the page. Next, through the text input in the exception edit box corresponding to the view, the test plug-in is generated based on the type of the client and the page testing requirements; the exception is processed based on the target image and the exception description text.
此外,上述的存储器630中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above-mentioned logical instructions in the memory 630 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code. .
另一方面,本申请还提供一种计算机程序产品,所述计算机程序产品包括计算机程序,计算机程序可存储在非暂态计算机可读存储介质上,所述计算机程序被处理器执行时,计算机能够执行上述各方法所提供的客户端测试过程中页面异常的处理方法,该方法包括:在所述客户端测试过程中,通过所述客户端中集成的测试插件,检测所述客户端的页面中是否存在异常,所述测试插件是基于所述客户端的类型和页面测试需求生成的;在所述页面中存在异常的情况下,通过所述测试插件对所述页面中的视图进行格式转换处理,得到所述视图对应的目标图像;并可视化所述视图对应的异常编辑框;向测试平台发送异常处理请求,所述异常处理请求中包括所述目标图像和通过所述异常编辑框输入的异常描述文本,所述异常处理请求用于请求所述测试平台基于所述目标图像和所述异常描述文本处理所述异常。On the other hand, the present application also provides a computer program product. The computer program product includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can Execute the method for handling page exceptions during client testing provided by the above methods. The method includes: during the client testing process, using the test plug-in integrated in the client to detect whether the page in the client If there is an exception, the test plug-in is generated based on the type of the client and the page test requirements; when there is an exception in the page, the view in the page is formatted through the test plug-in, and the result is The target image corresponding to the view; and visualizing the exception editing box corresponding to the view; sending an exception processing request to the test platform, the exception processing request including the target image and the exception description text input through the exception editing box , the exception handling request is used to request the test platform to process the exception based on the target image and the exception description text.
或者,接收终端设备发送的异常处理请求,所述异常处理请求中包括目标图像和异常描述文本;其中,所述目标图像为所述客户端测试过程中,通过所述客户端中集成的测试插件,检测到所述客户端的页面中存在异常的情况下,通过所述测试插件对所述页面中的视图进行格式转换处理得到的图像,所述异常描述文本为在所述页面中存在异常的情况下,通过所述视图对应的异常编辑框输入的文本,所述测试插件是基于所述客户端的类型和页面测试需求生成的;基于所述目标图像和所述异常描述文本处理所述异常。Or, receive an exception handling request sent by the terminal device, the exception handling request includes a target image and an exception description text; wherein the target image is a test plug-in integrated in the client during the client testing process. , when an abnormality is detected in the client's page, the image obtained by format conversion processing of the view in the page is performed by the test plug-in, and the abnormal description text is the abnormality in the page. Next, through the text input in the exception edit box corresponding to the view, the test plug-in is generated based on the type of the client and the page testing requirements; the exception is processed based on the target image and the exception description text.
又一方面,本申请还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各方法提供的客户端测试过程中页面异常的处理方法,该方法包括:在所述客户端测试过程中,通过所述客户端中集成的测试插件,检测所述客户端的页面中是否存在异常,所述测试插件是基于所述客户端的类型和页面测试需求生成的;在所述页面中存在异常的情况下,通过所述测试插件对所述页面中的视图进行格式转换处理,得到所述视图对应的目标图像;并可视化所述视图对应的异常编辑框;向测试平台发送异常处理请求,所述异常处理请求中包括所述目标图像和通过所述异常编辑框输入的异常描述文本,所述异常处理请求用于请求所述测试平台基于所述目标图像和所述异常描述文本处理所述异常。On the other hand, the present application also provides a non-transitory computer-readable storage medium on which a computer program is stored. The computer program is implemented when executed by the processor to perform the page abnormality detection during the client testing process provided by the above methods. Processing method, the method includes: during the client testing process, detecting whether there is an abnormality in the page of the client through a test plug-in integrated in the client, the test plug-in is based on the type of the client and Generated by page test requirements; when there is an exception in the page, the test plug-in performs format conversion processing on the views in the page to obtain the target image corresponding to the view; and visualizes the view corresponding to Exception editing box; Send an exception processing request to the test platform, the exception processing request includes the target image and the exception description text input through the exception editing box, the exception processing request is used to request the test platform to based on the The target image and the exception description text handle the exception.
或者,接收终端设备发送的异常处理请求,所述异常处理请求中包括目标图像和异常描述文本;其中,所述目标图像为所述客户端测试过程中,通过所述客户端中集成的测试插件,检测到所述客户端的页面中存在异常的情况下,通过所述测试插件对所述页面中的视图进行格式转换处理得到的图像,所述异常描述文本为在所述页面中存在异常的情况下,通过所述视图对应的异常编辑框输入的文本,所述测试插件是基于所述客户端的类型和页面测试需求生成的;基于所述目标图像和所述异常描述文本处理所述异常。Or, receive an exception handling request sent by the terminal device, the exception handling request includes a target image and an exception description text; wherein the target image is a test plug-in integrated in the client during the client testing process. , when an abnormality is detected in the client's page, the image obtained by format conversion processing of the view in the page is performed by the test plug-in, and the abnormal description text is the abnormality in the page. Next, through the text input in the exception edit box corresponding to the view, the test plug-in is generated based on the type of the client and the page testing requirements; the exception is processed based on the target image and the exception description text.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in One location, or it can be distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Persons of ordinary skill in the art can understand and implement the method without any creative effort.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the part of the above technical solution that essentially contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, optical disk, etc., including a number of instructions to cause a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or certain parts of the embodiments.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application, but not to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent substitutions are made to some of the technical features; however, these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions in the embodiments of the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410099084.2A CN117609104A (en) | 2024-01-24 | 2024-01-24 | Page exception processing method, system and equipment in client test process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410099084.2A CN117609104A (en) | 2024-01-24 | 2024-01-24 | Page exception processing method, system and equipment in client test process |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117609104A true CN117609104A (en) | 2024-02-27 |
Family
ID=89953941
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410099084.2A Pending CN117609104A (en) | 2024-01-24 | 2024-01-24 | Page exception processing method, system and equipment in client test process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117609104A (en) |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050193269A1 (en) * | 2000-03-27 | 2005-09-01 | Accenture Llp | System, method, and article of manufacture for synchronization in an automated scripting framework |
US20150339213A1 (en) * | 2014-05-21 | 2015-11-26 | Cgi Technologies And Solutions Inc. | Automated testing of an application system |
CN106201757A (en) * | 2016-07-12 | 2016-12-07 | 网易(杭州)网络有限公司 | A kind of abnormality eliminating method and device |
CN108108299A (en) * | 2017-11-29 | 2018-06-01 | 厦门集微科技有限公司 | A kind of ui testing method and device |
CN108268332A (en) * | 2017-08-10 | 2018-07-10 | 广州神马移动信息科技有限公司 | Webpage abnormality monitoring method, equipment and system |
CN110377500A (en) * | 2019-06-14 | 2019-10-25 | 平安科技(深圳)有限公司 | Test method, device, terminal device and the medium of Website page |
CN110399305A (en) * | 2019-07-31 | 2019-11-01 | 中国工商银行股份有限公司 | The test method and device of BTT module |
CN113342627A (en) * | 2021-05-31 | 2021-09-03 | 深圳前海微众银行股份有限公司 | Application service monitoring method and monitoring system of terminal |
CN113657361A (en) * | 2021-07-23 | 2021-11-16 | 阿里巴巴(中国)有限公司 | Page abnormity detection method and device and electronic equipment |
CN113868126A (en) * | 2021-09-17 | 2021-12-31 | 北京顺达同行科技有限公司 | Storage medium for application debugging method, device and equipment |
CN114780412A (en) * | 2022-04-26 | 2022-07-22 | 平安资产管理有限责任公司 | Page testing method, system, equipment and medium |
CN115344490A (en) * | 2022-08-16 | 2022-11-15 | 北京星汉未来网络科技有限公司 | Method, device, storage medium and electronic equipment for testing software products |
CN115543835A (en) * | 2022-10-24 | 2022-12-30 | 重庆长安汽车股份有限公司 | Method and device for testing front-end page, testing equipment and storage medium |
CN116204403A (en) * | 2021-11-30 | 2023-06-02 | 腾讯数码(天津)有限公司 | Test case generation method and device, electronic equipment and storage medium |
CN116431504A (en) * | 2023-04-17 | 2023-07-14 | 珠海金山数字网络科技有限公司 | Automatic test method, system and device |
CN116662193A (en) * | 2023-06-09 | 2023-08-29 | 京东科技控股股份有限公司 | Page testing method and device |
WO2023178892A1 (en) * | 2022-03-22 | 2023-09-28 | 通号智慧城市研究设计院有限公司 | Application testing method, electronic device, and computer-readable storage medium |
-
2024
- 2024-01-24 CN CN202410099084.2A patent/CN117609104A/en active Pending
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050193269A1 (en) * | 2000-03-27 | 2005-09-01 | Accenture Llp | System, method, and article of manufacture for synchronization in an automated scripting framework |
US20150339213A1 (en) * | 2014-05-21 | 2015-11-26 | Cgi Technologies And Solutions Inc. | Automated testing of an application system |
CN106201757A (en) * | 2016-07-12 | 2016-12-07 | 网易(杭州)网络有限公司 | A kind of abnormality eliminating method and device |
CN108268332A (en) * | 2017-08-10 | 2018-07-10 | 广州神马移动信息科技有限公司 | Webpage abnormality monitoring method, equipment and system |
CN108108299A (en) * | 2017-11-29 | 2018-06-01 | 厦门集微科技有限公司 | A kind of ui testing method and device |
CN110377500A (en) * | 2019-06-14 | 2019-10-25 | 平安科技(深圳)有限公司 | Test method, device, terminal device and the medium of Website page |
CN110399305A (en) * | 2019-07-31 | 2019-11-01 | 中国工商银行股份有限公司 | The test method and device of BTT module |
CN113342627A (en) * | 2021-05-31 | 2021-09-03 | 深圳前海微众银行股份有限公司 | Application service monitoring method and monitoring system of terminal |
CN113657361A (en) * | 2021-07-23 | 2021-11-16 | 阿里巴巴(中国)有限公司 | Page abnormity detection method and device and electronic equipment |
CN113868126A (en) * | 2021-09-17 | 2021-12-31 | 北京顺达同行科技有限公司 | Storage medium for application debugging method, device and equipment |
CN116204403A (en) * | 2021-11-30 | 2023-06-02 | 腾讯数码(天津)有限公司 | Test case generation method and device, electronic equipment and storage medium |
WO2023178892A1 (en) * | 2022-03-22 | 2023-09-28 | 通号智慧城市研究设计院有限公司 | Application testing method, electronic device, and computer-readable storage medium |
CN114780412A (en) * | 2022-04-26 | 2022-07-22 | 平安资产管理有限责任公司 | Page testing method, system, equipment and medium |
CN115344490A (en) * | 2022-08-16 | 2022-11-15 | 北京星汉未来网络科技有限公司 | Method, device, storage medium and electronic equipment for testing software products |
CN115543835A (en) * | 2022-10-24 | 2022-12-30 | 重庆长安汽车股份有限公司 | Method and device for testing front-end page, testing equipment and storage medium |
CN116431504A (en) * | 2023-04-17 | 2023-07-14 | 珠海金山数字网络科技有限公司 | Automatic test method, system and device |
CN116662193A (en) * | 2023-06-09 | 2023-08-29 | 京东科技控股股份有限公司 | Page testing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108683562B (en) | Anomaly detection positioning method and device, computer equipment and storage medium | |
CN104796240B (en) | A kind of fuzz testing system of stateful procotol | |
US10042744B2 (en) | Adopting an existing automation script to a new framework | |
CN113434396A (en) | Interface test method, device, equipment, storage medium and program product | |
CN112650676A (en) | Software testing method, device, equipment and storage medium | |
CN110597704B (en) | Pressure test method, device, server and medium for application program | |
CN112000574B (en) | Pressure testing method, device, equipment and storage medium | |
CN111212142A (en) | Service processing method, integrated open docking platform and computer storage medium | |
CN112817853A (en) | Automatic test method, system and electronic equipment | |
US11663113B2 (en) | Real time fault localization using combinatorial test design techniques and test case priority selection | |
CN111309606B (en) | Page exception handling method and device, computer equipment and storage medium | |
US20140331205A1 (en) | Program Testing Service | |
US20160041897A1 (en) | Generation of automated unit tests for a controller layer system and method | |
CN115994098B (en) | Analysis method and system for software operation abnormality based on artificial intelligence | |
CN117609104A (en) | Page exception processing method, system and equipment in client test process | |
CN113641575B (en) | Test method, device, equipment and storage medium | |
CN115022201B (en) | Data processing function test method, device, equipment and storage medium | |
CN116738091A (en) | Page monitoring method and device, electronic equipment and storage medium | |
CN113778834B (en) | System performance testing method and device of application software and computing equipment | |
CN116755984A (en) | Data processing method, device, electronic equipment and storage medium | |
JP2024526023A (en) | A self-optimizing analysis system for core dumps | |
CN112787839B (en) | Port description modification method and device | |
CN111290870B (en) | Method and device for detecting abnormality | |
CN116048945B (en) | Equipment performance testing method, device, electronic equipment and storage medium | |
CN115484200B (en) | Buried point testing method, buried point testing device, server, storage medium and buried point testing system |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20240227 |