CN115470094A - Test script generation method and device, server and computer storage medium - Google Patents
Test script generation method and device, server and computer storage medium Download PDFInfo
- Publication number
- CN115470094A CN115470094A CN202110648756.7A CN202110648756A CN115470094A CN 115470094 A CN115470094 A CN 115470094A CN 202110648756 A CN202110648756 A CN 202110648756A CN 115470094 A CN115470094 A CN 115470094A
- Authority
- CN
- China
- Prior art keywords
- test
- unique key
- key value
- details
- target product
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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 application provides a test script generation method, device, server and computer storage medium, the method includes: in the process of the user testing the target product according to the test plan, generating the test record of this test; the test record includes The operation information of the user's operation on at least one first object detail of the target product; then, for each first object detail, a unique key value of the first object detail is generated; finally, according to the user's operation on each first object detail The operation information and the unique key value of each first object detail, generate the test script of the test plan. Therefore, when the object details of the target product change and the test script needs to be edited, the unique key value of the object details can be used to determine the object details that need to be adjusted in the test script and edit them without rewriting the test script. It improves the reusability of test scripts.
Description
技术领域technical field
本申请涉及计算机技术领域,特别涉及一种测试脚本的生成方法、装置、服务器及计算机存储介质。The present application relates to the field of computer technology, in particular to a test script generation method, device, server and computer storage medium.
背景技术Background technique
随着互联网的高速发展,手机、电脑等终端设备已经成为了人们日常工作生活的必需品。很多公司开发出大量的应用程序产品,来满足大家的各类需求,因此越来越多的测试人员,投入到了产品的测试工作中。而随着自动化测试的越来越普及,各个行业都开始采用自动化测试来提高测试的效率。With the rapid development of the Internet, mobile phones, computers and other terminal devices have become the necessities of people's daily work and life. Many companies have developed a large number of application products to meet everyone's various needs, so more and more testers are devoted to product testing. With the increasing popularity of automated testing, various industries have begun to use automated testing to improve the efficiency of testing.
目前,自动化测试所采用的测试脚本通常采用2种方式进行编写:录制回放和手动代码编写。但是,无论采用录制回放的方式对测试脚本进行编写,还是手动代码对测试脚本进行编写,当产品中的对象细节发生变化时,就要重新编写测试脚本,从而导致对测试脚本的维护十分困难。Currently, test scripts used in automated testing are usually written in two ways: recording and playback and manual code writing. However, no matter whether the test script is written by means of recording and playback, or the test script is written by manual code, when the object details in the product change, the test script must be rewritten, which makes the maintenance of the test script very difficult.
发明内容Contents of the invention
有鉴于此,本申请提供一种测试脚本的生成方法、装置、服务器及计算机存储介质,使得生成的测试脚本复用性更好,更易于维护。In view of this, the present application provides a method, device, server and computer storage medium for generating test scripts, so that the generated test scripts have better reusability and are easier to maintain.
本申请第一方面提供了一种测试脚本的生成方法,包括:The first aspect of the present application provides a method for generating a test script, including:
在用户按照测试计划对目标产品进行测试的过程中,生成本次测试的测试记录;其中,所述测试记录包括所述用户对所述目标产品的至少一个第一对象细节进行操作的操作信息;所述第一对象细节为所述用户在进行测试过程中选择的页面或页面元素;During the process of the user testing the target product according to the test plan, a test record of this test is generated; wherein, the test record includes operation information of the user operating on at least one first object detail of the target product; The first object details are the page or page element selected by the user during the test;
针对每一个所述第一对象细节,生成所述第一对象细节的唯一键值;For each of the first object details, generate a unique key value of the first object details;
根据所述用户对每一个所述第一对象细节进行操作的操作信息和每一个所述第一对象细节的唯一键值,生成所述测试计划的测试脚本。A test script of the test plan is generated according to the operation information of the user's operation on each of the first object details and the unique key value of each of the first object details.
可选的,所述针对每一个所述第一对象细节,生成所述第一对象细节的唯一键值,包括:Optionally, for each of the first object details, generating the unique key value of the first object details includes:
针对每一个所述第一对象细节,将所述第一对象细节所属的父页面的键值、所述第一对象细节的元素标识、所述第一对象细节的文本内容和所述第一对象细节在所述父页面上的索引值进行组合,得到所述第一对象细节的唯一键值。For each first object detail, the key value of the parent page to which the first object detail belongs, the element identifier of the first object detail, the text content of the first object detail, and the first object The index values of the details on the parent page are combined to obtain the unique key value of the details of the first object.
可选的,所述根据所述用户对每一个所述第一对象细节进行操作的操作信息和每一个所述第一对象细节的唯一键值,生成所述测试计划的测试脚本之前,还包括:Optionally, before generating the test script of the test plan according to the operation information of the user operating on each of the first object details and the unique key value of each of the first object details, further includes :
获取所述目标产品的唯一键值集合;其中,所述目标产品的唯一键值集合包括所述目标产品中每一个第二对象细节的唯一键值;所述第二对象细节为所述目标产品进行对象细节注册时,注册成功的对象细节;Obtain the unique key value set of the target product; wherein, the unique key value set of the target product includes the unique key value of each second object detail in the target product; the second object detail is the target product When registering object details, the object details of successful registration;
针对每一个所述第一对象细节,将所述第一对象细节的唯一键值与所述目标产品的唯一键值集合中对应的第二对象细节的唯一键值进行匹配;For each of the first object details, matching the unique key value of the first object detail with the corresponding unique key value of the second object detail in the unique key value set of the target product;
若所有所述第一对象细节均在所述目标产品的唯一键值集合中匹配成功,则执行所述根据所述用户对每一个所述第一对象细节进行操作的操作信息和每一个所述第一对象细节的唯一键值,生成所述测试计划的测试脚本步骤。If all the first object details are successfully matched in the unique key-value set of the target product, execute the operation information and each of the first object details according to the operation information of the user on each of the first object details. The unique key of the first object detail, generating the test script step of the test plan.
可选的,所述根据所述用户对每一个所述第一对象细节进行操作的操作信息和每一个所述第一对象细节的唯一键值,生成所述测试计划的测试脚本之后,还包括:Optionally, after generating the test script of the test plan according to the operation information of the user’s operation on each of the first object details and the unique key value of each of the first object details, it further includes :
接收用户的编辑指令;Receive editing instructions from users;
响应所述编辑指令,对所述测试计划的测试脚本进行相应的操作。In response to the editing instruction, corresponding operations are performed on the test script of the test plan.
可选的,所述根据所述用户对每一个所述第一对象细节进行操作的操作信息和每一个所述第一对象细节的唯一键值,生成所述测试计划的测试脚本,包括:Optionally, generating the test script of the test plan according to the operation information of the user operating on each of the first object details and the unique key value of each of the first object details includes:
以所述用户对每一个所述第一对象细节进行操作的操作信息中的第一对象细节,替换为所述第一对象细节的唯一键值的方式处理所述测试记录,得到所述测试计划的测试脚本。Processing the test record in such a way that the first object details in the operation information that the user operates on each of the first object details is replaced by the unique key value of the first object details, to obtain the test plan test script.
本申请第二方面提供了一种测试脚本的生成装置,包括:The second aspect of the present application provides a test script generation device, including:
测试记录生成单元,用于在用户按照测试计划对目标产品进行测试的过程中,生成本次测试的测试记录;其中,所述测试记录包括所述用户对所述目标产品的至少一个第一对象细节进行操作的操作信息;所述第一对象细节为所述用户在进行测试过程中选择的页面或页面元素;A test record generating unit, configured to generate a test record of this test during the process of the user testing the target product according to the test plan; wherein, the test record includes at least one first object of the user on the target product Operation information for operating details; the first object detail is the page or page element selected by the user during the test;
唯一键值生成单元,用于针对每一个所述第一对象细节,生成所述第一对象细节的唯一键值;A unique key generating unit, configured to generate a unique key of the first object details for each of the first object details;
测试脚本生成单元,用于根据所述用户对每一个所述第一对象细节进行操作的操作信息和每一个所述第一对象细节的唯一键值,生成所述测试计划的测试脚本。The test script generating unit is configured to generate the test script of the test plan according to the operation information of the user's operation on each of the first object details and the unique key value of each of the first object details.
可选的,所述唯一键值生成单元,包括:Optionally, the unique key generating unit includes:
唯一键值生成子单元,用于针对每一个所述第一对象细节,将所述第一对象细节所属的父页面的键值、所述第一对象细节的元素标识、所述第一对象细节的文本内容和所述第一对象细节在所述父页面上的索引值进行组合,得到所述第一对象细节的唯一键值。The unique key value generation subunit is used for each of the first object details, the key value of the parent page to which the first object details belongs, the element identifier of the first object details, the first object details The text content of and the index value of the first object detail on the parent page are combined to obtain the unique key value of the first object detail.
可选的,所述测试脚本的生成装置,还包括:Optionally, the device for generating the test script also includes:
获取单元,用于获取所述目标产品的唯一键值集合;其中,所述目标产品的唯一键值集合包括所述目标产品中每一个第二对象细节的唯一键值;所述第二对象细节为所述目标产品进行对象细节注册时,注册成功的对象细节;An acquisition unit, configured to acquire a unique key value set of the target product; wherein, the unique key value set of the target product includes a unique key value of each second object detail in the target product; the second object detail When registering object details for said target product, the object details of successful registration;
匹配单元,用于针对每一个所述第一对象细节,将所述第一对象细节的唯一键值与所述目标产品的唯一键值集合中对应的第二对象细节的唯一键值进行匹配;A matching unit, for each of the first object details, matching the unique key value of the first object detail with the corresponding unique key value of the second object detail in the unique key value set of the target product;
其中,所述测试脚本生成单元,用于:Wherein, the test script generation unit is used for:
若所有所述第一对象细节均在所述目标产品的唯一键值集合中匹配成功,则执行所述根据所述用户对每一个所述第一对象细节进行操作的操作信息和每一个所述第一对象细节的唯一键值,生成所述测试计划的测试脚本步骤。If all the first object details are successfully matched in the unique key-value set of the target product, execute the operation information and each of the first object details according to the operation information of the user on each of the first object details. The unique key of the first object detail, generating the test script step of the test plan.
可选的,所述测试脚本的生成装置,还包括:Optionally, the device for generating the test script also includes:
接收单元,用于接收用户的编辑指令;a receiving unit, configured to receive an editing instruction from a user;
响应单元,用于响应所述编辑指令,对所述测试计划的测试脚本进行相应的操作。The response unit is configured to perform corresponding operations on the test script of the test plan in response to the editing instruction.
可选的,所述测试脚本生成单元,包括:Optionally, the test script generation unit includes:
测试脚本生成子单元,用于以所述用户对每一个所述第一对象细节进行操作的操作信息中的第一对象细节,替换为所述第一对象细节的唯一键值的方式处理所述测试记录,得到所述测试计划的测试脚本。The test script generation subunit is used to process the first object details in the operation information of each of the first object details by the user by the unique key value of the first object details. Test records, get the test scripts of the test plan.
本申请第三方面提供了一种服务器,包括:The third aspect of the present application provides a server, including:
一个或多个处理器;one or more processors;
存储装置,其上存储有一个或多个程序;a storage device having one or more programs stored thereon;
当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如第一方面任意一项所述的测试脚本的生成方法。When the one or more programs are executed by the one or more processors, the one or more processors are made to implement the test script generation method according to any one of the first aspect.
本申请第四方面提供了一种计算机存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如第一方面任意一项所述的测试脚本的生成方法。A fourth aspect of the present application provides a computer storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the method for generating a test script as described in any one of the first aspect is implemented.
由以上方案可知,本申请提供的一种测试脚本的生成方法、装置、服务器及计算机存储介质中,所述测试脚本的生成方法包括:在用户按照测试计划对目标产品进行测试的过程中,生成本次测试的测试记录;其中,测试记录包括用户对目标产品的至少一个第一对象细节进行操作的操作信息;第一对象细节为用户在进行测试过程中选择的页面或页面元素;然后,针对每一个第一对象细节,生成第一对象细节的唯一键值;最终,根据所述用户对每一个所述第一对象细节进行操作的操作信息和每一个所述第一对象细节的唯一键值,生成所述测试计划的测试脚本。由于本申请中最终生成的测试脚本,是根据用户对每一个所述第一对象细节进行操作的操作信息和每一个所述第一对象细节的唯一键值得到,因此,在目标产品的对象细节发生变化需要对测试脚本进行编辑时,可以分别利用对象细节的唯一键值,在测试脚本中确定出需要调整的对象细节并进行编辑,并且,若在目标产品增添新的对象细节,也可以在测试脚本中以新的对象细节的唯一键值为依据进行新的对象细节的操作信息的增加,无需重新编写测试脚本,实现了测试脚本的复用性。It can be seen from the above scheme that in the method, device, server, and computer storage medium for generating a test script provided by the present application, the method for generating the test script includes: during the process of testing the target product by the user according to the test plan, generating The test record of this test; wherein, the test record includes the operation information that the user operates on at least one first object detail of the target product; the first object detail is the page or page element selected by the user during the test; then, for For each first object detail, generate a unique key value of the first object detail; finally, according to the user’s operation information on each of the first object details and the unique key value of each first object detail , to generate test scripts for the test plan. Since the test script finally generated in this application is obtained according to the user’s operation information on each of the first object details and the unique key value of each of the first object details, the object details of the target product When the test script needs to be edited due to changes, the unique key values of the object details can be used to determine the object details that need to be adjusted in the test script and edit them, and if new object details are added to the target product, they can also be edited in the In the test script, the operation information of the new object detail is added based on the unique key value of the new object detail, without rewriting the test script, and the reusability of the test script is realized.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.
图1为本申请实施例提供的一种测试脚本的生成方法的具体流程图;Fig. 1 is the specific flowchart of the generation method of a kind of test script that the embodiment of the present application provides;
图2为本申请另一实施例提供的一种测试脚本的生成方法的具体流程图;Fig. 2 is a specific flowchart of a method for generating a test script provided by another embodiment of the present application;
图3为本申请另一实施例提供的一种测试脚本的生成装置的示意图;FIG. 3 is a schematic diagram of a test script generation device provided by another embodiment of the present application;
图4为本申请另一实施例提供的一种测试脚本的生成装置的示意图;FIG. 4 is a schematic diagram of a test script generation device provided by another embodiment of the present application;
图5为本申请另一实施例提供的一种实现测试脚本的生成方法的服务器的示意图。FIG. 5 is a schematic diagram of a server implementing a method for generating a test script provided by another embodiment of the present application.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
需要注意,本申请中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系,而术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that concepts such as "first" and "second" mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the sequence of functions performed by these devices, modules or units or interdependence, and the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, but also includes Other elements not expressly listed, or elements inherent in the process, method, article, or apparatus are also included. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
本申请实施例提供了一种测试脚本的生成方法,如图1所示,具体包括以下步骤:The embodiment of the present application provides a method for generating a test script, as shown in Figure 1, specifically comprising the following steps:
S101、在用户按照测试计划对目标产品进行测试的过程中,生成本次测试的测试记录。S101. During the process of the user testing the target product according to the test plan, a test record of this test is generated.
其中,测试计划可以是但不限于预先设置的针对目标产品进行测试的一个文本信息,用户可以通过在手机或云真机上按照测试计划对目标产品进行测试,目标产品也可以理解为需要进行测试的产品;测试记录包括用户对目标产品的至少一个第一对象细节进行操作的操作信息;第一对象细节为用户在进行测试过程中选择的页面或页面元素;操作信息可以包含但不限于操作顺序、停留时间、操作类型等信息,此处不做限定。页面元素可以是但不限于图片、文字、按钮、文本框等,此处同样不做限定。Among them, the test plan can be but not limited to a pre-set text information for testing the target product. The user can test the target product according to the test plan on the mobile phone or the cloud real machine. The target product can also be understood as a product that needs to be tested. Product; the test record includes the operation information of the user operating on at least one first object detail of the target product; the first object detail is the page or page element selected by the user during the test; the operation information may include but not limited to the operation sequence, Information such as residence time and operation type is not limited here. Page elements can be but not limited to pictures, text, buttons, text boxes, etc., which are also not limited here.
现对生成的测试记录进行举例说明:如用户在手机或云真机上按照测试计划对目标产品进行测试,测试过程中首先点击了的按钮A,然后对图片B进行剪切,最终停留在页面X中10秒。Here is an example of the generated test record: If the user tests the target product according to the test plan on the mobile phone or cloud real machine, the user first clicks the button A during the test, then cuts the picture B, and finally stays on the page X 10 seconds.
S102、针对每一个第一对象细节,生成第一对象细节的唯一键值。S102. For each first object detail, generate a unique key value of the first object detail.
可选的,在本申请的另一实施例中,步骤S102的一种实施方式,具体包括:Optionally, in another embodiment of the present application, an implementation of step S102 specifically includes:
针对每一个第一对象细节,将第一对象细节所属的父页面的键值、第一对象细节的元素标识、第一对象细节的文本内容和第一对象细节在父页面上的索引值进行组合,得到第一对象细节的唯一键值。For each first object detail, combine the key value of the parent page to which the first object detail belongs, the element identifier of the first object detail, the text content of the first object detail, and the index value of the first object detail on the parent page , get the unique key value of the first object detail.
其中,第一对象细节所属的父页面的键值、第一对象细节的元素标识、第一对象细节的文本内容和第一对象细节在父页面上的索引值均为已知数据,索引值从1开始步长递增,例如页面A中的第一个页面元素的索引值为1,页面B中的第二页面元素的索引值为2,依次类推。也就是说如果两个不同的页面元素,在同一个页面下,即使拥有相同的元素标识和文本内容,但只要两个页面元素的索引值不一样,那么这两个页面元素就会被记录为不同的页面元素。也就是说,本申请的唯一键值的生成规则,可以将所有的对象细节进行唯一编号处理。Among them, the key value of the parent page to which the first object detail belongs, the element identifier of the first object detail, the text content of the first object detail, and the index value of the first object detail on the parent page are all known data, and the index value is from The step increases from 1, for example, the index value of the first page element in page A is 1, the index value of the second page element in page B is 2, and so on. That is to say, if two different page elements have the same element ID and text content under the same page, as long as the index values of the two page elements are different, the two page elements will be recorded as different page elements. In other words, the unique key generation rules of this application can process all object details with unique numbers.
需要说明的是,将第一对象细节所属的父页面的键值、第一对象细节的元素标识、第一对象细节的文本内容和第一对象细节在父页面上的索引值进行组合的方式十分多样化,可以是将第一对象细节所属的父页面的键值、第一对象细节的元素标识、第一对象细节的文本内容和第一对象细节在父页面上的索引值依次进行组合;也可以是将第一对象细节的元素标识、第一对象细节所属的父页面的键值、第一对象细节的文本内容和第一对象细节在父页面上的索引值依次进行组合,此处不做限定。It should be noted that the way of combining the key value of the parent page to which the first object detail belongs, the element identifier of the first object detail, the text content of the first object detail and the index value of the first object detail on the parent page is very Diversification may be to sequentially combine the key value of the parent page to which the first object detail belongs, the element identifier of the first object detail, the text content of the first object detail, and the index value of the first object detail on the parent page; It may be to combine the element identifier of the first object detail, the key value of the parent page to which the first object detail belongs, the text content of the first object detail, and the index value of the first object detail on the parent page, which is not done here limited.
S103、根据用户对每一个第一对象细节进行操作的操作信息和每一个第一对象细节的唯一键值,生成测试计划的测试脚本。S103. Generate a test script of the test plan according to the operation information of the user's operation on each first object detail and the unique key value of each first object detail.
需要说明的是,根据用户对每一个第一对象细节进行操作的操作信息和每一个第一对象细节的唯一键值,生成测试计划的测试脚本的方式,可以是但不限于以用户对每一个第一对象细节进行操作的操作信息中的第一对象细节,替换为第一对象细节的唯一键值的方式处理测试记录,得到测试计划的测试脚本。It should be noted that, according to the operation information of the user's operation on each first object detail and the unique key value of each first object detail, the method of generating the test script of the test plan can be, but not limited to, using the user's operation on each The first object details in the operation information of the first object details are replaced with the unique key value of the first object details to process the test records to obtain the test script of the test plan.
例如:测试记录为首先点击了按钮A,然后对图片B进行剪切,最终停留在页面X中10秒,按钮A对应唯一键值h,图片B对应唯一键值m,页面X对应唯一键值n,生成的测试脚本可以执行对应的操作就为点击唯一键值h所处位置后,对唯一键值m所代表的图片进行剪切,最终停留在唯一键值n所处位置10秒。For example: the test record is that button A is clicked first, then image B is cut, and finally stays on page X for 10 seconds, button A corresponds to the unique key value h, image B corresponds to the unique key value m, and page X corresponds to the unique key value n, the generated test script can execute the corresponding operation. After clicking the position of the unique key value h, cut the picture represented by the unique key value m, and finally stay at the position of the unique key value n for 10 seconds.
由以上方案可知,本申请提供的一种测试脚本的生成方法:在用户按照测试计划对目标产品进行测试的过程中,生成本次测试的测试记录;其中,测试记录包括用户对目标产品的至少一个第一对象细节进行操作的操作信息;第一对象细节为用户在进行测试过程中选择的页面或页面元素;然后,针对每一个第一对象细节,生成第一对象细节的唯一键值;最终,根据用户对每一个第一对象细节进行操作的操作信息和每一个第一对象细节的唯一键值,生成测试计划的测试脚本。由于本申请中最终生成的测试脚本,是根据用户对每一个所述第一对象细节进行操作的操作信息和每一个所述第一对象细节的唯一键值得到,因此,在目标产品的对象细节发生变化需要对测试脚本进行编辑时,可以分别利用对象细节的唯一键值,在测试脚本中确定出需要调整的对象细节并进行编辑,并且,若在目标产品增添新的对象细节,也可以在测试脚本中以新的对象细节的唯一键值为依据进行新的对象细节的操作信息的增加,无需重新编写测试脚本,实现了测试脚本的复用性。As can be seen from the above scheme, a method for generating a test script provided by the present application: in the process of testing the target product by the user according to the test plan, generate a test record of this test; wherein, the test record includes at least Operation information for operating on a first object detail; the first object detail is the page or page element selected by the user during the test; then, for each first object detail, a unique key value of the first object detail is generated; finally , generating a test script of the test plan according to the operation information of the operation performed by the user on each first object detail and the unique key value of each first object detail. Since the test script finally generated in this application is obtained according to the user’s operation information on each of the first object details and the unique key value of each of the first object details, the object details of the target product When the test script needs to be edited due to changes, the unique key values of the object details can be used to determine the object details that need to be adjusted in the test script and edit them, and if new object details are added to the target product, they can also be edited in the In the test script, the operation information of the new object detail is added based on the unique key value of the new object detail, without rewriting the test script, and the reusability of the test script is realized.
可选的,在本申请的另一实施例中,步骤S103之后的一种实施方式,还包括:Optionally, in another embodiment of the present application, an implementation after step S103 further includes:
在接收用户的编辑指令之后;响应编辑指令,对测试计划的测试脚本进行相应的操作。After receiving the user's editing instruction; in response to the editing instruction, corresponding operations are performed on the test script of the test plan.
其中,编辑指令可以是但不限于增加断言、修改等待时间、针对异常弹窗进行捕捉,消除等,此处不做限定。Wherein, the editing instruction may be but not limited to adding an assertion, modifying the waiting time, capturing and eliminating the exception pop-up window, etc., which is not limited here.
需要说明的是,随着目标产品发生改变,如果对象细节发生变化,那么用户可以通过当在手机或云真机对测试脚本进行修改,可以是但不限于通过用户介入指定新老对象细节的关联关系或者以自动化的方式进行模糊匹配完成新老对象细节的对接,无需废气原来的测试脚本,极大提高了测试脚本的复用性。It should be noted that as the target product changes, if the object details change, the user can modify the test script on the mobile phone or cloud real machine, which can be but not limited to the association of the old and new object details through user intervention Relationships or fuzzy matching in an automated way to complete the docking of new and old object details, without exhausting the original test scripts, which greatly improves the reusability of test scripts.
随着目标产品的升级,若测试脚本中的操作信息需要升级,则可以在原有测试脚本的操作信息节点之间插入新的操作信息节点,或者编辑原有的操作信息节点,包括但不限于新的断言,新的操作信息,新的对象细节的引入等等,同样无需废弃原来的测试脚本。With the upgrade of the target product, if the operation information in the test script needs to be upgraded, a new operation information node can be inserted between the operation information nodes of the original test script, or the original operation information node can be edited, including but not limited to new Assertions, new operation information, introduction of new object details, etc., also do not need to discard the original test script.
可以看出,相对于现有技术中,在目标产品的对象细节发生变化需要对测试脚本进行编辑时,需要重新生成一个测试脚本,本申请所生成的测试脚本可以直接复用,针对目标产品的对象细节发生的变化,直接对原来的测试脚本进行编辑即可。It can be seen that, compared with the prior art, when the object details of the target product change and the test script needs to be edited, a test script needs to be regenerated. The test script generated by this application can be directly reused, and the test script for the target product can be directly reused. If the object details change, just edit the original test script directly.
可选的,在本申请的另一实施例中,测试脚本的生成方法的一种实施方式,如图2所示,具体包括以下步骤:Optionally, in another embodiment of the present application, an implementation of a method for generating a test script, as shown in FIG. 2 , specifically includes the following steps:
S201、在用户按照测试计划对目标产品进行测试的过程中,生成本次测试的测试记录。S201. During the process of the user testing the target product according to the test plan, a test record of this test is generated.
其中,测试记录包括用户对目标产品的至少一个第一对象细节进行操作的操作信息;第一对象细节为用户在进行测试过程中选择的页面或页面元素。Wherein, the test record includes operation information of the user operating on at least one first object detail of the target product; the first object detail is the page or page element selected by the user during the test.
S202、针对每一个第一对象细节,生成第一对象细节的唯一键值。S202. For each first object detail, generate a unique key value of the first object detail.
需要说明的是,步骤S201和S202的具体实现过程,可以分别参见上述步骤S101和S102的具体实现过程,此处不再赘述。It should be noted that, for the specific implementation process of steps S201 and S202, reference may be made to the specific implementation process of steps S101 and S102 above, which will not be repeated here.
S203、获取目标产品的唯一键值集合。S203. Obtain the unique key-value set of the target product.
其中,目标产品的唯一键值集合包括目标产品中每一个第二对象细节的唯一键值;第二对象细节为目标产品进行对象细节注册时,注册成功的对象细节。Wherein, the unique key value set of the target product includes the unique key value of each second object detail in the target product; the second object detail is the object detail registered successfully when the target product registers the object detail.
也就是说,目标产品会预先进行对象细节的注册,在目标产品第一次进行对象细节的注册时,会对目标产品中的每一个对象细节进行注册,且为每一个注册成功的对象细节生成唯一键值。其生成唯一键值的方式可以参照上述实施例中生成唯一键值的方法,此处不再赘述。That is to say, the target product will register the object details in advance. When the target product registers the object details for the first time, it will register each object detail in the target product, and generate Unique key value. For the method of generating the unique key value, reference may be made to the method for generating the unique key value in the above-mentioned embodiments, which will not be repeated here.
可以理解的是,在后续对与目标产品同样的产品,即与目标产品相同但是不同版本的产品进行对象细节的注册时,只需要对增加或更改的对象细节进行注册即可。It can be understood that when registering the object details of the same product as the target product, that is, a product that is the same as the target product but of a different version, only the added or changed object details need to be registered.
需要说明的是,进行对象细节的注册可以是人工注册,也可以是自动化进行注册,此处不做限定。It should be noted that the registration of object details may be performed manually or automatically, which is not limited here.
S204、针对每一个第一对象细节,将第一对象细节的唯一键值与目标产品的唯一键值集合中的第二对象细节对应的唯一键值进行匹配。S204. For each first object detail, match the unique key value of the first object detail with the unique key value corresponding to the second object detail in the unique key value set of the target product.
S205、判断所有第一对象细节是否均在目标产品的唯一键值集合中匹配成功。S205. Determine whether all first object details are successfully matched in the unique key-value set of the target product.
具体的,若判断出第一对象细节均在目标产品的唯一键值集合中匹配成功,则执行步骤S206。Specifically, if it is determined that all the first object details are successfully matched in the unique key-value set of the target product, step S206 is executed.
S206、根据用户对每一个第一对象细节进行操作的操作信息和每一个第一对象细节的唯一键值,生成测试计划的测试脚本。S206. Generate a test script of the test plan according to the operation information of the user's operation on each first object detail and the unique key value of each first object detail.
需要说明的是,步骤S206的具体实现过程,可以参见上述步骤S103的具体实现过程,此处不再赘述。It should be noted that, for the specific implementation process of step S206, reference may be made to the specific implementation process of step S103 above, which will not be repeated here.
由以上方案可知,本申请提供的一种测试脚本的生成方法:在用户按照测试计划对目标产品进行测试的过程中,生成本次测试的测试记录;其中,测试记录包括用户对目标产品的至少一个第一对象细节进行操作的操作信息;第一对象细节为用户在进行测试过程中选择的页面或页面元素;然后,针对每一个第一对象细节,生成第一对象细节的唯一键值;获取目标产品的唯一键值集合。其中,目标产品的唯一键值集合包括目标产品中每一个第二对象细节的唯一键值;第二对象细节为目标产品进行对象细节注册时,注册成功的对象细节。针对每一个第一对象细节,将第一对象细节的唯一键值与目标产品的唯一键值集合中的第二对象细节的唯一键值进行匹配。若所有第一对象细节均在目标产品的唯一键值集合中匹配成功,则说明目标产品在本次测试的测试记录中的对象细节与目标产品在进行对象细节注册过程中的对象细节是同一个对象细节,从而在根据用户对每一个第一对象细节进行操作的操作信息和每一个第一对象细节的唯一键值,生成测试计划的测试脚本之后,可以对当前生成的测试计划的测试脚本以及之前生成的测试计划的测试脚本的版本进行管控。As can be seen from the above scheme, a method for generating a test script provided by the present application: in the process of testing the target product by the user according to the test plan, generate a test record of this test; wherein, the test record includes at least Operation information for operating on a first object detail; the first object detail is the page or page element selected by the user during the test; then, for each first object detail, a unique key value of the first object detail is generated; obtain A collection of unique key-values for the target product. Wherein, the unique key value set of the target product includes the unique key value of each second object detail in the target product; the second object detail is the object detail registered successfully when the target product registers the object detail. For each first object detail, match the unique key value of the first object detail with the unique key value of the second object detail in the unique key value set of the target product. If all the first object details are successfully matched in the unique key-value set of the target product, it means that the object details of the target product in the test record of this test are the same as the object details of the target product in the object detail registration process Object details, so that after the test script of the test plan is generated according to the operation information of the user's operation on each first object detail and the unique key value of each first object detail, the test script of the currently generated test plan and The version of the test script of the previously generated test plan is controlled.
本申请另一实施例提供了一种测试脚本的生成装置,如图3所示,具体包括:Another embodiment of the present application provides a test script generation device, as shown in Figure 3, specifically including:
测试记录生成单元301,用于在用户按照测试计划对目标产品进行测试的过程中,生成本次测试的测试记录。The test
其中,测试记录包括用户对目标产品的至少一个第一对象细节进行操作的操作信息;第一对象细节为用户在进行测试过程中选择的页面或页面元素。Wherein, the test record includes operation information of the user operating on at least one first object detail of the target product; the first object detail is the page or page element selected by the user during the test.
唯一键值生成单元302,用于针对每一个第一对象细节,生成第一对象细节的唯一键值。The unique
可选的,在本申请的另一实施例中,唯一键值生成单元302的一种实施方式,包括:Optionally, in another embodiment of the present application, an implementation of the unique
唯一键值生成子单元,用于针对每一个第一对象细节,将第一对象细节所属的父页面的键值、第一对象细节的元素标识、第一对象细节的文本内容和第一对象细节在父页面上的索引值进行组合,得到第一对象细节的唯一键值。The unique key value generating subunit is used for each first object detail, the key value of the parent page to which the first object detail belongs, the element identifier of the first object detail, the text content of the first object detail and the first object detail The index values on the parent page are combined to obtain the unique key value of the first object detail.
本申请上述实施例公开的单元的具体工作过程,可参见对应的方法实施例内容,此处不再赘述。For the specific working process of the units disclosed in the above embodiments of the present application, reference may be made to the contents of the corresponding method embodiments, which will not be repeated here.
测试脚本生成单元303,用于根据用户对每一个第一对象细节进行操作的操作信息和每一个第一对象细节的唯一键值,生成测试计划的测试脚本。The test
本申请上述实施例公开的单元的具体工作过程,可参见对应的方法实施例内容,如图1所示,此处不再赘述。For the specific working process of the units disclosed in the above embodiments of the present application, please refer to the content of the corresponding method embodiments, as shown in FIG. 1 , which will not be repeated here.
可选的,在本申请的另一实施例中,测试脚本的生成装置的一种实施方式,还包括:Optionally, in another embodiment of the present application, an implementation of the device for generating test scripts further includes:
接收单元,用于接收用户的编辑指令。The receiving unit is configured to receive an editing instruction from a user.
响应单元,用于响应编辑指令,对测试计划的测试脚本进行相应的操作。The response unit is used for responding to editing instructions and performing corresponding operations on the test scripts of the test plan.
本申请上述实施例公开的单元的具体工作过程,可参见对应的方法实施例内容,此处不再赘述。For the specific working process of the units disclosed in the above embodiments of the present application, reference may be made to the contents of the corresponding method embodiments, which will not be repeated here.
可选的,在本申请的另一实施例中,测试脚本生成单元303的一种实施方式,包括:Optionally, in another embodiment of the present application, an implementation of the test
以用户对每一个第一对象细节进行操作的操作信息中的第一对象细节,替换为第一对象细节的唯一键值的方式处理测试记录,得到测试计划的测试脚本。The test records are processed by replacing the first object details in the operation information of the user's operation on each first object detail with the unique key value of the first object details to obtain the test script of the test plan.
本申请上述实施例公开的单元的具体工作过程,可参见对应的方法实施例内容,此处不再赘述。For the specific working process of the units disclosed in the above embodiments of the present application, reference may be made to the contents of the corresponding method embodiments, which will not be repeated here.
由以上方案可知,本申请提供的一种测试脚本的生成装置:测试记录生成单元301在用户按照测试计划对目标产品进行测试的过程中,生成本次测试的测试记录;其中,测试记录包括用户对目标产品的至少一个第一对象细节进行操作的操作信息;第一对象细节为用户在进行测试过程中选择的页面或页面元素;然后,唯一键值生成单元302针对每一个第一对象细节,生成第一对象细节的唯一键值;最终,测试脚本生成单元303根据用户对每一个第一对象细节进行操作的操作信息和每一个第一对象细节的唯一键值,生成测试计划的测试脚本。由于本申请中最终生成的测试脚本,是根据用户对每一个所述第一对象细节进行操作的操作信息和每一个所述第一对象细节的唯一键值得到,因此,在目标产品的对象细节发生变化需要对测试脚本进行编辑时,可以分别利用对象细节的唯一键值,在测试脚本中确定出需要调整的对象细节并进行编辑,并且,若在目标产品增添新的对象细节,也可以在测试脚本中以新的对象细节的唯一键值为依据进行新的对象细节的操作信息的增加,无需重新编写测试脚本,实现了测试脚本的复用性。It can be seen from the above scheme that the present application provides a test script generation device: the test
本申请另一实施例提供了一种测试脚本的生成装置,如图4所示,具体包括:Another embodiment of the present application provides an apparatus for generating a test script, as shown in FIG. 4 , specifically comprising:
测试记录生成单元401,用于在用户按照测试计划对目标产品进行测试的过程中,生成本次测试的测试记录。The test
其中,测试记录包括用户对目标产品的至少一个第一对象细节进行操作的操作信息;第一对象细节为用户在进行测试过程中选择的页面或页面元素。Wherein, the test record includes operation information of the user operating on at least one first object detail of the target product; the first object detail is the page or page element selected by the user during the test.
唯一键值生成单元402,用于针对每一个第一对象细节,生成第一对象细节的唯一键值。The unique key
获取单元403,用于获取目标产品的唯一键值集合。The acquiring
其中,目标产品的唯一键值集合包括目标产品中每一个第二对象细节的唯一键值;第二对象细节为目标产品进行对象细节注册时,注册成功的对象细节。Wherein, the unique key value set of the target product includes the unique key value of each second object detail in the target product; the second object detail is the object detail registered successfully when the target product registers the object detail.
匹配单元404,用于针对每一个第一对象细节,将第一对象细节的唯一键值与目标产品的唯一键值集合中对应的第二对象细节的唯一键值进行匹配。The
测试脚本生成单元405,用于若所有第一对象细节均在目标产品的唯一键值集合中匹配成功,则执行根据用户对每一个第一对象细节进行操作的操作信息和每一个第一对象细节的唯一键值,生成测试计划的测试脚本。A test
本申请上述实施例公开的单元的具体工作过程,可参见对应的方法实施例内容,如图2所示,此处不再赘述。For the specific working process of the units disclosed in the above embodiments of the present application, please refer to the content of the corresponding method embodiments, as shown in FIG. 2 , which will not be repeated here.
由以上方案可知,本申请提供的一种测试脚本的生成装置:测试记录生成单元401在用户按照测试计划对目标产品进行测试的过程中,生成本次测试的测试记录;其中,测试记录包括用户对目标产品的至少一个第一对象细节进行操作的操作信息;第一对象细节为用户在进行测试过程中选择的页面或页面元素;然后,唯一键值生成单元402针对每一个第一对象细节,生成第一对象细节的唯一键值;获取单元403获取目标产品的唯一键值集合。其中,目标产品的唯一键值集合包括目标产品中每一个第二对象细节的唯一键值;第二对象细节为目标产品进行对象细节注册时,注册成功的对象细节。匹配单元404针对每一个第一对象细节,将第一对象细节的唯一键值与目标产品的唯一键值集合中的第二对象细节的唯一键值进行匹配。若所有第一对象细节均在目标产品的唯一键值集合中匹配成功,则说明目标产品在本次测试的测试记录中的对象细节与目标产品在进行对象细节注册过程中的对象细节是同一个对象细节,从而在测试脚本生成单元405根据用户对每一个第一对象细节进行操作的操作信息和每一个第一对象细节的唯一键值,生成测试计划的测试脚本之后,可以对当前生成的测试计划的测试脚本以及之前生成的测试计划的测试脚本的版本进行管控。It can be seen from the above scheme that the present application provides a test script generation device: the test
本申请另一实施例提供了一种服务器,如图5所示,包括:Another embodiment of the present application provides a server, as shown in Figure 5, including:
一个或多个处理器501。One or
存储装置502,其上存储有一个或多个程序。The
当所述一个或多个程序被所述一个或多个处理器501执行时,使得所述一个或多个处理器501实现如上述实施例中任意一项所述的测试脚本的生成方法。When the one or more programs are executed by the one or
本申请另一实施例提供了一种计算机存储介质,其上存储有计算机程序,其中,计算机程序被处理器执行时实现如上述实施例中任意一项所述的测试脚本的生成方法。Another embodiment of the present application provides a computer storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the method for generating a test script as described in any one of the above embodiments is implemented.
在本申请公开的上述实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置和方法实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本公开的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In the above embodiments disclosed in the present application, it should be understood that the disclosed device and method may also be implemented in other ways. The device and method embodiments described above are only illustrative, for example, the flowcharts and block diagrams in the accompanying drawings show possible implementation architectures of devices, methods and computer program products according to multiple embodiments of the present disclosure, function and operation. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code that includes one or more Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions.
另外,在本公开各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,直播设备,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, each functional module in each embodiment of the present disclosure may be integrated together to form an independent part, each module may exist independently, or two or more modules may be integrated to form an independent part. If the functions are realized in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a live broadcast device, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .
专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。Those skilled in the art can realize or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the application. Therefore, the present application will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110648756.7A CN115470094A (en) | 2021-06-10 | 2021-06-10 | Test script generation method and device, server and computer storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110648756.7A CN115470094A (en) | 2021-06-10 | 2021-06-10 | Test script generation method and device, server and computer storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115470094A true CN115470094A (en) | 2022-12-13 |
Family
ID=84365132
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110648756.7A Pending CN115470094A (en) | 2021-06-10 | 2021-06-10 | Test script generation method and device, server and computer storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115470094A (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150324274A1 (en) * | 2014-05-09 | 2015-11-12 | Wipro Limited | System and method for creating universal test script for testing variants of software application |
| CN110309061A (en) * | 2019-05-24 | 2019-10-08 | 深圳壹账通智能科技有限公司 | Automated testing method, device, storage medium, and computer equipment |
| CN111046073A (en) * | 2019-12-11 | 2020-04-21 | 广州品唯软件有限公司 | Test case query method, device and readable storage medium |
| CN111104315A (en) * | 2019-11-29 | 2020-05-05 | 京东数字科技控股有限公司 | Test script generation method and device and computer readable storage medium |
| US20200356467A1 (en) * | 2019-05-07 | 2020-11-12 | Adp, Llc | Just in Time Scriptless Test Automation Selectors and Interactions |
-
2021
- 2021-06-10 CN CN202110648756.7A patent/CN115470094A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150324274A1 (en) * | 2014-05-09 | 2015-11-12 | Wipro Limited | System and method for creating universal test script for testing variants of software application |
| US20200356467A1 (en) * | 2019-05-07 | 2020-11-12 | Adp, Llc | Just in Time Scriptless Test Automation Selectors and Interactions |
| CN110309061A (en) * | 2019-05-24 | 2019-10-08 | 深圳壹账通智能科技有限公司 | Automated testing method, device, storage medium, and computer equipment |
| CN111104315A (en) * | 2019-11-29 | 2020-05-05 | 京东数字科技控股有限公司 | Test script generation method and device and computer readable storage medium |
| CN111046073A (en) * | 2019-12-11 | 2020-04-21 | 广州品唯软件有限公司 | Test case query method, device and readable storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112100052B (en) | A playback method and device for an interface test scene | |
| CN112714908B (en) | Dependency graph-controlled object and compute pipeline migration | |
| CN110096434A (en) | Interface testing method and device | |
| CN112015651B (en) | Data processing method and device | |
| CN113297007B (en) | Data processing method and device | |
| US9996799B2 (en) | Migrating a legacy system by inferring context-sensitive business rules from legacy source code | |
| US10108501B2 (en) | Terminal backup and recovery method | |
| CN112433705A (en) | Script generation method and device, electronic equipment and storage medium | |
| CN117493158A (en) | Test method and device, electronic equipment and storage medium | |
| CN112511384B (en) | Flow data processing method and device, computer equipment and storage medium | |
| CN114610286A (en) | Method, device, computer equipment and storage medium for generating development documents | |
| US7735017B2 (en) | System and method for automating manual transactions between disjoint systems | |
| CN115766258B (en) | Multi-stage attack trend prediction method, equipment and storage medium based on causal relationship graph | |
| WO2016165461A1 (en) | Automated testing method and apparatus for network management system software of telecommunications network | |
| CN108170605A (en) | Submission method, client and the computer readable storage medium of bug information | |
| CN115470094A (en) | Test script generation method and device, server and computer storage medium | |
| CN114115982A (en) | Code issuing method, device, equipment and storage medium | |
| CN114371866A (en) | Version reconstruction testing method, device and equipment of business system | |
| CN112036843A (en) | Flow element positioning method, device, equipment and medium based on RPA and AI | |
| WO2024041358A1 (en) | Configuration file updating method and apparatus, electronic device and readable storage medium | |
| CN113986755A (en) | Message comparison method and device, storage medium and electronic device | |
| CN114880234A (en) | Automatic testing method and device, electronic equipment and computer storage medium | |
| CN117724711A (en) | Page module arranging method and device | |
| CN114764370A (en) | Risk assessment method and device, electronic equipment and readable medium | |
| CN116403565A (en) | Language identification method, device, equipment, storage medium and product |
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 |