CN110837474A - Script recording method, device, terminal and storage medium - Google Patents
Script recording method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN110837474A CN110837474A CN201911107059.XA CN201911107059A CN110837474A CN 110837474 A CN110837474 A CN 110837474A CN 201911107059 A CN201911107059 A CN 201911107059A CN 110837474 A CN110837474 A CN 110837474A
- Authority
- CN
- China
- Prior art keywords
- script
- configuration data
- control information
- configuration
- operation information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000013515 script Methods 0.000 title claims abstract description 105
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000009471 action Effects 0.000 claims abstract description 21
- 238000012360 testing method Methods 0.000 claims description 38
- 230000015654 memory Effects 0.000 claims description 20
- 238000012795 verification Methods 0.000 claims description 15
- 238000012986 modification Methods 0.000 claims description 6
- 230000004048 modification Effects 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 3
- 238000013461 design Methods 0.000 abstract description 5
- 230000008569 process Effects 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 5
- 230000004044 response Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000013480 data collection Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 102100035115 Testin Human genes 0.000 description 1
- 101710070533 Testin Proteins 0.000 description 1
- 238000009412 basement excavation Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
本发明实施例公开了一种脚本录制方法、装置、终端及存储介质。该方法包括:将获取到的待测试应用程序的界面投射到录制器界面中的投射区域;根据用户在投射区域进行的操作,将对应的操作信息发送至录制服务器;接收录制服务器根据操作信息返回的控件信息;根据控件信息确定配置数据,并将操作信息及对应的配置数据记录在脚本中。本发明实施例所提供的技术方案,解决了现有脚本录制方案中因在手机端进行录制操作而仍需手动设计与编写脚本配置从而导致录制效率低下的问题,实现了脚本动作的自动化配置,更便于用户的使用。
The embodiment of the present invention discloses a script recording method, device, terminal and storage medium. The method includes: projecting the acquired interface of the application to be tested to a projection area in the interface of the recorder; sending corresponding operation information to the recording server according to the operation performed by the user in the projection area; receiving the return from the recording server according to the operation information control information; determine the configuration data according to the control information, and record the operation information and the corresponding configuration data in the script. The technical solution provided by the embodiment of the present invention solves the problem of low recording efficiency due to the need to manually design and write script configuration due to the recording operation on the mobile phone in the existing script recording solution, and realizes the automatic configuration of script actions, More user-friendly.
Description
技术领域technical field
本发明实施例涉及应用程序(Application,APP)测试技术领域,尤其涉及一种脚本录制方法、装置、终端及存储介质。The embodiments of the present invention relate to the technical field of application program (Application, APP) testing, and in particular, to a script recording method, device, terminal, and storage medium.
背景技术Background technique
移动APP业务发展迅速,已经成为广大消费者日常生活中不可或缺的一部分。新的APP不断涌出,相比较传统软件现有APP的迭代周期也大大缩短。为确保APP业务功能的正常使用,需要对APP进行各种业务类型的自动化测试,一般通过预先录制脚本,再通过对脚本的解释执行达到自动化操作APP的目的。如今较为常用的基于全球局域网(World WideWeb,Web)的脚本录制器如Testin,虽然减少了手动编写的负担,但通常由于过多的考虑通用性而忽略了对性能测试更细致而深入的挖掘,性能指标比较宽泛,测试场景也偏向于简单化。The rapid development of mobile APP business has become an indispensable part of consumers' daily life. New APPs are constantly emerging, and the iteration cycle of existing APPs is also greatly shortened compared to traditional software. In order to ensure the normal use of APP business functions, it is necessary to perform automated testing of various business types on the APP, generally by pre-recording scripts, and then interpreting and executing the scripts to achieve the purpose of automatically operating the APP. 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 excavation of performance testing due to too much consideration of generality. The performance indicators are relatively broad, and the test scenarios tend to be simplified.
现有技术采用的将手机屏幕同步到电脑端的脚本录制方法,由电脑端监听手机端屏幕上发生的触碰操作,通过触碰动作的起点位置和终点位置的关系判断触碰操作类型,进而获取对应位置的控件信息,并根据触碰操作类型及控件信息录制自动化测试脚本。但现有技术中进行脚本录制的操作是在手机端实现的,只能进行应用程序本身的操作,而不便于进行应用程序以外的配置相关操作,所以对脚本的配置部分仍要通过用户手动设计与编写,从而降低了脚本录制的效率。The script recording method used in the prior art for synchronizing the screen of the mobile phone to the computer side is that the computer side monitors the touch operation that occurs on the screen of the mobile phone side, and judges the type of the touch operation according to the relationship between the starting position and the end position of the touch action, and then obtains the method. Control information at the corresponding location, and record automated test scripts according to the touch operation type and control information. However, in the prior art, the operation of script recording is implemented on the mobile phone, and only the operation of the application program itself can be performed, and it is not convenient to perform configuration-related operations other than the application program. Therefore, the configuration part of the script still needs to be manually designed by the user. and writing, thereby reducing the efficiency of script recording.
发明内容SUMMARY OF THE INVENTION
本发明提供一种脚本录制方法、装置、终端及存储介质,其目的在于解决现有脚本录制方案中因在手机端进行录制操作而仍需手动设计与编写脚本配置从而导致录制效率低下的问题。The present invention provides a script recording method, device, terminal and storage medium, the purpose of which is to solve the problem of low recording efficiency due to the need to manually design and write script configuration due to the recording operation on the mobile phone terminal in the existing script recording solution.
第一方面,本发明实施例提供了一种脚本录制方法,该方法包括:In a first aspect, an embodiment of the present invention provides a script recording method, which includes:
将获取到的待测试应用程序的界面投射到录制器界面中的投射区域;Project the acquired interface of the application under test to the projection area in the recorder interface;
根据用户在投射区域进行的操作,将对应的操作信息发送至录制服务器;According to the operation performed by the user in the projection area, the corresponding operation information is sent to the recording server;
接收录制服务器根据操作信息返回的控件信息;Receive the control information returned by the recording server according to the operation information;
根据控件信息确定配置数据,并将操作信息及对应的配置数据记录在脚本中。Determine the configuration data according to the control information, and record the operation information and the corresponding configuration data in the script.
第二方面,本发明实施例还提供了一种脚本录制装置,该装置包括:In a second aspect, an embodiment of the present invention further provides a script recording device, the device comprising:
界面投射模块,用于将获取到的待测试应用程序的界面投射到录制器界面中的投射区域;The interface projection module is used to project the acquired interface of the application under test to the projection area in the recorder interface;
操作信息发送模块,用于根据用户在投射区域进行的操作,将对应的操作信息发送至录制服务器;The operation information sending module is used to send the corresponding operation information to the recording server according to the operation performed by the user in the projection area;
控件信息接收模块,用于接收录制服务器根据操作信息返回的控件信息;The control information receiving module is used to receive the control information returned by the recording server according to the operation information;
配置数据确定模块,用于根据控件信息确定配置数据,并将操作信息及对应的配置数据记录在脚本中。The configuration data determination module is used to determine the configuration data according to the control information, and record the operation information and the corresponding configuration data in the script.
第三方面,本发明实施例还提供了一种终端,该终端包括:In a third aspect, an embodiment of the present invention further provides a terminal, where the terminal includes:
一个或多个处理器;one or more processors;
存储器,用于存储一个或多个程序;memory for storing one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本发明任意实施例所提供的脚本录制方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the script recording method provided by any embodiment of the present invention.
第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本发明任意实施例所提供的脚本录制方法。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the script recording method provided by any embodiment of the present invention.
本发明实施例提供了一种脚本录制方案,通过将获取到的待测试应用程序的界面投射到录制器界面中的投射区域,然后根据用户在投射区域进行的操作自动的确定操作信息及对应的配置数据,并将操作信息及对应的配置数据记录在脚本中以用于APP的自动化测试。解决了现有脚本录制方案中因在手机端进行录制操作而仍需手动设计与编写脚本配置从而导致录制效率低下的问题,实现了脚本动作的自动化配置,更便于用户的使用。The embodiment of the present invention provides a script recording scheme, by projecting the acquired interface of the application to be tested to the projection area in the recorder interface, and then automatically determining the operation information and the corresponding operation information according to the operation performed by the user in the projection area Configure data, and record the operation information and corresponding configuration data in the script for automated testing of the APP. It solves the problem of low recording efficiency due to the need to manually design and write script configuration due to the recording operation on the mobile phone in the existing script recording solution, and realizes the automatic configuration of script actions, which is more convenient for users to use.
附图说明Description of drawings
图1是本发明实施例一提供的脚本录制方法的流程图;1 is a flowchart of a script recording method provided in Embodiment 1 of the present invention;
图2是本发明实施例二提供的脚本录制方法的流程图;2 is a flowchart of a script recording method provided in Embodiment 2 of the present invention;
图3是本发明实施例三提供的脚本录制方法的流程图;3 is a flowchart of a script recording method provided in Embodiment 3 of the present invention;
图4是本发明实施例四提供的脚本录制装置的结构示意图;4 is a schematic structural diagram of a script recording device provided in Embodiment 4 of the present invention;
图5是本发明实施例五提供的一种终端的结构示意图。FIG. 5 is a schematic structural diagram of a terminal according to Embodiment 5 of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the present invention.
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in greater detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowchart depicts the steps as a sequential process, many of the steps may be performed in parallel, concurrently, or concurrently. Furthermore, the order of the steps can be rearranged. The process may be terminated when its operation is complete, but may also have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
实施例一Example 1
图1为本发明实施例一提供的脚本录制方法的流程图。本实施例可适用于利用脚本对APP进行各种业务类型的自动化测试的情况,该方法可以由本发明实施例提供的脚本录制装置来执行,该装置可以由硬件和/或软件的方式来实现,一般可集成于计算机设备中,例如个人计算机(Personal Computer,PC)中。如图1所示,具体包括如下步骤:FIG. 1 is a flowchart of a script recording method provided by Embodiment 1 of the present invention. This embodiment can be applied to the situation where scripts are used to perform automated testing of various service types on the APP. The method can be executed by the script recording device provided in the embodiment of the present invention, and the device can be implemented by hardware and/or software. Generally, it can be integrated into a computer device, such as a personal computer (Personal Computer, PC). As shown in Figure 1, it specifically includes the following steps:
S11、将获取到的待测试应用程序的界面投射到录制器界面中的投射区域。S11. Project the acquired interface of the application to be tested to the projection area in the interface of the recorder.
其中,录制器登录成功后,首先与待测试应用程序所在的智能终端建立连接,可选的,连接方式可根据需要进行选择,可以通过数据线、局域网或远程网络进行连接,智能终端可包括手机或平板电脑等。在录制器申请到智能终端后,将智能终端的画面投射到录制器界面中用于展示的投射区域,可选的,根据用户的使用习惯,投射区域可以位于录制器界面的左侧。用户可以在投射区域内利用鼠标或键盘等输入设备对投射的待测试应用程序的界面进行操作,也可以通过触屏的方式进行,可选的,用户的操作可包括点击、滑动、框选和/或截图等,相应的操作将转化为智能终端中对应坐标的操作,且录制器的界面中可实时同步智能终端的画面。Among them, after the recorder is successfully logged in, it first establishes a connection with the intelligent terminal where the application to be tested is located. Optionally, the connection method can be selected according to needs, and the connection can be made through a data cable, a local area network or a remote network. or tablet etc. After the recorder is applied to the smart terminal, the screen of the smart terminal is projected to the projection area for display in the recorder interface. Optionally, according to the user's usage habits, the projection area can be located on the left side of the recorder interface. The user can use the mouse or keyboard and other input devices in the projection area to operate the projected interface of the application under test, or touch the screen. / or screenshots, etc., the corresponding operation will be converted into the operation of the corresponding coordinates in the intelligent terminal, and the screen of the intelligent terminal can be synchronized in real time in the interface of the recorder.
S12、根据用户在投射区域进行的操作,将对应的操作信息发送至录制服务器。S12. Send corresponding operation information to the recording server according to the operation performed by the user in the projection area.
其中,接收到用户在投射区域进行的操作后,将操作信息发送至录制服务器,录制服务器中存储有操作对应的控件信息。可选的,操作信息可包括操作类型、操作位置坐标和/或预设的展示界面控件标识等,操作类型如点击、滑动、框选或截图等,预设的展示界面控件标识可以是根据画面进行分栏而预先设置的控件标识。可选的,在将对应的操作信息发送至录制服务器之前,可以先判断用户操作的类型,若操作为框选操作,则将所框选的区域作为判断待测试应用程序响应操作的结果正确性的图像对比区域,并将框选区域的坐标记录在脚本中,同时将框选区域的坐标发送至录制服务器进行区域坐标转换以获得与框选区域坐标对应的图像。若操作为控件截图操作,则将控件截图作为脚本回放时待测试应用程序响应操作时定位控件的依据,先由录制器获取待截图的区域坐标,再发送至录制服务器进行控件截图,然后将控件截图返回至录制器并记录在脚本中。可选的,录制器的投射区域内可实现鼠标右键单击出现复选框的功能,通过对复选框中内容的选择,可切换用户进行框选操作或控件截图操作。Wherein, after receiving the operation performed by the user in the projection area, the operation information is sent to the recording server, and the recording server stores the control information corresponding to the operation. Optionally, the operation information may include operation type, operation position coordinates and/or preset display interface control identifiers, etc. The operation type is such as clicking, sliding, box selection, or screenshots, etc., and the preset display interface control identifiers may be based on the screen. The control identifier that is preset for column division. Optionally, before sending the corresponding operation information to the recording server, the type of user operation can be judged first. If the operation is a frame selection operation, the frame selected area is used as the result of judging the correctness of the response operation of the application under test. The coordinates of the frame selection area are recorded in the script, and the coordinates of the frame selection area are sent to the recording server for area coordinate transformation to obtain an image corresponding to the frame selection area coordinates. If the operation is a control screenshot operation, the control screenshot will be used as the basis for positioning the control when the application to be tested responds to the operation during script playback. Screenshots are returned to the recorder and recorded in the script. Optionally, in the projection area of the recorder, a function of right-clicking the mouse to appear a check box can be implemented, and by selecting the content in the check box, the user can be switched to perform a box selection operation or a control screenshot operation.
S13、接收录制服务器根据操作信息返回的控件信息。S13: Receive control information returned by the recording server according to the operation information.
其中,将操作信息发送到录制服务器之后,录制服务器可根据操作信息索引其中存储的控件信息,可选的,控件信息包括控件类型、控件功能和/或控件坐标等,控件信息可以是一个打包好的信息,录制器可根据操作的需要选择其中有用的信息。After the operation information is sent to the recording server, the recording server can index the control information stored therein according to the operation information. Optionally, the control information includes the control type, control function and/or control coordinates, etc. The control information can be a packaged information, the recorder can select the useful information according to the needs of the operation.
S14、根据控件信息确定配置数据,并将操作信息及对应的配置数据记录在脚本中。S14. Determine the configuration data according to the control information, and record the operation information and the corresponding configuration data in the script.
其中,在接收到录制服务器返回的控件信息之后,可选的,可以对控件信息进行解析以获得控件的详细信息。用户的操作即为一个动作,操作信息即为动作的基本信息,包括动作名称、动作内容及动作坐标等。根据控件的详细信息,自动的生成动作的各种配置数据,如控件查找方式、控件坐标及动作交互性能计算方式等。然后将操作信息及对应的配置数据记录在脚本中,以便回放进行脚本的自动化测试。Wherein, after receiving the control information returned by the recording server, optionally, the control information may be parsed to obtain detailed information of the control. The user's operation is an action, and the operation information is the basic information of the action, including the action name, action content, and action coordinates. According to the detailed information of the control, various configuration data of the action are automatically generated, such as the search method of the control, the coordinates of the control and the calculation method of the action interaction performance. Then, the operation information and corresponding configuration data are recorded in the script, so that the script can be played back for automated testing.
本发明实施例所提供的技术方案,通过将获取到的待测试应用程序的界面投射到录制器界面中的投射区域,然后根据用户在投射区域进行的操作自动的确定操作信息及对应的配置数据,并将操作信息及对应的配置数据记录在脚本中以用于APP的自动化测试。解决了现有脚本录制方案中因在手机端进行录制操作而仍需手动设计与编写脚本配置从而导致录制效率低下的问题,实现了脚本动作的自动化配置,更便于用户的使用。In the technical solution provided by the embodiments of the present invention, the acquired interface of the application to be tested is projected to the projection area in the recorder interface, and then the operation information and corresponding configuration data are automatically determined according to the operation performed by the user in the projection area. , and record the operation information and corresponding configuration data in the script for automated testing of the APP. It solves the problem of low recording efficiency due to the need to manually design and write script configuration due to the recording operation on the mobile phone in the existing script recording solution, and realizes the automatic configuration of script actions, which is more convenient for users to use.
在上述技术方案的基础上,可选的,在根据控件信息确定配置数据之前,该脚本录制方法还可包括:为录制器设置配置项目集合及配置项目对应的预设配置数据集合。也就是说,录制器自动生成的配置数据所包含的配置项目是预先设置好的,在脚本录制的过程中,只需根据控件信息选择需要进行的配置项目,再根据控件信息从与该配置项目对应的预设配置数据集合中确定与该控件信息对应的配置数据即可。可选的,该配置数据也可根据控件信息进行自动计算或智能推导而得到,这样得到的配置数据将会更加符合控件的特点。Based on the above technical solution, optionally, before the configuration data is determined according to the control information, the script recording method may further include: setting a configuration item set and a preset configuration data set corresponding to the configuration item for the recorder. That is to say, the configuration items included in the configuration data automatically generated by the recorder are preset. In the process of script recording, you only need to select the configuration items to be performed according to the control information, and then select the configuration items to be performed according to the control information The configuration data corresponding to the control information may be determined in the corresponding preset configuration data set. Optionally, the configuration data can also be obtained by automatic calculation or intelligent derivation according to the control information, so that the obtained configuration data will be more in line with the characteristics of the control.
在上述技术方案的基础上,可选的,在为录制器设置配置项目集合及配置项目对应的预设配置数据集合之后,该脚本录制方法还可包括:根据接收到的用户输入的配置项文本串,将配置项文本串包含的配置项目记录在配置项目集合中,将配置项文本串包含的配置项目对应的预设配置数据记录在预设配置数据集合中。也就是说,在实现了录制器对脚本动作的自动化配置的基础上,仍然允许用户对配置项目及配置数据进行增加,提供了用户用于增加配置数据的接口,从而不仅为不具备编程能力的用户提供了脚本录制的便利,也可使得具备编程能力的用户可进一步完善脚本录制的过程。On the basis of the above technical solution, optionally, after setting the configuration item set and the preset configuration data set corresponding to the configuration item for the recorder, the script recording method may further include: according to the received configuration item text input by the user The configuration item included in the configuration item text string is recorded in the configuration item set, and the preset configuration data corresponding to the configuration item included in the configuration item text string is recorded in the preset configuration data collection. That is to say, on the basis of realizing the automatic configuration of script actions by the recorder, users are still allowed to add configuration items and configuration data, and an interface for users to add configuration data is provided, which is not only suitable for users who do not have programming ability. The user provides the convenience of script recording, and also enables users with programming ability to further improve the process of script recording.
实施例二Embodiment 2
图2为本发明实施例二提供的脚本录制方法的流程图。本实施例的技术方案在上述技术方案的基础上进一步细化,如图2所示,具体包括如下步骤:FIG. 2 is a flowchart of a script recording method according to Embodiment 2 of the present invention. The technical solution of this embodiment is further refined on the basis of the above-mentioned technical solution, as shown in FIG. 2 , and specifically includes the following steps:
S21、将获取到的待测试应用程序的界面投射到录制器界面中的投射区域。S21. Project the acquired interface of the application to be tested to the projection area in the interface of the recorder.
S22、根据用户在投射区域进行的操作,将对应的操作信息发送至录制服务器。S22. Send corresponding operation information to the recording server according to the operation performed by the user in the projection area.
S23、接收录制服务器根据操作信息返回的控件信息。S23: Receive control information returned by the recording server according to the operation information.
S24、根据控件信息确定配置数据,并将操作信息及对应的配置数据记录在脚本中。S24. Determine the configuration data according to the control information, and record the operation information and the corresponding configuration data in the script.
S25、将操作信息及对应的配置数据展示在录制器界面中。S25. Display the operation information and corresponding configuration data on the recorder interface.
可选的,将投射区域设置在录制器界面左侧的同时,可以在录制器界面的右侧展示操作信息及对应的配置数据,并为用户提供修改配置数据的接口。用户在修改配置数据时,不再需要通过编辑文本串的方式,录制器界面的右侧可为用户提供下拉菜单进行配置数据的选择,也可为用户提供配置项目对应的文本框以供用户输入具体的数据值。Optionally, while setting the projection area on the left side of the recorder interface, operation information and corresponding configuration data can be displayed on the right side of the recorder interface, and an interface for modifying the configuration data can be provided for the user. When modifying the configuration data, the user no longer needs to edit the text string. The right side of the recorder interface can provide the user with a drop-down menu to select the configuration data, and also provide the user with a text box corresponding to the configuration item for the user to input. specific data values.
S26、根据接收到的用户对操作信息的名称及配置数据的修改操作,将修改后的操作信息的名称及配置数据更新至脚本并展示在录制器界面中。S26 , according to the received modification operation of the name of the operation information and the configuration data by the user, update the name of the modified operation information and the configuration data to the script and display it in the recorder interface.
可选的,录制器对操作信息的名称不提供自动生成的功能,需要用户自行设置,以便于用户的记录。若用户需要对已有的配置数据进行修改,只需在录制器的界面中选择或输入新的配置数据即可,录制器接收到用户修改的数据后,直接更新至脚本并展示在录制器界面中。可选的,用户还可以在录制器界面中修改网络数据的获取方式、APP的启动方式及录制过程中是否录屏等,使得APP在脚本录制时就运行与不同的场景之下,从而避免脚本运行时因环境及场景变更导致的误差。Optionally, the recorder does not provide the function of automatically generating the name of the operation information, and needs to be set by the user to facilitate the user's recording. If the user needs to modify the existing configuration data, he only needs to select or input new configuration data in the interface of the recorder. After the recorder receives the data modified by the user, it will directly update the script and display it on the interface of the recorder. middle. Optionally, the user can also modify the acquisition method of network data, the startup method of the APP, and whether to record the screen during the recording process, etc. in the recorder interface, so that the APP runs in a different scenario when the script is recorded, thereby avoiding scripting. Errors caused by environment and scene changes during runtime.
本发明实施例所提供的技术方案,通过为用户提供用于修改的可视化界面,进一步的为用户在脚本录制过程中提供了便利,针对想要进行的配置数据修改,用户只需输入对应的数据即可,不再需要编写配置项文本。同时用户还可直接指定录制过程中的附加参数,如APP的启动方式等,使得脚本录制可以适应复杂多变的APP自动化测试环境。The technical solution provided by the embodiment of the present invention further provides convenience for the user in the script recording process by providing the user with a visual interface for modification. For the configuration data modification desired, the user only needs to input the corresponding data That is, you no longer need to write configuration item text. At the same time, the user can also directly specify additional parameters in the recording process, such as the startup method of the APP, etc., so that the script recording can adapt to the complex and changeable APP automated testing environment.
实施例三Embodiment 3
图3为本发明实施例三提供的脚本录制方法的流程图。本实施例的技术方案在上述技术方案的基础上进一步细化,如图3所示,具体包括如下步骤:FIG. 3 is a flowchart of a script recording method provided by Embodiment 3 of the present invention. The technical solution of this embodiment is further refined on the basis of the above-mentioned technical solution, as shown in FIG. 3 , and specifically includes the following steps:
S31、将获取到的待测试应用程序的界面投射到录制器界面中的投射区域。S31. Project the acquired interface of the application to be tested to the projection area in the interface of the recorder.
S32、根据用户在投射区域进行的操作,将对应的操作信息发送至录制服务器。S32. Send corresponding operation information to the recording server according to the operation performed by the user in the projection area.
S33、接收录制服务器根据操作信息返回的控件信息。S33: Receive control information returned by the recording server according to the operation information.
S34、根据控件信息及待测试应用程序在操作之前与图像对比区域对应的图像设置上一次非框选或截图的操作的性能校验数据。S34. Set the performance verification data of the last operation that is not a frame selection or a screenshot according to the control information and the image corresponding to the image comparison area of the application to be tested before the operation.
其中,在为用户操作提供自动化配置的基础上,录制器还可以自动生成针对APP性能监测的各项配置及自动检测并生成动作交互性能校验数据,还可根据用户选择的不同测试场景设置不同的性能监测参数。若当前操作并非第一个非框选或截图的操作,且用户在当前操作之前进行了框选操作,则获得了作为判断待测试应用程序响应操作的结果正确性的图像对比区域,再获取待测试应用程序中与该图像对比区域对应的图像,即可作为上一次非框选或截图的操作的性能校验数据,具体可用于在脚本测试中根据待测试应用程序操作后图像与作为性能校验数据的图像进行像素点的对比,利用两幅图像的匹配率判定操作是否执行成功。同时,录制服务器返回的控件信息也可作为上一次非框选或截图的操作的性能校验数据,在脚本测试中通过当前画面中的控件信息与作为性能校验数据的控件信息进行比对,利用两控件信息之间的匹配率判定操作是否执行成功。可选的,可将录制器自动生成的性能校验数据记录在脚本中,也可记录在另外的性能校验程序中,若记录在脚本中,可同时展示在录制器的界面中,也可允许用户通过简单的输入数据再次调整性能校验数据。Among them, on the basis of providing automatic configuration for user operations, the recorder can also automatically generate various configurations for APP performance monitoring, automatically detect and generate action interaction performance verification data, and can also set different settings according to different test scenarios selected by users. performance monitoring parameters. If the current operation is not the first non-frame selection or screenshot operation, and the user performs the frame selection operation before the current operation, the image comparison area used to judge the correctness of the result of the response operation of the application under test is obtained, and then the image comparison area to be tested is obtained. The image corresponding to the image comparison area in the test application can be used as the performance verification data of the last non-frame selection or screenshot operation. Specifically, it can be used in the script test according to the image after the operation of the application to be tested and the performance verification data. The image of the test data is compared with the pixels, and the matching rate of the two images is used to determine whether the operation is successful. At the same time, the control information returned by the recording server can also be used as the performance verification data of the last non-marquee selection or screenshot operation. In the script test, the control information in the current screen is compared with the control information as the performance verification data. Use the matching rate between the two control information to determine whether the operation is successfully executed. Optionally, the performance verification data automatically generated by the recorder can be recorded in the script or in another performance verification program. If recorded in the script, it can be displayed on the interface of the recorder at the same time, or Allows the user to adjust the performance check data again by simply entering the data.
S35、将操作转化为待测试应用程序中对应坐标的测试动作。S35. Convert the operation into a test action corresponding to the coordinates in the application to be tested.
其中,要获得的性能校验数据应为待测试应用程序中真实运行状态下的数据,所以在获得性能校验数据之前,需要将用户在录制器投射区域中的操作转化为待测试应用程序中对应坐标的测试动作。Among them, the performance verification data to be obtained should be the data in the real running state of the application to be tested. Therefore, before obtaining the performance verification data, it is necessary to convert the user's operations in the projection area of the recorder into the application to be tested. The test action corresponding to the coordinates.
S36、根据框选区域的坐标获取待测试应用程序中对应的图像。S36: Acquire a corresponding image in the application to be tested according to the coordinates of the frame selection area.
其中,在待测试应用程序响应了用户在录制器投射区域中非框选或截图的操作之后,若用户进行了框选操作,则计算框选区域的坐标,再根据框选区域的坐标在待测试应用程序中获取对应的图像,并可返回给脚本存储,也可返回给另外的性能校验程序存储。Among them, after the application under test responds to the user's non-frame selection or screenshot operation in the recorder projection area, if the user performs a frame selection operation, the coordinates of the frame selection area are calculated, and then the frame selection area is based on the coordinates of the frame selection area. The corresponding image is obtained in the test application and can be returned to the script storage, or can be returned to another performance verification program for storage.
S37、根据控件信息确定配置数据,并将操作信息及对应的配置数据记录在脚本中。S37. Determine the configuration data according to the control information, and record the operation information and the corresponding configuration data in the script.
本发明实施例所提供的技术方案,通过将控件信息及用户框选的图像对比区域在待测试应用程序中对应的图像作为测试动作的性能校验数据,进一步的为用户在脚本录制过程中提供了便利,用户可不再手动编写性能校验数据获取部分的代码,同时也可便利地在录制器界面中修改性能校验数据。In the technical solution provided by the embodiments of the present invention, by using the control information and the image corresponding to the image comparison area selected by the user in the application to be tested as the performance verification data of the test action, it is further provided for the user during the script recording process. For convenience, users can no longer manually write the code of the performance verification data acquisition part, and can also conveniently modify the performance verification data in the recorder interface.
实施例四Embodiment 4
图4为本发明实施例四提供的脚本录制装置的结构示意图。该装置可以由硬件和/或软件的方式来实现,并可集成于PC中,用于执行本发明任意实施例所提供的脚本录制方法。如图4所示,该装置包括:FIG. 4 is a schematic structural diagram of a script recording apparatus according to Embodiment 4 of the present invention. The apparatus may be implemented in hardware and/or software, and may be integrated into a PC for executing the script recording method provided by any embodiment of the present invention. As shown in Figure 4, the device includes:
界面投射模块41,用于将获取到的待测试应用程序的界面投射到录制器界面中的投射区域;The
操作信息发送模块42,用于根据用户在投射区域进行的操作,将对应的操作信息发送至录制服务器;The operation
控件信息接收模块43,用于接收录制服务器根据操作信息返回的控件信息;The control
配置数据确定模块44,用于根据控件信息确定配置数据,并将操作信息及对应的配置数据记录在脚本中。The configuration
本发明实施例所提供的技术方案,通过将获取到的待测试应用程序的界面投射到录制器界面中的投射区域,然后根据用户在投射区域进行的操作自动的确定操作信息及对应的配置数据,并将操作信息及对应的配置数据记录在脚本中以用于APP的自动化测试。解决了现有脚本录制方案中因在手机端进行录制操作而仍需手动设计与编写脚本配置从而导致录制效率低下的问题,实现了脚本动作的自动化配置,更便于用户的使用。In the technical solution provided by the embodiments of the present invention, the acquired interface of the application to be tested is projected to the projection area in the recorder interface, and then the operation information and corresponding configuration data are automatically determined according to the operation performed by the user in the projection area. , and record the operation information and corresponding configuration data in the script for automated testing of the APP. It solves the problem of low recording efficiency due to the need to manually design and write script configuration due to the recording operation on the mobile phone in the existing script recording solution, and realizes the automatic configuration of script actions, which is more convenient for users to use.
可选的,该装置还包括:Optionally, the device further includes:
配置项目集合设置模块,用于在根据控件信息确定配置数据之前,为录制器设置配置项目集合及配置项目对应的预设配置数据集合;The configuration item set setting module is used to set the configuration item collection and the preset configuration data collection corresponding to the configuration item for the recorder before determining the configuration data according to the control information;
相应的,配置数据确定模块具体用于:Correspondingly, the configuration data determination module is specifically used for:
根据控件信息选择需要进行的配置项目,并从预设配置数据集合中确定对应的配置数据。The configuration items to be performed are selected according to the control information, and the corresponding configuration data is determined from the preset configuration data set.
可选的,该装置还包括:Optionally, the device further includes:
配置数据展示模块,用于在根据控件信息确定配置数据,并将操作信息及对应的配置数据记录在脚本中之后,将操作信息及对应的配置数据展示在录制器界面中;The configuration data display module is used to display the operation information and the corresponding configuration data in the recorder interface after determining the configuration data according to the control information and recording the operation information and the corresponding configuration data in the script;
配置数据更新模块,用于根据接收到的用户对操作信息的名称及配置数据的修改操作,将修改后的操作信息的名称及配置数据更新至脚本并展示在录制器界面中。The configuration data update module is used to update the name of the operation information and the configuration data after the modification to the script and display it in the recorder interface according to the received modification operation of the operation information name and configuration data by the user.
可选的,操作信息发送模块42包括:Optionally, the operation
框选操作子模块,用于若操作为框选操作,则将框选区域作为判断待测试应用程序响应操作的结果正确性的图像对比区域,并将框选区域的坐标记录在脚本中;The frame selection operation sub-module is used to use the frame selection area as an image comparison area for judging the correctness of the result of the response operation of the application under test if the operation is a frame selection operation, and record the coordinates of the frame selection area in the script;
控件截图操作子模块,用于若操作为控件截图操作,则将控件截图作为脚本回放时待测试应用程序响应操作时定位控件的依据,并将控件截图记录在脚本中。The control screenshot operation sub-module is used to take the control screenshot as the basis for locating the control when the application under test responds to the operation during script playback if the operation is a control screenshot operation, and record the control screenshot in the script.
可选的,该装置还包括:Optionally, the device further includes:
性能校验数据设置模块,用于在接收录制服务器根据操作信息返回的控件信息之后,根据控件信息及待测试应用程序在操作之前与图像对比区域对应的图像设置上一次非框选或截图的操作的性能校验数据;The performance verification data setting module is used to set the last non-frame selection or screenshot operation according to the control information and the image corresponding to the image comparison area of the application under test before the operation after receiving the control information returned by the recording server according to the operation information performance verification data;
相应的,该装置还包括:Correspondingly, the device also includes:
测试动作转化模块,用于在接收录制服务器根据操作信息返回的控件信息之后,将操作转化为待测试应用程序中对应坐标的测试动作;The test action conversion module is used to convert the operation into a test action corresponding to the coordinates in the application to be tested after receiving the control information returned by the recording server according to the operation information;
图像获取模块,用于根据框选区域的坐标获取待测试应用程序中对应的图像。The image acquisition module is used to acquire the corresponding image in the application to be tested according to the coordinates of the frame selection area.
可选的,该装置还包括:Optionally, the device further includes:
配置项文本串记录模块,用于在为录制器设置配置项目集合及配置项目对应的预设配置数据集合之后,根据接收到的用户输入的配置项文本串,将配置项文本串包含的配置项目记录在配置项目集合中,将配置项文本串包含的配置项目对应的预设配置数据记录在预设配置数据集合中。The configuration item text string recording module is used to record the configuration items included in the configuration item text string according to the received configuration item text string input by the user after setting the configuration item set and the preset configuration data set corresponding to the configuration item for the recorder Record in the configuration item set, and record the preset configuration data corresponding to the configuration item included in the configuration item text string in the preset configuration data set.
本发明实施例所提供的脚本录制装置可执行本发明任意实施例所提供的脚本录制方法,具备执行方法相应的功能模块和有益效果。The script recording apparatus provided by the embodiment of the present invention can execute the script recording method provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
值得注意的是,在上述脚本录制装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It is worth noting that, in the above-mentioned embodiment of the script recording device, the included units and modules are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be realized; in addition, The specific names of the functional units are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present invention.
实施例五Embodiment 5
图5为本发明实施例五提供的一种终端的结构示意图,示出了适于用来实现本发明实施方式的示例性终端的框图。图5显示的终端仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。如图5所示,该终端包括处理器51、存储器52、输入装置53及输出装置54;终端中处理器51的数量可以是一个或多个,图5中以一个处理器51为例,终端中的处理器51、存储器52、输入装置53及输出装置54可以通过总线或其他方式连接,图5中以通过总线连接为例。FIG. 5 is a schematic structural diagram of a terminal according to Embodiment 5 of the present invention, and shows a block diagram of an exemplary terminal suitable for implementing the embodiments of the present invention. The terminal shown in FIG. 5 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present invention. As shown in FIG. 5 , the terminal includes a
存储器52作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本发明实施例中的脚本录制方法对应的程序指令/模块(例如,脚本录制装置中的界面投射模块41、操作信息发送模块42、控件信息接收模块43及配置数据确定模块44)。处理器51通过运行存储在存储器52中的软件程序、指令以及模块,从而执行终端的各种功能应用以及数据处理,即实现上述的脚本录制方法。As a computer-readable storage medium, the
存储器52可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器52可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器52可进一步包括相对于处理器51远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The
输入装置53可用于接收智能终端发送的相关信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。输出装置54可包括显示屏等显示设备,可用于向智能终端发送测试动作信号。The input device 53 can be used to receive relevant information sent by the smart terminal, and generate key signal input related to user settings and function control of the terminal. The
实施例六Embodiment 6
本发明实施例六还提供一种包含计算机可执行指令的存储介质,该计算机可执行指令在由计算机处理器执行时用于执行一种脚本录制方法,该方法包括:Embodiment 6 of the present invention also provides a storage medium containing computer-executable instructions, where the computer-executable instructions are used to execute a script recording method when executed by a computer processor, and the method includes:
将获取到的待测试应用程序的界面投射到录制器界面中的投射区域;Project the acquired interface of the application under test to the projection area in the recorder interface;
根据用户在投射区域进行的操作,将对应的操作信息发送至录制服务器;According to the operation performed by the user in the projection area, the corresponding operation information is sent to the recording server;
接收录制服务器根据操作信息返回的控件信息;Receive the control information returned by the recording server according to the operation information;
根据控件信息确定配置数据,并将操作信息及对应的配置数据记录在脚本中。Determine the configuration data according to the control information, and record the operation information and the corresponding configuration data in the script.
存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到计算机系统。第二计算机系统可以提供程序指令给计算机用于执行。术语“存储介质”可以包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROMs, floppy disks, or tape devices; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc. ; non-volatile memory, such as flash memory, magnetic media (eg hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the computer system in which the program is executed, or may be located in a different second computer system connected to the computer system through a network such as the Internet. The second computer system may provide program instructions to the computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations (eg, in different computer systems connected by a network). The storage medium may store program instructions (eg, embodied as a computer program) executable by one or more processors.
当然,本发明实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的方法操作,还可以执行本发明任意实施例所提供的脚本录制方法中的相关操作。Of course, a storage medium containing computer-executable instructions provided by the embodiments of the present invention, the computer-executable instructions are not limited to the above-mentioned method operations, and can also execute the script recording method provided by any embodiment of the present invention. related operations.
通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本发明可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(RandomAccess Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。From the above description of the embodiments, those skilled in the art can clearly understand that the present invention can be realized by software and necessary general-purpose hardware, and of course can also be realized by hardware, but in many cases the former is a better embodiment . Based on such understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products can be stored in a computer-readable storage medium, such as a floppy disk of a computer , read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), flash memory (FLASH), hard disk or CD, etc., including several instructions to make a computer device (which can be a personal computer, A server, or a network device, etc.) executes the methods described in the various embodiments of the present invention.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope is determined by the scope of the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911107059.XA CN110837474A (en) | 2019-11-13 | 2019-11-13 | Script recording method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911107059.XA CN110837474A (en) | 2019-11-13 | 2019-11-13 | Script recording method, device, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110837474A true CN110837474A (en) | 2020-02-25 |
Family
ID=69576335
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911107059.XA Pending CN110837474A (en) | 2019-11-13 | 2019-11-13 | Script recording method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110837474A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111400175A (en) * | 2020-03-06 | 2020-07-10 | 广东电网有限责任公司 | Recording and replaying system, method and equipment for web operation event |
CN111538661A (en) * | 2020-04-24 | 2020-08-14 | 北京思特奇信息技术股份有限公司 | Method for recording, arranging and executing visual script based on appium |
CN111666024A (en) * | 2020-05-28 | 2020-09-15 | 维沃移动通信(杭州)有限公司 | Screen recording method and device and electronic equipment |
CN112328861A (en) * | 2020-11-24 | 2021-02-05 | 郑州航空工业管理学院 | A news dissemination method based on big data processing |
CN113448820A (en) * | 2020-03-25 | 2021-09-28 | 中移(成都)信息通信科技有限公司 | Webpage testing method and device |
CN113835996A (en) * | 2020-06-24 | 2021-12-24 | 北京字节跳动网络技术有限公司 | Method and apparatus for generating test script |
CN113900932A (en) * | 2021-09-26 | 2022-01-07 | 东软集团股份有限公司 | Test script generation method, device, medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150135169A1 (en) * | 2013-11-12 | 2015-05-14 | Institute For Information Industry | Testing device and testing method thereof |
CN104866414A (en) * | 2014-02-24 | 2015-08-26 | 腾讯科技(深圳)有限公司 | Method, device and system for testing application program |
CN107193750A (en) * | 2017-07-04 | 2017-09-22 | 北京云测信息技术有限公司 | A kind of script method for recording and device |
CN108763086A (en) * | 2018-05-31 | 2018-11-06 | 康键信息技术(深圳)有限公司 | Script method for recording, terminal and computer readable storage medium based on remote real machine |
-
2019
- 2019-11-13 CN CN201911107059.XA patent/CN110837474A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150135169A1 (en) * | 2013-11-12 | 2015-05-14 | Institute For Information Industry | Testing device and testing method thereof |
CN104866414A (en) * | 2014-02-24 | 2015-08-26 | 腾讯科技(深圳)有限公司 | Method, device and system for testing application program |
CN107193750A (en) * | 2017-07-04 | 2017-09-22 | 北京云测信息技术有限公司 | A kind of script method for recording and device |
CN108763086A (en) * | 2018-05-31 | 2018-11-06 | 康键信息技术(深圳)有限公司 | Script method for recording, terminal and computer readable storage medium based on remote real machine |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111400175A (en) * | 2020-03-06 | 2020-07-10 | 广东电网有限责任公司 | Recording and replaying system, method and equipment for web operation event |
CN111400175B (en) * | 2020-03-06 | 2023-08-18 | 广东电网有限责任公司 | System, method and device for recording and replaying web operation events |
CN113448820A (en) * | 2020-03-25 | 2021-09-28 | 中移(成都)信息通信科技有限公司 | Webpage testing method and device |
CN111538661A (en) * | 2020-04-24 | 2020-08-14 | 北京思特奇信息技术股份有限公司 | Method for recording, arranging and executing visual script based on appium |
CN111666024A (en) * | 2020-05-28 | 2020-09-15 | 维沃移动通信(杭州)有限公司 | Screen recording method and device and electronic equipment |
CN113835996A (en) * | 2020-06-24 | 2021-12-24 | 北京字节跳动网络技术有限公司 | Method and apparatus for generating test script |
CN112328861A (en) * | 2020-11-24 | 2021-02-05 | 郑州航空工业管理学院 | A news dissemination method based on big data processing |
CN113900932A (en) * | 2021-09-26 | 2022-01-07 | 东软集团股份有限公司 | Test script generation method, device, medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110837474A (en) | Script recording method, device, terminal and storage medium | |
US9317413B2 (en) | Testing device and testing method thereof | |
US10853232B2 (en) | Adaptive system for mobile device testing | |
US9383903B2 (en) | Systems and methods for providing programmable macros | |
CN111478798B (en) | Fault processing method, fault processing device and storage medium | |
WO2016095554A1 (en) | Test method, device and system for application | |
US20080141221A1 (en) | Using recorder technology to find defects in software applications | |
CN110716853A (en) | A test script recording method, application program testing method and related device | |
CN104699591A (en) | Reappearing method and device of test scenes | |
CN112416775B (en) | Software automatic test method and device based on artificial intelligence and electronic equipment | |
CN106126424A (en) | A kind of visual automated testing method of script, device and mobile terminal | |
US9792195B2 (en) | Terminal data logger | |
CN110837467B (en) | Software testing method, device and system | |
CN112905441A (en) | Test case generation method, test method, device and equipment | |
CN112732576A (en) | Automatic testing method, device and equipment based on user interface | |
CN111666199A (en) | Debugging method executed on intelligent terminal and software debugger | |
CN109710474A (en) | A kind of hard disk failure detection method, device, terminal and readable storage medium | |
US10831634B1 (en) | Replication of user interface events | |
CN109753437B (en) | Test program generation method and device, storage medium and electronic equipment | |
JP4896909B2 (en) | Scenario generation apparatus and program | |
CN114647565A (en) | Android project test method, storage medium and electronic equipment | |
CN111651308A (en) | Method and device for acquiring debugging data of DP-to-HDMI chip and intelligent device | |
CN115422087A (en) | A script generation method and device | |
CN114138650A (en) | User interface testing method, apparatus, electronic device and medium for Kylin system | |
CN111522737B (en) | Automatic test verification method and device for front-end interface and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200225 |
|
RJ01 | Rejection of invention patent application after publication |