Automatic test method and device
A technology for automated testing and testing requirements, applied in the field of testing, can solve problems such as increasing the amount of code in test cases and increasing the complexity of testing, and achieve the effects of reducing code amount, reducing learning costs, and avoiding learning
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] see figure 1 , this embodiment provides a method for automated testing, the process of the method is as follows:
[0057] 101: When testing the object under test, run the test case, and load the Android tool from the specified path.
[0058]102: Call the API provided by the Android tool to perform a test operation according to the test requirement, so as to complete the test of the object under test.
[0059] Among them, Android tools are loaded from the specified path, including:
[0060] Loads the pre-stored toolkit of Android tools from the classpath path according to the load statement.
[0061] Wherein, according to the test requirement, the application programming interface API provided by the Android tool is called to perform the test operation, including at least one of the following:
[0062] Call the operation resource folder API provided by the Android tool according to the test requirements to perform operations on the resource folder;
[0063] Call the ...
Embodiment 2
[0079] see figure 2 , this embodiment provides a method for automated testing, the process of the method is as follows:
[0080] 201: When testing the object under test, run the test case, and load the Android tool from the specified path.
[0081] The tested objects involved in this embodiment are application programs in the Android (Android) system, such as weather, clock and calendar. Wherein, the measured object may contain one or more functions, usually several functions. The functions may include, but are not limited to, turning on and off, and the like. When testing the function of the object under test, you can write a test case according to each function, and test whether the function is normal during the process of running the test case.
[0082] Android Tools (aTools for short) is an automated testing framework developed for the Android system. It consists of one or more automated testing basic modules, automated testing management modules, automated testing sta...
Embodiment 3
[0157] see image 3 , the present embodiment provides a device for automated testing, the device comprising:
[0158] The loading module 301 is used to run the test case and load the Android tool from the specified path when the object under test is tested;
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