A method and device for automated testing of a visual report tool based on vuex

A technology of automated testing and reporting tools, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as ineffective feedback of test results, difficulty in improving test efficiency, increase in test uncertainty and workload, etc.

CN110908894BActive Publication Date: 2022-04-05SUNING CLOUD COMPUTING CO LTD
13 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2022-04-05

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the present invention discloses a vuex-based visual reporting tool automated testing method and device, relates to the technical field of automated testing, and can reduce testing labor costs in the regression testing stage. The present invention includes: adding a vuex plug-in to the browser startup add-in, and running the browser; entering the report page through an automated script; obtaining the vuex configuration data of the report page, and verifying all the data according to the vuex configuration data of the report page Describe the report page and generate a test report. The invention is suitable for the regression test in the page automation test.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of automated testing, in particular to a method and device for automated testing of a vuex-based visual reporting tool. Background technique

[0002] The current visual report tool graph drawing mainly adopts canvas drawing, so that the visual report tool can perform automatic operation. However, due to the direct drawing of the canvas, the conventional automation script using the element positioning method cannot verify the execution results, that is, it can be automatically generated but cannot be automatically tested, which leads to the ineffective feedback of the test results to the test end, which increases the test Uncertainty and workload, the test efficiency is difficult to improve, resulting in the test cost is difficult to reduce.

[0003] In addition, due to the high degree of free operation of the visual report tool and the many redundant scenarios, it is impossible to use automated test executi...

Examples

Embodiment Construction

[0031] In order to enable those skilled in the art to better understand the technical solutions of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Hereinafter, embodiments of the present invention will be described in detail, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention. Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refe...