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

Mobile terminal automatic test script generation method based on stream real-time screen

A technology for automated testing and script generation, applied in software testing/debugging, error detection/correction, instrumentation, etc., to solve problems such as occupying the time of R&D personnel, affecting the writing speed of test scripts, and poor implementation on the mobile terminal. The effect of improving image recognition ability, convenient script writing, and lowering the threshold

Pending Publication Date: 2021-12-14
INSPUR QILU SOFTWARE IND
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Like PC application testing technology, in order to save manpower, time or hardware resources, and improve testing efficiency, there is also the concept of automated testing, but the traditional element-based method requires the joint collaboration of testing and R&D personnel, which will take up the time of R&D personnel and also It will affect the speed of writing test scripts, and the way elements are implemented on the mobile side is not very good

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
  • Mobile terminal automatic test script generation method based on stream real-time screen

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] combined with figure 1 , this embodiment proposes a mobile terminal automated test script generation method based on streaming real-time screens, the computer terminal communicates with the mobile terminal, displays the screen of the mobile terminal on the web page in real time, and interacts with the mobile terminal in real time, At the same time, select the required area on the mobile phone screen on the web page, mark the operation to be performed, form the operation steps, and finally generate an executable script from the recorded steps with one click.

[0032] The specific implementation process of this embodiment includes:

[0033] Step S1, based on the minicap tool deployed in the computer, monitor the screen interface of the mobile terminal in real time through the browser, put the executable file and so file in the file directory of the mobile phone, start a socket service, and move the mobile phone by communicating with the socket service The entire screen o...

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 a mobile terminal automatic test script generation method based on a streaming real-time screen, and relates to the technical field of computer software testing, and the implementation content of the method comprises the following steps: communication is carried out between a computer terminal and a mobile phone terminal through a socket mode, the screen of the mobile phone terminal is displayed in real time on a web page, and real-time interaction is carried out with the mobile phone terminal. And meanwhile, a required area is selected on a screen of the mobile terminal of the mobile phone on a web page, an operation to be performed is marked, an operation step is formed, and finally an executable script is generated from the recorded step by one key. According to the method, the automatic test script can be efficiently and accurately generated in the automatic test process of the mobile terminal, the test case compiling threshold is lowered, and test case compiling is simpler.

Description

technical field [0001] The invention relates to the technical field of computer software testing, in particular to a method for generating automated test scripts at a mobile terminal based on streaming real-time screens. Background technique [0002] With the development of society, mobile devices have become a must-have daily item, and the convenience of mobile apps also makes them used more and more frequently. For developers, the quality of mobile applications follows guarantee. This also requires a lot of effort to test the app before it goes live. [0003] Like PC application testing technology, in order to save manpower, time or hardware resources, and improve testing efficiency, there is also the concept of automated testing, but the traditional element-based method requires the joint collaboration of testing and R&D personnel, which will take up the time of R&D personnel and also It will affect the speed of writing test scripts, and the way elements are implemented...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684
Inventor 张庆鑫孙贤雯阚宝丽侯卫峰
Owner INSPUR QILU SOFTWARE IND