WO2018177435A1 - Control test method and software automatic test method - Google Patents

Control test method and software automatic test method Download PDF

Info

Publication number
WO2018177435A1
WO2018177435A1 PCT/CN2018/081553 CN2018081553W WO2018177435A1 WO 2018177435 A1 WO2018177435 A1 WO 2018177435A1 CN 2018081553 W CN2018081553 W CN 2018081553W WO 2018177435 A1 WO2018177435 A1 WO 2018177435A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
software
positioning information
expression
test method
Prior art date
Application number
PCT/CN2018/081553
Other languages
French (fr)
Chinese (zh)
Inventor
陈立森
Original Assignee
上海合福信息科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 上海合福信息科技有限公司 filed Critical 上海合福信息科技有限公司
Publication of WO2018177435A1 publication Critical patent/WO2018177435A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Definitions

  • the invention relates to the technical field of software automatic testing, in particular to a control test method and a software automatic test method.
  • the application software is usually tested by using an automatic testing technology, for example, a set script is used to simulate a user's use of each application function in the application software to repeatedly test the software to test the application of the application software. Whether the function can be realized on time, and testing the compression capability of the application software repeatedly running.
  • the software automatic testing technology in the prior art is generally based on various controls of the application software, and simulates the usage process of the entire application software by simulating the manner in which the user clicks on the control, thereby realizing the purpose of automatic software testing.
  • the import of the control is usually formed by manual input, or manually edited, or coordinately used to pre-edit and configure the selected control, which greatly increases the labor cost in the automatic test process. , reducing the efficiency of testing.
  • a technical solution for a control test method and an automatic software test method which aims to reduce the complicated steps of manual configuration, and improve the accuracy of the configuration of the control by verifying the control, thereby improving the test. effectiveness.
  • a control test method is applicable to an automatic test process of a software; wherein, among all the controls in the software to be tested, there is a tree relationship structure for characterizing the hierarchical relationship, and the method further includes:
  • Step S1 selecting a control as a start control on the current test interface of the software, and using the start control as a current control;
  • Step S2 determining whether the uniqueness attribute of the current control is valid:
  • step S6 If yes, generating a first expression associated with the current control corresponding to the unique attribute as an expression of the current control, and then performing step S6;
  • Step S3 determining whether the non-unique attribute of the current control is valid:
  • step S5 If yes, generating a second expression associated with the current control corresponding to the non-unique property as the expression of the current control, and then performing step S5;
  • Step S4 determining a position number of the current control between the controls having the same level label, and generating a third expression associated with the current control according to the position number, as the expression of the current control formula;
  • Step S5 determining whether the current control has a control with a superior label:
  • Step S6 forming, according to the expression of all the controls having the superior label associated with the start control and the expression associated with the start control, positioning information associated with the control of the start control and saving The control positioning information is used to find and identify the corresponding control in the current test interface of the software;
  • the control test method wherein, in the step S2, the unique attribute is an ID attribute or other specific attribute of the control.
  • the control test method wherein, in the step S3, the non-unique attribute is a specific attribute such as a type of the control.
  • control test method in the step S6, is separated by using a preset separator between different expressions of the same positioning information of the control.
  • control test method wherein the preset separator comprises a space symbol or a ">" symbol or other specific symbol.
  • control test method after performing the step S6, performs the following steps for one of the control positioning information formed:
  • the control is verified according to the control positioning information in the software, and the positioning information of the control is modified according to the verification result;
  • control information list is then formed based on all of the verified control positioning information, and the subsequent automatic testing steps are performed in the software.
  • control test method wherein the subsequent automatic test step comprises: importing the control information list to automatically test the software according to the control positioning information.
  • control test method after performing the step S6, first performing the following steps, specifically including:
  • Step S71 importing the control information list, and sequentially verifying the control according to the control positioning information in the control information list in the software, and modifying corresponding information in the control information list according to the verification result.
  • the control positioning information
  • Step S72 performing the subsequent automatic testing step on the software according to the modified positioning information of the control.
  • the beneficial effects of the above technical solution are: providing a control test method, which can reduce the complicated steps of the manual configuration, improve the accuracy of the control configuration by verifying the control, thereby improving the test efficiency.
  • FIG. 1 is a schematic overall flow chart of a control test method in a preferred embodiment of the present invention.
  • FIG. 2 is a flow chart showing the subsequent automatic test steps in a preferred embodiment of the present invention.
  • a control there may be a control having a higher-level label, or a control having a same-level label, and a control having a lower-level label may also exist.
  • the so-called control with the superior label refers to the upper control of the current control, and the mutual upper and lower position relationship can be confirmed by the label of the control.
  • the so-called control with the same level label refers to the same level control of the current control
  • the control with the lower level label refers to the lower level control of the current control, which will not be described below.
  • the foregoing method specifically includes the steps shown in FIG. 1:
  • Step S1 selecting a control as a start control on the current test interface of the software, and using the start control as the current control;
  • step S2 it is determined whether the uniqueness attribute of the current control is valid:
  • step S6 If yes, the corresponding unique attribute generates a first expression associated with the current control, as an expression of the current control, and then proceeds to step S6;
  • step S3 it is determined whether the non-unique attribute of the current control is valid:
  • step S5 If yes, the second expression corresponding to the current control is generated corresponding to the non-unique property, as the expression of the current control, and then step S5 is performed;
  • Step S4 determining a position number of the current control between the controls having the same level label, and generating a third expression associated with the current control according to the position number, as an expression of the current control;
  • step S5 it is determined whether the current control has a control with a superior label:
  • control with the superior label is taken as the current control, and then returns to step S2;
  • Step S6 forming control positioning information associated with the start control according to an expression of all the controls associated with the start control and the expression associated with the start control, and the control positioning information is used in the current software. Find and identify the corresponding control in the test interface.
  • the user may select a control by using a preset operation manner on the current test interface of the software, and perform relevant steps of forming control positioning information on the control.
  • the above preset operation mode may be a method of simultaneously pressing the CTRL button and the right mouse button to select, or other preset operation modes.
  • steps S2-S5 confirm the generation manners of several control expressions, which may specifically include:
  • step S6 it is judged whether the uniqueness attribute of the current control is valid, and when the uniqueness attribute of the current control is valid, a first expression about the current control is formed as an expression of the control, and then the process proceeds to step S6.
  • A is used to represent the unique attribute
  • B is used to represent the assignment of the unique attribute
  • step S6 the control positioning information associated with the start control is formed and saved according to the expression of all the controls having the superior label associated with the start control and the expression associated with the start control.
  • a control selected by the user is used as a start control, and the start control is a control that currently needs to form control positioning information.
  • the start control is then used as the current control, and is recursively upward according to the above steps S2-S6, that is, an expression of the control of the start control having the superior label is found and formed.
  • an expression of all the controls of the start control having the superior label is formed, and finally combined with the expression of the start control, thereby finally forming the control positioning information of the start control and saving in the control information list.
  • a preset delimiter is added between different expressions to distinguish the individual expressions and to represent the subordinate relationship between the different expressions.
  • the above-mentioned preset delimiters may be represented by a space symbol or by a ">" symbol, or may be represented by other suitable division symbols.
  • a B it is expressed as “A B”.
  • A may represent an expression of the upper control of the B control, or an upper control of the B control.
  • B represents the expression of the starting control.
  • step S2 if the uniqueness attribute of the control is invalid, then the process proceeds to step S3, that is, whether the non-uniqueness attribute of the control is valid:
  • the second expression may be represented as tagName.Classname: eq(N), where N is used to represent the position number.
  • A is used to indicate the above non-unique attribute
  • B is used to indicate the assignment of the non-unique attribute
  • step S5 That is to determine whether the current control has a superior control:
  • step S6 is directly executed, that is, the control positioning information is formed by using the parent ⁇ current method.
  • step S3 if the non-uniqueness attribute of the control is also invalid, then the process proceeds to step S4, that is, the position number N between the controls having the same level label is obtained according to the label of the current control, and then a third is generated.
  • the expression is used as an expression for the current control.
  • the above third expression may be: tagName: eq(N).
  • step S5 that is, as described above, it is judged whether there is a superior control, and a recursive operation is performed, and then the process proceeds to step S6 to form a current control according to the expression of the superior control, the expression of the current control, and the expression of the lower control. Control positioning information.
  • the above steps S1-S6 only generate corresponding control positioning information for one control, so the above steps are performed for each control in the above software to respectively form corresponding control positioning information for each control. Finally, a control information list is formed according to all the control positioning information.
  • the subsequent automatic test step is finally performed according to the above control information list.
  • This automated test procedure is detailed below.
  • the unique attribute may be an ID attribute of the control or other specific attribute.
  • the unique attribute may also be other unique attribute values of the current control.
  • the non-unique attribute may be a Class attribute (type attribute) of the control, or a name attribute or other attributes.
  • the second expression of the control may be: tagName.Classname: eq(N).
  • both the unique attribute and the non-unique attribute can be freely set by the user.
  • the user can pre-set a property table before testing the control, and select different properties for different kinds of controls in the property table to determine it as a unique property or a non-unique property.
  • the Name property can be a unique property or it can be set to a non-unique property.
  • step S6 After performing step S6, performing the following steps for forming a control positioning information:
  • control is verified according to the positioning information of the control, and the positioning information of the control is modified according to the verification result;
  • a list of control information is then formed based on all verified control location information, and subsequent automated test steps are performed in the software.
  • the verification is performed, and the specific verification process may be:
  • the control fails to pass the verification. In this case, the user needs to manually update the control positioning information of the corresponding unverified control to update the control information list.
  • the complete step of the control test method may be: forming a corresponding control positioning information for a control ⁇ verifying the positioning information of the control and modifying according to the verification result ⁇ forming a control according to all the verified control positioning information Information list ⁇ Perform subsequent automatic test steps based on the control information list.
  • the so-called automatic test step may be an automatic software test step generally adopted in the prior art, that is, importing the above-mentioned control that has been verified, and performing automatic test on the software according to the above-mentioned control positioning information, and no longer Narration.
  • the method for verifying the control may also adopt other verification methods.
  • the subsequent automatic testing step described above may include: importing a control information list to automatically test the software according to the control positioning information.
  • the complete step of the above test test method may be: generating corresponding control positioning information for each control ⁇ performing automatic test on the software according to the control information list.
  • step S6 after performing the above step S6, the steps shown in FIG. 2 are first performed, including:
  • Step S71 importing the control information list, and sequentially verifying the control according to the control positioning information in the control information list in the software, and modifying the corresponding control positioning information in the control information list according to the verification result;
  • Step S72 performing a subsequent automatic test step on the software according to the modified control positioning information.
  • the complete step of the foregoing test testing method may be: generating corresponding control positioning information for each control ⁇ forming a control information list according to all control positioning information ⁇ performing a control on the software according to the control information list A verification ⁇ modify the control positioning information according to the verification result and update the control information list ⁇ follow the verified automatic control step of the software according to the verified control information list.
  • the subsequent automatic test steps are also the prior art, that is, importing the verified control information list, and automatically testing the software according to the imported list, and details are not described herein again.
  • the above method for verifying the control can refer to the verification method described above, or other methods capable of verifying the control.

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)
  • Tests Of Electronic Circuits (AREA)

