Method for automatically executing tests and generating test reports on WEB page

A test report, automatic execution technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems that affect the normal progress of the project, unfavorable enterprise development, and a lot of useless information, so as to reduce labor consumption and improve The effect of service life and cost reduction

CN107423215AInactive Publication Date: 2017-12-01丹露成都网络技术有限公司
3 Cites 2 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2017-12-01
Estimated Expiration
Not applicable · inactive patent
Patent Text Reader

Abstract

The invention discloses a method for automatically executing tests and generating test reports on a WEB page. The method comprises the steps that (1) all elements needing to be tested on the WEB page are made into corresponding execution through redwood software; (2) a script is written through python software; (3) new items are constructed on jenkins software; and (4) the jenkins software is started and kept running. Through the method for automatically executing the tests and generating the test reports on the WEB page, computer resources can be reasonably utilized, sort-out of test results can be automatically completed, the sort-out difficulty of the test reports is lowered, and the accuracy, completeness and attractiveness of the test reports are improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to a method for automatically testing a WEB page, in particular to a method for automatically executing a test on a WEB page and generating a test report. Background technique

[0002] The third-party tools used by existing Internet companies to implement UI testing of WEB pages can only implement testing functions, and cannot implement automatic triggering functions at all, let alone conditional periodic triggering functions. During the test, the test needs to be triggered manually, and the test results need to be checked manually to identify the required valid information. However, due to the large amount of information in the test results and the large amount of useless information in the content of the test results, it takes a lot of time to manually sort out the test results, and errors occur frequently in the process of sorting out the test results, affecting The normal progress of the project is very detrimental to the dev...

Examples

Embodiment

[0035] A method for automatically executing a test on a WEB page and generating a test report, comprising the following steps:

[0036] (1) Create corresponding executions for each element on the WEB page to be tested through redwood software, and save the executions in corresponding folders;

[0037] The specific process of creating an execution through the redwood software is as follows:

[0038] (11) bind the elements of the WEB page with the specified elements in the redwood software, and store it in the scripts folder;

[0039] (12) Composing page operation actions with bound elements according to the business process;

[0040] (13) Set a tags for the action;

[0041] (14) Repeat steps (11)-(13) until all actions on the WEB page are created;

[0042] (15) Combine several actions into a test case, that is, form a test case;

[0043] (16) Set a tags for each test case;

[0044] (17) Repeat steps (15)-(16) until all required test cases are obtained;

[0045] (18) Combi...