Android-platform-based automated testing method and testing tool
An automated testing and platform technology, applied in software testing/debugging, etc., can solve problems such as waste of human and material resources, and achieve the effect of saving human and material resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] figure 1 The flow of the automated testing method based on the android platform provided by the first embodiment of the present invention is shown, and the details are as follows:
[0033] In step S1, the tool initialization step is used to obtain the device object connected to the current PC, and read the key-value mapping file of the linux layer and the android layer into the corresponding HashMap.
[0034] In the embodiment of the present invention, this step is a pre-step for implementing automated testing based on the android platform. The automated testing tool needs to be connected to an external device object. The device object is an Android operating system device, including but not limited to a smart Mobile phones, tablets, and smart TVs, etc. The key value mapping file based on the linux layer is qwerty.kl, which includes the function of operating the device object and the key value corresponding to the function. By clicking the device button, the system can...
Embodiment 2
[0045] figure 2 shows that the second embodiment of the present invention provides figure 1 The specific workflow of script recording step S2 described in is described in detail as follows:
[0046] In step S21, the recording step is triggered, which is used to identify that the script recording can be started;
[0047] In the embodiment of the present invention, this step is a pre-step for realizing script recording, and the script recording starts only when the device object receives the command to trigger recording. During specific implementation, a "start recording" button may be provided on the working interface of the automatic testing tool, and the tester starts to execute the script recording by clicking the button.
[0048] In step S22, the connection confirmation step is used to confirm whether the automated test tool has acquired the device object.
[0049] In the embodiment of the present invention, this step is also a preferred step before script recording. In...
Embodiment 3
[0066] image 3 shows the third embodiment of the present invention provided figure 2 The specific process of the script parsing steps described in is detailed as follows:
[0067] In step S251, the automated testing tool invokes the trigger analysis process.
[0068] In step S252, it is judged whether the stored execution script information is a valid script, and if it is an invalid script, the script parsing ends.
[0069] In step S253, if the execution script information is a valid script, it is further judged whether the execution script information contains the key value indicating the operation action of the device is a device key operation or a remote control key operation, if it is not a device key or Press the button on the remote control, and the script parsing ends.
[0070] In step S254, if the key value representing the device operation action is the device key operation or the remote control key operation, then the key value is mapped with the HashMap loaded ...
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