Abstract

The present invention relates to the technical field of software automatic testing, and provides a control test method and a software automatic test method. The method comprises: selecting a control as an initial control, and determining whether a uniqueness attribute of the control is valid or not; if valid, directly generating an expression; if invalid, continuing determining whether a non-uniqueness attribute of the control is valid or not; if valid, generating an expression and performing a recursion operation on a superior control of the control; if invalid, generating an expression according to the location number of the control between peer controls and performing a recursion operation on the superior control; and finally forming control positioning information associated with the initial control according to the expressions of all controls having a superior label associated with the initial control and the expression associated with the initial control, and executing a software automatic test step according to the control positioning information. The technical solution can reduce complex steps of manual configuration, promote configuration accuracy by means of authentication of the control, and improve the test efficiency.

Description

一种控件测试方法及软件自动测试方法Control test method and software automatic test method 技术领域Technical field
本发明涉及软件自动测试技术领域,尤其涉及一种控件测试方法及软件自动测试方法。The invention relates to the technical field of software automatic testing, in particular to a control test method and a software automatic test method.
背景技术Background technique
随着计算机技术的发展,越来越多的应用软件被开发出来并被应用于社会的各个领域中。每个应用软件在完成开发并投入市场之前都需要对其进行测试,以判断是否存在程序瑕疵(bug),以及设定的各应用功能是否能够成功实现等,软件测试是软件开发中的重要一环。With the development of computer technology, more and more application software has been developed and applied to various fields of society. Each application software needs to be tested before it is developed and put on the market to determine whether there are bugs and whether the set application functions can be successfully implemented. Software testing is an important part of software development. ring.
现有技术中,通常采用自动测试技术对应用软件进行测试,例如采用设定的脚本模拟使用者使用该应用软件中各应用功能的过程来对软件进行反复测试,以测试该应用软件的各应用功能是否能够如期实现,以及测试该应用软件反复运行的抗压能力等。具体地,现有技术中的软件自动测试技术通常基于应用软件的各个控件,以模拟使用者点击控件的方式对整个应用软件进行使用流程的模拟,从而实现软件自动测试的目的。但是现有技术中对于控件的导入通常采用人工输入形成,或者采用人工编程的方式,或者是坐标的方式来对选定的控件进行预先编辑和配置,这样大大增加了自动测试过程中的人力成本,降低了测试效率。In the prior art, the application software is usually tested by using an automatic testing technology, for example, a set script is used to simulate a user's use of each application function in the application software to repeatedly test the software to test the application of the application software. Whether the function can be realized on time, and testing the compression capability of the application software repeatedly running. Specifically, the software automatic testing technology in the prior art is generally based on various controls of the application software, and simulates the usage process of the entire application software by simulating the manner in which the user clicks on the control, thereby realizing the purpose of automatic software testing. However, in the prior art, the import of the control is usually formed by manual input, or manually edited, or coordinately used to pre-edit and configure the selected control, which greatly increases the labor cost in the automatic test process. , reducing the efficiency of testing.
发明内容Summary of the invention
根据现有技术中存在的上述问题,现提供一种控件测试方法及软件自动测试方法的技术方案,旨在减少人工配置的繁杂步骤,通过对控件进行验证提升控件配置的准确性,从而提升测试效率。According to the above problems existing in the prior art, a technical solution for a control test method and an automatic software test method is provided, which aims to reduce the complicated steps of manual configuration, and improve the accuracy of the configuration of the control by verifying the control, thereby improving the test. effectiveness.
上述技术方案具体包括:The above technical solutions specifically include:
一种控件测试方法,适用于软件的自动测试过程中;其中,于待测试的软件中的所有控件之间存在一用于表征层次关系的树形关系结构,还包括:A control test method is applicable to an automatic test process of a software; wherein, among all the controls in the software to be tested, there is a tree relationship structure for characterizing the hierarchical relationship, and the method further includes:
步骤S1,于所述软件的当前测试界面上选定一控件作为起始控件,并将所述起始控件作为当前控件;Step S1, selecting a control as a start control on the current test interface of the software, and using the start control as a current control;
步骤S2,判断所述当前控件的唯一性属性是否有效:Step S2: determining whether the uniqueness attribute of the current control is valid:
若是,则对应所述唯一性属性生成关联于所述当前控件的第一表达式,以作为所述当前控件的表达式,随后执行步骤S6;If yes, generating a first expression associated with the current control corresponding to the unique attribute as an expression of the current control, and then performing step S6;
步骤S3,判断所述当前控件的非唯一性属性是否有效:Step S3: determining whether the non-unique attribute of the current control is valid:
若是,则对应所述非唯一性属性生成关联于所述当前控件的第二表达式,以作为所述当前控件的所述表达式,随后执行步骤S5;If yes, generating a second expression associated with the current control corresponding to the non-unique property as the expression of the current control, and then performing step S5;
步骤S4,判断所述当前控件在具有同级标签的控件之间的位置序号,并根据所述位置序号生成关联于所述当前控件的第三表达式,以作为所述当前控件的所述表达式;Step S4, determining a position number of the current control between the controls having the same level label, and generating a third expression associated with the current control according to the position number, as the expression of the current control formula;
步骤S5,判断所述当前控件是否存在具有上级标签的控件:Step S5: determining whether the current control has a control with a superior label:
若是,则将具有上级标签的控件作为所述当前控件,随后返回所述步骤S2;If yes, the control with the superior label as the current control, and then returns to the step S2;
步骤S6,根据关联于所述起始控件的所有具有上级标签的控件的所述表达式以及关联于所述起始控件的所述表达式形成关联于所述起始控件的控件定位信息并保存,所述控件定位信息用于在软件的所述当前测试界面中查找并标识对应的所述控件;Step S6: forming, according to the expression of all the controls having the superior label associated with the start control and the expression associated with the start control, positioning information associated with the control of the start control and saving The control positioning information is used to find and identify the corresponding control in the current test interface of the software;
根据所述步骤S1至所述步骤S6分别针对每个所述控件形成对应的所述控件定位信息,并根据所有所述控件定位信息形成一控件信息列表;Forming corresponding control positioning information for each of the controls according to the step S1 to the step S6, and forming a control information list according to all the control positioning information;
随后根据所述控件信息列表,于所述软件中执行后续的自动测试步骤。Subsequent automated test steps are then performed in the software based on the list of control information.
优选的,该控件测试方法,其中,所述步骤S2中,所述唯一性属性为所述控件的ID属性或其他特定属性。Preferably, the control test method, wherein, in the step S2, the unique attribute is an ID attribute or other specific attribute of the control.
优选的,该控件测试方法,其中,所述步骤S3中,所述非唯一性属性为所述控件的类型等特定属性。Preferably, the control test method, wherein, in the step S3, the non-unique attribute is a specific attribute such as a type of the control.
优选的,该控件测试方法,其中,所述步骤S6中,在同一个所述控件定位信息的不同的所述表达式之间采用预设的分隔符进行分隔。Preferably, the control test method, in the step S6, is separated by using a preset separator between different expressions of the same positioning information of the control.
优选的,该控件测试方法,其中,所述预设的分隔符包括空格符号或者“>”符号或者其他特定符号。Preferably, the control test method, wherein the preset separator comprises a space symbol or a ">" symbol or other specific symbol.
优选的,该控件测试方法,其中,在执行完所述步骤S6后,针对形成 的一个所述控件定位信息,执行下述步骤:Preferably, the control test method, after performing the step S6, performs the following steps for one of the control positioning information formed:
于所述软件中根据所述控件定位信息对所述控件进行验证,并根据验证结果修改所述控件定位信息;The control is verified according to the control positioning information in the software, and the positioning information of the control is modified according to the verification result;
随后根据所有经过验证的所述控件定位信息形成所述控件信息列表,并于所述软件中进行所述后续的自动测试步骤。The control information list is then formed based on all of the verified control positioning information, and the subsequent automatic testing steps are performed in the software.
优选的,该控件测试方法,其中,所述后续的自动测试步骤包括:导入所述控件信息列表,以根据所述控件定位信息对软件进行自动测试。Preferably, the control test method, wherein the subsequent automatic test step comprises: importing the control information list to automatically test the software according to the control positioning information.
优选的,该控件测试方法,其中,执行所述步骤S6之后,首先执行下述步骤,具体包括:Preferably, the control test method, after performing the step S6, first performing the following steps, specifically including:
步骤S71,导入所述控件信息列表,并于所述软件中根据所述控件信息列表中的所述控件定位信息依次对所述控件进行验证,并根据验证结果修改所述控件信息列表中对应的所述控件定位信息;Step S71, importing the control information list, and sequentially verifying the control according to the control positioning information in the control information list in the software, and modifying corresponding information in the control information list according to the verification result. The control positioning information;
步骤S72,根据经过修改的所述控件定位信息对软件执行所述后续的自动测试步骤。Step S72, performing the subsequent automatic testing step on the software according to the modified positioning information of the control.
一种软件自动测试方法,其中,采用上述的控件测试方法。A software automatic testing method, wherein the above control test method is adopted.
上述技术方案的有益效果是:提供一种控件测试方法,能够减少人工配置的繁杂步骤,通过对控件进行验证提升控件配置的准确性,从而提升测试效率。The beneficial effects of the above technical solution are: providing a control test method, which can reduce the complicated steps of the manual configuration, improve the accuracy of the control configuration by verifying the control, thereby improving the test efficiency.
附图说明DRAWINGS
图1是本发明的较佳的实施例中,一种控件测试方法的总体流程示意图;1 is a schematic overall flow chart of a control test method in a preferred embodiment of the present invention;
图2是本发明的较佳的实施例中,后续的自动测试步骤的流程示意图。2 is a flow chart showing the subsequent automatic test steps in a preferred embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。It should be noted that the embodiments in the present invention and the features in the embodiments may be combined with each other without conflict.
下面结合附图和具体实施例对本发明作进一步说明,但不作为本发明的限定。The invention is further illustrated by the following figures and specific examples, but is not to be construed as limiting.
基于现有技术中存在的上述问题,现提供一种控件测试方法,该方法适用于软件自动测试过程中。该方法中,于待测试的软件中的所有控件之间存在一用于表征层次关系的树形关系结构。Based on the above problems existing in the prior art, a control test method is now provided, which is suitable for use in a software automatic test process. In this method, there is a tree relationship structure for characterizing the hierarchical relationship among all the controls in the software to be tested.
本实施例中,上述树形关系结构中,针对一个控件,可以存在具有上级标签的控件,也可以存在具有同级标签的控件,同样可以存在具有下级标签的控件。具体地,所谓具有上级标签的控件,是指当前控件的上级控件,其相互的上下位关系可以通过控件的标签确认。相应地,所谓具有同级标签的控件是指当前控件的同级控件,具有下级标签的控件是指当前控件的下级控件,下文中不再赘述。In this embodiment, in the tree relationship structure, for a control, there may be a control having a higher-level label, or a control having a same-level label, and a control having a lower-level label may also exist. Specifically, the so-called control with the superior label refers to the upper control of the current control, and the mutual upper and lower position relationship can be confirmed by the label of the control. Correspondingly, the so-called control with the same level label refers to the same level control of the current control, and the control with the lower level label refers to the lower level control of the current control, which will not be described below.
则本实施例中,上述方法具体包括如图1所示的步骤:In this embodiment, the foregoing method specifically includes the steps shown in FIG. 1:
步骤S1,于软件的当前测试界面上选定一控件作为起始控件,并将起始控件作为当前控件;Step S1, selecting a control as a start control on the current test interface of the software, and using the start control as the current control;
步骤S2,判断当前控件的唯一性属性是否有效:In step S2, it is determined whether the uniqueness attribute of the current control is valid:
若是,则对应唯一性属性生成关联于当前控件的第一表达式,以作为当前控件的表达式,随后执行步骤S6;If yes, the corresponding unique attribute generates a first expression associated with the current control, as an expression of the current control, and then proceeds to step S6;
步骤S3,判断当前控件的非唯一性属性是否有效:In step S3, it is determined whether the non-unique attribute of the current control is valid:
若是,则对应非唯一性属性生成关联于当前控件的第二表达式,以作为当前控件的表达式,随后执行步骤S5;If yes, the second expression corresponding to the current control is generated corresponding to the non-unique property, as the expression of the current control, and then step S5 is performed;
步骤S4,判断当前控件在具有同级标签的控件之间的位置序号,并根据位置序号生成关联于当前控件的第三表达式,以作为当前控件的表达式;Step S4, determining a position number of the current control between the controls having the same level label, and generating a third expression associated with the current control according to the position number, as an expression of the current control;
步骤S5,判断当前控件是否存在具有上级标签的控件:In step S5, it is determined whether the current control has a control with a superior label:
若是,则将具有上级标签的控件作为当前控件,随后返回步骤S2;If yes, the control with the superior label is taken as the current control, and then returns to step S2;
步骤S6,根据关联于起始控件的所有具有上级标签的控件的表达式以及关联于起始控件的表达式形成关联于起始控件的控件定位信息并保存,控件定位信息用于在软件的当前测试界面中查找并标识对应的控件。Step S6, forming control positioning information associated with the start control according to an expression of all the controls associated with the start control and the expression associated with the start control, and the control positioning information is used in the current software. Find and identify the corresponding control in the test interface.
具体地,本实施例中,上述步骤S1中,使用者可以在软件的当前测试界面上通过预设的操作方式选定一个控件,并对该控件执行形成控件定位信息的相关步骤。上述预设的操作方式可以为同时按住CTRL按键和鼠标右键 选中的方式,也可以采用其他预设的操作方式。Specifically, in this embodiment, in the foregoing step S1, the user may select a control by using a preset operation manner on the current test interface of the software, and perform relevant steps of forming control positioning information on the control. The above preset operation mode may be a method of simultaneously pressing the CTRL button and the right mouse button to select, or other preset operation modes.
本实施例中,上述步骤S2-S5确认了几种控件表达式的生成方式,具体可以包括:In this embodiment, the foregoing steps S2-S5 confirm the generation manners of several control expressions, which may specifically include:
1)首先判断当前控件的唯一性属性是否有效,并在当前控件的唯一性属性有效时,则形成关于当前控件的第一表达式以作为该控件的表达式,随后转向步骤S6。上述第一表达式可以被表示为:tagName[A=B];1) First, it is judged whether the uniqueness attribute of the current control is valid, and when the uniqueness attribute of the current control is valid, a first expression about the current control is formed as an expression of the control, and then the process proceeds to step S6. The above first expression can be expressed as: tagName[A=B];
其中,A用于表示上述唯一性属性,B用于表示上述唯一性属性的赋值。A is used to represent the unique attribute, and B is used to represent the assignment of the unique attribute.
则在上述步骤S6中,根据关联于起始控件的所有具有上级标签的控件的表达式以及关联于起始控件的表达式形成关联于起始控件的控件定位信息并保存。Then in the above step S6, the control positioning information associated with the start control is formed and saved according to the expression of all the controls having the superior label associated with the start control and the expression associated with the start control.
具体地,在进行递归的过程中,首先将使用者点选的一个控件作为起始控件,该起始控件即为当前需要形成控件定位信息的控件。随后将该起始控件作为当前控件,并根据上述步骤S2-S6向上递归,即查找并形成该起始控件的具有上级标签的控件的表达式。具体地,形成该起始控件的所有具有上级标签的控件的表达式,并最终与该起始控件的表达式结合,从而最终形成该起始控件的控件定位信息并保存在控件信息列表中。Specifically, in the process of performing recursion, first, a control selected by the user is used as a start control, and the start control is a control that currently needs to form control positioning information. The start control is then used as the current control, and is recursively upward according to the above steps S2-S6, that is, an expression of the control of the start control having the superior label is found and formed. Specifically, an expression of all the controls of the start control having the superior label is formed, and finally combined with the expression of the start control, thereby finally forming the control positioning information of the start control and saving in the control information list.
本发明的较佳的实施例中,在不同的表达式之间添加预设的分隔符以区分各个表达式,并且表示不同的表达式之间的上下级关系。In a preferred embodiment of the invention, a preset delimiter is added between different expressions to distinguish the individual expressions and to represent the subordinate relationship between the different expressions.
在实际应用时,上述预设的分隔符可以用空格符号或者用“>”符号表示,或者可以采用其他合适的分割符号表示。In practical applications, the above-mentioned preset delimiters may be represented by a space symbol or by a ">" symbol, or may be represented by other suitable division symbols.
例如表示为“A B”,该种表示方式中,上述控件之间的上下级关系可以为广泛意义上的,例如A可以表示B控件的上上级控件的表达式,或者表示B控件的上级控件,B表示起始控件的表达式。For example, it is expressed as “A B”. In the representation manner, the relationship between the above-mentioned controls may be in a broad sense, for example, A may represent an expression of the upper control of the B control, or an upper control of the B control. , B represents the expression of the starting control.
又例如表示为“A>B”,该种表示方式中,上述控件之间的上下级关系仅为严格意义上的,即A只可能是B控件的上级控件的表达式,B表示起始控件的表达式。For example, it is expressed as “A>B”. In this representation mode, the relationship between the above and below controls is only strictly speaking, that is, A may only be an expression of the upper control of the B control, and B represents the start control. Expression.
2)上述步骤S2中,若控件的唯一性属性无效,则转向步骤S3,即判断控件的非唯一性属性是否有效:2) In the above step S2, if the uniqueness attribute of the control is invalid, then the process proceeds to step S3, that is, whether the non-uniqueness attribute of the control is valid:
若控件的非唯一性属性有效,则进一步确认该控件在具有同级标签的控 件中的位置序号,并且生成一第二表达式以作为该控件的表达式。上述第二表达式可以被表示为:tagName.Classname:eq(N)或者是tagName[A=B]:eq(N);If the non-unique property of the control is valid, the position number of the control in the control with the same-level label is further confirmed, and a second expression is generated as an expression of the control. The above second expression can be expressed as: tagName.Classname: eq(N) or tagName[A=B]: eq(N);
具体地,当上述非唯一性属性为Class属性(类型属性)时,上述第二表达式可以被表示为tagName.Classname:eq(N),其中N用于表示上述位置序号。Specifically, when the non-unique attribute is a Class attribute (type attribute), the second expression may be represented as tagName.Classname: eq(N), where N is used to represent the position number.
而当上述非唯一性属性不为Class属性时,上述第二表达式可以被表示为tagName[A=B]:eq(N);When the non-unique attribute is not a Class attribute, the second expression may be represented as tagName[A=B]: eq(N);
其中,A用于表示上述非唯一性属性,B用于表示上述非唯一性属性的赋值。A is used to indicate the above non-unique attribute, and B is used to indicate the assignment of the non-unique attribute.
随后,转向步骤S5。即判断该当前控件是否存在上级控件:Subsequently, the process proceeds to step S5. That is to determine whether the current control has a superior control:
若存在,则获取该上级控件,并且将该上级控件作为当前控件,同时返回上述步骤S1,以递归执行上述步骤;If yes, the upper control is obtained, and the upper control is used as the current control, and the above step S1 is returned to perform the above steps recursively;
若不存在,则直接执行上述步骤S6,即采用parent→current的方式形成控件定位信息。If it does not exist, the above step S6 is directly executed, that is, the control positioning information is formed by using the parent→current method.
3)上述步骤S3中,若控件的非唯一性属性也无效,则转向步骤S4,即根据当前控件的标签获取其在具有同级标签的控件之间的位置序号N,并进而生成一第三表达式以作为该当前控件的表达式。上述第三表达式可以为:tagName:eq(N)。3) In the above step S3, if the non-uniqueness attribute of the control is also invalid, then the process proceeds to step S4, that is, the position number N between the controls having the same level label is obtained according to the label of the current control, and then a third is generated. The expression is used as an expression for the current control. The above third expression may be: tagName: eq(N).
随后转向步骤S5,即如上文中所述,判断是否存在上级控件,并进行递归操作,随后转向步骤S6,以根据上级控件的表达式、当前控件的表达式以及下级控件的表达式形成当前控件的控件定位信息。Then, the process proceeds to step S5, that is, as described above, it is judged whether there is a superior control, and a recursive operation is performed, and then the process proceeds to step S6 to form a current control according to the expression of the superior control, the expression of the current control, and the expression of the lower control. Control positioning information.
本实施例中,上述步骤S1-S6仅为针对一个控件生成相应的控件定位信息,因此对于上述软件中的每个控件均执行上述步骤,以分别针对每个控件形成对应的控件定位信息。最终根据所有控件定位信息形成一控件信息列表。In this embodiment, the above steps S1-S6 only generate corresponding control positioning information for one control, so the above steps are performed for each control in the above software to respectively form corresponding control positioning information for each control. Finally, a control information list is formed according to all the control positioning information.
本实施例中,最后根据上述控件信息列表执行后续的自动测试步骤。该自动测试步骤在下文中会详述。In this embodiment, the subsequent automatic test step is finally performed according to the above control information list. This automated test procedure is detailed below.
本发明的较佳的实施例中,上述唯一性属性可以为该控件的ID属性或者其他特定属性。例如,当上述唯一性属性为该控件的ID时,该控件的第一表达式可以为:tagName[ID=B]。又例如,当上述唯一性属性为该控件的名 称时,该控件的第一表达式可以为:tagName[Name=B]。本发明的其他实施例中,上述唯一性属性还可以为当前控件的其他具有唯一性的属性值。In a preferred embodiment of the present invention, the unique attribute may be an ID attribute of the control or other specific attribute. For example, when the unique attribute is the ID of the control, the first expression of the control may be: tagName[ID=B]. For another example, when the unique attribute is the name of the control, the first expression of the control may be: tagName[Name=B]. In other embodiments of the present invention, the unique attribute may also be other unique attribute values of the current control.
本发明的较佳的实施例中,上述非唯一性属性可以为该控件的Class属性(类型属性),也可以是name属性或者其他的属性。In a preferred embodiment of the present invention, the non-unique attribute may be a Class attribute (type attribute) of the control, or a name attribute or other attributes.
例如,当上述非唯一性属性为该控件的Class属性(类型属性)时,该控件的第二表达式可以为:tagName.Classname:eq(N)。For example, when the above non-unique property is the Class property (type property) of the control, the second expression of the control may be: tagName.Classname: eq(N).
又例如,当上述非唯一性属性为该控件的name属性时,该控件的第二表达式可以为:tagName[name=B]:eq(N)。For another example, when the non-unique attribute is the name attribute of the control, the second expression of the control may be: tagName[name=B]: eq(N).
本发明的较佳的实施例中,上述唯一性属性和非唯一性属性均可以由使用者自由设定。例如使用者可以在对控件进行测试之前先预先设定一个属性表格,并在该属性表格中针对不同种类的控件,选取不同的属性将其确定为唯一性属性或者非唯一性属性。In a preferred embodiment of the present invention, both the unique attribute and the non-unique attribute can be freely set by the user. For example, the user can pre-set a property table before testing the control, and select different properties for different kinds of controls in the property table to determine it as a unique property or a non-unique property.
因此上文中,根据设置的不同,Name属性可以为唯一性属性,也可能会被设置成非唯一性属性。So above, depending on the settings, the Name property can be a unique property or it can be set to a non-unique property.
本发明的一个较佳的实施例中,在执行完步骤S6后,针对形成的一个控件定位信息,执行下述步骤:In a preferred embodiment of the present invention, after performing step S6, performing the following steps for forming a control positioning information:
于软件中根据控件定位信息对控件进行验证,并根据验证结果修改控件定位信息;In the software, the control is verified according to the positioning information of the control, and the positioning information of the control is modified according to the verification result;
随后根据所有经过验证的控件定位信息形成控件信息列表,并于软件中进行后续的自动测试步骤。A list of control information is then formed based on all verified control location information, and subsequent automated test steps are performed in the software.
具体地,本实施例中,在形成一个控件定位信息后就对其进行验证,具体的验证过程可以为:Specifically, in this embodiment, after a control positioning information is formed, the verification is performed, and the specific verification process may be:
在软件的测试界面中,根据控件定位信息找到符合条件的控件,随后判断找到的控件数量是否大于1:In the test interface of the software, find the control that meets the condition according to the positioning information of the control, and then judge whether the number of controls found is greater than 1:
若控件数量大于1则表示控件未通过验证,此时需要使用者手动更新相应未通过验证的控件的控件定位信息,以更新控件信息列表;If the number of controls is greater than 1, the control fails to pass the verification. In this case, the user needs to manually update the control positioning information of the corresponding unverified control to update the control information list.
若控件数量为1,则表示控件通过验证,此时不需要对控件信息列表进行更新操作。If the number of controls is 1, it means that the control passes the verification, and there is no need to update the control information list at this time.
则本实施例中,上述控件测试方法的完整步骤可以为:针对一个控件形成对应的控件定位信息→对该控件定位信息进行验证并根据验证结果进行修 改→根据所有经过验证的控件定位信息形成控件信息列表→根据控件信息列表执行后续的自动测试步骤。In this embodiment, the complete step of the control test method may be: forming a corresponding control positioning information for a control → verifying the positioning information of the control and modifying according to the verification result → forming a control according to all the verified control positioning information Information list → Perform subsequent automatic test steps based on the control information list.
本实施例中,所谓后续的自动测试步骤可以为现有技术中通常采用的软件自动测试步骤,即导入上述已经完成验证的控件,并且根据上述控件定位信息对软件执行自动测试,在此不再赘述。In this embodiment, the so-called automatic test step may be an automatic software test step generally adopted in the prior art, that is, importing the above-mentioned control that has been verified, and performing automatic test on the software according to the above-mentioned control positioning information, and no longer Narration.
本实施例中,上述对控件进行验证的方法也可以采用其他验证方法。In this embodiment, the method for verifying the control may also adopt other verification methods.
本发明的另一个较佳的实施例中,上文中所述的后续的自动测试步骤可以包括:导入控件信息列表,以根据控件定位信息对软件进行自动测试。换言之,本实施例中,上述控件测试方法的完整步骤可以为:针对每个控件生成对应的控件定位信息→根据控件信息列表对软件执行自动测试。In another preferred embodiment of the present invention, the subsequent automatic testing step described above may include: importing a control information list to automatically test the software according to the control positioning information. In other words, in the embodiment, the complete step of the above test test method may be: generating corresponding control positioning information for each control → performing automatic test on the software according to the control information list.
本发明的另一个较佳的实施例中,在执行完上述步骤S6之后,首先执行如图2所示的步骤,包括:In another preferred embodiment of the present invention, after performing the above step S6, the steps shown in FIG. 2 are first performed, including:
步骤S71,导入控件信息列表,并于软件中根据控件信息列表中的控件定位信息依次对控件进行验证,并根据验证结果修改控件信息列表中对应的控件定位信息;Step S71, importing the control information list, and sequentially verifying the control according to the control positioning information in the control information list in the software, and modifying the corresponding control positioning information in the control information list according to the verification result;
步骤S72,根据经过修改的控件定位信息对软件执行后续的自动测试步骤。Step S72, performing a subsequent automatic test step on the software according to the modified control positioning information.
具体地,本实施例中,上述控件测试方法的完整步骤可以为:针对每个控件生成对应的控件定位信息→根据所有控件定位信息形成控件信息列表→根据控件信息列表对软件中的控件进行一一验证→根据验证结果对控件定位信息进行修改并更新控件信息列表→根据经过验证的控件信息列表对软件后续的自动测试步骤。Specifically, in this embodiment, the complete step of the foregoing test testing method may be: generating corresponding control positioning information for each control → forming a control information list according to all control positioning information → performing a control on the software according to the control information list A verification → modify the control positioning information according to the verification result and update the control information list → follow the verified automatic control step of the software according to the verified control information list.
上述后续的自动测试步骤同样为现有技术,即导入经过验证的控件信息列表,并根据导入的列表对软件进行自动测试,在此不再赘述。The subsequent automatic test steps are also the prior art, that is, importing the verified control information list, and automatically testing the software according to the imported list, and details are not described herein again.
上述对控件进行验证的方法可以参照上文中所述的验证方法,也可以采用其他能够对控件进行验证的方法。The above method for verifying the control can refer to the verification method described above, or other methods capable of verifying the control.
本发明的较佳的实施例中,还提供一种软件自动测试方法,其中采用上文中所述的控件测试方法。In a preferred embodiment of the present invention, there is also provided a software automatic test method in which the control test method described above is employed.
以上所述仅为本发明较佳的实施例,并非因此限制本发明的实施方式及保护范围,对于本领域技术人员而言,应当能够意识到凡运用本发明说明书及图示内容所作出的等同替换和显而易见的变化所得到的方案,均应当包含在本发明的保护范围内。The above is only a preferred embodiment of the present invention, and is not intended to limit the scope of the embodiments and the scope of the present invention, and those skilled in the art should be able to Alternatives and obvious variations are intended to be included within the scope of the invention.

