Unlock instant, AI-driven research and patent intelligence for your innovation.

APP page control automation method and device based on IOS system

A page and page attribute technology, applied in the direction of program control device, software engineering design, user interface execution, etc., can solve the problems of low sensitivity and test efficiency, difficulty in coping with complex and changeable scenes, lack of automated framework, etc., and achieve test efficiency High, sensitive, scalable effects

Pending Publication Date: 2021-12-14
安冉
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] To this end, the present invention provides an IOS system-based APP page control automation method and device to solve the problem of lack of an automated framework, low sensitivity and test efficiency, and difficulty in coping with complex and changeable scenarios in mobile phone application testing

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • APP page control automation method and device based on IOS system
  • APP page control automation method and device based on IOS system
  • APP page control automation method and device based on IOS system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] see figure 1 , figure 2 and image 3 , providing an IOS system-based APP page control automation method, including the following steps:

[0053] S1. Install the application program to be tested on a mobile device, the mobile device runs an IOS system, and start the screen reading of the mobile device to expose the interface elements of the application program to be tested;

[0054] S2. Build an HTTP server framework for cross-domain and domain name resolution on the mobile device, perform domain name mapping on the mobile device, and perform communication between the mobile device and the test computer after domain name mapping through the HTTP server framework;

[0055] S3. Take a screenshot of the process of running the application program to be tested on the mobile device, traverse the query page attribute data to the screenshot, and send the application program to be tested to the HTTP server framework of the mobile device from the test computer terminal manipul...

Embodiment 2

[0086] see Figure 5 , Embodiment 2 of the present invention also provides a kind of APP page control automation device based on IOS system, and the application program to be tested is installed on mobile equipment, and described mobile equipment runs IOS system, comprises:

[0087] The page element exposure module 1 is used to start the screen reading of the mobile device to expose the interface elements of the application program to be tested;

[0088] The server construction module 2 is used to construct an HTTP server framework for cross-domain and domain name resolution on the mobile device, perform domain name mapping on the mobile device, and perform communication between the mobile device after the domain name mapping and the test computer terminal through the HTTP server framework ;

[0089] Application program processing module 3, the process of running the application program to be tested on the mobile device is taken as a screen shot, and the screen shot is traver...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an APP page control automation method and device based on an IOS system, and the method comprises the steps: starting the screen reading of a mobile device, so as to expose the interface elements of a to-be-tested application program; constructing an HTTP server framework on the mobile equipment, performing domain name mapping on the mobile equipment, and performing communication between the mobile equipment subjected to domain name mapping and a test computer end through the HTTP server framework; carrying out screenshot on the process of running the application program to be tested by the mobile equipment, traversing and inquiring page attribute data for the screenshot, and enabling a test computer end to send a control request of the application program to be tested to the mobile equipment through an HTTP server framework; and finding the control element corresponding to the page attribute data according to the page attribute data needing to be queried, and performing page triggering operation according to the coordinate information of the control element. Automation of the mobile device end is achieved, the test computer end and the mobile device can directly communicate, port mapping is not needed, and the method and device are high in sensitivity, high in test efficiency and high in expandability.

Description

technical field [0001] The invention relates to an IOS system-based APP page control automation method and device, and belongs to the technical field of software testing. Background technique [0002] Flutter is a cross-platform UI framework launched by Google, which can implement a set of codes and multiplex them. The introduction of Flutter technology makes it necessary to write two sets of codes for Android and IOS. Now only one set of codes needs to be written, which improves the efficiency of research and development. Although Flutter technology can improve the efficiency of research and development, it is still necessary to test the Flutter pages of different platforms. [0003] In the existing technology, there are many testing solutions. Among them, the Flutter driver lacks positioning tools, the code maintenance cost is high, the uncommon Dart language needs to be used, and it takes a lot of time to understand the project code. The combination of AI image recogniti...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/38G06F9/451G06F16/958
CPCG06F8/38G06F16/958G06F9/451
Inventor 安然
Owner 安冉