Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for determining operation coordinate of automation test script during playback

A technology of automated testing and script playback, applied in the field of image recognition, can solve problems such as incorrect matching of operation coordinates, affecting matching results and accuracy of matching positions, affecting accuracy of target relocation, etc., and achieves the effect of improving matching efficiency

Active Publication Date: 2016-07-06
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, in the actual application of script recording and playback, there are still some problems with the use of SIFT feature matching. First, it will lead to incorrect matching of operation coordinates. Unnecessary matching points will affect the accuracy of matching results and matching positions, and affect the accuracy of target relocation.
When SIFT features are matched, two key points with different positions may have similar feature vectors, so that the algorithm considers that these two key points match, and these unnecessary matching points will affect the accuracy of the matching results and matching positions. , affecting the accuracy of target relocation
Secondly, the matching operation time affects the real-time performance of playback. When SIFT feature points are matched, the 128-dimensional feature vector distance calculation will generate unnecessary computing time for matching with invalid SIFT feature points, which will affect the real-time playback performance.

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 determining operation coordinate of automation test script during playback
  • Method and device for determining operation coordinate of automation test script during playback
  • Method and device for determining operation coordinate of automation test script during playback

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The exemplary embodiments will be described in detail here, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present invention. Rather, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0034] figure 1 It is a flowchart of a method for determining operation coordinates during playback of an automated test script according to an exemplary embodiment. This embodiment may be suitable for determining the operation coordinates during playback according to the operation coordinates during recording during automated testing. Situation such as figure 1 As shown, the meth...

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 relates to a method and a device for determining an operation coordinate of an automation test script during playback, comprising steps of zooming a graphic user interface of a tested mobile device to a preset size to obtain a first graph user interface and a second graphic user interface before recording and playing back the test script, recording the operation coordinate and the operation icon during the recording process during the process of recording the test script, calculating the characteristic points of the operation icon and the second graphic user interface during the process of playing back the test script, screening a characteristic point as an effective characteristic point from the characteristic points according to the distance between the operation coordinate, calculating all the matching points between the effective characteristic point and the operation coordinate, and using the mass center of the calculated matching point as the operation coordinate for the playback. The disclosed technical scheme can effectively filter the noise point which is relatively far away from the real object, can accurately match the operation object during recording and improves the matching efficiency.

Description

Technical field [0001] The present disclosure relates to the field of image recognition technology, and in particular, to a method and device for determining operation coordinates during playback of an automated test script. Background technique [0002] At present, the related technologies based on the recording and playback of picture scripts are sikuli (Sikuli is a novel graphics scripting language, which is a novel graphics scripting language designed by MIT researchers. Computer users only need to have the most basic programming skills. To write out lines of code, instead of using screenshots to combine the captured graphic elements to create a magical program), this technology uses a pixel-based template matching method for image recognition, that is, by sliding the template image and The original images are compared, and the difference result of each sliding comparison is obtained through the square difference matching algorithm, and finally the area of ​​the sliding compa...

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): G06K9/46
CPCG06V10/443G06V10/462
Inventor 徐祖亮
Owner NETEASE (HANGZHOU) NETWORK CO LTD