Claims (9)

  1. 一种控件测试方法,适用于软件的自动测试过程中;其特征在于,于待测试的软件中的所有控件之间存在一用于表征层次关系的树形关系结构,还包括:A control test method is applicable to an automatic test process of a software; and is characterized in that a tree relationship structure for characterizing a hierarchical relationship exists between all controls in the software to be tested, and further includes:
    步骤S1,于所述软件的当前测试界面上选定一控件作为起始控件,并将所述起始控件作为当前控件;Step S1, selecting a control as a start control on the current test interface of the software, and using the start control as a current control;
    步骤S2,判断所述当前控件的唯一性属性是否有效:Step S2: determining whether the uniqueness attribute of the current control is valid:
    若是,则对应所述唯一性属性生成关联于所述当前控件的第一表达式,以作为所述当前控件的表达式,随后执行步骤S6;If yes, generating a first expression associated with the current control corresponding to the unique attribute as an expression of the current control, and then performing step S6;
    步骤S3,判断所述当前控件的非唯一性属性是否有效:Step S3: determining whether the non-unique attribute of the current control is valid:
    若是,则对应所述非唯一性属性生成关联于所述当前控件的第二表达式,以作为所述当前控件的所述表达式,随后执行步骤S5;If yes, generating a second expression associated with the current control corresponding to the non-unique property as the expression of the current control, and then performing step S5;
    步骤S4,判断所述当前控件在具有同级标签的控件之间的位置序号,并根据所述位置序号生成关联于所述当前控件的第三表达式,以作为所述当前控件的所述表达式;Step S4, determining a position number of the current control between the controls having the same level label, and generating a third expression associated with the current control according to the position number, as the expression of the current control formula;
    步骤S5,判断所述当前控件是否存在具有上级标签的控件:Step S5: determining whether the current control has a control with a superior label:
    若是,则将具有上级标签的控件作为所述当前控件,随后返回所述步骤S2;If yes, the control with the superior label as the current control, and then returns to the step S2;
    步骤S6,根据关联于所述起始控件的所有具有上级标签的控件的所述表达式以及关联于所述起始控件的所述表达式形成关联于所述起始控件的控件定位信息并保存,所述控件定位信息用于在软件的所述当前测试界面中查找并标识对应的所述控件;Step S6: forming, according to the expression of all the controls having the superior label associated with the start control and the expression associated with the start control, positioning information associated with the control of the start control and saving The control positioning information is used to find and identify the corresponding control in the current test interface of the software;
    根据所述步骤S1至所述步骤S6分别针对每个所述控件形成对应的所述控件定位信息,并根据所有所述控件定位信息形成一控件信息列表;Forming corresponding control positioning information for each of the controls according to the step S1 to the step S6, and forming a control information list according to all the control positioning information;
    随后根据所述控件信息列表,于所述软件中执行后续的自动测试步骤。Subsequent automated test steps are then performed in the software based on the list of control information.
  2. 如权利要求1所述的控件测试方法,其特征在于,所述步骤S2中,所述唯一性属性为所述控件的ID属性。The control test method according to claim 1, wherein in the step S2, the unique attribute is an ID attribute of the control.
  3. 如权利要求1所述的控件测试方法,其特征在于,所述步骤S3中,所述非唯一性属性为所述控件的类型属性。The control test method according to claim 1, wherein in the step S3, the non-unique attribute is a type attribute of the control.
  4. 如权利要求1所述的控件测试方法,其特征在于,所述步骤S6中,在同一个所述控件定位信息的不同的所述表达式之间采用预设的分隔符进行分隔。The control test method according to claim 1, wherein in the step S6, a predetermined separator is used to separate between the different expressions of the same positioning information of the control.
  5. 如权利要求4所述的控件测试方法,其特征在于,所述预设的分隔符包括空格符号或者“>”符号。The control testing method according to claim 4, wherein the preset separator comprises a space symbol or a ">" symbol.
  6. 如权利要求1所述的控件测试方法,其特征在于,在执行完所述步骤S6后,针对形成的一个所述控件定位信息,执行下述步骤:The control test method according to claim 1, wherein after performing the step S6, performing the following steps for the formed positioning information of the control:
    于所述软件中根据所述控件定位信息对所述控件进行验证,并根据验证结果修改所述控件定位信息;The control is verified according to the control positioning information in the software, and the positioning information of the control is modified according to the verification result;
    随后根据所有经过验证的所述控件定位信息形成所述控件信息列表,并于所述软件中进行所述后续的自动测试步骤。The control information list is then formed based on all of the verified control positioning information, and the subsequent automatic testing steps are performed in the software.
  7. 如权利要求1或6所述的控件测试方法,其特征在于,所述后续的自动测试步骤包括:导入所述控件信息列表,以根据所述控件定位信息对软件进行自动测试。The control testing method according to claim 1 or 6, wherein the subsequent automatic testing step comprises: importing the control information list to automatically test the software according to the control positioning information.
  8. 如权利要求1所述的控件测试方法,其特征在于,执行所述步骤S6之后,首先执行下述步骤,具体包括:The control test method according to claim 1, wherein after performing the step S6, the following steps are performed first, including:
    步骤S71,导入所述控件信息列表,并于所述软件中根据所述控件信息列表中的所述控件定位信息依次对所述控件进行验证,并根据验证结果修改所述控件信息列表中对应的所述控件定位信息;Step S71, importing the control information list, and sequentially verifying the control according to the control positioning information in the control information list in the software, and modifying corresponding information in the control information list according to the verification result. The control positioning information;
    步骤S72,根据经过修改的所述控件定位信息对软件执行所述后续的自动测试步骤。Step S72, performing the subsequent automatic testing step on the software according to the modified positioning information of the control.
  9. 一种软件自动测试方法,其特征在于,采用如权利要求1-8中所述的控件测试方法。A software automatic test method characterized by employing the control test method as claimed in claims 1-8.
