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
Embodiment 1
[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 write operation codes corresponding to the classified interactive controls respectively;
[0064] S02. According to the classification, take screenshots of the interactive controls in all the interfaces of the product to be tested, respectively generate screenshots corresponding to each category, and use the machine learning framework to perform model training on the screenshots corresponding to each category until it is trained The detection accuracy of the model 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 on the current interface, and circle all the interactive controls on the current interface;
[0066] Wherein, the ...
Embodiment 2
[0072] The difference between this embodiment and Embodiment 1 is that in the step S3, the interactive control is tested while recording it, and after the test is completed, a recording file corresponding to the test case is generated, and the recording file is recorded. to store;
[0073] After the step S3, also include 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 data record of the selected recorded test case;
[0075] The data records saved during the testing process can not only be applied to software testing, but also in subsequent software applications, if common repetitive operations need to be performed, they can be saved as common operation records and played back when needed.
Embodiment 3
[0077] Please refer to figure 2 , an automated testing terminal 1 based on machine learning, comprising a memory 2, a processor 3, and a computer program stored on the memory 2 and operable on the processor 3, and the processor 3 executes the computer program The program realizes each step in the first embodiment.
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com