A kind of automatic traversal control method and terminal based on neuron model
A neuron model and traversal technology, applied in biological neural network models, software testing/debugging, physical implementation, etc., can solve problems such as insufficient traversal depth and traversal loops, to increase traversal depth, solve loopback problems, and solve traversal depth problems Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] Please refer to figure 1 , a method for automatically traversing controls based on a neuron model, including steps:
[0057] S1. Obtain interface control information, and analyze clickable control groups;
[0058] Among them, based on the uiautomator framework, the interface control information can be obtained through Hierarchy, and then the bounds attribute, clickable attribute, long-clickable attribute, scrollable attribute, class attribute, password attribute, and text attribute of the control are analyzed, according to the clickable attribute and text attribute to determine whether to add the control to the clickable control group, specifically, select clickable=true and the control whose text value is not in the blacklist is added to the clickable control group of the interface; the blacklist can be user-defined , for the controls in the blacklist, the click will not be triggered when traversing, such as the "logout" button in the application, after clicking the b...
Embodiment 2
[0083] Please refer to Figure 4 , a method for automatically traversing controls based on a neuron model, applied to an Android system, the specific steps are as follows:
[0084] The service of Android receives app data to be tested, and said data includes package name, interface name, test time, account and password;
[0085] Judging whether it is the first time to enter the service, if yes, then clear the historical log data, store the app data to be tested in the file, and store the start time of the traversal test, otherwise, obtain the app data to be tested from the file;
[0086] Get all the interfaces of the app to be tested, and judge whether the conditions for the end of the test are met. The conditions include the test time is up or the traversal degree reaches the threshold or the traversal is complete. If so, the traversal ends, the traversal data is stored, and the end broadcast is sent. Otherwise, the current interface is obtained;
[0087] Determine whether t...
Embodiment 3
[0094] A neuron model-based automatic traversal control terminal 1, comprising a memory 2, a processor 3 and a computer program stored on the memory 2 and operable on the processor 3, wherein the processor 3 executes the The program implements the steps of the first embodiment.
PUM

Abstract
Description
Claims
Application Information

- R&D
- 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