Automatic test method based on machine learning and terminal
A technology of automated testing and machine learning, applied in software testing/debugging, instrumentation, error detection/correction, etc., can solve problems such as time-consuming, cumbersome operation, and low testing efficiency, and achieve the effect of saving time and improving testing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0061] Example one
[0062] Please refer to figure 1 , An automated testing method based on machine learning, including steps:
[0063] S01. Classify the interactive controls of all interfaces of the product to be tested, and respectively write operation codes corresponding to the classified interactive controls;
[0064] S02. According to the classification, take screenshots of the interactive controls in all interfaces of the product to be tested, respectively generate screenshot images corresponding to each category, and use the machine learning framework to perform model training on the screenshot images corresponding to each category until the training is obtained The detection accuracy of the model of is greater than a preset value;
[0065] S1. Use the model trained by the machine learning framework to detect the current interface of the product to be tested, determine all the interactive controls of the current interface, and circle all the interactive controls of the current ...
Example Embodiment
[0071] Example two
[0072] The difference between this embodiment and the first embodiment is: in the step S3, the interactive control is recorded while being tested, and after the test is completed, a recording file corresponding to the test case is generated, and the recording file Store
[0073] After the step S3, it also includes the following steps:
[0074] S4. Receive the selected recorded test case, and test the interactive control corresponding to the data record in the current interface of the product to be tested in real time according to the selected data record of the recorded test case;
[0075] The data record saved during the test can not only be applied to software testing, but in subsequent software applications, if frequently used repeated operations need to be performed, it can be saved as a record of frequently used operations and replayed when needed.
Example Embodiment
[0076] Example three
[0077] Please refer to figure 2 , An automated test terminal 1 based on machine learning, comprising a memory 2, a processor 3, and a computer program stored in the memory 2 and running on the processor 3, and the processor 3 executes the computer The program implements each step in the first embodiment.
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap