CN113626301A - Method and device for generating test script - Google Patents

Method and device for generating test script Download PDF

Info

Publication number
CN113626301A
CN113626301A CN202010371295.9A CN202010371295A CN113626301A CN 113626301 A CN113626301 A CN 113626301A CN 202010371295 A CN202010371295 A CN 202010371295A CN 113626301 A CN113626301 A CN 113626301A
Authority
CN
China
Prior art keywords
control
target control
target
priority
determining
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
Application number
CN202010371295.9A
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010371295.9A priority Critical patent/CN113626301A/en
Publication of CN113626301A publication Critical patent/CN113626301A/en
Pending legal-status Critical Current

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/3684Test management for test design, e.g. generating new test cases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the disclosure provides a method and a device for generating a test script. The method for generating the test script comprises the following steps: firstly, in response to the click coordinates of the user for executing the click operation on the current interface, determining the interface element of the current interface and the visible area of the interface element, then traversing the visible area of the interface element, determining a target visible area containing the click coordinates and a control associated with the interface element corresponding to the target visible area, then acquiring the attribute information of each control associated with the interface element corresponding to the target visible region, determining the target control associated with the click coordinate based on the attribute information of each control associated with the interface element corresponding to the target visible region, and determining the keywords of the target control based on the attribute information of the target control, finally generating a test script corresponding to the click operation based on the keywords of the target control, and automatically generating the test script according to the keywords of the target control, thereby improving the efficiency of generating the test script.

Description

