Application testing method and device in terminal equipment
A technology for terminal equipment and application testing, applied in software testing/debugging, etc., can solve serious problems of operating systems and models, high complexity, fragmentation, etc., and achieve good applicability, strong usability, and high reliability Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] see figure 1 , which is a flow chart of the application testing method in the terminal device provided in Embodiment 1 of the present application, mainly introduces the recording process, as shown in the figure, the method may include the following steps:
[0046] S101: Start the target application to be tested;
[0047] In order to obtain the script file used for testing the target application, firstly, the test process may be recorded to generate the script file. In the process of recording the test script file, firstly, the target application to be tested can be started in the terminal device. Specifically, test management software can be installed in the terminal device, and when it is necessary to record a test script for the target application, the target application to be tested can be started through the test management software. For example, in a terminal device equipped with an Android operating system, for a target application under the Android operating sy...
example 1
[0072] Example 1. When the target control is a local native control:
[0073] {"action":"click","activity":"com.taobao.tao.Welcome","index":"18","isLongClick":"false","sleep":13271,"view":" ImageView"}
[0074] Among them, the "action": "click" key-value pair indicates that the operation event is a click; the "index": "18" key-value pair indicates that the index of the control is 18; the "view": "ImageView" key-value pair indicates that the The control type of the control is the native ImageView type control of the system.
example 2
[0075] Example 2. When the target control is of type WebView:
[0076] {"action":"click","activity":"com.taobao.tao.BrowserActivity","className":"","id":"","index":"0","name":" null","ridInt":"2131230857","sleep":"41400","tagName":"IMG","text":"","value":"null","view":"HybridWebView", "xpath": " / html / body / div[2] / ul / li / div / img"}
[0077] Among them, the "action": "click" key-value pair indicates that the operation event is a click; the "index": "0" key-value pair indicates that the index of the control is 0; the "ridInt": "2131230857" key-value pair indicates... ; The key-value pair represents the path information xpath of the control.
[0078] Furthermore, during the recording of the test script, there usually needs to be a certain event interval between various operations, so that the target application can perform operations such as instruction execution, loading and refreshing pages. When using test scripts for playback to realize automatic testing, it is also necessary ...
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