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

Method and system for implementing unattended operation in command-line-free interface automatic testing platform

A technology without a command line interface and automatic testing, applied in the unattended field, can solve problems that require manual intervention, achieve the effects of reducing manual intervention, saving labor costs and time costs, and improving efficiency

Active Publication Date: 2018-08-21
FENGHUO COMM SCI & TECH CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to overcome the above-mentioned deficiencies in the background technology, and provide a method and system for realizing unattended operation in an automatic test platform without a command line interface, which can effectively solve the problem that the automatic test platform without a command line interface still needs manual testing during the implementation process. Intervention issues to achieve unattended effects in automated test platforms without a command line 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 system for implementing unattended operation in command-line-free interface automatic testing platform
  • Method and system for implementing unattended operation in command-line-free interface automatic testing platform
  • Method and system for implementing unattended operation in command-line-free interface automatic testing platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] see figure 1 As shown, the present embodiment provides a method for realizing unattended in an automatic test platform without a command line interface, and the method includes the following steps:

[0027] A. Start the automatic test platform: automatically start the automatic test platform without a command line interface through the preset test platform startup function, and the preset test platform startup function is a function that can automatically start the automatic test platform without a command line interface. In the specific implementation process, the preset test platform startup function can be selected from Python language to call the CreateProcess () function of the win32process module, or other functions that can automatically start the automatic test platform without a command line interface, for the preset The specific function of the test platform startup function is not specifically limited in this embodiment. However, it can be understood that, a...

Embodiment 2

[0031] The method for realizing unattended operation in an automatic test platform without a command line interface provided by this embodiment, its basic steps are the same as in Embodiment 1, the difference is that the step of starting the automatic test platform of the method specifically includes the following contents:

[0032] A1. Switch to the directory where the program of the automatic test platform without command line interface is located. It is understandable that, considering that there are dependencies such as dynamic link libraries under the relative path, before automatically starting the automatic test platform without a command line interface through the preset test platform startup function, that is, before starting the automatic test platform from the command line, you need to switch Go to the directory where the program of the automatic test platform without command line interface is located.

[0033]A2. Through the preset test platform startup function, a...

Embodiment 3

[0040] A method for realizing unattended operation in an automatic test platform without a command line interface provided in this embodiment, its basic steps are the same as in Embodiment 1, the difference is that the step of starting the test of the method specifically includes the following contents:

[0041] B1. Obtain the control handle of the file box control and the control handle of the running control respectively according to the Text property of the file box control and the running control through the preset control handle acquisition function. In the specific implementation process, the preset control handle acquisition function can be the windowsformswindowappbfrad() function, or other functions that can achieve control handle acquisition. For the specific function of the preset control handle acquisition function, this implementation Examples are not specifically limited. For example, its specific implementation code can be as follows:

[0042] edit=windowsforms...

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 system for implementing unattended operation in a command-line-free interface automatic testing platform, and relates to the technical field of software testing. The method comprises the following steps: automatically starting the command-line-free interface automatic testing platform by a preset testing platform starting function; finishing inputting of a testing item and starting testing on an operation interface of the command-line-free interface automatic testing platform in a mode of acquiring and using a control handle; and automatically monitoring whether a testing process of the command-line-free interface automatic testing platform is finished or not by a preset testing platform monitoring function. The system comprises a testing platform starting unit, a testing starting unit and a testing monitoring unit. The problem that the command-line-free interface automatic testing platform still needs to be intervened manually in an implementing process can be solved effectively, and therefore, an effect of implementing unattended operation in the command-line-free interface automatic testing platform is achieved.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to an unattended method and system for an automatic testing platform without a command line interface. Background technique [0002] At present, with the help of various continuous integration software and a third-party automated testing platform (The Automated Test Platform), automatic testing can be completed on the basis of automatically compiled versions. For example: FHATP, a test platform independently developed by Fiberhome Communications Technology Co., Ltd. in China, and iTest, a commercial test platform promoted by Spirent, an international instrument manufacturer. [0003] Generally speaking, after the continuous integration platform completes version compilation, the automatic testing platform can complete the automation of the testing process. However, in actual use, especially in the early stage of self-developed test platforms, some automatic test platforms ...

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 FENGHUO COMM SCI & 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