Automated test method and system

An automated test and test-end technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as difficult acquisition of test reports, consumption, and difficult judgment of test results, so as to improve the efficiency of system automated testing and simplify scripts Write programs to achieve the effect of developing multiple uses

Inactive Publication Date: 2018-11-13
LOONGSON TECH CORP
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The first manual method is very inefficient. The existing manual testing requires a lot of manpower, and it is difficult to meet the requirements of this kind of system testing in terms of time. However, the existing automated testing methods have the disadvantages of slow script writing, difficult to judge test results, and test reports. Difficult to obtain and other issues
For the second automated testing method, there is a big disadvantage that automated tools rely too much on interface elements. Once the interface changes or the requirements change, the use cases may have to be modified, and adding new use cases is also cumbersome. Recording use cases, when the number of use cases continues to increase, it needs to consume more manual maintenance costs
Therefore, the existing commonly used automated testing technology has a large script maintenance cost, which is not conducive to the rapid iterative testing of the system
However, in this way, the performance of the processor is greatly reduced and the process often reports errors

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
  • Automated test method and system
  • Automated test method and system
  • Automated test method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] figure 1 The flowchart of the automated testing method provided by the embodiment of the present invention;

[0045] The embodiment of the present invention provides an automated testing method, which includes:

[0046] Step 301, adapting the test framework according to the operating system type in the target test terminal;

[0047] Step 302, obtaining the system application to be tested in the target test terminal and the test case program tree corresponding to the system application;

[0048] Step 303, acquiring the test information of the test case program selected from the test case program tree;

[0049] Step 304: According to the test information, call the corresponding test tool to perform test operation on the system application and generate a test result.

[0050] The step 304 includes:

[0051]Obtaining a corresponding adaptation file according to the test information;

[0052] Analyzing the adaptation file to obtain a test case program corresponding to 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 embodiment of the invention relates to an automated test method and system. The method comprises: adapting a test framework according to an operating system type in a target test terminal, whereinthe test framework comprises a test tool and a test case program tree; acquiring a system application to be tested in the target test terminal and a test case program tree corresponding to the systemapplication; acquiring test information of a test case program selected from the test case program tree; and according to the test information, calling a corresponding test tool to test the system application and generating test results. According to the automated test method and system provided by the embodiment of the present invention, the script writing can be simplified, the automation testefficiency of a system can be improved, the unattended function test, performance test and stability test of the system application can be realized, the system states and screen pictures in the test process can be monitored and recorded at the same time, and good compatibility is realized.

Description

technical field [0001] The invention relates to the technical field of operating system testing, in particular to an automatic testing method and system. Background technique [0002] With the advancement of science and technology, electronic devices with computing and processing functions such as computers and smart terminals have been widely used in people's daily life and work, and have become indispensable items in people's daily life and work. [0003] At present, there are two main methods for system testing: one is manual, where testers manually check each use case point; the other is automated testing, where scripts are recorded through automated tools, such as QTP, Selenium, etc. Then automated tools drive script playback for regression testing. The first manual method is very inefficient. The existing manual testing requires a lot of manpower, and it is difficult to meet the requirements of this kind of system testing in terms of time. However, the existing automa...

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 LOONGSON TECH CORP
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