Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Script recording method and device, terminal and storage medium

A technology of script recording and scripting, applied in instruments, electrical digital data processing, computing, etc., can solve problems such as low recording efficiency, and achieve the effect of automatic configuration and easy use.

Pending Publication Date: 2020-02-25
北京博睿宏远数据科技股份有限公司
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a script recording method, device, terminal and storage medium, and its purpose is to solve the problem of low recording efficiency caused by manual design and writing of script configuration due to the recording operation on the mobile phone terminal in the existing script recording scheme

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
  • Script recording method and device, terminal and storage medium
  • Script recording method and device, terminal and storage medium
  • Script recording method and device, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] figure 1 It is a flow chart of the script recording method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where scripts are used to perform automated tests of various business types on APPs, and the method can be executed by the script recording device provided in the embodiment of the present invention, which can be implemented by means of hardware and / or software. Generally, it can be integrated into a computer device, such as a personal computer (Personal Computer, PC). Such as figure 1 As shown, it specifically includes the following steps:

[0030] S11. Project the acquired interface of the application program to be tested to the projection area in the interface of the recorder.

[0031] Among them, after the recorder logs in successfully, it first establishes a connection with the smart terminal where the application program to be tested is located. Optionally, the connection method can be selected according to...

Embodiment 2

[0042] figure 2 It is a flow chart of the script recording method provided by Embodiment 2 of the present invention. The technical solution of this embodiment is further refined on the basis of the above-mentioned technical solution, such as figure 2 As shown, it specifically includes the following steps:

[0043] S21. Project the acquired interface of the application program to be tested to the projection area in the interface of the recorder.

[0044] S22. Send corresponding operation information to the recording server according to the operation performed by the user in the projection area.

[0045] S23. Receive the control information returned by the recording server according to the operation information.

[0046] S24. Determine configuration data according to the control information, and record the operation information and corresponding configuration data in the script.

[0047] S25. Display the operation information and corresponding configuration data on the int...

Embodiment 3

[0053] image 3 It is a flow chart of the script recording method provided by the third embodiment of the present invention. The technical solution of this embodiment is further refined on the basis of the above-mentioned technical solution, such as image 3 As shown, it specifically includes the following steps:

[0054] S31. Project the acquired interface of the application program to be tested to the projection area in the interface of the recorder.

[0055] S32. Send corresponding operation information to the recording server according to the operation performed by the user in the projection area.

[0056] S33. Receive the control information returned by the recording server according to the operation information.

[0057] S34. Set the performance verification data of the last non-frame selection or screenshot operation according to the control information and the image corresponding to the image comparison area before the operation of the application to be tested.

[...

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 embodiment of the invention discloses a script recording method and device, a terminal and a storage medium. The method comprises: projecting an obtained interface of a to-be-tested application program to a projection area in a recorder interface; sending the corresponding operation information to a recording server according to the operation of the user in the projection area; receiving control information returned by the recording server according to the operation information; and determining configuration data according to the control information, and recording the operation informationand the corresponding configuration data in a script. According to the technical scheme provided by the embodiment of the invention, the problem of low recording efficiency due to the fact that script configuration still needs to be manually designed and written when recording operation is carried out at a mobile phone end in an existing script recording scheme is solved, automatic configurationof script actions is realized, and more convenience is brought to a user.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of application (Application, APP) testing, and in particular to a script recording method, device, terminal and storage medium. Background technique [0002] The mobile APP business has developed rapidly and has become an indispensable part of the daily life of consumers. New APPs continue to emerge, and the iteration cycle of existing APPs compared with traditional software is also greatly shortened. In order to ensure the normal use of APP business functions, it is necessary to conduct automated tests of various business types on the APP. Generally, the purpose of automatic operation of the APP is achieved by pre-recording scripts and then interpreting and executing the scripts. Today's more commonly used script recorders based on the World Wide Web (Web), such as Testin, reduce the burden of manual writing, but usually ignore the more detailed and in-depth mining of performance ...

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/3688
Inventor 孟曦东邓小志冯泽康
Owner 北京博睿宏远数据科技股份有限公司
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
Eureka Blog
Learn More
PatSnap group products