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

UI-based mobile end automated test method and system

An automated testing, mobile terminal technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problems of heavy testing workload and high maintenance cost, and achieve the effect of high testing efficiency

Inactive Publication Date: 2019-02-19
BEIJING CHEZHIYING TECH CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, the test method based on test scripts is mainly used when performing UI tests. Since testers need to write corresponding test scripts for each test, in today's society where mobile APPs are rapidly iterated, the test workload is large and the maintenance cost is high. high deficiency

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
  • UI-based mobile end automated test method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] In order to make the technical problems, technical solutions and beneficial effects solved by the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0050] refer to figure 1 , the present invention provides a UI-based mobile terminal automated testing method, comprising the following steps:

[0051] Step 1, the server installs the Appium module and the Excel program;

[0052] Step 2, the server starts the Excel program, opens the Excel form, and based on the Excel form, the server uses keyword-driven logic to write test cases;

[0053] Wherein, the specific writing method of the test case is: the server encapsulates the test operation command of the mobile terminal into a corresponding test operation keyword, and e...

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 provides a UI-based mobile end automated test method and system. The server adopts keyword driving logic to compile test cases. The server establishes a connection with the mobile terminal which needs to carry out UI test, the server reads the mobile terminal equipment information of the mobile terminal, the server reads the test case of the Excel form, and obtains each test operation keyword arranged according to the operation order, and corresponding operation object; Then, the server transforms the test cases into test commands, and sends the test commands and the configuration information determined in step 5 to the Appium module. The mobile terminal executes corresponding test commands and feeds back the test execution results to the server. The method and system have the advantages that the user only needs to input the test operation keyword and the operation object in the Excel form, and the corresponding method in the system can be called to realize the UI automation test of the mobile terminal through the whole functional method package, which has the advantages of high test efficiency.

Description

technical field [0001] The invention belongs to the technical field of UI testing, and in particular relates to a UI-based mobile terminal automatic testing method and system. Background technique [0002] UI (User Interface, user interface) testing is a technology for testing UI control elements on mobile applications, for example, clicking on each UI control element on the user interface to detect whether the output results of the application under test conform to Expected test results. [0003] In the prior art, the test method based on test scripts is mainly used when performing UI tests. Since testers need to write corresponding test scripts for each test, in today's society where mobile APPs are rapidly iterated, the test workload is large and the maintenance cost is high. High enough. Contents of the invention [0004] Aiming at the defects existing in the prior art, the present invention provides a UI-based mobile terminal automated testing method and system, whi...

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/3684G06F11/3688
Inventor 王熙张炳伟
Owner BEIJING CHEZHIYING 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