Method and device for generating test script
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a method and a device for generating a test script.
Background
With the continuous progress of science and technology, the interfaces presented by the terminals are more diversified and more complex. When the interface is developed, testing the interface is an essential step, and a test script is an important basis for testing.
In the process of implementing the present application, the inventors found that: the clicking action of the user is actually directed at a coordinate in a page, and many interface elements cover the coordinate point on a complex interface, so how to find a proper interface element to be bound with the coordinate point is an important step for automatically generating a test script.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for generating a test script.
In a first aspect, an embodiment of the present disclosure provides a method for generating a test script, where the method includes: in response to the click coordinates of the user for executing the click operation on the current interface, determining the interface elements of the current interface and the visible areas of the interface elements; traversing the visible area of each interface element, and determining a target visible area containing click coordinates and a control associated with the interface element corresponding to the target visible area; acquiring attribute information of each control associated with the interface element corresponding to the target visible region, determining a target control associated with the click coordinate based on the attribute information of each control associated with the interface element corresponding to the target visible region, and determining a keyword of the target control based on the attribute information of the target control; and generating a test script corresponding to the clicking operation based on the keywords of the target control.
In some embodiments, the attribute information of the control includes resource identification information and/or text information, the resource identification information identifies a resource loaded by the control, and the text information represents a text displayed on the control; and determining a target control associated with the click coordinates based on the attribute information of each control associated with the interface element corresponding to the target visible region, including: and determining the priority of each control based on the resource identification information and/or the text information of the control, and determining a target control associated with the click coordinate based on the priority of each control.
In some embodiments, determining the priority of each control based on the resource identification information and/or the text information of the control comprises: determining the priority of a control with unique resource identification information as a first priority; determining the priority of a control with the resource identification information being not unique and the text information meeting a first preset condition as a second priority, wherein the first preset condition comprises: the length of the text information exceeds the preset length, the text information is not unique or abnormal characters exist in the text information; determining that the priority of the control with the resource identification information being not unique and the text information meeting a second preset condition is a third priority, wherein the second preset condition comprises: the length of the character information does not exceed the preset length and abnormal characters do not exist; and determining the priority of the control with invalid resource identification information and valid and unique text information as a fourth priority.
In some embodiments, determining the target control associated with the click coordinate based on the priority of each control comprises: and sequencing the controls based on the priority of each control, and determining the controls with the preset number in the front as target controls associated with the click coordinates.
In some embodiments, determining the keyword of the target control based on the property information of the target control includes at least one of: in response to the fact that the priority of the target control is determined to be the first priority, determining resource identification information in attribute information of the target control to be keywords of the target control; in response to determining that the priority of the target control is the second priority, determining resource identification information in the attribute information of the target control and an index of the resource identification information as keywords of the target control, wherein the index is used for screening out the target control from a plurality of controls with the same resource identification information; in response to the determination that the priority of the target control is the third priority, determining text information in the attribute information of the target control as a keyword of the target control; and in response to determining that the priority of the target control is the fourth priority, determining the text information in the attribute information of the target control as the keyword of the target control.
In some embodiments, generating a test script corresponding to the click operation based on the keyword of the target control includes: and in response to the fact that the proportion of the area of the target control in the interface area of the current interface does not exceed a first preset value, associating the clicking operation to the keywords of the target control in the test script.
In some embodiments, generating a test script corresponding to the click operation based on the keyword of the target control further includes: and responding to the fact that the proportion of the area of the target control in the interface area of the current interface exceeds a first preset value and does not exceed a second preset value, associating the clicking operation to the keywords of the target control in the test script, and adding an annotation for marking the position clicked by the user in the test script.
In some embodiments, generating a test script corresponding to the click operation based on the keyword of the target control further includes: and responding to the fact that the proportion of the area of the target control in the interface area of the current interface exceeds a second preset value, generating a variable coordinate based on the click coordinate and the size of the display screen, associating the click operation to the variable coordinate in the test script, and adding an annotation for marking the target control associated with the click operation in the test script.
In a second aspect, an embodiment of the present disclosure provides an apparatus for generating a test script, the apparatus including: the visible area determining unit is configured to determine an interface element of the current interface and a visible area of the interface element in response to acquiring a click coordinate of a click operation performed on the current interface by a user; the association control determining unit is configured to traverse the visible area of each interface element, and determine a target visible area containing click coordinates and a control associated with the interface element corresponding to the target visible area; the keyword determining unit is configured to acquire attribute information of each control associated with the interface element corresponding to the target visible region, determine a target control associated with the click coordinate based on the attribute information of each control associated with the interface element corresponding to the target visible region, and determine a keyword of the target control based on the attribute information of the target control; and the generating unit is configured to generate a test script corresponding to the clicking operation based on the keywords of the target control.
In some embodiments, the attribute information of the control includes resource identification information and/or text information, the resource identification information identifies a resource loaded by the control, and the text information represents a text displayed on the control; and a keyword determination unit including: and the target control determining module is configured to determine the priority of each control based on the resource identification information and/or the text information of the control, and determine the target control associated with the click coordinate based on the priority of each control.
In some embodiments, the target control determination module is further configured to: determining the priority of a control with unique resource identification information as a first priority; determining the priority of a control with the resource identification information being not unique and the text information meeting a first preset condition as a second priority, wherein the first preset condition comprises: the length of the text information exceeds the preset length, the text information is not unique or abnormal characters exist in the text information; determining that the priority of the control with the resource identification information being not unique and the text information meeting a second preset condition is a third priority, wherein the second preset condition comprises: the length of the character information does not exceed the preset length and abnormal characters do not exist; and determining the priority of the control with invalid resource identification information and valid and unique text information as a fourth priority.
In some embodiments, the target control determination module is further configured to: and sequencing the controls based on the priority of each control, and determining the controls with the preset number in the front as target controls associated with the click coordinates.
In some embodiments, the keyword determination unit includes: a keyword determination module; and a keyword determination module configured to at least one of: in response to the fact that the priority of the target control is determined to be the first priority, determining resource identification information in attribute information of the target control to be keywords of the target control; in response to determining that the priority of the target control is the second priority, determining resource identification information in the attribute information of the target control and an index of the resource identification information as keywords of the target control, wherein the index is used for screening out the target control from a plurality of controls with the same resource identification information; in response to the determination that the priority of the target control is the third priority, determining text information in the attribute information of the target control as a keyword of the target control; and in response to determining that the priority of the target control is the fourth priority, determining the text information in the attribute information of the target control as the keyword of the target control.
In some embodiments, the generating unit is further configured to: and in response to the fact that the proportion of the area of the target control in the interface area of the current interface does not exceed a first preset value, associating the clicking operation to the keywords of the target control in the test script.
In some embodiments, the generating unit is further configured to: and responding to the fact that the proportion of the area of the target control in the interface area of the current interface exceeds a first preset value and does not exceed a second preset value, associating the clicking operation to the keywords of the target control in the test script, and adding an annotation for marking the position clicked by the user in the test script.
In some embodiments, the generating unit is further configured to: and responding to the fact that the proportion of the area of the target control in the interface area of the current interface exceeds a second preset value, generating a variable coordinate based on the click coordinate and the size of the display screen, associating the click operation to the variable coordinate in the test script, and adding an annotation for marking the target control associated with the click operation in the test script.
In a third aspect, an embodiment of the present disclosure provides an electronic device, 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 implement the method of generating a test script as described in any of the embodiments of the first aspect.
In a fourth aspect, embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, which, when executed by a processor, implements the method of generating a test script as described in any of the embodiments of the first aspect.
The method and the device for generating the test script provided by the embodiment of the disclosure firstly determine the interface element and the visible region of the interface element of the current interface in response to acquiring the click coordinate of the user for executing the click operation on the current interface, then traverse the visible region of the interface element, determine the target visible region containing the click coordinate and the control associated with the interface element corresponding to the target visible region, then acquire the attribute information of each control associated with the interface element corresponding to the target visible region, determine the target control associated with the click coordinate based on the attribute information of each control associated with the interface element corresponding to the target visible region, determine the keyword of the target control based on the attribute information of the target control, finally generate the test script corresponding to the click operation based on the keyword of the target control, and can accurately and quickly determine the target control associated with the click coordinate, the accuracy of the target control is improved, the test script can be automatically generated according to the keywords of the target control, and the efficiency of generating the test script is improved.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present disclosure may be applied;
FIG. 2 is a flow diagram of one embodiment of a method of generating a test script, according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of one application scenario of a method of generating a test script in accordance with an embodiment of the present disclosure;
FIG. 4 is an exemplary flow diagram for generating a test script according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram illustrating an embodiment of an apparatus for generating test scripts in accordance with an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant disclosure and are not limiting of the disclosure. It should be noted that, for the convenience of description, only the parts relevant to the related disclosure are shown in the drawings.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
FIG. 1 illustrates an exemplary system architecture 100 for a method of generating a test script and an apparatus for generating a test script to which embodiments of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 104, 105, a network 106, and servers 101, 102, 103. The network 106 serves as a medium for providing communication links between the terminal devices 104, 105 and the servers 101, 102, 103. Network 106 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the servers 101, 102, 103 via the network 106 via the terminal devices 104, 105 to receive or transmit information or the like. The end devices 104, 105 may have installed thereon various applications such as data analysis applications, data processing applications, instant messaging tools, social platform software, search-type applications, shopping-type applications, and the like.
The terminal devices 104, 105 may be hardware or software. When the terminal device is hardware, it may be various electronic devices having a display screen and supporting communication with the server, including but not limited to a smart phone, a tablet computer, a laptop portable computer, a desktop computer, and the like. When the terminal device is software, the terminal device can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules, or as a single piece of software or software module. And is not particularly limited herein.
The terminal devices 104 and 105 may be terminals (such as intelligent devices having a screen and a data analysis function, etc.) having functions of interface display, interface element analysis, and test script generation, and the terminal devices 104 and 105 may receive a click operation of a tester, acquire a click coordinate corresponding to the click operation, and locally generate a test script corresponding to the click operation according to the click coordinate. The terminal devices 104 and 105 may also send the click coordinates to the server, and the server generates a test script corresponding to the click operation according to the click coordinates.
The servers 101, 102, 103 may be servers that provide various services, such as background servers that receive requests sent by terminal devices with which communication connections are established. The background server can receive and analyze the request sent by the terminal device, and generate a processing result.
The server may be hardware or software. When the server is hardware, it may be various electronic devices that provide various services to the terminal device. When the server is software, it may be implemented as a plurality of software or software modules for providing various services to the terminal device, or may be implemented as a single software or software module for providing various services to the terminal device. And is not particularly limited herein.
It should be noted that the method for generating the test script provided by the embodiment of the present disclosure may be executed by the terminal devices 104 and 105, or may be executed by the servers 101, 102, and 103. Accordingly, the device for generating the test script may be provided in the terminal apparatuses 104 and 105, or may be provided in the servers 101, 102, and 103.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method of generating a test script in accordance with the present disclosure is shown. The method for generating the test script comprises the following steps:
step 210, in response to acquiring the click coordinate of the user performing the click operation on the current interface, determining the interface element of the current interface and the visible area of the interface element.
In this step, the execution body on which the method for generating the test script is executed may acquire the click coordinate corresponding to the click operation by collecting the click operation executed by the user (e.g., a tester) on the current interface. In practice, the click coordinate of the user performing the click operation on the current interface may also be specified, for example, for a click operation to be tested or a function associated with the click operation, a coordinate corresponding to the click operation may be used as the click coordinate of the user performing the click operation on the current interface.
After the execution main body obtains the click coordinates, the current interface can be analyzed, the interface elements contained in the current interface are determined, the interface elements corresponding to different interfaces are different, the number of the interface elements is different, and the interface elements are not specifically limited in the application.
Each interface element has attribute information such as resource identification information, text information, type, and visible region, etc. The resource identification information represents resources loaded by the interface elements, such as pictures, videos, documents and the like; the text information represents a text displayed on the interface element, the visible area refers to a display area of the interface element, and the execution main body can determine the visible area corresponding to each interface element by analyzing each interface element and can also determine resource identification information, text information and a type corresponding to each interface element.
Step 220, traversing the visible area of each interface element, and determining a target visible area containing the click coordinates and a control associated with the interface element corresponding to the target visible area.
In this step, after determining the visible regions corresponding to the interface elements, the execution main body may sort the visible regions from small to large according to the areas of the visible regions to obtain sorting results of the visible regions, and then select the visible region with the smallest area from the sorting results to start the judgment, and judge whether the click coordinate falls into the visible region. When the execution main body determines that a certain visible area contains the click coordinates, the visible area is determined as a target visible area, then the execution main body determines the interface element corresponding to the target visible area, and determines the control associated with the interface element.
The interface element associated control is a control capable of supporting the interface element to display and realize the function corresponding to the interface element, each interface element can be associated with a plurality of controls, and each control has different functions. Step 230, obtaining attribute information of each control associated with the interface element corresponding to the target visible region, determining a target control associated with the click coordinate based on the attribute information of each control associated with the interface element corresponding to the target visible region, and determining a keyword of the target control based on the attribute information of the target control.
In this step, the execution main body may obtain attribute information of each control after determining the control associated with the interface element corresponding to the target visible region, where the attribute information of the control may include resource identification information and/or text information. The resource identification information identifies resources loaded by the control, such as pictures, videos, documents and the like; the textual information characterizes text displayed on the control.
Optionally, in the process of acquiring the attribute information of each control, the execution main body may delete a control that does not include the resource identification information and/or the text information in the attribute information.
Optionally, after obtaining the attribute information of each control, the execution main body may determine the control whose attribute information includes the resource identification information and/or the text information. The execution main body can determine the target control related to the click coordinate according to the attribute information of each control.
Specifically, after the execution main body obtains the resource identification information and/or the text information of each control, the priority of each control is determined according to the resource identification information and/or the text information of each control, for example, the execution main body may classify the controls according to the resource identification information and/or the attribute of the text information of each control, such as the uniqueness or the validity of the resource identification information, the length, the uniqueness or the validity of the text information, and the like, for example, classify the controls into different priorities according to whether the resource identification information is unique or not, or according to the difference of the text lengths, and the like. The execution main body determines the control meeting the preset condition as the target control associated with the click coordinate according to the priority of each control, for example, the execution main body may select the control with the highest priority as the target control.
After determining the target control, the execution main body determines whether the attribute information can identify the target control according to the attribute information of the target control, for example, determines whether the resource identification information and/or the text information of the target control can uniquely identify the target control. If the attribute information of the target control can identify the target control, the attribute information of the target control can be used as a keyword of the target control. If the attribute information of the target control cannot identify the target control, the information capable of uniquely identifying the target control can be further determined according to the attribute information of the target control, and the information is used as a keyword of the target control.
And 240, generating a test script corresponding to the clicking operation based on the keywords of the target control.
In this step, the execution main body may automatically generate a test script corresponding to the click operation according to the target control and the keyword of the target control after determining the target control and the keyword of the target control. Specifically, after determining a target control associated with the click coordinate and a keyword of the target control, the execution main body further determines whether the target control is a control corresponding to the click operation, and if it is determined that the target control is the control corresponding to the click operation, associates the click operation with the keyword of the target control to generate a test script corresponding to the click operation.
With continuing reference to FIG. 3, FIG. 3 is a schematic diagram of an application scenario of a method of generating a test script according to the present embodiment. In the application scenario of fig. 3, terminal 310 presents an interface 320 to the tester. The terminal 310 receives a click operation performed by the tester on one coordinate 330 of the upper right corner position of the interface 320, and the terminal 310 acquires the coordinate 330. The terminal 310 begins parsing the interface 320 and determines the interface elements of the interface 320 and the visible area corresponding to each interface element. The terminal 310 analyzes each visible region, determines a target visible region containing the coordinates 330, determines an interface element corresponding to the target visible region, and further determines a control associated with the interface element. Then, the terminal 310 obtains the attribute information of each control associated with the interface element, determines a target control associated with the coordinates 330 according to the attribute information of each control, and further determines a keyword of the target control according to the attribute information of the target control. And finally, the terminal 310 generates a test script corresponding to the click operation of the user according to the acquired target control and the keyword of the target control.
The method for generating the test script provided by the embodiment of the disclosure determines the interface element and the visible region of the interface element of the current interface in response to acquiring the click coordinate of the user performing the click operation on the current interface, then traverses the visible region of the interface element, determines the target visible region containing the click coordinate and the control associated with the interface element corresponding to the target visible region, then acquires the attribute information of each control associated with the interface element corresponding to the target visible region, determines the target control associated with the click coordinate based on the attribute information of each control associated with the interface element corresponding to the target visible region, determines the keyword of the target control based on the attribute information of the target control, finally generates the test script corresponding to the click operation based on the keyword of the target control, and can accurately and quickly determine the target control associated with the click coordinate, the accuracy of the target control is improved, the test script can be automatically generated according to the keywords of the target control, and the efficiency of generating the test script is improved.
In some optional implementation manners of this embodiment, the priority of each control associated with the interface element corresponding to the target visible region may be determined in the following manner:
(1) and determining the priority of the control unique to the resource identification information as a first priority.
Specifically, the execution main body may obtain resource identification information of each control, determine whether the resource identification information of each control is the same by comparing the resource identification information of each control, determine a control with a resource identification that is different from the resource identification of any other control, where the control is the only control with the resource identification information, and determine the priority of the control as the first priority.
(2) Determining the priority of a control with the resource identification information being not unique and the text information meeting a first preset condition as a second priority, wherein the first preset condition comprises: the length of the character information exceeds the preset length, the character information is not unique or abnormal characters exist in the character information.
Specifically, after determining the control of the first priority, the execution main body may determine the control of the second priority from the controls whose resource identification information is not unique. After determining the controls with the non-unique resource identification information, the execution main body further determines whether the text information of the controls meets a first preset condition, where the first preset condition may include that the length of the text information exceeds a preset length, the text information is not unique, or the text information has abnormal characters, that is, the execution main body may determine whether the text information of each control has the condition that the length of the text information exceeds the preset length, the text information is not unique, or the text information has abnormal characters, and determines the priority of the control corresponding to the control with the length of the text information exceeding the preset length, the text information is not unique, or the text information has abnormal characters as a second priority.
(3) Determining that the priority of the control with the resource identification information being not unique and the text information meeting a second preset condition is a third priority, wherein the second preset condition comprises: the length of the character information does not exceed the preset length and abnormal characters do not exist.
Specifically, after determining the controls of the first priority and the second priority, the execution main body may further determine a control of a third priority from the controls whose resource identification information is not unique. After determining the control with the text information meeting the first preset condition from the controls with the non-unique resource identification information, the execution main body judges whether the text information of the remaining controls meets a second preset condition, wherein the second preset condition can include that the length of the text information does not exceed the preset length and abnormal characters do not exist, that is, the execution main body can judge whether the text information of the remaining controls has the condition that the length of the text information does not exceed the preset length and the abnormal characters do not exist, and determines the priority of the control corresponding to the control with the length of the text information not exceeding the preset length and the abnormal characters not to be a third priority.
(4) And determining the priority of the control with invalid resource identification information and valid and unique text information as a fourth priority.
Specifically, the execution main body has determined the controls with the priorities of the first priority, the second priority and the third priority, that is, the execution main body has determined the priority of the control with the unique resource identification information and determined the priority of the control with the non-unique resource identification information and the text information meeting the first preset condition or the second preset condition. The execution main body can select the controls with invalid resource identification information and valid and unique text information from the remaining controls, and determine the priority of the controls meeting the conditions as the fourth priority.
(5) And determining the control with invalid resource identification information and text information as a fifth priority.
Specifically, after determining the controls with the priorities of the first priority, the second priority, the third priority and the fourth priority, the execution main body determines the control with the invalid remaining resource identification information and text information as the fifth priority.
In the implementation mode, the priority of each control is determined based on the resource identification information and the text information of each control, so that the control is divided into the priorities, the target control can be quickly positioned, the target control can be selected according to the priority, and the accuracy of the target control is improved.
In some optional implementation manners of this embodiment, determining a target control associated with the click coordinate based on the priority of each control associated with the interface element corresponding to the target visible region includes: and sequencing the controls based on the priorities of the controls associated with the interface elements corresponding to the target visible area, and determining the controls with the preset number in the front as target controls associated with the click coordinates.
Specifically, the execution main body determines the priority of each control associated with the interface element corresponding to the target visible region according to the attribute information of each control, where the first priority is the highest priority, the second priority is the next priority, and so on, and the fifth priority is the lowest priority. The execution main body sorts the controls associated with the interface elements corresponding to the target visible region according to the priority levels of the controls to obtain a sorting result of the controls associated with the interface elements corresponding to the target visible region, for example, the sorting result may be a first-priority control, a second-priority control, a third-priority control, a fourth-priority control, and a fifth-priority control. The execution main body selects a preset number of controls sorted in the top from the sorting result, for example, the control with the first priority can be selected according to the sorting result, and the selected control is used as a target control associated with the click coordinate.
In the implementation mode, if the resource identification information can uniquely identify the control, the text information does not need to be further judged, the operation of judging the control can be saved by preferentially judging the uniqueness of the resource identification information, and if the resource identification information cannot uniquely identify the control, the text information needs to be further judged, so that the uniqueness of the control can be ensured, and the accuracy of the control is improved.
In some optional implementations of this embodiment, the determining, in the step 230, the keyword of the target control based on the attribute information of the target control includes at least one of: in response to the fact that the priority of the target control is determined to be the first priority, determining resource identification information in attribute information of the target control to be keywords of the target control; in response to determining that the priority of the target control is the second priority, determining resource identification information in the attribute information of the target control and an index of the resource identification information as keywords of the target control, wherein the index is used for screening out the target control from a plurality of controls with the same resource identification information; in response to the determination that the priority of the target control is the third priority, determining text information in the attribute information of the target control as a keyword of the target control; and in response to determining that the priority of the target control is the fourth priority, determining the text information in the attribute information of the target control as the keyword of the target control.
Specifically, after determining the target control according to the priority of each control, the execution main body determines which priority control the target control belongs to.
If the target control belongs to the first priority control, it can be determined that the resource identification information of the target control is unique, the resource identification information of the target control can identify the target control, the resource identification information in the attribute information of the target control is used as a keyword of the target control, and the keyword can be used for identifying the target control in the test script.
If the target control belongs to the second priority control, it may be determined that the resource identification information of the target control is not unique and the text information meets the first preset condition, the target control may not be identified only by the resource identification information, an index may be preset, the index is used to screen the target control from the plurality of controls having the same resource identification information, the resource identification information and the index of the resource identification information in the attribute information of the target control are used as keywords of the target control, and the target control may be identified in the test script by the keyword to identify the target control screened from the plurality of controls having the same resource identification information.
If the target control belongs to the third priority control, it can be determined that the resource identification information of the target control is not unique and the text information meets the second preset condition, and under the condition that the resource identification information is not unique, the text information can further identify the target control, the text information in the attribute information of the target control is used as a keyword of the target control, and the keyword can be used for identifying the target control in the test script.
If the target control belongs to the fourth priority control, the resource identification information of the target control is invalid, and the text information is valid and unique, so that the text information can further identify the target control under the condition that the resource identification information is invalid, the text information in the attribute information of the target control is used as a keyword of the target control, and the keyword can be used for identifying the target control in the test script.
If the target control belongs to the fifth priority control, it may be determined that the resource identification information of the target control is invalid and the text information is invalid, and the keyword of the target control does not exist.
In the implementation mode, the keywords of the target control are determined based on the priority of the target control, so that the keywords of the target control are determined more simply and quickly, and the accuracy of the keywords of the target control is improved.
In some optional implementation manners of this embodiment, in step 240, based on the keyword of the target control, a test script corresponding to the click operation is generated, which may be executed according to the following flow 400:
and step 410, in response to that the proportion of the area of the target control in the interface area of the current interface does not exceed a first preset value, associating the click operation to the keyword of the target control in the test script.
In this step, after the execution main body determines the target control, the area of the target control is further obtained. The execution main body may obtain, according to the area of the target control and the interface area of the current interface, a ratio of the area of the target control to the interface area of the current interface, where the ratio is, for example, 16%, and then determine whether the ratio exceeds a first preset value, where the first preset value may be a preset empirical value, such as 20%. If the execution main body determines that the proportion of the area of the target control in the interface area of the current interface does not exceed a first preset value through judgment, the proportion of the area of the target control in the current interface is smaller, the screened control is lower, the accuracy of association between the target control and the click coordinate is higher, the found target control is considered to be correct, and the click operation is associated to the keyword of the target control in the process of generating the test script.
And step 420, in response to that the ratio of the area of the target control to the interface area of the current interface exceeds a first preset value and does not exceed a second preset value, associating the clicking operation to the keyword of the target control in the test script, and adding an annotation for marking the position clicked by the user in the test script.
In this step, the execution subject obtains a ratio of the area of the target control to the interface area of the current interface, for example, the ratio is 26%, and then determines whether the ratio exceeds a first preset value, where the first preset value may be a preset empirical value, for example, 20%. If the execution main body determines that the ratio of the area of the target control to the interface area of the current interface exceeds a first preset value through judgment, it is further judged whether the ratio exceeds a second preset value, where the second preset value may be a preset empirical value, and the second preset value is greater than the first preset value, for example, 40%. If the execution main body determines that the proportion of the area of the target control in the interface area of the current interface does not exceed a second preset value through judgment, the proportion of the area of the target control in the current interface is larger, the proportion of the screened control is higher, the possibility that the association of the target control and the click coordinate has errors is determined, the correct target control is considered to be possibly found, namely the possibility that the target control has errors, the click operation is associated to the keywords of the target control in the process of generating the test script, and the comment used for marking the click position of the user is added in the generated test script to indicate the specific click position of the user at that time.
And 430, responding to the fact that the proportion of the area of the target control in the interface area of the current interface exceeds a second preset value, generating a variable coordinate based on the click coordinate and the size of the display screen, associating the click operation to the variable coordinate in the test script, and adding an annotation for marking the target control associated with the click operation in the test script.
In this step, the execution subject obtains a proportion of the area of the target control in the interface area of the current interface, where the proportion is 46%, for example, and then determines whether the proportion exceeds a first preset value, where the first preset value may be a preset empirical value, such as 20%. If the execution main body determines that the ratio of the area of the target control to the interface area of the current interface exceeds a first preset value through judgment, it is further judged whether the ratio exceeds a second preset value, where the second preset value may be a preset empirical value, and the second preset value is greater than the first preset value, for example, 40%. If the execution main body determines that the proportion of the area of the target control in the interface area of the current interface exceeds a second preset value through judgment, the proportion of the area of the target control in the current interface is large, the control is screened out to be high in proportion, the target control is probably not a control associated with the click coordinate, if the target control is not found correctly in a high probability, a variable coordinate is generated according to the click coordinate and the size of the current display screen, and the variable coordinate can represent the specific position of the target control associated with the click operation. And the executing body associates the click operation to the variable coordinate in the process of generating the test script, and adds a note for marking a target control associated with the click operation in the generated test script to indicate which control corresponds to the click operation.
In the implementation mode, whether the target control is the control associated with the click coordinate or not is determined according to the ratio of the display area of the target control to the interface area of the current interface, so that the accuracy of the target control is further improved, and if the target control is not in line with the expectation, a corresponding processing strategy is provided, so that the flexibility of test script generation is improved.
With further reference to FIG. 5, as an implementation of the methods illustrated in the above figures, the present disclosure provides one embodiment of an apparatus for generating a test script. This device embodiment corresponds to the method embodiment shown in fig. 2.
As shown in fig. 5, the picture displaying apparatus 500 of the present embodiment may include: a visible region determining unit 510, configured to determine an interface element of the current interface and a visible region of the interface element in response to obtaining click coordinates for a user to perform a click operation on the current interface; an associated control determining unit 520, configured to traverse the visible region of each interface element, and determine a target visible region including a click coordinate and a control associated with the interface element corresponding to the target visible region; a keyword determining unit 530 configured to acquire attribute information of each control associated with the interface element corresponding to the target visible region, determine a target control associated with the click coordinate based on the attribute information of each control associated with the interface element corresponding to the target visible region, and determine a keyword of the target control based on the attribute information of the target control; and a generating unit 540 configured to generate a test script corresponding to the click operation based on the keyword of the target control.
In some optional implementation manners of this embodiment, the attribute information of the control includes resource identification information and/or text information, the resource identification information identifies a resource loaded by the control, and the text information represents a text displayed on the control; and a keyword determination unit including: and the target control determining module is configured to determine the priority of each control based on the resource identification information and/or the text information of the control, and determine the target control associated with the click coordinate based on the priority of each control.
In some optional implementations of this implementation, the target control determination module is further configured to: determining the priority of a control with unique resource identification information as a first priority; determining the priority of a control with the resource identification information being not unique and the text information meeting a first preset condition as a second priority, wherein the first preset condition comprises: the length of the text information exceeds the preset length, the text information is not unique or abnormal characters exist in the text information; determining that the priority of the control with the resource identification information being not unique and the text information meeting a second preset condition is a third priority, wherein the second preset condition comprises: the length of the character information does not exceed the preset length and abnormal characters do not exist; and determining the priority of the control with invalid resource identification information and valid and unique text information as a fourth priority.
In some optional implementations of this implementation, the target control determination module is further configured to: and sequencing the controls based on the priority of each control, and determining the controls with the preset number in the front as target controls associated with the click coordinates.
In some optional implementations of this implementation, the keyword determination unit includes: a keyword determination module; and a keyword determination module configured to at least one of: in response to the fact that the priority of the target control is determined to be the first priority, determining resource identification information in attribute information of the target control to be keywords of the target control; in response to determining that the priority of the target control is the second priority, determining resource identification information in the attribute information of the target control and an index of the resource identification information as keywords of the target control, wherein the index is used for screening out the target control from a plurality of controls with the same resource identification information; in response to the determination that the priority of the target control is the third priority, determining text information in the attribute information of the target control as a keyword of the target control; and in response to determining that the priority of the target control is the fourth priority, determining the text information in the attribute information of the target control as the keyword of the target control.
In some optional implementations of this implementation, the generating unit is further configured to: and in response to the fact that the proportion of the area of the target control in the interface area of the current interface does not exceed a first preset value, associating the clicking operation to the keywords of the target control in the test script.
In some optional implementations of this implementation, the generating unit is further configured to: and responding to the fact that the proportion of the area of the target control in the interface area of the current interface exceeds a first preset value and does not exceed a second preset value, associating the clicking operation to the keywords of the target control in the test script, and adding an annotation for marking the position clicked by the user in the test script.
In some optional implementations of this implementation, the generating unit is further configured to: and responding to the fact that the proportion of the area of the target control in the interface area of the current interface exceeds a second preset value, generating a variable coordinate based on the click coordinate and the size of the display screen, associating the click operation to the variable coordinate in the test script, and adding an annotation for marking the target control associated with the click operation in the test script.
The device provided by the above embodiment of the present disclosure, in response to acquiring a click coordinate of a user performing a click operation on a current interface, determines an interface element of the current interface and a visible region of the interface element, then traverses the visible region of the interface element, determines a target visible region including the click coordinate and a control associated with the interface element corresponding to the target visible region, then acquires attribute information of each control associated with the interface element corresponding to the target visible region, determines a target control associated with the click coordinate based on the attribute information of each control associated with the interface element corresponding to the target visible region, determines a keyword of the target control based on the attribute information of the target control, and finally generates a test script corresponding to the click operation based on the keyword of the target control, so that the target control associated with the click coordinate can be accurately and quickly determined, the accuracy of the target control is improved, the test script can be automatically generated according to the keywords of the target control, and the efficiency of generating the test script is improved.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of embodiments of the present disclosure.
It should be noted that the computer readable medium of the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In embodiments of the present disclosure, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: in response to the click coordinates of the user for executing the click operation on the current interface, determining the interface elements of the current interface and the visible areas of the interface elements; traversing the visible area of each interface element, and determining a target visible area containing click coordinates and a control associated with the interface element corresponding to the target visible area; acquiring attribute information of each control associated with the interface element corresponding to the target visible region, determining a target control associated with the click coordinate based on the attribute information of each control associated with the interface element corresponding to the target visible region, and determining a keyword of the target control based on the attribute information of the target control; and generating a test script corresponding to the clicking operation based on the keywords of the target control.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and including conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). 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 shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a visible region determining unit, an association control determining unit, a keyword determining unit, and a generating unit. For example, the visible area determination unit may be further described as "a unit that determines an interface element of the current interface and a visible area of the interface element in response to acquiring click coordinates at which the user performs a click operation on the current interface".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (11)

1. A method of generating a test script, comprising:
in response to the fact that click coordinates of a user for executing click operation on a current interface are obtained, determining interface elements of the current interface and visible areas of the interface elements;
traversing the visible area of each interface element, and determining a target visible area containing the click coordinates and a control associated with the interface element corresponding to the target visible area;
acquiring attribute information of each control associated with the interface element corresponding to the target visible region, determining a target control associated with the click coordinate based on the attribute information of each control associated with the interface element corresponding to the target visible region, and determining a keyword of the target control based on the attribute information of the target control;
and generating a test script corresponding to the clicking operation based on the keywords of the target control.
2. The method of claim 1, wherein the attribute information of the control comprises resource identification information and/or text information, the resource identification information identifying a resource loaded by the control, the text information characterizing text displayed on the control; and
determining the target control associated with the click coordinate based on the attribute information of each control associated with the interface element corresponding to the target visible region, including:
and determining the priority of each control based on the resource identification information and/or the text information of the control, and determining a target control associated with the click coordinate based on the priority of each control.
3. The method of claim 2, wherein determining the priority of each control based on resource identification information and/or textual information of the control comprises:
determining the priority of a control with unique resource identification information as a first priority;
determining the priority of a control with the resource identification information being not unique and the text information meeting a first preset condition as a second priority, wherein the first preset condition comprises: the length of the text information exceeds the preset length, the text information is not unique or abnormal characters exist in the text information;
determining that the priority of the control with the resource identification information being not unique and the text information meeting a second preset condition is a third priority, wherein the second preset condition comprises: the length of the character information does not exceed the preset length and abnormal characters do not exist;
and determining the priority of the control with invalid resource identification information and valid and unique text information as a fourth priority.
4. The method of claim 3, wherein determining a target control associated with the click coordinate based on the priority of each control comprises:
and sequencing the controls based on the priority of each control, and determining the controls with the preset number in the front as target controls associated with the click coordinates.
5. The method of claim 4, wherein the determining the keyword of the target control based on the property information of the target control comprises at least one of:
in response to the fact that the priority of the target control is determined to be the first priority, determining resource identification information in attribute information of the target control to be a keyword of the target control;
in response to determining that the priority of the target control is a second priority, determining the resource identification information in the attribute information of the target control and an index of the resource identification information as a keyword of the target control, wherein the index is used for screening out the target control from a plurality of controls with the same resource identification information;
in response to the fact that the priority of the target control is determined to be the third priority, determining text information in the attribute information of the target control to be keywords of the target control;
and in response to determining that the priority of the target control is the fourth priority, determining text information in the attribute information of the target control as a keyword of the target control.
6. The method of any one of claims 1-5, wherein generating a test script corresponding to the click operation based on the keyword of the target control comprises:
and in response to the fact that the proportion of the area of the target control in the interface area of the current interface does not exceed a first preset value, associating the clicking operation to the keywords of the target control in the test script.
7. The method of claim 6, wherein the generating a test script corresponding to the click operation based on the keyword of the target control further comprises:
and responding to the fact that the proportion of the area of the target control in the interface area of the current interface exceeds a first preset value and does not exceed a second preset value, associating the clicking operation to the keyword of the target control in a test script, and adding an annotation for marking the position clicked by the user in the test script.
8. The method of claim 7, wherein the generating a test script corresponding to the click operation based on the keyword of the target control further comprises:
and responding to the fact that the proportion of the area of the target control in the interface area of the current interface exceeds a second preset value, generating a variable coordinate based on the click coordinate and the size of a display screen, associating the click operation to the variable coordinate in a test script, and adding an annotation for marking the target control associated with the click operation in the test script.
9. An apparatus to generate a test script, comprising:
the interface element display device comprises a visible area determining unit, a display unit and a display unit, wherein the visible area determining unit is configured to determine an interface element of a current interface and a visible area of the interface element in response to acquiring click coordinates of a click operation executed on the current interface by a user;
the association control determining unit is configured to traverse the visible area of each interface element, and determine a target visible area containing the click coordinates and a control associated with the interface element corresponding to the target visible area;
a keyword determining unit configured to acquire attribute information of each control associated with an interface element corresponding to the target visible region, determine a target control associated with the click coordinate based on the attribute information of each control associated with the interface element corresponding to the target visible region, and determine a keyword of the target control based on the attribute information of the target control;
and the generating unit is configured to generate a test script corresponding to the click operation based on the keyword of the target control.
10. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-8.
11. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-8.
CN202010371295.9A 2020-05-06 2020-05-06 Method and device for generating test script Pending CN113626301A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010371295.9A CN113626301A (en) 2020-05-06 2020-05-06 Method and device for generating test script

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010371295.9A CN113626301A (en) 2020-05-06 2020-05-06 Method and device for generating test script

Publications (1)

Publication Number Publication Date
CN113626301A true CN113626301A (en) 2021-11-09

Family

ID=78376458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010371295.9A Pending CN113626301A (en) 2020-05-06 2020-05-06 Method and device for generating test script

Country Status (1)

Country Link
CN (1) CN113626301A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115048309A (en) * 2022-06-27 2022-09-13 广州掌动智能科技有限公司 Non-intrusive APP software performance test method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105138463A (en) * 2015-09-25 2015-12-09 成都中科创达软件有限公司 Testing method and system for mobile terminal software
CN107038112A (en) * 2016-10-13 2017-08-11 腾讯科技(北京)有限公司 The adjustment method and device of application interface
CN107402877A (en) * 2016-05-19 2017-11-28 福建天晴数码有限公司 APP method of testings and system based on Android ends
CN108717325A (en) * 2018-04-18 2018-10-30 Oppo广东移动通信有限公司 Operating gesture setting method, device and mobile terminal
CN110297759A (en) * 2019-05-22 2019-10-01 深圳壹账通智能科技有限公司 A kind of method, apparatus making test page script, equipment and storage medium
CN110347608A (en) * 2019-07-17 2019-10-18 腾讯科技(深圳)有限公司 A kind of test method and relevant apparatus of interactive application
CN110413524A (en) * 2019-07-26 2019-11-05 中国工商银行股份有限公司 For generating method and apparatus, the automated testing method of test script

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105138463A (en) * 2015-09-25 2015-12-09 成都中科创达软件有限公司 Testing method and system for mobile terminal software
CN107402877A (en) * 2016-05-19 2017-11-28 福建天晴数码有限公司 APP method of testings and system based on Android ends
CN107038112A (en) * 2016-10-13 2017-08-11 腾讯科技(北京)有限公司 The adjustment method and device of application interface
CN108717325A (en) * 2018-04-18 2018-10-30 Oppo广东移动通信有限公司 Operating gesture setting method, device and mobile terminal
CN110297759A (en) * 2019-05-22 2019-10-01 深圳壹账通智能科技有限公司 A kind of method, apparatus making test page script, equipment and storage medium
CN110347608A (en) * 2019-07-17 2019-10-18 腾讯科技(深圳)有限公司 A kind of test method and relevant apparatus of interactive application
CN110413524A (en) * 2019-07-26 2019-11-05 中国工商银行股份有限公司 For generating method and apparatus, the automated testing method of test script

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115048309A (en) * 2022-06-27 2022-09-13 广州掌动智能科技有限公司 Non-intrusive APP software performance test method and system

