CN107193750B - Script recording method and device - Google Patents

Script recording method and device Download PDF

Info

Publication number
CN107193750B
CN107193750B CN201710536859.8A CN201710536859A CN107193750B CN 107193750 B CN107193750 B CN 107193750B CN 201710536859 A CN201710536859 A CN 201710536859A CN 107193750 B CN107193750 B CN 107193750B
Authority
CN
China
Prior art keywords
control
information
user interface
determining
size
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.)
Active
Application number
CN201710536859.8A
Other languages
Chinese (zh)
Other versions
CN107193750A (en
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 Testin Information Technology Co Ltd
Original Assignee
Beijing Testin Information 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 Testin Information Technology Co Ltd filed Critical Beijing Testin Information Technology Co Ltd
Priority to CN201710536859.8A priority Critical patent/CN107193750B/en
Publication of CN107193750A publication Critical patent/CN107193750A/en
Application granted granted Critical
Publication of CN107193750B publication Critical patent/CN107193750B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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

Abstract

The application discloses a script recording method and device. The method comprises the following steps: acquiring a user interface screenshot and control information of an application program to be tested in a mobile terminal, wherein the control information is used for describing a control in the user interface screenshot; determining operation information of test operation executed on the user interface screenshot in the script recording process; and determining a control corresponding to the test operation according to the operation information and the control information, and inputting the determined control information of the control and the operation information of the test operation into a script. According to the embodiment of the application, the control which the user wants to execute is determined based on the test operation of the user, and the control and the related information thereof are recorded into the script, so that the efficiency of recording the script and the application range of the recorded script can be improved.

Description

Script recording method and device
Technical Field
The application relates to the technical field of software testing, in particular to a script recording method and device.
Background
A script is simply a strip of text commands that are visible (e.g., can be opened for viewing, editing with a notepad). During the process of testing the application program, the application program can be temporarily called and executed, so that the coding difficulty of a programmer is reduced, and the use convenience is improved, for example: mailbox software such as Outlook Express or Foxmail can be automatically invoked when the Email address on the web page is clicked.
At present, script recording generally adopts an injection mode, namely, a hook program is arranged in an application program to be tested to achieve the purpose of monitoring certain messages. However, this approach changes the application itself to be tested, and has two problems: firstly, the coding workload is increased, and secondly, when the problem of the application program to be tested is detected, the problem of the application program to be tested or the problem caused by the hook program is difficult to judge. In addition, a script recording mode with pure coordinates is also available, but the recording mode is only suitable for a single model.
How to improve the efficiency of recording the script and the application range of the script is the technical problem to be solved by the application.
Disclosure of Invention
The embodiment of the application provides a script recording method and device, and aims to solve the problems that an existing script recording scheme is low in recording efficiency and narrow in script application range.
The embodiment of the application provides a script recording method, which comprises the following steps:
acquiring a user interface screenshot and control information of an application program to be tested in a mobile terminal, wherein the control information is used for describing a control in the user interface screenshot;
determining operation information of test operation executed on the user interface screenshot in the script recording process;
and determining a control corresponding to the test operation according to the operation information and the control information, and inputting the determined control information of the control and the operation information of the test operation into a script.
Optionally, the determining, according to the operation information and the control information, a control corresponding to the test operation includes:
determining first coordinate information of the test operation in the user interface screenshot according to the operation information;
determining a distance value between second coordinate information of a control in the control information and the first coordinate information, wherein the second coordinate information is coordinate information of a central point of the control in the user interface screenshot;
and determining the control corresponding to the test operation according to the size of the control in the control information and the distance value.
Optionally, the determining, according to the size of the control in the control information and the distance value, the control corresponding to the test operation includes:
determining a first control group, wherein the control in the first control group is a control with a corresponding distance value smaller than a preset distance threshold value or a control selected from all controls according to the size of the corresponding distance value;
and determining the control corresponding to the test operation in the first control group by combining preset distance value weight and size weight according to the distance value and the size corresponding to the control in the first control group.
Optionally, the determining, according to the size of the control in the control information and the distance value, the control corresponding to the test operation includes:
determining a second control group, wherein the control in the second control group is a control with a corresponding size smaller than a preset size threshold or a control selected from all controls according to the size of the corresponding size;
and determining the control corresponding to the test operation in the second control group by combining preset distance value weight and size weight according to the distance value and the size corresponding to the control in the second control group.
Optionally, the determining, according to the size of the control in the control information and the distance value, the control corresponding to the test operation includes:
determining a third control group, wherein the control in the third control group is the control with the corresponding distance value smaller than a preset distance threshold value or the control selected from all the controls according to the size of the corresponding distance value;
determining a fourth control group, wherein the controls in the fourth control group are controls of which the corresponding size is smaller than a preset size threshold or controls selected from all the controls according to the size of the corresponding size;
and determining the controls corresponding to the test operation in the third control group and the fourth control group according to the distance values and the sizes corresponding to the controls in the third control group and the fourth control group and by combining preset distance value weights and size weights.
Optionally, before obtaining the user interface screenshot and the control information of the application to be tested in the mobile terminal, the method further includes:
determining an installation package and a test package of an application program to be tested, wherein the test package is used for starting the application program to be tested and acquiring a user interface screenshot and control information of the application program to be tested;
and sending the installation package and the test package to the mobile terminal for installation.
Optionally, the obtaining of the user interface screenshot and the control information of the application program to be tested in the mobile terminal includes:
sending a starting instruction to the mobile terminal, wherein the starting instruction is used for starting the test packet;
and receiving the user interface screenshot and the control information of the application program to be tested, which are sent by the mobile terminal.
Optionally, after determining operation information of the test operation performed on the user interface screenshot in the script recording process, the method further includes:
determining an operation instruction corresponding to the test operation, wherein the operation instruction is used for instructing the application program to be tested to execute the same operation as the test operation;
sending the operation instruction to the mobile terminal, and receiving a user interface screenshot returned by the mobile terminal after the application program to be tested executes the operation instruction;
and updating the operation interface according to the returned screenshot of the user interface, wherein the operation interface is used for displaying the screenshot of the user interface.
An embodiment of the present application further provides a script recording apparatus, including:
the system comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring a user interface screenshot and control information of an application program to be tested in the mobile terminal, and the control information is used for describing a control in the user interface screenshot;
the determining module is used for determining operation information of the test operation executed on the user interface screenshot in the script recording process;
and the input module is used for determining a control corresponding to the test operation according to the operation information and the control information and inputting the determined control information of the control and the operation information of the test operation into the script.
Optionally, the entry module is configured to determine, according to the operation information, first coordinate information of the test operation in the user interface screenshot; determining a distance value between second coordinate information of a control in the control information and the first coordinate information, wherein the second coordinate information is coordinate information of a central point of the control in the user interface screenshot; and determining the control corresponding to the test operation according to the size of the control in the control information and the distance value.
Optionally, the entry module is configured to determine a first control group, where a control in the first control group is a control whose corresponding distance value is smaller than a preset distance threshold or a control selected from all controls according to the size of the corresponding distance value; and determining the control corresponding to the test operation in the first control group by combining preset distance value weight and size weight according to the distance value and the size corresponding to the control in the first control group.
Optionally, the entry module is configured to determine a second control group, where a control in the second control group is a control whose corresponding size is smaller than a preset size threshold or a control selected from all controls according to the size of the corresponding size; and determining the control corresponding to the test operation in the second control group by combining preset distance value weight and size weight according to the distance value and the size corresponding to the control in the second control group.
Optionally, the entry module is configured to determine a third control group, where a control in the third control group is a control whose corresponding distance value is smaller than a preset distance threshold or a control selected from all controls according to the size of the corresponding distance value; determining a fourth control group, wherein the controls in the fourth control group are controls of which the corresponding size is smaller than a preset size threshold or controls selected from all the controls according to the size of the corresponding size; and determining the controls corresponding to the test operation in the third control group and the fourth control group according to the distance values and the sizes corresponding to the controls in the third control group and the fourth control group and by combining preset distance value weights and size weights.
Optionally, the apparatus further comprises: a first processing module;
the first processing module is used for determining an installation package and a test package of an application program to be tested, wherein the test package is used for starting the application program to be tested and acquiring a user interface screenshot and control information of the application program to be tested; and sending the installation package and the test package to the mobile terminal for installation.
Optionally, the obtaining module is configured to send a start instruction to the mobile terminal, where the start instruction is used to start the test packet; and receiving the user interface screenshot and the control information of the application program to be tested, which are sent by the mobile terminal.
Optionally, the apparatus further comprises: a second processing module;
the second processing module is configured to determine an operation instruction corresponding to the test operation, where the operation instruction is used to instruct the application program to be tested to perform the same operation as the test operation; sending the operation instruction to the mobile terminal, and receiving a user interface screenshot returned by the mobile terminal after the application program to be tested executes the operation instruction; and updating the operation interface according to the returned screenshot of the user interface, wherein the operation interface is used for displaying the screenshot of the user interface.
An embodiment of the present application further provides an application program testing apparatus, including: a memory and a processor, wherein:
a memory for storing a program;
the processor is used for executing the program stored in the memory and specifically executing:
acquiring a user interface screenshot and control information of an application program to be tested in a mobile terminal, wherein the control information is used for describing a control in the user interface screenshot;
determining operation information of test operation executed on the user interface screenshot in the script recording process;
and determining a control corresponding to the test operation according to the operation information and the control information, and inputting the determined control information of the control and the operation information of the test operation into a script.
Embodiments of the present application also provide a computer-readable storage medium storing one or more programs that, when executed by an electronic device including a plurality of application programs, cause the electronic device to perform the following method:
acquiring a user interface screenshot and control information of an application program to be tested in a mobile terminal, wherein the control information is used for describing a control in the user interface screenshot;
determining operation information of test operation executed on the user interface screenshot in the script recording process;
and determining a control corresponding to the test operation according to the operation information and the control information, and inputting the determined control information of the control and the operation information of the test operation into a script.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects:
the method comprises the steps of obtaining a user interface screenshot and control information of an application program to be tested in the mobile terminal, then determining test operation executed on the user interface screenshot by a tester/developer, determining a control which the tester/developer wants to operate based on operation information and control information of the test operation, and inputting relevant information of the determined control and the operation information of the test operation into a script as script steps. Therefore, the script recording efficiency and the application range of the script are effectively improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart of a script recording method provided in embodiment 1 of the present application;
fig. 2 is a schematic flowchart of determining a control in a script recording method provided in embodiment 1 of the present application;
fig. 3 is a schematic flowchart of a script recording method provided in embodiment 2 of the present application;
fig. 4 is a schematic structural diagram of a script recording apparatus according to embodiment 3 of the present application;
fig. 5 is a schematic structural diagram of a script recording apparatus according to embodiment 4 of the present application;
fig. 6 is a schematic structural diagram of an electronic device provided in embodiment 5 of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings.
In some of the flows described in the present specification and claims and in the above figures, a number of operations are included which occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel as they occur herein, the order of the operations being numbered 11, 12, etc. merely to distinguish between various operations, the order of which does not represent any order of performance by itself. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In addition, it is understood by those skilled in the art that the pc terminal appearing hereinafter may be a desktop (or called desktop computer, notebook computer, netbook, tablet computer, ultrabook, etc.), and the mobile terminal may be a mobile phone or a smart phone with multiple application functions, a tablet computer, etc.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Example 1
Fig. 1 is a schematic flowchart of a script recording method according to an embodiment 1 of the present application, and referring to fig. 1, the method may be executed by a pc, and specifically includes the following steps:
step 11, obtaining a user interface screenshot and control information of an application program to be tested in the mobile terminal, wherein the control information is used for describing a control in the user interface screenshot;
before recording the script, the mobile terminal and the pc terminal need to be connected in a USB, wireless or other manner.
And then, the user starts script recording software installed on the pc end, the script recording software automatically detects the mobile terminal connected to the pc end, and a detection result is displayed on an operation interface for the user to operate, wherein the operation interface is used for displaying recording function options, recording parameter adjustment options and the like. And the user selects a target mobile terminal from the detection result and clicks a 'start recording' option. And the script recording software initiates a request to the mobile terminal to instruct the mobile terminal to intercept the user interface screenshot of the application program to be tested in the starting state and return the user interface screenshot and the control information to the pc terminal together.
The control information comprises the relationship between the controls included in the user interface screenshot, the relationship can be represented in a control tree mode, and the position and the size of each control.
The user interface screenshot and the control information can be acquired by calling a third-party program by the mobile terminal.
Step 12, determining operation information of test operation executed on the user interface screenshot in the script recording process;
it should be noted that, the pc end displays the user interface screenshot on the operation interface, so that the user can execute a test operation on the user interface screenshot, for example: move the mouse, click on "address book", double click, long press, etc. The pc end monitors the test operation of the user through the operation monitor and generates corresponding operation information, for example: the operation event and the coordinate information of each operation point and the operation time.
And step 13, determining a control corresponding to the test operation according to the operation information and the control information, and inputting the determined control information of the control and the operation information of the test operation into a script.
The script recording software acquires a control tree based on the control information, determines a control which a user wants to operate from the control tree based on the operation information, and inputs the test operation of the control and the control information of the control into the script. The control information for entering the script comprises the text, the id and the like of the control, and the operation information further comprises a click control, a double-click control, a long-press control and the like.
Preferably, referring to fig. 2, the implementation of step 13 includes the following steps:
step 21, determining first coordinate information of the test operation in the user interface screenshot according to the operation information by script recording software;
step 22, determining a distance value between second coordinate information of a control in the control information and the first coordinate information, wherein the second coordinate information is coordinate information of a center point of the control in the user interface screenshot;
and step 23, determining a control corresponding to the test operation according to the size of the control in the control information and the distance value.
It should be noted that the distance value between the operation point and each control is calculated based on the position information of the operation point corresponding to the test operation carried in the operation information and the position information of the control in the control information, and then the most reasonable control is determined by taking the operation point as a standard and comprehensively considering the size of each control.
Among them, the following three implementation schemes are available for step 23.
Firstly, a group of controls is selected according to the distance value, and then the most reasonable control is selected by considering the distance value and the control size, which is as follows:
firstly, determining a first control group, wherein the control in the first control group is a control with a corresponding distance value smaller than a preset distance threshold value or a control selected from all controls according to the size of the corresponding distance value;
the number of the controls in the first control group is settable, and a user can set the number of the controls on an operation interface of the recording script, for example, 5 controls. Preferably, when determining the first control group, all the controls may be sorted according to the size of the distance value between each control and the operation point, and then the 5 controls with the smallest distance value may be selected according to the sequence.
And then, determining the control corresponding to the test operation in the first control group by combining preset distance value weight and size weight according to the distance value and the size corresponding to the control in the first control group.
The sum of the distance value weight and the size weight is 1, and the sum is used for configuring different weights for the distance value weight and the size weight respectively so as to determine a control more reasonably, for example, the distance value weight: size weight 0.7: 0.3.
it is understood that based on the known distance value and size of each selected control, and combining the weights of the distance value and the size, the score of each control can be calculated, and then the score of each control is compared to select the control with the smallest score as the most reasonable control.
Secondly, selecting a group of controls according to the size of the controls, and then selecting the most reasonable control by considering the distance value and the size of the controls, which is specifically as follows:
firstly, determining a second control group, wherein the control in the second control group is a control with a corresponding size smaller than a preset size threshold or a control selected from all controls according to the size of the corresponding size;
preferably, when determining the second control group, all the controls may be sorted according to the size of each control, and then 5 controls with the smallest size may be selected in the sequence.
And determining the control corresponding to the test operation in the second control group by combining preset distance value weight and size weight according to the distance value and the size corresponding to the control in the second control group. The preset distance value weight and the preset size weight can be the same as or different from the weight in the first scheme.
Thirdly, two groups of controls are selected according to the distance value and the size of the controls, and then the most reasonable control is selected by considering the distance value and the size of the control, which is specifically as follows:
determining a third control group, wherein the control in the third control group is the control with the corresponding distance value smaller than a preset distance threshold value or the control selected from all the controls according to the size of the corresponding distance value;
determining a fourth control group, wherein the controls in the fourth control group are controls of which the corresponding size is smaller than a preset size threshold or controls selected from all the controls according to the size of the corresponding size;
and determining the controls corresponding to the test operation in the third control group and the fourth control group according to the distance values and the sizes corresponding to the controls in the third control group and the fourth control group and by combining preset distance value weights and size weights.
The manner of determining the third control element group and the fourth control element group respectively corresponds to the first scheme and the second scheme, and therefore, the details are not described herein.
It should be noted that the selection criteria of the third control element group and the fourth control element group are different, and therefore, the controls included in the two groups may be different. For more rational determination of the control, a distance value weight and a size weight different from those in the first and second schemes may be set. For example: the distance value weight and size weight of the controls in the third group are 0.2: 0.8, the distance value weight and the size weight of the controls in the fourth group are 0.4: 0.6.
when the script is recorded, the corresponding control is determined based on the test operation of the user on the user interface screenshot of the application program to be tested, the control information of the control and the test operation executed on the control are input into the script, the condition that the control is identified by means of a hook program or the condition that the control is only dependent on the coordinate of the operation is avoided, and the script recording method and device have the advantages of improving script recording efficiency and improving the application range of the recorded script.
In addition, in the process of identifying the control, the distance value between the operating point and the control and the weight of the size of the control in the control identification are flexibly set so as to ensure that the determined control can be matched with the intention of the user for test operation.
Example 2
Fig. 3 is a flowchart of a script recording method provided in embodiment 2 of the present application, and is different from embodiment 1 in that an application program to be tested in this embodiment may be an unpublished test board, so that the application program to be tested and a specific test tool need to be installed in a mobile terminal before recording a script, where the test tool is used to collect a user interface screenshot and control information.
The method can be realized by the pc end and the mobile terminal together, and specifically comprises the following steps:
step 31, establishing communication connection between the pc end and the mobile terminal
The communication connection mode includes USB connection, wireless connection, and the like.
Step 32, the pc end obtains the identification information of the test application program
It should be noted that, after a tester or a developer makes a new application or an updated application, the tester or the developer stores the application to be tested locally in a library. Then, an association relationship between the storage address and the identification information of the application program is established. Therefore, a tester or a developer can find the corresponding application program to be tested through the identification information.
The identification information may be a name, a number, and the like of the application program.
Step 33, extracting the corresponding installation package and test package of the application program to be tested from the base identification information
Step 34, sending the installation package and the test package to the mobile terminal
Step 35, the mobile terminal installs the installation package and the test package of the application program to be tested based on the instruction of the pc end
It should be noted that the installation process may be performed based on the authority assigned by the user of the mobile terminal, for example: the user gives a first-level authority to the pc end, and the pc end can send the installation instruction, the installation package and the test package to the mobile terminal together, and the mobile terminal executes installation operation; or the mobile terminal gives a secondary permission to the pc terminal, namely the pc terminal sends the installation package and the test package to the mobile terminal, and the mobile terminal freely selects whether to execute the installation operation.
Step 36, the pc end sends a start instruction to the mobile terminal
It should be noted that, after the installation package and the test package are installed, a message for completing installation may be sent to the pc end through the test package or a message for completing installation operation may be fed back to the pc end by the mobile terminal. And after receiving the installation completion message, the pc end sends an instruction to the mobile terminal so as to start the test package and the application program to be tested.
The communication between the pc end and the mobile terminal can be realized in a port forwarding mode.
And step 37, the mobile terminal executes the operation of starting the test package, further starts the application program to be tested by the test package, and then collects the screenshot and the control information of the user interface of the started application program to be tested.
Step 38, the test pack automatically sends the acquired screenshot of the user interface and the control information to the pc end
Step 39, the pc end displays the screenshot of the user interface on the operation interface, so that the tester/developer can perform a test operation on the screenshot of the user interface of the application program to be tested on the operation interface, thereby completing steps 11 and 12 in embodiment 1.
The test operation may be, for example: click, double click, long press, drag, etc.
Step 310, the pc sends an operation instruction corresponding to the test operation to the mobile terminal, where the operation instruction is an instruction corresponding to the test operation, for example: if the test operation is to click the address book, the operation instruction is an operation instruction for instructing to click the address book.
311, the mobile terminal executes an operation instruction sent by the pc end, where the operation instruction is used to instruct the application program to be tested to execute the same operation as the test operation
It is understood that after the mobile terminal executes the operation command, the user interface may be changed, for example: and after the operation of clicking the address book is executed, the user interface jumps to the interface of the address book.
Step 312, the test package sends the screenshot of the user interface after the operation instruction is executed to the pc end
313, updating the operation interface based on the screenshot of the user interface on the pc terminal
It should be noted that, there are various implementations of steps 312 and 313, for example, as follows:
firstly, the test pack can collect user interface screenshots in real time and compare the screenshots with a previous screenshot, and if the user interface screenshots are known to change through comparison, the current screenshots are sent to a pc end so as to update an operation interface.
And secondly, when the test packet detects that the operation instruction is executed, acquiring a screenshot of the user interface and comparing the screenshot with the previous screenshot, and if the comparison result shows that the screenshot is changed, sending the current screenshot to the pc end to update the operation interface.
And thirdly, the test packet can collect the user interface screenshot in real time and directly send the user interface screenshot to the pc end, the pc end compares the user interface screenshot with the currently displayed screenshot, and if the user interface screenshot is changed through comparison, the currently displayed screenshot is replaced by the new user interface screenshot.
It is understood that the tester/developer may continue to perform the test operation on the new operation interface, and then the test package may also send the new user interface screenshot obtained after the mobile terminal synchronously performs the test operation to the pc to update the operation interface until the test is completed.
Example 3
Fig. 4 is a schematic structural diagram of a script recording apparatus provided in embodiment 3 of the present application, and referring to fig. 4, the apparatus includes: an acquisition module 41, a determination module 42 and an entry module 43, wherein:
the acquiring module 41 is configured to acquire a user interface screenshot of an application to be tested in the mobile terminal and control information, where the control information is used to describe a control in the user interface screenshot;
a determining module 42, configured to determine operation information of a test operation performed on the user interface screenshot in a script recording process;
and the entry module 43 is configured to determine a control corresponding to the test operation according to the operation information and the control information, and enter the determined control information of the control and the operation information of the test operation into the script.
It should be noted that, after receiving the instruction to start recording the script, the obtaining module 41 obtains the user interface screenshot and the control information of the application to be tested, which are sent by the mobile terminal side, and then displays the user interface screenshot on the operation interface. The determining module 42 determines a test operation executed by the tester/developer on the user interface screenshot on the operation interface, and sends the test operation to the entry module 43, and the entry module 43 determines a control corresponding to the test operation and enters the control as a script step into the script.
The following describes each functional module in this embodiment in detail:
the entry module 43 is configured to determine, according to the operation information, first coordinate information of the test operation in the user interface screenshot; determining a distance value between second coordinate information of a control in the control information and the first coordinate information, wherein the second coordinate information is coordinate information of a central point of the control in the user interface screenshot; and determining the control corresponding to the test operation according to the size of the control in the control information and the distance value.
The method for determining the control corresponding to the test operation according to the size and the distance value of the control includes multiple ways, specifically as follows:
firstly, the entry module 43 determines a first control group, wherein the control in the first control group is a control with a corresponding distance value smaller than a preset distance threshold value or a control selected from all the controls according to the size of the corresponding distance value; and determining the control corresponding to the test operation by combining preset distance value weight and size weight according to the distance value and the size corresponding to the control in the first control group.
Secondly, the entry module 43 determines a second control group, where the control in the second control group is a control whose corresponding size is smaller than a preset size threshold or a control selected from all the controls according to the size of the corresponding size; and determining the control corresponding to the test operation by combining preset distance value weight and size weight according to the distance value and the size corresponding to the control in the second control group.
Thirdly, the entry module 43 determines a third control group, where the control in the third control group is a control whose corresponding distance value is smaller than a preset distance threshold or a control selected from all the controls according to the size of the corresponding distance value; determining a fourth control group, wherein the controls in the fourth control group are controls of which the corresponding size is smaller than a preset size threshold or controls selected from all the controls according to the size of the corresponding size; and determining the control corresponding to the test operation by combining preset distance value weight and size weight according to the distance value and the size corresponding to the control in the third control group and the fourth control group.
Therefore, the control which the user wants to execute is determined through the test operation based on the user, and the control and the related information thereof are recorded into the script, so that the script recording efficiency and the application range of the recorded script can be improved.
Example 4
Fig. 5 is a schematic structural diagram of a script recording apparatus provided in embodiment 4 of the present application, and referring to fig. 4, the apparatus includes: a first processing module 51, an acquisition 52, a determination module 53, a logging module 54 and a second processing module 55, wherein:
the acquiring module 52, the determining module 53, and the recording module 54 correspond to the acquiring module 41, the determining module 42, and the recording module 43 of the script recording apparatus provided in embodiment 3, respectively, and therefore, a detailed description of a part of the operation principle thereof will not be provided here, and the same points refer to the related statements in embodiment 3.
In this embodiment, the first processing module 41 is configured to determine an installation package and a test package of an application program to be tested, where the test package is used to start the application program to be tested and collect a user interface screenshot and control information of the application program to be tested; and sending the installation package and the test package to the mobile terminal for installation.
Different from the obtaining module 41 in embodiment 3, the obtaining module 52 in this embodiment is further configured to send a starting instruction to the mobile terminal, where the starting instruction is used to start the test packet; and receiving the user interface screenshot and the control information of the application program to be tested, which are sent by the mobile terminal.
The test operations performed by the tester/developer determined by the determination module 53 are then sent to the logging module 54 and to the second processing module 55, which logging module 54 records as a corresponding script.
A second processing module 55, configured to determine an operation instruction corresponding to the test operation, where the operation instruction is used to instruct the application to be tested to perform the same operation as the test operation; sending the operation instruction to the mobile terminal, and receiving a user interface screenshot returned by the mobile terminal after the application program to be tested executes the operation instruction; and updating the operation interface according to the returned screenshot of the user interface, wherein the operation interface is used for displaying the screenshot of the user interface.
Example 5
Fig. 6 is a schematic structural diagram of an electronic device provided in embodiment 5 of the present application, referring to fig. 6, in a hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a nonvolatile memory, and may also include hardware required by other services. The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the script recording device on the logic level. Of course, besides the software implementation, the present application does not exclude other implementations, such as logic devices or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
The processor, the network interface, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (peripheral component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 6, but that does not indicate only one bus or one type of bus.
The memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both read-only memory and random access memory, and provides instructions and data to the processor. The Memory may include a Random-Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least 1 disk Memory.
The processor is used for executing the program stored in the memory and specifically executing:
acquiring a user interface screenshot and control information of an application program to be tested in a mobile terminal, wherein the control information is used for describing a control in the user interface screenshot;
determining operation information of test operation executed on the user interface screenshot in the script recording process;
and determining a control corresponding to the test operation according to the operation information and the control information, and inputting the determined control information of the control and the operation information of the test operation into a script.
The methods performed by the script recording apparatus or Master node (Master) according to the embodiments shown in fig. 1-3 and fig. 4-5 of the present application may be implemented in or by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The script recording apparatus may also perform the method of fig. 1 and implement the method performed by the manager node.
Example 6
Based on the same invention creation, the embodiment of the present application further provides a computer-readable storage medium storing one or more programs, which when executed by an electronic device including a plurality of application programs, cause the electronic device to execute the script recording method provided in embodiment 1.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (16)

1. A script recording method, comprising:
acquiring a user interface screenshot and control information of an application program to be tested in a mobile terminal, wherein the control information is used for describing a control in the user interface screenshot; the script recording software sends a request to the mobile terminal to instruct the mobile terminal to intercept a user interface screenshot of an application program to be tested in an open state and return the user interface screenshot and control information to the pc end together;
determining operation information of test operation executed on the user interface screenshot in the script recording process; the pc end displays the user interface screenshot on the operation interface so that a user can execute test operation on the user interface screenshot, and monitors the test operation of the user through the operation monitor and generates corresponding operation information;
determining a control corresponding to the test operation according to the operation information and the control information, and inputting the determined control information of the control and the operation information of the test operation into a script; the script recording software acquires a control tree based on the control information, then determines a control which a user wants to operate from the control tree based on the operation information, and records the test operation of the control and the control information of the control into the script;
wherein the determining the control corresponding to the test operation according to the operation information and the control information includes:
the script recording software determines first coordinate information of the test operation in the user interface screenshot according to the operation information;
determining a distance value between second coordinate information of a control in the control information and the first coordinate information, wherein the second coordinate information is coordinate information of a central point of the control in the user interface screenshot;
and determining the control corresponding to the test operation according to the size of the control in the control information and the distance value.
2. The method of claim 1, wherein the determining the control corresponding to the test operation according to the size of the control in the control information and the distance value comprises:
determining a first control group, wherein the control in the first control group is a control of which the corresponding distance value is smaller than a preset distance threshold value or a control selected from all controls according to the size of the corresponding distance value;
and determining the control corresponding to the test operation in the first control group by combining preset distance value weight and size weight according to the distance value and the size corresponding to the control in the first control group.
3. The method of claim 1, wherein the determining the control corresponding to the test operation according to the size of the control in the control information and the distance value comprises:
determining a second control group, wherein the control in the second control group is a control with a corresponding size smaller than a preset size threshold or a control selected from all controls according to the size of the corresponding size;
and determining the control corresponding to the test operation in the second control group by combining preset distance value weight and size weight according to the distance value and the size corresponding to the control in the second control group.
4. The method of claim 1, wherein the determining the control corresponding to the test operation according to the size of the control in the control information and the distance value comprises:
determining a third control group, wherein the control in the third control group is a control of which the corresponding distance value is smaller than a preset distance threshold value or a control selected from all the controls according to the size of the corresponding distance value;
determining a fourth control group, wherein the controls in the fourth control group are controls of which the corresponding size is smaller than a preset size threshold or controls selected from all the controls according to the size of the corresponding size;
and determining the controls corresponding to the test operation in the third control group and the fourth control group according to the distance values and the sizes corresponding to the controls in the third control group and the fourth control group and by combining preset distance value weights and size weights.
5. The method of claim 1, before obtaining the user interface screenshot and the control information of the application to be tested in the mobile terminal, further comprising:
determining an installation package and a test package of an application program to be tested, wherein the test package is used for starting the application program to be tested and acquiring a user interface screenshot and control information of the application program to be tested;
and sending the installation package and the test package to the mobile terminal for installation.
6. The method of claim 5, wherein the obtaining of the user interface screenshot and the control information of the application to be tested in the mobile terminal comprises:
sending a starting instruction to the mobile terminal, wherein the starting instruction is used for starting the test packet;
and receiving the user interface screenshot and the control information of the application program to be tested, which are sent by the mobile terminal.
7. The method of claim 1, wherein after determining operation information for a test operation performed on the user interface screenshot during script recording, the method further comprises:
determining an operation instruction corresponding to the test operation, wherein the operation instruction is used for instructing the application program to be tested to execute the same operation as the test operation;
sending the operation instruction to the mobile terminal, and receiving a user interface screenshot returned by the mobile terminal after the application program to be tested executes the operation instruction;
and updating the operation interface according to the returned screenshot of the user interface, wherein the operation interface is used for displaying the screenshot of the user interface.
8. A script recording apparatus, comprising:
the system comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring a user interface screenshot and control information of an application program to be tested in the mobile terminal, and the control information is used for describing a control in the user interface screenshot; the script recording software sends a request to the mobile terminal to instruct the mobile terminal to intercept a user interface screenshot of an application program to be tested in an open state and return the user interface screenshot and control information to the pc end together;
the determining module is used for determining operation information of the test operation executed on the user interface screenshot in the script recording process; the pc end displays the user interface screenshot on the operation interface so that a user can execute test operation on the user interface screenshot, and monitors the test operation of the user through the operation monitor and generates corresponding operation information;
the input module is used for determining a control corresponding to the test operation according to the operation information and the control information and inputting the determined control information of the control and the operation information of the test operation into a script; the script recording software acquires a control tree based on the control information, then determines a control which a user wants to operate from the control tree based on the operation information, and records the test operation of the control and the control information of the control into the script;
the input module is used for determining first coordinate information of the test operation in the user interface screenshot according to the operation information; determining a distance value between second coordinate information of a control in the control information and the first coordinate information, wherein the second coordinate information is coordinate information of a central point of the control in the user interface screenshot; and determining the control corresponding to the test operation according to the size of the control in the control information and the distance value.
9. The device according to claim 8, wherein the entry module is configured to determine a first control group, where the controls in the first control group are controls whose corresponding distance values are smaller than a preset distance threshold or controls selected from all the controls according to the size of the corresponding distance value; and determining the control corresponding to the test operation in the first control group by combining preset distance value weight and size weight according to the distance value and the size corresponding to the control in the first control group.
10. The device according to claim 8, wherein the entry module is configured to determine a second control group, where the controls in the second control group are controls whose corresponding size is smaller than a preset size threshold or controls selected from all the controls according to the size of the corresponding size; and determining the control corresponding to the test operation in the second control group by combining preset distance value weight and size weight according to the distance value and the size corresponding to the control in the second control group.
11. The device according to claim 8, wherein the entry module is configured to determine a third control group, where the control in the third control group is a control whose corresponding distance value is smaller than a preset distance threshold or a control selected from all the controls according to the size of the corresponding distance value; determining a fourth control group, wherein the controls in the fourth control group are controls of which the corresponding size is smaller than a preset size threshold or controls selected from all the controls according to the size of the corresponding size; and determining the controls corresponding to the test operation in the third control group and the fourth control group according to the distance values and the sizes corresponding to the controls in the third control group and the fourth control group and by combining preset distance value weights and size weights.
12. The apparatus of claim 8, further comprising: a first processing module;
the first processing module is used for determining an installation package and a test package of an application program to be tested, wherein the test package is used for starting the application program to be tested and acquiring a user interface screenshot and control information of the application program to be tested; and sending the installation package and the test package to the mobile terminal for installation.
13. The apparatus according to claim 12, wherein the obtaining module is configured to send a start instruction to the mobile terminal, where the start instruction is used to start the test packet; and receiving the user interface screenshot and the control information of the application program to be tested, which are sent by the mobile terminal.
14. The apparatus of claim 8, further comprising: a second processing module;
the second processing module is configured to determine an operation instruction corresponding to the test operation, where the operation instruction is used to instruct the application program to be tested to perform the same operation as the test operation; sending the operation instruction to the mobile terminal, and receiving a user interface screenshot returned by the mobile terminal after the application program to be tested executes the operation instruction; and updating the operation interface according to the returned screenshot of the user interface, wherein the operation interface is used for displaying the screenshot of the user interface.
15. An application testing apparatus, comprising: a memory and a processor, wherein:
a memory for storing a program;
the processor is used for executing the program stored in the memory and specifically executing:
acquiring a user interface screenshot and control information of an application program to be tested in a mobile terminal, wherein the control information is used for describing a control in the user interface screenshot; the script recording software sends a request to the mobile terminal to instruct the mobile terminal to intercept a user interface screenshot of an application program to be tested in an open state and return the user interface screenshot and control information to the pc end together;
determining operation information of test operation executed on the user interface screenshot in the script recording process; the pc end displays the user interface screenshot on the operation interface so that a user can execute test operation on the user interface screenshot, and monitors the test operation of the user through the operation monitor and generates corresponding operation information;
determining a control corresponding to the test operation according to the operation information and the control information, and inputting the determined control information of the control and the operation information of the test operation into a script; the script recording software acquires a control tree based on the control information, then determines a control which a user wants to operate from the control tree based on the operation information, and records the test operation of the control and the control information of the control into the script;
wherein the determining the control corresponding to the test operation according to the operation information and the control information includes:
the script recording software determines first coordinate information of the test operation in the user interface screenshot according to the operation information;
determining a distance value between second coordinate information of a control in the control information and the first coordinate information, wherein the second coordinate information is coordinate information of a central point of the control in the user interface screenshot;
and determining the control corresponding to the test operation according to the size of the control in the control information and the distance value.
16. A computer-readable storage medium storing one or more programs which, when executed by an electronic device including a plurality of application programs, cause the electronic device to perform a method of:
acquiring a user interface screenshot and control information of an application program to be tested in a mobile terminal, wherein the control information is used for describing a control in the user interface screenshot; the script recording software sends a request to the mobile terminal to instruct the mobile terminal to intercept a user interface screenshot of an application program to be tested in an open state and return the user interface screenshot and control information to the pc end together;
determining operation information of test operation executed on the user interface screenshot in the script recording process; the pc end displays the user interface screenshot on the operation interface so that a user can execute test operation on the user interface screenshot, and monitors the test operation of the user through the operation monitor and generates corresponding operation information;
determining a control corresponding to the test operation according to the operation information and the control information, and inputting the determined control information of the control and the operation information of the test operation into a script; the script recording software acquires a control tree based on the control information, then determines a control which a user wants to operate from the control tree based on the operation information, and records the test operation of the control and the control information of the control into the script;
wherein the determining the control corresponding to the test operation according to the operation information and the control information includes:
the script recording software determines first coordinate information of the test operation in the user interface screenshot according to the operation information;
determining a distance value between second coordinate information of a control in the control information and the first coordinate information, wherein the second coordinate information is coordinate information of a central point of the control in the user interface screenshot;
and determining the control corresponding to the test operation according to the size of the control in the control information and the distance value.
CN201710536859.8A 2017-07-04 2017-07-04 Script recording method and device Active CN107193750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710536859.8A CN107193750B (en) 2017-07-04 2017-07-04 Script recording method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710536859.8A CN107193750B (en) 2017-07-04 2017-07-04 Script recording method and device

Publications (2)

Publication Number Publication Date
CN107193750A CN107193750A (en) 2017-09-22
CN107193750B true CN107193750B (en) 2020-09-22

Family

ID=59880747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710536859.8A Active CN107193750B (en) 2017-07-04 2017-07-04 Script recording method and device

Country Status (1)

Country Link
CN (1) CN107193750B (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763086A (en) * 2018-05-31 2018-11-06 康键信息技术(深圳)有限公司 Script method for recording, terminal and computer readable storage medium based on remote real machine
CN109189682B (en) * 2018-08-27 2022-03-22 北京云测信息技术有限公司 Script recording method and device
CN109408377A (en) * 2018-09-29 2019-03-01 北京京东金融科技控股有限公司 Control recognition methods, device, system and computer readable storage medium
CN109542775B (en) * 2018-11-05 2021-07-30 北京云测信息技术有限公司 Test script generation and execution method and device
CN109840201B (en) * 2018-12-15 2023-07-18 中国平安人寿保险股份有限公司 UI test method, device, electronic equipment and computer readable storage medium
CN109656827B (en) * 2018-12-17 2021-10-19 北京云测信息技术有限公司 Control tree generation method and terminal equipment
CN109684225A (en) * 2018-12-29 2019-04-26 广州云测信息技术有限公司 A kind of method for testing software and device
CN109871316A (en) * 2019-01-10 2019-06-11 北京云测信息技术有限公司 A kind of control recognition methods and device
CN109871324B (en) * 2019-01-29 2022-03-01 北京云测信息技术有限公司 Control operation method and device
CN109871326B (en) * 2019-02-13 2022-03-15 北京云测信息技术有限公司 Script recording method and device
CN110046009B (en) * 2019-02-19 2022-08-23 创新先进技术有限公司 Recording method, recording device, server and readable storage medium
CN109978044B (en) * 2019-03-20 2021-03-19 广州云测信息技术有限公司 Training data generation method and device, and model training method and device
CN110837474A (en) * 2019-11-13 2020-02-25 北京博睿宏远数据科技股份有限公司 Script recording method, device, terminal and storage medium
CN111124567B (en) * 2019-12-02 2021-06-25 腾讯科技(深圳)有限公司 Operation recording method and device for target application
CN112231206A (en) * 2020-09-30 2021-01-15 广州掌动智能科技有限公司 Script editing method for application program test, computer readable storage medium and test platform
CN112231207A (en) * 2020-09-30 2021-01-15 广州掌动智能科技有限公司 Multi-machine testing method for application program testing, computer readable storage medium and testing platform
CN112578979B (en) * 2020-12-28 2023-04-18 中国建设银行股份有限公司 Method and device for generating operation script, readable medium and equipment
CN113076257A (en) * 2021-04-19 2021-07-06 西安闻泰信息技术有限公司 Test script recording method, device, medium and computer equipment
CN113253891B (en) * 2021-05-13 2022-10-25 展讯通信(上海)有限公司 Terminal control method and device, storage medium and terminal
CN113282488B (en) * 2021-05-13 2022-11-25 展讯通信(上海)有限公司 Terminal test method and device, storage medium and terminal
CN113934353A (en) * 2021-09-30 2022-01-14 北京五八信息技术有限公司 Information processing method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9098313B2 (en) * 2009-08-24 2015-08-04 Kryon Systems Ltd. Recording display-independent computerized guidance
CN102169416A (en) * 2011-04-27 2011-08-31 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for page jump of touch panel
CN105740151B (en) * 2016-02-03 2018-05-08 惠州Tcl移动通信有限公司 A kind of mobile terminal UI controls check processing method and system
CN106021099A (en) * 2016-05-12 2016-10-12 上海联彤网络通讯技术有限公司 System and method for achieving UI automatic test of intelligent terminal

Also Published As

Publication number Publication date
CN107193750A (en) 2017-09-22

Similar Documents

Publication Publication Date Title
CN107193750B (en) Script recording method and device
US10565097B2 (en) Orchestrating and providing a regression test
WO2019161619A1 (en) Automatic interface test method and apparatus, and device and computer-readable storage medium
CN110515795B (en) Big data component monitoring method and device and electronic equipment
CN107800757B (en) User behavior recording method and device
CN105607986A (en) Acquisition method and device of user behavior log data
CN110765026A (en) Automatic testing method and device, storage medium and equipment
CN114546738B (en) Universal test method, system, terminal and storage medium for server
WO2017049893A1 (en) Application program testing method, testing apparatus, and mobile terminal
CN112099800A (en) Code data processing method and device and server
CN112581018A (en) Process task management method, system, device and storage medium
CN115935035A (en) RPA flow visualization management method, device, equipment and readable storage medium
CN112905441A (en) Test case generation method, test method, device and equipment
CN113448862B (en) Software version testing method and device and computer equipment
CN111309743A (en) Report pushing method and device
CN110889116B (en) Advertisement interception method and device and electronic equipment
CN106484604B (en) Application test control method and device
CN109542775B (en) Test script generation and execution method and device
CN109995931B (en) Method and device for realizing automatic calling
CN103902445A (en) Regression test object determination method and device
CN112631949B (en) Debugging method and device, computer equipment and storage medium
CN113641628B (en) Data quality detection method, device, equipment and storage medium
CN110908876B (en) Method and device for acquiring hardware performance data
US9792202B2 (en) Identifying a configuration element value as a potential cause of a testing operation failure
CN108415822B (en) Random 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
GR01 Patent grant
GR01 Patent grant