Method for generating and testing internal test program of application program
An application and internal testing technology, applied in the field of mobile applications, can solve problems such as affecting the effect of grayscale publishing, information leakage of new functions, etc., to achieve good portability, avoid secondary development, and reduce costs.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] Based on this, the embodiment of the present invention provides a method for generating an application internal test program based on an iOS system, such as figure 1 As shown, the method includes the following steps:
[0031] Step S101: Developing a login verification code module. The login verification code module uses method interaction technology to load the login verification code on the basis of executing the original startup code. In one embodiment, when developing a login verification code module, the corresponding relationship between the selector and the function pointer can be modified according to the method exchange technology, and the login verification code call can be added to the application startup entry function to generate the login verification code module. The login verification code module has the ability to exchange APP startup codes.
[0032] Specifically, you can use the Method Swizzling technology of Objective-C Runtime to dynamically change t...
Embodiment 2
[0042] The embodiment of the present invention also provides a method for internal testing of application programs based on the iOS system, such as figure 2 As shown, the test method includes the following steps,
[0043] Step S201: Install the internal test program package generated according to the iOS system-based application internal test program generation method described in the above embodiment into the iOS device. Specifically, the generated internal test program package can be pushed to all users using the corresponding APP, or in other words, the user can install the internal test program package according to the update prompt popped up by the corresponding application program.
[0044] Step S202: Open the application program installed according to the internal test package, and enter the login account and password in the pop-up login verification pop-up window. Specifically, when the application is opened after the installation is complete, a dynamic library conta...
Embodiment 3
[0050] The embodiment of the present invention provides an iOS system-based application internal test program generation device, such as Figure 4 As shown, the generating device includes:
[0051] The code generation module is used to develop the login verification code module. The login verification code module adopts method interaction technology to load the login verification code on the basis of executing the original startup code; for details, refer to the relevant description of step S101 in the above method embodiment.
[0052] A dynamic library generating module, configured to compile and generate a dynamic library according to the login verification code module; for details, refer to the relevant description of step S102 in the above method embodiment.
[0053] The internal test package generation module is used to inject the dynamic library into the source package of the application program as an internal test package. For details, refer to the related description ...
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