Test case design method and apparatus
A test case and design method technology, applied in software testing/debugging, calculation, error detection/correction, etc., can solve problems such as easy failure of test data and difficulty in effective inheritance of test assets, so as to achieve clear test logic, realize efficient inheritance, Solve the effect of failure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] see figure 1 A method for designing a test case provided in Embodiment 1 of the present invention, the method includes the following steps:
[0060] S11. Create an interface object model according to the interface object information, and set a test object template according to the interface object model, wherein the interface object information includes basic information, version information, and positioning information of interface elements;
[0061] It should be noted that the test object can also be understood as an interface object. It is used to describe all the basic information of interface elements, including interface path, interface screenshot, object name, object description, object type, object screenshot, etc. This information is used to filter out appropriate interface elements during test case design and execute the test case Specific elements are identified during the analysis of test results. Among them, the interface path is used to specify the inter...
Embodiment 2
[0081] Referring to embodiment one of the present invention and figure 1 The specific process of steps S11 to S14 described in the above, the implementation process of each step will be described in this embodiment.
[0082] First, set up the test object module. The test object template mainly includes three types of features: basic information, version information, and location information. For specific characteristics and main functions of each type of information, please refer to the corresponding description in Embodiment 1, and will not repeat them here. .
[0083] Refer to Table 1 for the type definition table of the test object (also called interface object) provided in the embodiment of the present invention, in which the test object is described in a standardized manner.
[0084] Table 1 Test object type definition table
[0085]
[0086]
[0087]
[0088] Table 1 above defines 12 common types of interface objects, which can cover most of the interface obje...
Embodiment 3
[0159] Corresponding to the test case design method disclosed in Embodiment 1 and Embodiment 2 of the present invention, Embodiment 3 of the present invention also provides a test case design device, see image 3 ,include:
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