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

Automatic telnet method and system used for automatic testing

An automated testing and automatic technology, applied in transmission systems, digital transmission systems, software testing/debugging, etc., can solve problems such as non-aspects, not advocating use, and inability to modify easily, so as to achieve functional focus, improve work efficiency, The effect of reducing manual labor time

Inactive Publication Date: 2015-12-23
WUHAN HONGXIN TELECOMM TECH CO LTD
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1. secureCRT is a commercial software that needs to be paid for. Currently, the cracked version circulating on the Internet is not recommended.
[0004] 2. SecureCRT needs to record scripts before automated testing, that is, at least manually log in and enter commands before automation. If there are too many commands to input, it is very inconvenient
[0005] 3. The vbs script language used in the script recorded by secureCRT cannot be easily modified for workers without programming foundation

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
  • Automatic telnet method and system used for automatic testing
  • Automatic telnet method and system used for automatic testing
  • Automatic telnet method and system used for automatic testing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and through specific implementation methods.

[0031] The technical solution of the present invention will be described in detail below in conjunction with specific embodiments and accompanying drawings.

[0032] figure 1 A flow chart of an automatic telnet method for automated testing provided by a specific embodiment of the present invention. Such as figure 1 Shown, a kind of automatic telnet method for automated testing of the present invention comprises:

[0033] S1, the test terminal PC uses a text file to save the device under test information in the config.ini file under the main directory, and writes the command to be executed into the command text file; wherein, the device under test information includes the IP of the device under test address, login username and password;

[0034] S2. The automatic telnet test program in the test t...

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 an automatic telnet method and system used for automatic testing. An automatic telnet testing program is programmed through the python language, and a telnetlib library and a win32ui library are adopted, so that a user does not need to record scripts, edit script languages and the like, and operators do not need to have a programming basis. The IP address of a tested device, a user name and a password are stored in the file format in the method and stored in a con.ini file under a master catalogue, when an automatic telnet test is carried out, direct reading can be achieved, automatic login of the tested device is achieved, and manual input is not needed when the test is executed. A command to be executed is directly stored in a text file in an original format, the command text file can be directly read through the automatic telnet testing program, and automatic interaction between the command text tile and the tested device is achieved. The text file is used for command transmission and storage, use of the script languages is not needed, so that great convenience is brought to repeatability tests and remote maintenance and opening of multiple terminals, manual operation time is shortened, and work efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of automated testing, in particular to an automatic telnet method and system for automated testing. Background technique [0002] The commonly used program currently used for automated telnet is generally secureCRT software. But the problem is: [0003] 1. SecureCRT is a commercial software that needs to be paid to use. Currently, the cracked version circulating on the Internet is not recommended. [0004] 2. SecureCRT needs to record scripts before automated testing, that is, at least manually log in and enter commands before automation. If there are too many commands to input, it is very inconvenient. [0005] 3. The vbs script language used in the script recorded by secureCRT cannot be easily modified for workers without programming foundation. Contents of the invention [0006] In order to overcome the above-mentioned shortcomings and deficiencies, the object of the present invention is to provide a...

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/36H04L12/26
Inventor 杨智峰马玉娇唐奇
Owner WUHAN HONGXIN TELECOMM 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