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

CS-framework-software automation testing method and system based on UI

An automated testing and software technology, applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve problems such as software that cannot test CS architecture, and achieve the goal of reducing testing costs, improving reuse, and reducing complexity. Effect

Inactive Publication Date: 2018-09-14
TAIHUA WISDOM IND GRP CO LTD
View PDF7 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a UI-based CS architecture software automated testing method and system, which solves the technical problem that the automated testing framework cannot test the CS architecture software in the prior art

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
  • CS-framework-software automation testing method and system based on UI
  • CS-framework-software automation testing method and system based on UI
  • CS-framework-software automation testing method and system based on UI

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0079] This embodiment provides a UI-based CS architecture software automated testing method, which can automatically test the CS architecture software, replacing a large number of manual operations, thereby improving work efficiency and shortening the project development cycle. In this method, first obtain the operating environment data of the software under test, initialize the software under test; then form a test case execution list according to the preset test case name, execute all test cases in the test case list, and finally verify the test results and Generate test reports. Specifically, such as figure 1 Shown is the UI-based CS architecture software automated testing method provided by the present invention, the method includes the following steps S101 to S107:

[0080] S101: identifying the name and identification information of each component of the software under test;

[0081] Among them, the software under test is software with CS architecture, and the component...

Embodiment 2

[0099] On the basis of the first embodiment above, the second embodiment of the present invention provides a preferably UI-based CS architecture software automation testing method. For relevant parts, please refer to the description of the first embodiment above. Specifically, figure 2 It is a flow chart of the UI-based CS architecture software automation testing method described in Embodiment 2 of the present invention, the method includes the following steps S201 to S205:

[0100] S201: Identify the name and identification information of each component of the software under test;

[0101] Among them, the software under test is software with CS architecture, and the components of the software under test include elements such as menus, windows, dialog boxes, buttons, input boxes, drop-down boxes, and selection boxes. The identification information is the unique ID code of each component, and each component At the same level or different levels, and within the same level, the ...

Embodiment 3

[0127] On the basis of Embodiment 1 and Embodiment 2, this embodiment proposes a UI-based CS architecture software automation test system, such as image 3 As shown, it includes the base layer of scripts throughout the entire testing process, the object layer for storing all components of the tested software, global constants and shortcut keys, the tool layer for storing preset operation method functions, and the tool layer for storing all test Use case layer for use case scripts. Among them, the software under test is software with CS architecture, specifically:

[0128] The basic layer includes test preparation scripts, test case execution scripts, verification result scripts, and report generation scripts. The test preparation scripts are used to obtain the operating environment data of the software under test, and when using the operating environment data to initialize the software under test, the specific execution The steps include: detecting whether there is a process ...

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 a CS-framework-software automation testing method and system based on a UI. The method includes the steps that names and identification information of all parts of to-be-testedsoftware are identified; description files of the parts are formed according to the names and the identification information of all the parts; testing preparation scripts are called to obtain runningenvironment data of the to-be-tested software; according to names of testing case scripts, testing case execution lists are formed; according to sequences of the names of the testing case scripts in the testing case execution lists, testing case execution scripts are called according to all the testing case scripts in the testing case execution lists, the to-be-tested software is initialized through the running environment data, and the testing case scripts are executed; execution results of the testing case scripts are checked by calling checking result scripts; after full testing case scripts are completely executed, report generation scripts are called to generate testing reports of the to-be-tested software. According to the CS-framework-software automation testing method and system based on the UI, automation testing of CS framework software is achieved.

Description

technical field [0001] The invention relates to the field of software testing of CS architecture, in particular to a UI-based CS architecture software automation testing method and system. Background technique [0002] Software regression testing is a huge workload. Manual testing completely covers test cases, which is a waste of manpower and time. Incomplete coverage may miss defects and affect product quality. In this case, automated regression testing can be completed unattended. Regression testing, to verify whether the normal functions of the previous version are still normal in the current version, release testers from boring regression testing, and improve work efficiency. [0003] At present, most UI automation tests use commercial testing tools or open source testing frameworks. Commercial testing tools have relatively mature functions, but they are expensive, lack flexibility, and cannot freely customize testing methods. Moreover, test scripts and operating methods...

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/3688G06F11/3664
Inventor 安涛张瑾郝丕进马述杰
Owner TAIHUA WISDOM IND GRP 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