PCT/CN2018/081553 2017-03-28 2018-04-02 Control test method and software automatic test method WO2018177435A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710193678.XA CN108664383B (en) 2017-03-28 2017-03-28 Control testing method and software automatic testing method
CN201710193678.X 2017-03-28

Publications (1)

Publication Number Publication Date
WO2018177435A1 true WO2018177435A1 (en) 2018-10-04

Family

ID=63674291

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/081553 WO2018177435A1 (en) 2017-03-28 2018-04-02 Control test method and software automatic test method

Country Status (2)

Country Link
CN (1) CN108664383B (en)
WO (1) WO2018177435A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704327B (en) * 2019-10-11 2023-03-31 江苏赛诺格兰医疗科技有限公司 Auxiliary method for PET-CT system control software automatic test

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598380A (en) * 2015-01-16 2015-05-06 广东欧珀移动通信有限公司 Method and system for automatic testing based on control
CN105988934A (en) * 2016-02-01 2016-10-05 腾讯科技(深圳)有限公司 Automatic detecting method for mobile game and automatic detecting device for mobile game

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6522995B1 (en) * 1999-12-28 2003-02-18 International Business Machines Corporation Method and apparatus for web-based control of a web-based workload simulation
CN103309797B (en) * 2012-03-09 2016-05-04 阿里巴巴集团控股有限公司 User interface automated testing method and device
CN103780448B (en) * 2012-10-23 2019-04-26 百度在线网络技术(北京)有限公司 A kind of generation method and device of control layer identification code
CN105743736B (en) * 2016-01-27 2019-01-04 武汉联影医疗科技有限公司 Automated testing method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598380A (en) * 2015-01-16 2015-05-06 广东欧珀移动通信有限公司 Method and system for automatic testing based on control
CN105988934A (en) * 2016-02-01 2016-10-05 腾讯科技(深圳)有限公司 Automatic detecting method for mobile game and automatic detecting device for mobile game

Also Published As

Publication number Publication date
CN108664383B (en) 2021-10-15
CN108664383A (en) 2018-10-16

Similar Documents

Publication Publication Date Title
US20210256088A1 (en) Method, apparatus, computer device and storage medium of page displaying
WO2020000706A1 (en) Database comparison-based interface testing method and system, device and storage medium
CN108293081B (en) Deep linking of program playback to mobile application state through user interface events
US10915702B2 (en) Methods and systems for validating multiple methods of input using a unified rule set
US9848277B2 (en) High-speed application for installation on mobile devices for permitting remote configuration of such mobile devices
CN103019925B (en) Selector acquisition method and device
CN108809755B (en) Automatic testing method and system for home gateway compatible with command line and WEB interface
CN106484609B (en) Page test method and device
US10067859B2 (en) Constructing test-centric model of application
US8285822B2 (en) Policy configuration and simulation
CN103729293A (en) GUI testing method based on UML activity diagrams
WO2022061027A1 (en) Interactive graphic design system to enable creation and use of variant component sets for interactive objects
CN103049374B (en) Automatic testing method and device
WO2018177435A1 (en) Control test method and software automatic test method
KR20090065144A (en) System and method for testing graphic user interface of mobile application software
JP2021002326A (en) Refinement of repair patterns for static analysis violations in software programs
CN109189468B (en) Examination and approval data source configuration access and XML mapping configuration system
US9298428B2 (en) Graphical user interface editor that displays live data during editing
CN112256978B (en) Data processing method, device and medium based on data model
CN114297088A (en) Method, device, equipment and medium for testing front end vue frame assembly
WO2013017054A1 (en) Method and apparatus for automatically generating case scripts
WO2013123743A1 (en) Heterogeneous processing method and device
WO2018177436A1 (en) Control authentication method and software automation testing method
US7448045B1 (en) Method and apparatus to extend a program
CN114880131B (en) Dynamic arrangement system based on tasks

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18777202

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18777202

Country of ref document: EP

Kind code of ref document: A1