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 effic

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

Example Embodiment

[0028] Example one

[0029] figure 1 This is a flowchart of a script recording method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of using scripts to perform automated tests of various service types on APPs. The method can be executed by the script recording device provided in the embodiment of the present invention, which can be implemented by hardware and / or software. Generally, it can be integrated into a computer device, such as a personal computer (PC). Such as figure 1 As shown, it specifically includes the following steps:

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

[0031] Among them, after the recorder is successfully logged in, it first establishes a connection with the smart terminal where the application to be tested is located. Optionally, the connection method can be selected as needed. It can be connected through a data line, a local ar...

Example Embodiment

[0041] Example two

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

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

[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 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 in the recorder interface.

[0048...

Example Embodiment

[0052] Example three

[0053] image 3 This is a flowchart of a script recording method provided in Embodiment 3 of the present invention. The technical solution of this embodiment is further refined on the basis of the above technical solution, such as image 3 As shown, it specifically includes the following steps:

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

[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 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 based on the control information and the image corresponding to the image comparison area before the operation of the application to be tested.

[0058] Among them, on the basis of...

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
Try Eureka
PatSnap group products