Encoding-free Selenium automated test method and system

An automated testing and coding technology, applied in software testing/debugging, error detection/correction, instrumentation, etc., to achieve the effect of improving automated testing coverage and execution efficiency

Inactive Publication Date: 2018-03-09
中电万维信息技术有限责任公司
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of above-mentioned deficiencies in the prior art, the object of the present invention is to provide a kind of Selenium automated testing method and system exempt from coding, aim at solving the problem of simplifying testers

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
  • Encoding-free Selenium automated test method and system
  • Encoding-free Selenium automated test method and system
  • Encoding-free Selenium automated test method and system

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment Ex

[0084] In a preferred implementation example of the present invention, during specific implementation, firstly, the xpath and test data of the test element are automatically obtained from the page according to the pre-configured element keywords and rules, and a preliminary test case Excel file is generated.

[0085] Configure the test steps corresponding to the test plan and the test cases contained in the test steps through Excel, and at the same time configure whether each test plan needs to be executed.

[0086] Encapsulate the execution processing of test cases, and reserve rich execution action keywords and interfaces in test cases. The system automatically executes all test cases in sequence according to the test steps configured in the test plan, and automatically summarizes the execution results into test reports.

[0087] Encapsulate the generation and sending of the test report, the system automatically generates the test report after the test case is executed, and a...

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 an encoding-free Selenium automated test method and system. The method comprises the following steps: A, automatically acquiring xpath and test data of a test element from a page according to pre-configured element keywords and rules, and generating or updating a test case; B, configuring a test plan, test steps and the test case and generating a configuration file; C, reading configuration information of the test case, and judging whether the verification content is correct or not; D, sorting out execution results of the test case and outputting a test report, whereinthe test case comprises a case number, element Xpath, a case description, an execution action, verification content and a verification result. According to the scheme, test personnel can quickly and efficiently perform automatic testing, and the coverage rate and the execution efficiency of automated testing are greatly increased.

Description

technical field [0001] The invention relates to the technical field of software automation testing, in particular to a coding-free Selenium automation testing method and system. Background technique [0002] Selenium, as an open source web automation testing tool, has become very popular in recent years. But Selenium has higher technical requirements for testers, especially coding skills. Testers need to do a lot of coding according to the test requirements, and the test results can only be obtained after the test script is completed. This not only requires testers to be proficient in using the corresponding computer language, but also requires a lot of time and manpower to code, resulting in low efficiency and high cost of automated testing, which affects the company's benefits in automated testing. [0003] In addition, test cases need to be written manually by testers. In order to ensure the effective coverage of automated testing, the number of automated test cases in...

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/368G06F11/3688
Inventor 李锦芳
Owner 中电万维信息技术有限责任公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products