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

Test case automatic operation method and system

A technology of test cases and operation methods, applied in software testing/debugging, structured data retrieval, error detection/correction, etc. Effect

Pending Publication Date: 2019-09-13
HUNAN GOKE MICROELECTRONICS
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when there are tens of thousands of use cases, when clicking "select all suits (select all use cases)" in the Robot Framework interface, it will take several minutes to react
If there are more use cases, it will take longer, and even cause the computer to be stuck on the Robot Framework interface, which will cause the computer to be unable to perform other operations.
Of course, this problem can also be solved by writing a simple command through the dos command, but when the tester wants to test some use cases with special meaning, such as finding the desired use case set through keywords, no matter from the interface, double-click It is unrealistic to select test cases or write dos commands line by line, which takes a lot of time to select, making it not convenient to execute test cases

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 case automatic operation method and system
  • Test case automatic operation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0040] attached figure 1 It is a structural flowchart of the method for automatically running a test case provided in the embodiment of the present application. as attached figure 1 As shown, the test case automation running method provided by the embodiment of the present application includes:

[0041] S101: Classify test cases according to keywords and type features to establish a database.

[0042] SQL is a structured query language, which is a database query and programming language for accessing data and querying, updating and managing relational database systems; it is also the extension o...

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 provides a test case automatic operation method and system. The method comprises the steps of establishing a database for test cases according to keywords and type characteristics in a classified mode; enabling programming languages to interact with SQLs and making test cases in the database to generate a new test set; and calling an Robout Framework, and executing the test set to obtain an execution result. The embodiment of the invention provides the test case automatic operation method and system. A test case database is established by utilizing SQL technology. According to the embodiment of the invention, corresponding test case sets can be searched and found according to the demand keywords and the type characteristics, the test cases can be automatically operated by calling the Robout Framework, the test cases of some special meaning cases queried through the keywords can be conveniently executed, and efficiency of executing the test cases is improved.

Description

technical field [0001] The present application relates to the technical field of automated testing, in particular to a method and system for automatically running test cases. Background technique [0002] Robot Framework is based on the automated testing of the Selenium2Library testing library, a popular and widely used automated software testing system framework. Robot Framework test case writing, test case execution, automatic generation of test reports, etc. In specific use, you only need to select all use cases or write some pybot-related dos commands, and then execute them. When all use cases are executed, a report will be automatically generated. Testers only need to view the test report to analyze the test results, which greatly saves the time and operation errors caused by manual execution of use cases. [0003] However, when there are tens of thousands of use cases, when clicking "select all suits (select all use cases)" in the Robot Framework interface, it will t...

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/36G06F16/22G06F16/242
CPCG06F11/3684G06F11/3688G06F16/2445G06F16/2282
Inventor 康欢
Owner HUNAN GOKE MICROELECTRONICS