Unlock instant, AI-driven research and patent intelligence for your innovation.

Test report generation method and device, computer device and storage medium

A technology of computer equipment and test reports, which is applied in computing, software testing/debugging, error detection/correction, etc., and can solve problems such as test reports are not intuitive enough

Pending Publication Date: 2019-02-12
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the test reports of existing automated test cases are text reports, and text error messages are used to troubleshoot the cause of execution failure. Testers can only know which test case report failed execution from such test reports, and then use the error log to find out Check which line of code is wrong and which page is wrong. Such a test report is not intuitive enough. Testers need to master a deep code foundation to know the error location and error type during the execution of automated test cases from the test report.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Test report generation method and device, computer device and storage medium
  • Test report generation method and device, computer device and storage medium
  • Test report generation method and device, computer device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0026] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0027] It should also be understood that the terminology used ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a test report generation method and device, a computer device and a storage medium. The method includes executing each test case in a test case set; if it is detected that a page of execution failure occurs in the executed test case, intercepting the page of execution failure to generate a page screenshot; using the preset classifier to identify the page screenshot to obtain the test case name corresponding to the page screenshot, and naming the page screenshot according to the recognized test case name; if all test cases in the test case set have been executed, generating a test report based on all named page screenshots. The invention realizes the automatic identification of the errors occurring in the execution process of the test case, makes the test more intelligent, and also enables the tester to intuitively see the error position and the error type in the execution process of the automated test case, so as to reduce the test threshold of the tester.

Description

technical field [0001] The invention relates to the technical field of software automation testing, in particular to a test report generation method, device, computer equipment and storage medium. Background technique [0002] Test cases are the core of software testing, but there are more and more basic functions of software systems in terminal products, the test cases are cumbersome and repetitive, the workload of manual testing is heavy, the work efficiency is low, the speed is slow, and testers are prone to fatigue. Time is limited, and it is difficult to complete the reliability test of the terminal product for a long time and heavy load. However, the automated test case can complete the test case in the shortest time with the least manpower and resource investment, which greatly improves the efficiency of the test case. [0003] However, the test reports of existing automated test cases are text reports, and text error messages are used to troubleshoot the cause of exe...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3688G06F11/3692
Inventor 刘子牧
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD