Test script generating device and method

A test script and generation device technology, applied in the field of test script generation devices, can solve the problems of low test script writing efficiency, and achieve the effect of improving the writing efficiency

Inactive Publication Date: 2015-12-30
NUBIA TECHNOLOGY CO LTD
View PDF8 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current test method is to operate the control based on the coordinates, and the coordinates of the same control are different for mobile terminals with d

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
  • Test script generating device and method
  • Test script generating device and method
  • Test script generating device and method

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0087] Further, based on the first embodiment, a second embodiment of the test script generation device of the present invention is proposed. In this embodiment, the second acquisition module 20 includes:

[0088] An information acquisition unit, configured to acquire description information of the execution controls of each control instruction based on the Uiautomator framework, wherein the description information includes text information, size information, position information of the control, and whether it is clickable;

[0089] An identification generating unit, configured to generate unique identification information of each execution control based on the description information of each execution control.

[0090] In this embodiment, the information acquisition unit first acquires the description information of each control instruction based on the functions provided by the Uiautomator framework, wherein the description information includes text information, size informat...

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 test script generating device. The test script generating device comprises a first acquisition module, a second acquisition module and a generation module, wherein the first acquisition module is used for acquiring control instructions corresponding to all test steps in a preset MTBF (mean time between failure) test process; the second acquisition module is used for acquiring identification information of executive controls of the control instructions on the basis of a Uiautomator frame; the generation module is used for generating a test script of the preset MTBF test process according to the control instructions of the preset MTBF test process and the identification information of the executive controls of the control instructions. The invention further discloses a test script generating method. The writing efficiency of the test script can be improved.

Description

technical field [0001] The invention relates to the field of automated testing, in particular to a test script generation device and method. Background technique [0002] MTBF (MeanTimeBetweenFailure, mean time between failures) is an indicator to measure product reliability, specifically, it is the average time between two adjacent failures. For mobile terminals represented by mobile phones, the MTBF test is to test the stability of the mobile terminal. By continuously and repeatedly operating the basic functions of the mobile terminal, it is checked whether the mobile terminal is normal and whether there is a flash during the entire test process. Back off, no response, error, crash, restart, automatic shutdown and other faults, and by calculating the number of faults within the test time, to get the MTBF value, so as to measure the stability of the system. In the prior art, the automation of the MTBF test is realized by writing a test script and executing each control com...

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): G06F11/36
Inventor 付柳强
Owner NUBIA TECHNOLOGY 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