Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Test method and device, electronic equipment and computer readable storage medium

A test method and test case technology, applied in the computer field, can solve the problem of low efficiency of test case writing, and achieve the effect of reducing maintenance cost and improving efficiency

Pending Publication Date: 2019-10-25
RAJAX NETWORK &TECHNOLOGY (SHANGHAI) CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Testers have trouble remembering when writing test cases, which leads to inefficient writing of their 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 method and device, electronic equipment and computer readable storage medium
  • Test method and device, electronic equipment and computer readable storage medium
  • Test method and device, electronic equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment 24

[0088] Test case 24 includes a plurality of test templates such as test template 241 and test template 242, and test template 241 includes multiple test steps such as test step 1 and test step 2, and test template 241 includes a plurality of test steps such as test step 1' and test step 2'. test steps.

[0089] When executing the test case 24, if the control to be tested is "always allowed", then search for the corresponding associated file 22, so that the associated file 22 and the page template file 21 dynamically generate the page script file 23. Page script file 23 looks like this:

[0090]

[0091] Thus, when executing the test case 24, the page script file 23 is called, and "always allow" is assigned as get_locater('StartUp', 'always allow'), that is, the control "always allow" identifier "me.ele:id / tb", so as to complete the mutual conversion of the Chinese name and logo of the control "always allow", execute the test case according to the logo of the control "alwa...

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 embodiment of the invention discloses a test method and device, electronic equipment and a computer readable storage medium. The method comprises the following steps: by loading a test case expressed by a natural language with at least one target program entity, calling a corresponding page script file according to the natural language expression of the target program entity so as to obtain anidentifier of each target program entity; executing the test case according to the identifier of the target program entity to obtain a test result. According to the embodiment of the invention, the natural language expression of the target program entity is adopted to replace the complex identifier of the target program entity, and the natural language expression of the target program entity is automatically and effectively analyzed, so that the writing efficiency of the test case is improved, and maintenance cost is reduced.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, to a test method, device, electronic equipment and computer-readable storage medium. Background technique [0002] After software development, testers need to write test cases to test the developed program. When writing test cases, a large number of operations on target program entities (such as controls, etc.) need to be involved, and the names (or identifications) of these target program entities in the program are usually very complicated. Testers have trouble remembering when writing test cases, which leads to inefficient writing of their test cases. Contents of the invention [0003] In view of this, embodiments of the present invention provide a testing method, device, electronic equipment, and computer-readable storage medium, so as to improve the efficiency of writing test cases and reduce maintenance costs. [0004] In a first aspect, an embodiment of...

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
IPC IPC(8): G06F11/36
CPCG06F11/3688
Inventor 马飞
Owner RAJAX NETWORK &TECHNOLOGY (SHANGHAI) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products