Method and device for performing automatic testing based on text

A technology of automated testing and text, applied in the direction of software testing/debugging, can solve the problems of high requirements and high costs for testers, and achieve the effect of reducing testing costs and improving efficiency

Inactive Publication Date: 2015-12-02
XIAMEN MEITU MOBILE TECH CO LTD
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This technical solution has very high requirements for testers and costs a lot.

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 device for performing automatic testing based on text
  • Method and device for performing automatic testing based on text
  • Method and device for performing automatic testing based on text

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0023] figure 1 A schematic diagram is constructed for a mobile terminal 100 according to an embodiment of the present invention. refer to figure 1 , the mobile terminal 100 includes: a memory interface 102 , one or more data processors, image processors and / or a central processing unit 104 , and a peripheral interface 106 . Memory interface 102, one or more processors 104, and / or peripheral interface 106 may be discrete componen...

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 method for performing automatic testing based on a text. The method is implemented in a mobile terminal and includes the steps that testing steps are compiled according to a preset text rule and saved as a testing text; testing is started, and the testing text is analyzed through middleware to obtain a testing script; the testing script is analyzed sentence by sentence to obtain a driver layer command corresponding to the testing script; the driver layer command is transmitted to a driver layer to be executed, and a corresponding testing result is output after execution, wherein the middleware is an executable jar file configured in an application of the mobile terminal.

Description

technical field [0001] The invention relates to the field of application technology of mobile terminals, in particular to an automatic testing method for mobile terminals. Background technique [0002] For the testing of mobile terminals, whether it is Android or IOS, there are more and more automated tests, such as performance testing, stress testing, regression testing, etc., and the efficiency of testing is getting higher and higher. At the same time, there is the problem of high cost of automated testing. Whether it is script writing or test execution, the existing automated testing needs to build a development environment, master the programming language and even understand the structure of mobile terminal applications, and then implement automated testing in the form of writing code scripts. [0003] Commonly used automation tools include Robotium, Uiautomator, MonkeyRunner, Appium, etc. for Android, and Uiautomation for IOS. The use of these tools requires the use of...

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 XIAMEN MEITU MOBILE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products