Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for transcribing and applying test script on mobile terminal

A mobile terminal and application testing technology, which is applied in software testing/debugging, etc., can solve problems such as execution failure, inability to execute across resolutions, and low accuracy of execution results, so as to achieve the effect of getting rid of restrictions and facilitating result judgment

Active Publication Date: 2013-08-28
BEIJING YUNCE INFORMATION TECH CO LTD
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The advantage of this scripting method is that it is easy to operate and does not require professional programming knowledge, but it has the disadvantage of low accuracy of execution results.
The specific manifestations are: the executed terminal and the recorded terminal must have the same resolution, and cannot be executed across resolutions; if the orientation of the terminal screen changes, the script will also fail to execute; if text input is involved, if the execution terminal and the recording are used Different input methods, the script will also fail to execute, it is difficult to verify the accuracy of the results

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
  • Method and system for transcribing and applying test script on mobile terminal
  • Method and system for transcribing and applying test script on mobile terminal
  • Method and system for transcribing and applying test script on mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] It is believed that the features and advantages of the above solutions of the present invention will be more apparent through the following detailed description of specific embodiments of the present invention in conjunction with the accompanying drawings.

[0039] In the present invention, "test script" refers to the program that realizes the test instance, image 3 is a flowchart of a method for automatically generating a test execution sequence for a software testing process according to an embodiment of the present invention.

[0040] Depend on image 3 As can be seen from the disclosed flow chart, the present invention proposes a method for recording application test scripts on a mobile terminal, comprising the following steps:

[0041] A. The mobile terminal is connected to the computer, and the application program is started in debug mode, and the debugger program on the computer and the application program are connected through the TCP / IP protocol;

[0042] B....

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 relates to a method and system for transcribing and applying a test script on a mobile terminal. The method comprises the following steps: the mobile terminal is connected to a computer to start up an application program in a debug mode, and a debugger program and the application program on the computer are connected with each other through a TCP (Transmission Control Protocol) / IP (Internet Protocol); an application source code is not needed, and a breaking point is added in correlation functions operated by a user in the environment of a black box; the user operates on the mobile terminal and triggers breaking point hit; at the moment, the debugger program records related actions and transcribes operation aiming at an interface element, requests obtaining the current variable value through a debug protocol at the same time, and continues execution in the breaking point position not to influence the operation of the user; and finally the test script is formed. According to the technical scheme, the script can be simply and conveniently transcribed, meanwhile, the degree of accuracy of script execution is high, and the result is easily judged.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a method and a device for automatically generating test scripts in the software testing process. Background technique [0002] Software testing refers to the process of discovering software defects by testing various functions of software. At present, software testing technology is developing in depth, and new efficient software testing methods are still emerging. As a branch of software testing technology, software automated testing is a new testing technology based on traditional code debugging and black-box manual testing. At the same time, the mobile field is developing rapidly, and mobile applications are increasingly affecting our lives. On mobile terminals, tens of thousands of software are developed for mobile users every day. This field has a fast update speed. , short life cycle, and users have higher and higher requirements for functions, performance, and stability, so...

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
Inventor 戴亦斌
Owner BEIJING YUNCE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products