Windows-based method and system for automatically testing product

An automated testing and product technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as confusion, achieve the effects of ensuring software quality, simplifying repetitive work, and improving testing efficiency

Inactive Publication Date: 2017-03-29
XIAMEN MEIYA PICO INFORMATION
View PDF5 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this solution can reduce human intervention, both project code and test code are managed by the source code management module, which is easy to cause confusion

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
  • Windows-based method and system for automatically testing product
  • Windows-based method and system for automatically testing product
  • Windows-based method and system for automatically testing product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0070] Embodiment 1 of the present invention is: a kind of product automatic testing method based on Windows, described method is based on such as figure 2 The shown automated testing architecture includes a management server 100, a Jenkins server 200 and an automated testing device 300, and the automated testing device 300 is connected to the management server 100 and the Jenkins server 200 respectively; further, it also includes a code management server 400, The code management server 400 is connected to the Jenkins server 200 . Preferably, there are multiple automated testing devices, and each automated testing device is connected to a management server and a Jenkins server respectively; the Jenkins server can deploy multiple Slaves (remote services) to the plurality of automated testing devices. Preferably, the management server is an ALM server; the code management server is an SVN server.

[0071] like image 3 As shown, the method includes the following steps:

[00...

Embodiment 2

[0082] This embodiment is a further extension of step S5 in the first embodiment. Test development tool (QTP) and interface script are integrated in the automated test equipment described in the present embodiment, and wherein, interface is OTA, namely the automation interface of ALM server;

[0083] like Figure 4 As shown, step S5 includes the following steps:

[0084] S51: Set the test set parameter in the interface script in the automated test equipment to the name of the project test set corresponding to the software installation package; that is, after the Jenkins server sends the software installation package to the automated test equipment, the software will also be installed The name of the project test set corresponding to the package is passed to the test set parameter in the interface script.

[0085] S52: The Jenkins server controls the test development tool in the automated testing device to connect to the management server through the interface script; the Jen...

Embodiment 3

[0092] This embodiment is several specific application scenarios of the foregoing embodiments.

[0093] (1) Add objects through the product under test to obtain interface elements, such as text, buttons, lists, etc. Trigger these objects through scripts and compare them with the files stored in the code management server. If there is any inconsistency, output the log and analyze the result log. The sample code is as follows:

[0094]

[0095] (2) Trigger the test development tool to execute the automated test program through the interface script. The sample code is as follows:

[0096]

[0097]

[0098] (3) The automated test equipment executes the interface script and calls the names of various project test sets stored in the ALM server; the projects of various products are stored in the ALM server, and the project sequence can be adjusted, and then the test development tool QTP in the automated test equipment Call the name of the project test set and execute them i...

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 Windows-based method and system for automatically testing a product. The method comprises the steps as follows: a management server acquires a test code corresponding to a project code and generates a project test set; a Jenkins server acquires the project code, and compiles and packages the project code to generate a software installation package; the software installation package is deployed on automatic test equipment; the automatic test equipment acquires the project test set corresponding to the software installation package from the management server; and testing is carried out on the project test set to obtain a testing result and the testing result is transferred back to the management server. According to the method and the system, repetitive work in a product testing process is greatly simplified, the testing and developing cycles are greatly shortened and good software quality is ensured.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a Windows-based product automation testing method and system thereof. Background technique [0002] With the increasing update of the Internet era, frequent iterative development and testing of software products, the requirements for product quality are getting higher and higher, thus posing new challenges to Windows-based product testing. While launching new functions, complete version iterations as soon as possible to fully ensure that the original functions are not affected. It is required that the installation package compiled for each product can be deployed and tested as soon as possible before testing, so that software defects can be found as soon as possible. and repair it in time. In the process of product iteration, such as code compilation, packaging, deployment of product testing, and basic functional testing, it is repetitive work. These repeated tasks are...

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/36
CPCG06F11/3684G06F11/3688
Inventor 黄树金黄艺强申强江汉祥施剑朕杨佳悦
Owner XIAMEN MEIYA PICO INFORMATION
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