Test method for application program, electronic device and system
A technology of application programs and testing methods, which is applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., and can solve problems such as increasing coding costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0123] Considering the interaction between the first electronic device and the second electronic device, this embodiment provides a testing method for application programs, such as figure 2 shown, including:
[0124] Step S101: The first electronic device performs a traversal operation on N controls on the UI (User Interface, user interface) of the application program to be tested; wherein, the N controls are all operable controls on the UI, and N is a positive integer.
[0125] In a specific implementation process, before step S101, it further includes: installing the application program to be tested on the system of the first electronic device.
[0126] Specifically, the first electronic device can be connected to the second electronic device through a data cable, and the test script on the side of the second electronic device can obtain the installation package of the application program to be tested provided by the tester, and based on the installation package, the applic...
Embodiment approach
[0153] Mode 2.1: Based on the CPU usage data corresponding to each control in the N controls, determine whether the CPU usage rate corresponding to each control in the N controls is greater than the first preset value, and calculate the corresponding CPU usage rate in the N controls Controls greater than the first preset value are determined as abnormal controls.
[0154] For example, the first preset value may be 40%. As shown in Table 1, when the controls Con_5, Con_8, and Con_9 are operated, the CPU occupancy rates of the application program to be tested are 41%, 80%, and 90% respectively. , all exceeded the 40% standard, so the controls Con_5, Con_8, and Con_9 were determined as abnormal controls. Wherein, the first preset value can be customized by the tester, and the test script on the second electronic device side can obtain the first preset value input by the tester, and send the first preset value to the first electronic device Side test APP.
[0155] Method 2_2: Ba...
Embodiment 2
[0174] Based on the same inventive concept, considered from the side of the first electronic device, this embodiment provides a testing method for an application program, which is applied to the first electronic device, such as image 3 shown, including:
[0175] Step S201: Perform traversal operations on N controls on the user interface UI of the application to be tested; wherein, N controls are all operable controls on the UI, and N is a positive integer;
[0176] Step S202: During the traversal operation of the N controls, monitor the performance and / or stability of the application program to be tested in real time, and obtain monitoring data corresponding to each of the N controls;
[0177] Step S203: Send the monitoring data corresponding to each of the N controls to the second electronic device, so that the second electronic device can determine P out of the N controls based on the monitoring data corresponding to each of the N controls. Abnormal control, P is a positiv...
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