Supercharge Your Innovation With Domain-Expert AI Agents!

A script generation method and device

A script generation and script technology, applied in the direction of program control device, user interface execution, etc., can solve the problem of slow script generation

Active Publication Date: 2019-05-14
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a script generation method and device, aiming to solve the problem that the existing method generates scripts at a too slow speed

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
  • A script generation method and device
  • A script generation method and device
  • A script generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] figure 1 It shows a flow chart of a script generation method provided by the first embodiment of the present invention, and the details are as follows:

[0025] Step S11, determining the edge of the measured object on the interface.

[0026] In this step, each element presented on the interface of the terminal device is a target to be tested. For example, the target to be tested may be an application icon, a status bar, etc. displayed on the interface. Assume that the interface of the terminal device is as follows figure 2 As shown, each measured target is image 3 elements shown.

[0027] When determining the edge of each measured target through the edge detection algorithm, the step S11, determining the edge of the measured target on the interface, specifically includes:

[0028] A1. Acquire the image information of the interface. Wherein, the image information of the interface includes the background image information of the interface and the image information ...

Embodiment 2

[0049] Figure 4 It shows a structural diagram of a script generation device provided by the second embodiment of the present invention. The script generation device can be applied to a terminal device, and the terminal device can include a radio access network (RAN) to communicate with one or more core networks. The user equipment can be a mobile phone (or called a "cellular" phone), a computer with a mobile device, etc. For example, the user equipment can also be a portable, pocket, hand-held, computer built-in or vehicle-mounted mobile phone devices that exchange voice and / or data with the radio access network. For another example, the mobile device may include a smart phone, a tablet computer, a personal digital assistant PDA, a sales terminal POS, or a vehicle-mounted computer. For ease of description, only parts related to the embodiments of the present invention are shown.

[0050] The script generation device includes: a measured target edge determination unit 41 , a...

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 belongs to the field of software and provides a script generation method and device. The script generation method includes determining the edge of an objective to be tested on an interface; according to the edge of the objective to be tested, dividing the objective to be tested and acquiring a screen coordinate of the objective to be tested; detecting an operation event on the screen and acquiring information of the operation event; based on the objective to be tested divided, the screen coordinate of the objective to be tested and the operation event, generating the corresponding script. According to the embodiment, the script generation speed is increased.

Description

technical field [0001] The embodiments of the present invention belong to the field of software, and in particular relate to a script generation method and device. Background technique [0002] At present, terminal devices are being updated faster and faster, and any terminal device needs to design a large number of scripts and conduct a large number of tests according to the designed scripts before it is launched into the market. [0003] In the existing script generation methods, it is usually necessary to manually capture the image of the target area and set the action type in order to obtain the information of a script. Wherein, when setting the action type, it is set in the following way, the user clicks the right button and selects the corresponding action type from the pop-up menu. Since the number of scripts used for testing is usually large, and the steps of the existing script generation method are too cumbersome, the speed of script generation is too slow. Cont...

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 Patents(China)
IPC IPC(8): G06F9/451
Inventor 康宗学
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More