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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
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