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

An automatic upgrading and automatic testing method

An automated testing and automatic upgrade technology, applied in software testing/debugging, error detection/correction, software deployment, etc., can solve problems such as slow manual testing efficiency, save manual operations and repetitive operations, and improve the reliability of upgrade testing , to ensure the effect of accuracy

Inactive Publication Date: 2018-12-14
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] With the update of the selenium version, a large number of users' old version products need to be upgraded to the new version. After upgrading to the new version, it is necessary to ensure the correctness of the original functions and to ensure that the new features will not affect the original functions. Influence, because this process requires fast feedback results, manual testing is less efficient

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
  • An automatic upgrading and automatic testing method
  • An automatic upgrading and automatic testing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The present invention provides an automatic upgrading and automatic testing method, such as figure 1 As shown, the methods include:

[0040] S1, create automatic upgrade task information on the Jenkins module;

[0041] S2, according to preset conditions, start the automatic upgrade task information on the Jenkins module, and start the container image based on the storage location of the container image at the same time;

[0042] S3, according to the automatic upgrade task information, obtain the upgrade version required by the upgrade task from the database, and perform the upgrade;

[0043] S4, after the upgrade is completed, obtain the test cases required based on the upgraded version from the database; preset the test cases to be executed on the container image;

[0044] S5, run the test case, test the upgraded version, the Jenkins module monitors the version upgrade process and the test process, and generates the upgrade process log and the test process log.

[0...

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 an automatic upgrading and automatic testing method, which creates automatic upgrading task information on a Jenkins module. According to the preset conditions, the automatic upgrade task information is started on the Jenkins module, and the container image is started based on the storage location of the container image. According to the automatic upgrade task information, the upgrade version required by the upgrade task is obtained from the database and upgraded. The test case is run to test the upgraded version. The Jenkins module monitors the version upgrade process and test process, and generates the upgrade process log and test process log. Through the automation of product upgrade test, a lot of manual operation and repetitive operation are saved, and the reliability of product upgrade test is improved. The automation of the whole process greatly improves the test efficiency. On the other hand, through docker containers, mirroring is customized to ensure the conformance of the underlying environment for development and testing.

Description

technical field [0001] The invention relates to the field of server testing, in particular to an automatic upgrading and automatic testing method. Background technique [0002] In daily testing, you will encounter the test scenario of UI automation for web applications. The commonly used tool is to use Selenium, combined with some test frameworks to combine test cases for UI automation testing. Distributed testing through selenium's advanced feature seleniumGrid. Send the request to seleniumNode to execute the test script through seleniumHub, so as to achieve the purpose of separating the test machine and the test script. [0003] With the update of the selenium version, a large number of users' old version products need to be upgraded to the new version. After upgrading to the new version, it is necessary to ensure the correctness of the original functions and to ensure that the new features will not affect the original functions. As a result, manual testing is less effic...

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): G06F8/65G06F11/36
CPCG06F8/65G06F11/3688
Inventor 王志广
Owner ZHENGZHOU YUNHAI INFORMATION TECH 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