Similar Documents

Publication Publication Date Title
CN109976997B (en) Test method and device
CN109359194B (en) Method and apparatus for predicting information categories
CN109684188B (en) Test method and device
CN112187558B (en) Data verification method and device and electronic equipment
CN110908922A (en) Application program testing method and device
CN109992719B (en) Method and apparatus for determining push priority information
CN113535577B (en) Application testing method and device based on knowledge graph, electronic equipment and medium
CN112954056B (en) Method and device for processing monitoring data, electronic equipment and storage medium
CN108011936B (en) Method and device for pushing information
CN107229565B (en) Test method and device
CN113626301A (en) Method and device for generating test script
CN110489326B (en) IDS-based HTTPAPI debugging method device, medium and equipment
CN116662193A (en) Page testing method and device
CN110110197B (en) Information acquisition method and device
CN108664610B (en) Method and apparatus for processing data
CN111367778B (en) Data analysis method and device for evaluating search strategy
CN115454956A (en) Log generation method and device, electronic equipment and storage medium
CN115203178A (en) Data quality inspection method and device, electronic equipment and storage medium
CN110084298B (en) Method and device for detecting image similarity
CN112308074A (en) Method and device for generating thumbnail
CN112379967A (en) Simulator detection method, device, equipment and medium
CN111767447A (en) Method and device for determining user traffic path
CN111125015A (en) Method, apparatus, terminal and medium for dump file classification
CN112835804B (en) Test case processing method, device, electronic equipment and medium
CN111831530A (en) Test method and device

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