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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com