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
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
Abstract
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...