Testing method and device
A test method and test device technology, applied in the direction of software testing/debugging, etc., to achieve the effect of improving reusability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] Please refer to figure 2 , which shows a flow chart of the testing method provided in Embodiment 1 of the present invention. This test method can be used for figure 1 In the shown test server 120, the test method includes:
[0060] Step 201, read the use case description file;
[0061] In this embodiment, the test case is not directly compiled from HTML code and JS code. Before testing, different HTML fragments and JS files need to be stored separately in the test server. The HTML fragment can contain a piece of HTML code that implements a basic component of a web page, and the JS file can contain a piece of JS code that implements an independent function. These HTML fragments and JS files can be parts that can be reused in different test cases. For the convenience of description, the separately stored HTML fragment is called the first object, and the separately stored JS code is called the second object.
[0062] Then, provide a use case description file for desc...
Embodiment 2
[0071] Please refer to image 3 , which shows the flow chart of the testing method provided by Embodiment 2 of the present invention. This test method can be used for figure 1 In the shown test server 120, the test method includes:
[0072] Step 301, the user selects a test case set through the browser;
[0073] When testing a test object, the user can select a test case set from several test case sets through the browser.
[0074] Step 302, obtaining the use case index of the test case set;
[0075] A test case set may include several test cases, corresponding to these test cases, and there are indexes of these test cases in the test case set. The use case index corresponds to the use case description files of all or part of the test cases in the test case set. In other words, under normal circumstances, the use case index corresponds to the use case description files of all test cases in the test case set. Each use case description file is used to describe a test case ...
Embodiment 3
[0095] Please refer to Figure 4 , which shows a structural block diagram of the test device provided by Embodiment 3 of the present invention. The test device includes a first object storage module 401, a second object storage module 402, a use case index acquisition module 403, a description file reading module 404, a dependency acquisition module 405, a previous test judgment module 406, an interrupt execution module 407, a build Parameter acquisition module 408 , use case construction module 409 , use case execution module 410 and test result output module 411 .
[0096] The first object storage module 401 stores several objects of the first type used to form test cases. The second object storage module 402 stores several objects of the second type used to form test cases. The first object may be a piece of HTML document, and the second object may be a piece of JS file.
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