Applet testing method, device and system, equipment and medium
A small program and technology to be tested, applied in the computer field, can solve the problems of limited control ability of small programs, and achieve the effect of expanding the controllable range and improving the convenience.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0082] Figure 1B It is a flow chart of a small program testing method in Embodiment 1 of the present application, and this embodiment of the present application is applicable to the automatic testing of small programs in the host program. The method is executed by a small program testing device, which is realized by software and / or hardware, and is specifically configured in a test engine of a host program installed with the small program, and the test engine can be configured in an electronic device installed with the host program .
[0083] Such as Figure 1B A small program testing method is shown, including:
[0084] S101. When the applet to be tested in the host program is in the running state, obtain the test engine master control code file and the test engine slave control code file to be injected.
[0085] Wherein, at least one applet is loaded in the host program installed in the terminal device, so that the applet can be used without downloading and installing th...
Embodiment 2
[0104] figure 2 It is a flow chart of a small program testing method in Embodiment 2 of the present application. This embodiment of the present application is optimized and improved on the basis of the technical solutions of the above-mentioned embodiments.
[0105] Further, the operation "receive the test instruction sent by the external module, and execute the test instruction or notify the slave process to execute the test instruction" is refined to "receive the test from the test driver module forwarded by the external test agent module Instruction; determine that the operation indicated by the test instruction is a runtime environment manipulation operation or a page manipulation operation; if it is a runtime environment manipulation operation, then execute the test instruction, and if it is a page manipulation operation, then notify the slave process to execute the test Instructions" to clarify the manipulation category of the master-slave process to ensure the orderlin...
Embodiment 3
[0122] image 3 It is a flow chart of a small program testing method in Embodiment 3 of the present application. This embodiment of the present application is optimized and improved on the basis of the technical solutions of the above-mentioned embodiments.
[0123] Further, the following operation is added in the applet testing process: "monitor the page event through the slave process, and send the page event information to the main process when the page event is monitored; send the page event information to the main process through the main process Send to an external test agent module, so as to send the page event information to the test driver module through the test agent module, so as to further enrich the function of the slave process of the applet to be tested.
[0124] Such as image 3 A small program testing method is shown, including:
[0125] S301. When the applet to be tested in the host program is in the running state, obtain the test engine master control code ...
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