Method for automatically maintaining testing script based on model changing

A test script and automatic maintenance technology, which is applied in software testing/debugging, error detection/correction, instruments, etc., can solve high-cost problems and achieve the effect of reducing costs

Inactive Publication Date: 2018-03-06
NANJING UNIV
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] There are many ways to automatically generate test scripts. Before each version of the application is released, new test script

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 for automatically maintaining testing script based on model changing
  • Method for automatically maintaining testing script based on model changing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Certain embodiments of the accompanying drawings of the present invention are described in more detail below.

[0041] The present invention mainly obtains system default events, control events and control property changes by comparing two adjacent versions of the model, and then automatically maintains test scripts according to the changes, so that test scripts can be reused as much as possible, reducing The cost of maintaining a library of test scripts in regression testing.

[0042] The specific scheme of this embodiment is:

[0043] 1. Create an application model and generate test scripts for the initial release.

[0044] according to figure 1 , the present invention is based on the mobile application modeling technology, and the specific implementation method is as follows:

[0045] First, obtain the information needed for modeling by modifying the existing modeling tools. Since dynamic modeling and static modeling have their own advantages and disadvantages, in...

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 automatically maintaining a testing script based on model changing. The method is characterized by including the steps that 1, modeling is carried out, wherein thestate transition relationship of mobile application is extracted out with a modeling tool, an event sequence model (ESM) is established according to the state transition relationship to describe application behaviors, the ESM describes state information of the application and control information on all the interfaces, the states are shown by the interfaces, names of all the interfaces are exclusively determined, and if the names of the interfaces are changed, an original interface is deleted, a new interface is additionally increased, and control in the original interface is transferred to the new interface; 2, if the initial version of the application is used at present, the testing script are automatically generated; 3, for non-initial-version application, the testing script is directlyobtained by maintaining the testing script of the previous version.

Description

technical field [0001] The present invention relates to a method for automatically maintaining test scripts by automatically acquiring GUI changes of two adjacent versions of an application. Background technique [0002] With the rapid popularization of mobile terminals, thousands of mobile applications have emerged as the times require. While these applications bring convenience to our lives, there are also certain risks: most applications will obtain our privacy, such as mobile phone numbers, ID numbers, etc., and even manage our assets, such as bank cards, credit cards, etc. . Once there is a problem with these applications, it is easy to cause users' economic losses and leakage of private data. And with the fierce competition in the application market, there will be several or even dozens of applications with the same function. Once we find a problem with an application, we will definitely abandon it and look for other applications that meet our requirements. Therefore...

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
CPCG06F11/3684G06F11/3688
Inventor 王林章常娜娜李宣东
Owner NANJING UNIV
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