Method and device for merging interface jump path diagrams

A technology of interface jump and path map, applied in error detection/correction, instrument, software testing/debugging, etc., can solve the problems of insufficient testing, redundant testing, lack of testing direction, etc., and achieve the effect of reducing complexity

Pending Publication Date: 2022-01-18
NANJING UNIV
View PDF1 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Automated testing tools test UI applications based on random events, resulting in a large number of redundant tests
At the same time, due to the lack of guiding test strategies and test directions, the distribution of test scenarios is uneven, some scenarios are over-tested, and some scenarios are under-tested

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 merging interface jump path diagrams
  • Method and device for merging interface jump path diagrams

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0043] The method for merging interface jump path graphs of the present invention mainly includes two steps: similarity calculation and node merging. The aforementioned step S1 acquires the interface scene atlas, which means that the input of the present invention is the interface scene atlas. An interface scene atlas is a collection of interface scene graphs. The interface scene graph includes interface scene information set and interface jump information. The interface scene information set is a collection of interface scene information. The interface scene information is used to represent the interface when the program executes a certain function scene, including interface screenshots and control layout information. It can be seen that the interface scene graph is an interface path jump graph with interface scene information as nodes and interface jump ...

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 and a device for merging interface jump path diagrams. According to the method, similarity analysis is carried out on interface scenes on each interface jump path generated by testing the UI application interface by an automatic testing tool, and the similar interface scene nodes are merged, so that each interface jump path is merged, the merged interface jump path diagram is generated, and the complexity of subsequent analysis is reduced. According to the method, when the interface scene similarity is analyzed, a method of combining interface screenshot and control layout similarity comparison is adopted. Wherein when the similarity of the interface screenshots is calculated, feature vectors are extracted through a convolutional neural network, and then the distance between the feature vectors is used as the similarity of the interface screenshots; and when the control layout similarity is calculated, the control layout is converted into simplified layout texts, and then the text similarity between the layout texts is calculated.

Description

technical field [0001] The present invention relates to automated test model merging of UI applications. Background technique [0002] UI applications are software with interface interaction, including desktop software on various desktop computers and various software or Web applications on mobile terminals. Each UI application needs to undergo a complete interface function test before release to ensure that the UI application meets design expectations. Interface function testing of such UI applications usually requires testers to manually complete the work. However, with the development of software technology, some automatic testing tools have also been produced, which can perform automatic simulation and manual testing. The testing of UI applications by automated testing tools is based on random events, resulting in a large number of redundant tests. At the same time, due to the lack of guiding test strategies and test directions, the distribution of test scenarios is u...

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): G06F8/38G06F11/36
CPCG06F8/38G06F11/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