Method and device for realizing self-repairing of test script

A test script, self-healing technology, applied in the computer field, can solve problems such as the inability to automatically correct errors in test scripts, and achieve the effect of cost saving and self-correction

Pending Publication Date: 2019-11-26
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present invention provides a method and device for realizing the self-repair of the test script, which can solve the problem that the existing technology cannot make the test script automatically correct errors and automatically modify the function of the tested application program interface

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 and device for realizing self-repairing of test script
  • Method and device for realizing self-repairing of test script
  • Method and device for realizing self-repairing of test script

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0040] figure 1 is a method for realizing self-repair of test scripts according to an embodiment of the present invention, such as figure 1 As shown, the method for realizing the self-repair of the test script includes:

[0041] Step S101, calling the test script generation algorithm to generate a temporary test script text and a temporary nested link text of the interfa...

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 and device for realizing self-repairing of a test script, and relates to the technical field of computers. One specific embodiment of the method comprises the following steps: calling a test script generation algorithm to generate a temporary test script text and a temporary tested interface parameter nesting link text; generating a text identifier of the temporarytest script text and a text identifier of the temporary tested interface parameter nesting link text; and repeating the above steps, and then comparing the text identifier of the current temporary tested interface parameter-in nested link text with the text identifier of the temporary tested interface parameter-in nested link text generated last time to determine a formal test script text for testing. According to the embodiment, the problem that in the prior art, the test script cannot automatically correct errors and automatically modify along with the tested application program interface can be solved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and a device for realizing self-repair of test scripts. Background technique [0002] With the continuous development of testing technology, the application fields of interface automation testing technology are becoming more and more extensive. Automated testing technology has shown absolute advantages in shortening the test cycle and improving the quality of the system under test. [0003] In the course of realizing the present invention, the inventor finds that there are at least the following problems in the prior art: [0004] For interface automation testing, it is necessary to manually develop test scripts, write test parameters, run the platform, and then view the report. If there is a problem with the test script, it is necessary to manually access and modify the script, and then re-execute. That is to say, the existing test is a semi-automated process, and m...

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/3684G06F11/3688
Inventor 陈磊周敬岩贾瑞卿牛锋华李建爽
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
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