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

Method, device, terminal equipment and storage medium for editing script test code

A technology of code writing and script testing, which is applied in the field of script writing, can solve the problems of inconvenient script test code writing, etc., and achieve the effect of instant check and use, improved efficiency, and convenient and rapid addition

Inactive Publication Date: 2018-07-06
PINGAN YIQIANBAO E COMMERCE CO LTD
View PDF7 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Embodiments of the present invention provide a method, device, terminal device, and storage medium for writing script test codes, so as to solve the problem that the code writer finds the methods in the development tool class and the usage of the methods through reflection during the writing process, and provides script testing Inconvenient problems with code writing

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
  • Method, device, terminal equipment and storage medium for editing script test code
  • Method, device, terminal equipment and storage medium for editing script test code
  • Method, device, terminal equipment and storage medium for editing script test code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] figure 1 A flowchart showing the method for writing script test codes in this embodiment. The method for writing script test codes is applied in the server of the test platform, and is used to enable users to write script test codes through the method. Such as figure 1 As shown, the script test code writing method includes the following steps:

[0026] S110, run the code editing platform, and enter the code editing interface.

[0027] Specifically, the code editing platform is configured in the server of the test platform, and is used to provide a platform for writing test script codes and a supporting environment for users to write test script codes. The code editing interface is an interface that is used to interact with the user in the support environment for writing code and to display it to the user. Understandably, the user can input the test script code on the code editing interface, and can run the input test script code on the code editing interface to view...

Embodiment 2

[0085] Figure 4 A functional block diagram of an apparatus for writing script test codes that corresponds one-to-one to the method for writing script test codes in Embodiment 1 is shown. The device written by the script test code is applied in the server of the test platform. Such as Figure 4 As shown, the device for script test code writing includes a running code platform module 110 , a display code information module 120 , an acquisition code instruction module 130 and a function content addition module 140 . Wherein, the implementation functions of the running code platform module 110, the display code information module 120, the acquisition code instruction module 130 and the function content addition module 140 correspond to the corresponding steps of the method for script test code writing in the embodiment, and for avoiding redundant description, this Examples are not detailed one by one.

[0086] The running code platform module 110 is used to run the code editin...

Embodiment 3

[0105] This embodiment provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the method for writing script test codes in Embodiment 1 is implemented. To avoid repetition, it is not repeated here repeat. Alternatively, when the computer program is executed by the processor, the functions of each module / unit in the device written by the script test code in Embodiment 2 are realized. To avoid repetition, details are not repeated here.

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 a method, device, terminal equipment and storage medium for editing script test code. The method for editing the script test code comprises the steps that a code editing platform is run, and a code editing interface is entered into; a code query instruction input by a user is obtained, recommended code information is acquired and displayed based on the code query instruction, the recommended code information comprises at least one code function, and each code function comprises a function ID, a function name and a corresponding function content; a code selection instruction input by the user is acquired, and the code selection instruction comprises a target function ID and / or a target function name; the function content corresponding to the target function ID and / orthe target function name is added into the code editing interface to form an edited code. The method for editing the script test code has the advantage that the check and use of the test script codecan be realized in a script test code editing process, and is beneficial to improving the efficiency of the script test code editing.

Description

technical field [0001] The invention relates to the technical field of script writing, in particular to a method, device, terminal equipment and storage medium for writing script test codes. Background technique [0002] The current code writing (such as test script code writing) mainly depends on the development tool class carried by the test project, and the methods in the development tool class need to be used. Specifically, the code writer needs to check the code of the development tool class in person to understand the functions of the methods in the development tool class and how to use the method. For example, the development tool class attached to the current test script code is a JAR package, and the code writer can only view the methods in the development tool class through reflection, and the types of parameters and return values ​​corresponding to the methods. Reflection means that after the reflection method class is established, the relevant resources of other...

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/36G06F8/33
CPCG06F8/33G06F11/3684
Inventor 李艳丽谢生校廖光明韩瑞鹏张宗勇冯捷葛旺
Owner PINGAN YIQIANBAO E COMMERCE 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