CN110716853A - Test script recording method, application program testing method and related device - Google Patents

Test script recording method, application program testing method and related device Download PDF

Info

Publication number
CN110716853A
CN110716853A CN201810772364.XA CN201810772364A CN110716853A CN 110716853 A CN110716853 A CN 110716853A CN 201810772364 A CN201810772364 A CN 201810772364A CN 110716853 A CN110716853 A CN 110716853A
Authority
CN
China
Prior art keywords
script
application program
recording
test script
test
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
CN201810772364.XA
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.)
China Mobile Communications Group Co Ltd
China Mobile Information Technology Co Ltd
Original Assignee
Medium Shift Information Technology Co Ltd
China Mobile Communications Group 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 Medium Shift Information Technology Co Ltd, China Mobile Communications Group Co Ltd filed Critical Medium Shift Information Technology Co Ltd
Priority to CN201810772364.XA priority Critical patent/CN110716853A/en
Publication of CN110716853A publication Critical patent/CN110716853A/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/3688Test management for test execution, e.g. scheduling of test suites

Abstract

The invention discloses a test script recording method, an application program testing method and a related device, wherein after a test script recording request is received, an application program is started according to identification information of the application program carried in the request; identifying and recording each operation executed by a user aiming at the application program and element information of an interface displayed by the application program when each operation is executed; and recording the test script according to each recorded operation and element information thereof, and sending the test script to a server for storage. By adopting the method, after the test script recording request is received, the recording is carried out only in the test script recording terminal, the recording can be carried out without being connected to a PC machine in the prior art, the interaction between the terminal and the PC machine is not needed, and the efficiency of recording the test script is effectively improved; in addition, the invention only needs to record the test script on the terminal, so the compatibility of the recorded test script is stronger, and moreover, because the PC is not needed, the application scene of the invention is wider.

Description

Test script recording method, application program testing method and related device
Technical Field
The invention relates to the technical field of automatic testing, in particular to a test script recording method, an application program testing method and a related device.
Background
With the popularization of smart phones and 4G high-speed networks, internet surfing using smart phones has become the most important internet surfing mode of people. Various mobile phone applications APP emerge endlessly, and touch screen mobile phone websites also become important channels for enterprise marketing. How to perform efficient function test on mobile phone APP and touch screen mobile phone websites becomes a difficult problem for testers.
With the development of technology, some real-machine automatic testing systems are available at home and abroad, the functions of mobile phone APP and touch screen mobile phone websites can be tested, generally, a PC is required to be used for recording scripts and editing the scripts based on interface elements, and the process of playing back the test scripts to acquire the information of the interface elements of the mobile phone is time-consuming, the process of editing the scripts is easy to make mistakes, and if no USB line or computer exists at the side, the script recording mode depending on the PC side has obvious scene limitation. That is to say, the degree of automation, convenience, high efficiency and compatibility of the functional test provided by the prior art are low, and for the testers who need to automatically record the test process on the mobile phone end in real time and can replay the test process on the local mobile phone or other remote test genuine machines, the functional test of the mobile phone APP provided by the automatic test of the genuine machines can not meet the use requirements.
Therefore, how to improve the efficiency of script recording and solve the problem of low convenience caused by using a PC terminal to record and play back scripts in the prior art is the first problem to be considered by computers.
Disclosure of Invention
The embodiment of the invention provides a test script recording method, an application program test method and a related device, which are used for improving the script recording efficiency and avoiding the problem of low convenience caused by the use of a PC (personal computer) end for script recording and playback.
In a first aspect, an embodiment of the present invention provides a method for recording a test script, including:
after receiving a test script recording request, starting an application program according to identification information of the application program carried in the request; and are
Identifying and recording each operation executed by a user aiming at the application program and element information of an interface displayed by the application program when each operation is executed;
and recording the test script according to each recorded operation and element information thereof, and sending the test script to a server for storage.
Therefore, after a test script recording request is received, recording is carried out only in the test script recording terminal, the recording can be carried out without being connected to a PC (personal computer) in the prior art, interaction between the terminal and the PC is not needed, and the efficiency of recording the test script is effectively improved.
Preferably, the identifying and recording element information of each operation executed by the user for the application program and the interface displayed by the application program when each operation is executed specifically includes:
and identifying and recording each operation executed by the user aiming at the application program and the element information of the interface displayed by the application program when each operation is executed by utilizing an interface element information analysis interface in the UI automation Viewer tool.
Optionally, recording a test script according to each recorded operation and element information thereof, and specifically including:
acquiring test script configuration information;
and recording the test script according to the test script configuration information and the recorded each operation and element information thereof.
Preferably, the obtaining of the test script configuration information specifically includes:
displaying a script configuration interface to a user after receiving a script editing request triggered by a script recording main interface displayed to the user;
and acquiring test script configuration information based on script configuration information input by a user aiming at the script configuration interface.
Optionally, the script configuration information may include, but is not limited to, service information of a terminal where the application program is located and script running information that needs to be exposed when the test script is executed.
Preferably, the element information includes at least one of: an element ID, an element name, and location information of the element in the interface.
In a second aspect, an embodiment of the present invention provides an application program testing method, including:
when an application program test instruction is received, sending a test script acquisition request of the application program to a server; and
receiving a test script of the application program issued by a server, wherein the test script is generated by adopting the test script recording method provided by the invention and is stored in the server;
and testing the application program by using the test script.
By adopting the application program testing method provided by the invention, only the testing script of the application program obtained based on the testing script recording method provided by the invention needs to be downloaded from the server, and then the application program is directly tested on the terminal equipment provided with the application program, so that the automation degree of testing the terminal equipment, especially the application program in the smart phone, is greatly improved, and the portability, the accuracy and the compatibility of the test are also improved.
Preferably, the method further comprises:
and outputting and displaying a test result, wherein the test result comprises script execution detail information.
In a third aspect, an embodiment of the present invention provides a test script recording apparatus, including:
the device comprises a starting unit and a control unit, wherein the starting unit is used for starting an application program according to identification information of the application program carried in a request after receiving a test script recording request;
the identification unit is used for identifying and recording each operation executed by a user aiming at the application program and element information of an interface displayed by the application program when each operation is executed;
and the recording unit is used for recording the test script according to each recorded operation and element information thereof and sending the test script to the server for storage.
Preferably, the identifying unit is specifically configured to identify and record each operation executed by the user for the application program and element information of an interface displayed by the application program when each operation is executed, by using an interface element information parsing interface in the UI automation Viewer tool.
Preferably, the recording unit is specifically configured to acquire test script configuration information; and recording the test script according to the test script configuration information and the recorded each operation and element information thereof.
Preferably, the recording unit is specifically configured to display a script configuration interface to the user when receiving a script editing request triggered based on a script recording main interface displayed to the user; and acquiring test script configuration information based on script configuration information input by a user aiming at the script configuration interface.
Optionally, the script configuration information may include, but is not limited to, service information of a terminal where the application program is located and script running information that needs to be exposed when the test script is executed.
Preferably, the element information includes at least one of: an element ID, an element name, and location information of the element in the interface.
In a fourth aspect, an embodiment of the present invention provides an application testing apparatus, including:
the device comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending a test script acquisition request of an application program to a server when receiving an application program test instruction;
the receiving unit is used for receiving the test script of the application program sent by the server, wherein the test script is generated by adopting the test script recording method provided by the invention and is stored in the server;
and the test unit is used for testing the application program by utilizing the test script.
Preferably, the apparatus further comprises:
and the output unit is used for outputting and displaying the test result, and the test result comprises script execution detail information.
In a fifth aspect, an embodiment of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the program, the test script recording method according to any one of the claims provided in the application is implemented, or the application program testing method according to any one of the claims provided in the application is implemented.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the test script recording method according to any one of the embodiments provided herein, or implements the steps in the application program testing method according to any one of the embodiments provided herein.
The invention has the beneficial effects that:
according to the test script recording method, the application program test method and the related device provided by the embodiment of the invention, after a test script recording request is received, the application program is started according to the identification information of the application program carried in the request; identifying and recording each operation executed by a user aiming at the application program and element information of an interface displayed by the application program when each operation is executed; and recording the test script according to each recorded operation and element information thereof, and sending the test script to a server for storage. By adopting the method, after the test script recording request is received, the recording is carried out only in the test script recording terminal, the recording can be carried out without being connected to a PC machine in the prior art, the interaction between the terminal and the PC machine is not needed, and the efficiency of recording the test script is effectively improved; in addition, the invention only needs to record the test script on the terminal, so the compatibility of the recorded test script is stronger, and moreover, because the PC is not needed, the application scene of the invention is wider.
Further, when an application program test instruction is received, sending a test script acquisition request of the application program to a server; receiving a test script of the application program issued by the server, wherein the test script is generated by adopting the test script recording method provided by the invention and is stored in the server; and testing the application program by using the test script. By adopting the application program testing method provided by the invention, the testing script is uploaded to the server, so that other smart phones do not need to be connected with a PC (personal computer) when testing the application program, the downloaded testing script can be used for testing the application program by only downloading the testing script of the application program from the server, and the automation of testing the application program is greatly improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1a is a schematic structural diagram of a system for recording a test script and testing an application according to an embodiment of the present invention;
fig. 1b is a schematic flowchart of a test script recording method according to an embodiment of the present invention;
fig. 2 is a schematic main interface diagram of an automatic test script recording program according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a script recording main interface according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a script addition interface provided in an embodiment of the present invention;
FIG. 5 is a schematic diagram of an application selection interface according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a script configuration interface provided by an embodiment of the present invention;
FIG. 7 is a schematic diagram of a script detail viewing interface provided by an embodiment of the present invention;
FIG. 8 is a schematic diagram of a script step detail viewing interface provided by an embodiment of the present invention;
FIG. 9 is a flowchart illustrating an application testing method according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of a script playback interface provided by an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a test script recording apparatus according to an embodiment of the present invention;
FIG. 12 is a schematic structural diagram of an application test apparatus according to the present invention;
fig. 13 is a schematic diagram of a hardware structure of a terminal device implementing the test script recording method or the application program testing method provided by the present invention.
Detailed Description
The test script recording method, the application program test method and the related device provided by the embodiment of the invention are used for improving the script recording efficiency and avoiding the problem of low convenience caused by the use of a PC (personal computer) end for recording and playing back the script.
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings of the specification, it being understood that the preferred embodiments described herein are merely for illustrating and explaining the present invention, and are not intended to limit the present invention, and that the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
To facilitate understanding of the invention, the present invention relates to technical terms in which:
1. UI Automator Viewer, a graphical interface tool to scan and analyze UI controls for applications.
2. The operation performed by the user for the application: click operation, slide operation, and the like.
3. Element information: control information or webpage link information and the like in an interface displayed to a user by an application program, wherein the control information can include but is not limited to a control ID, a control name, coordinate information of the control in the interface and the like; the web page link information may be a Uniform Resource Locator (URL).
4. An application program, which is a computer program capable of performing one or more specific tasks, has a visual display interface and can interact with a user, and for example, an electronic map, a WeChat, and the like can be referred to as an application program.
Although the prior art can record the test script of the mobile phone APP and play back the test script on other mobile phones, the following disadvantages exist in the technical solutions: or the script can only be recorded based on the coordinate information, the recorded operation is not accurate enough and cannot be compatible with different mobile phone terminals with different resolutions, and the compatibility adaptation adjustment needs to be carried out at a later stage; or the mobile phone needs to be connected with the PC terminal by using a USB cable, and the script recording and editing are performed on the PC terminal based on the interface element, the process of acquiring the information of the interface element of the mobile phone is time-consuming, the process of editing the script is easy to make mistakes, and if there is no USB cable or computer nearby, the script recording mode depending on the PC terminal has obvious scene limitation.
In order to solve the problems of low script recording efficiency and low convenience caused by using a PC terminal to record scripts in the prior art, the invention provides a solution, and refers to a structural schematic diagram of a system for recording test scripts and testing application programs shown in FIG. 1, wherein the system comprises a test script recording terminal, a server and at least one terminal device (1-n) containing an application program to be tested, and after receiving a test script recording request, the test script recording terminal starts the application program according to identification information of the application program carried in the request; identifying and recording each operation executed by the user aiming at the application program and element information of an interface displayed by the application program when each operation is executed; recording a test script according to each recorded operation and element information thereof; then, the test script recording terminal sends the test script generated by the method to the server for storage, so that when a user holding the terminal device i needs to test an application program in the user, an application program test instruction is triggered, and when the terminal device i receives the application program test instruction, a test script acquisition request of the application program is sent to the server; and after receiving the test script, the terminal device i tests the application program by using the test script, and outputs and displays a test result. The invention directly generates the script test program on the test script recording terminal without connecting to the PC through USB, thereby improving the script recording efficiency and simultaneously solving the problem of lower convenience brought by using the PC terminal to record the script in the prior art; in addition, after the test script is recorded by the test script recording terminal, the test script is sent to the server, so that when a user tests the application program in the terminal equipment, the user only needs to download the test script of the application program from the server to test the application program, and the participation of a PC (personal computer) is not needed, thereby greatly improving the automation degree, convenience, accuracy and compatibility of the function test of the application program in the terminal equipment.
The script recording terminal, the at least one terminal device provided with the application program and the server are in communication connection through a network, and the network can be a local area network, a wide area network and the like. The script recording terminal and the terminal device can be portable devices (such as mobile phones, tablets, notebook computers and the like), the server can be any device capable of providing internet services, and the application program can be any application program needing to be tested, such as China Mobile APP, Paibao, WeChat and QQ and the like.
Recording of test scripts provided according to an exemplary embodiment of the present invention is described below with reference to fig. 1 b-12 in conjunction with the system architecture diagram of fig. 1 a. It should be noted that the above application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present invention, and the embodiments of the present invention are not limited in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
As shown in fig. 1b, which is a schematic flowchart of a test script recording method according to an embodiment of the present invention, the method provided by the present invention is described by taking an application to a test script recording terminal as an example, and the method includes the following steps:
and S11, after receiving the test script recording request, starting the application program according to the identification information of the application program carried in the request.
Specifically, the test script recording request is triggered according to the following process:
when a user needs to record a test script of an application program, a main interface of the test script automatic recording program arranged in a test script recording terminal is opened, referring to fig. 2, a script recording button in fig. 2 is an entrance for recording the test script, the user can be a tester, the tester is taken as an example for explanation, the tester triggers a script recording instruction by clicking the script recording button on the main interface, and thus the test script recording terminal jumps to the script recording main interface shown in fig. 3 after receiving the recording instruction, and the script recording main interface comprises a script adding button, a script name list, a script editing button, a script recording button and a script uploading button. The tester can trigger a new test script recording instruction by clicking a newly added script button, so that the test script recording terminal can jump to a newly added script interface shown in fig. 4 after receiving the instruction, the tester can determine the script name of the currently recorded test script according to an agreed naming rule, then the script name named by the tester is added to a script name list shown in fig. 3 by clicking the determining button in fig. 4, and then the tester can jump to an application program selection interface shown in fig. 5 by clicking the script recording button, so that a user can select an application program for recording the test script based on the application selection interface. The application selection interface in fig. 5 may display names, package names, icons, and the like of all applications installed on the current test script recording terminal, where the icons may be, but are not limited to, logos and the like. The tester can select an application program to record the test script of the application program based on the interface, and then click the script recording button in fig. 3 to trigger the test script recording request.
Preferably, after the tester clicks the script adding button, the name of the script can be input in the input box of the script adding interface shown in fig. 4, after the click is determined, the script recording main interface shown in fig. 3 is returned, and meanwhile, the name of the newly added script appears in the script name list; when the tester clicks the cancel button, the tester directly returns to the script recording main interface; when the script name input by the tester is consistent with the script name recorded by the script name list, a dialog box which covers the local script with the same name or not is popped up, when the tester clicks a determined button in the dialog box, the dialog box can return to a script recording main interface, meanwhile, the script with the same name in the script name list is covered, and when the tester clicks a cancel button in the dialog box, the script name can be continuously modified.
Preferably, considering that the display interface of the test script recording terminal is limited, the application list in the application selection interface shown in fig. 5 of the present invention can only display the related information of a plurality of applications once, so in order to display more applications, the present invention provides a function of obtaining more related information of applications by pulling down, and when a tester pulls down the application list, it is convenient to display more applications.
After receiving a test script recording request triggered by a tester based on the description, the test script recording terminal starts the application program according to the identification information of the application program carried in the test request, namely, jumps to the main interface of the application program, and the tester can click a script recording button on the main interface to start script recording.
The identification information of the application program may be, but is not limited to, a package name, a name, an icon, and the like of the application program.
Specifically, in the present invention, when acquiring the application program list based on the application program selection interface shown in fig. 5, a Package Manager class may be used to acquire all application programs in the test script recording terminal, since using the Package Manager class is a time-consuming operation, when requesting an application program, the present invention proposes that a child thread may be opened, after the application program request is completed, a handler is used to send a successful message to the main thread, a UI is updated in the main thread, and opening the child thread effectively avoids a stuck phenomenon when acquiring the application program list, thereby reducing the possibility of application program no response (ANR) occurring in the program. After the application program is selected, the operation of obtaining an interface across the application program can be a touch event through an Android event distribution mechanism, then the type of the current gesture is judged through a gesture recognizer, whether the current gesture is a sliding operation, a clicking operation or other operation is judged, and then the current gesture is stored in an Android lightweight built-in database sqlite.
And S12, identifying and recording each operation executed by the user aiming at the application program and element information of the interface shown by the application program when each operation is executed.
Specifically, after the test script recording terminal starts the application program, in order to generate the test script of the application program, a tester may execute a series of operations based on the application program, and the application program may respond to the operations executed by the tester, so that the test script recording terminal may open a service in the background to identify each operation executed by the tester based on the application program, and record element information in an interface displayed when the application program responds to each operation. The operation in the present invention may be, but is not limited to, a click operation, a slide operation, no operation, a text input, and other test operations, meanwhile, the element information that the application program presents on the interface in response to the operation of the tester may be, but is not limited to, an element ID, an element name, and position information of the element in the interface, and the position information of the element in the interface may be coordinate information.
Specifically, when recording a script, whether the current operation is a click or a slide can be determined by the operation of a finger. If the current mobile phone is clicked, the current clicked element information is recorded, and the element information is obtained by analyzing the current mobile phone XML information by using the UIAutomator Viewer developed secondarily and then packaged into a tree structure. The element information preferentially acquires the element ID of the element; when the value of the attribute is null, the attribute of text of the element, namely the element name, is taken; if the current interface is a null value, the coordinate information, namely the coordinate value, of the element in the current interface is recorded. When the finger operation is judged to be a slide, two coordinate values, namely a start point and an end point of the slide, are recorded.
Preferably, step S12 may be performed according to the following procedure:
and identifying and recording each operation executed by the user aiming at the application program and the element information of the interface displayed by the application program when each operation is executed by utilizing an interface element information analysis interface in the UI automation Viewer tool.
Specifically, the method transplants and modifies part of codes of the UI Automator Viewer through the SDK, customizes an interface element information analysis interface in the UI Automator Viewer, acquires element information of the interface and forms XML data by calling the interface, and converts the XML data into tree-structure data. When the interface of the application program in the test script recording terminal is operated, the terminal can obtain the coordinates of the click interface. Because the tree structure data is recursively packaged by taking each control node as a demarcation point, the terminal can search the element corresponding to the coordinate through a recursive analysis algorithm, and then record the related information of the element into a fixed script format.
It should be noted that the test script recording terminal may be an Android terminal, and the expression manner of Toast in the Android terminal is as follows: when the XML is analyzed, a layer is covered on the interface of the mobile phone to intercept the touch event of the finger. When the interface is not analyzed, the tester cannot operate the mobile phone, various misoperation is prevented, the recording accuracy is ensured, and the user experience is improved. And after XML analysis is finished, event interception is cancelled, the mobile phone recovers the operation, and the operation is obtained to continue recording.
And S13, recording the test script according to each recorded operation and element information thereof, and sending the test script to the server for storage.
After the test script is recorded, a tester can trigger and send a test script instruction by clicking a script uploading button in fig. 3, and after the test script recording terminal receives the instruction, the recorded test script can be uploaded to a remote server, and a script storage module arranged in the server stores the received test script. Specifically, the test script recording terminal may send the test script of the application program to the server through http.
Preferably, the present invention further records the sending order between operations, the operation objects, the operation types, and the like when recording each operation and the element information thereof, and when executing step S13, the following procedure may be executed: generating script information of the operation according to each operation and element information thereof and the sending sequence of the operation, and then recording a test script based on the script information of each operation. The script information corresponding to each operation is generated by default, or may be edited, including the transmission order, the operation object, the operation type, and the like.
Preferably, step S13 may be performed according to the following procedure:
the method comprises the following steps: and acquiring the configuration information of the test script.
Preferably, the test script configuration information may be obtained according to the following procedures: displaying a script configuration interface to a user after receiving a script editing request triggered by a script recording main interface displayed to the user; and acquiring test script configuration information based on script configuration information input by a user aiming at the script configuration interface.
In specific implementation, when a tester clicks a script editing button in the script recording main interface shown in fig. 3, a script editing request is triggered, and after receiving the request, the test script recording terminal jumps to the script configuration interface shown in fig. 6. The tester can input the script configuration information required for recording the test script in the script configuration interface shown in fig. 6.
Preferably, the script configuration information in the present invention may include, but is not limited to: the service information of the terminal where the application program is located and the script running information which needs to be displayed when the test script is executed. The service information of the terminal where the application program is located includes, but is not limited to, a service name, a province, an operator, a terminal brand, an extraction type, a probe service platform, a probe terminal, and the like. Script run information may include, but is not limited to, sending order, operation type, request description, operation object, operation value, success key 1, success key 2, failure key, timestamp type, and timestamp name, among others.
Specifically, the script configuration interface shown in fig. 6 includes a script configuration information list and a script detail button. The script configuration information list is the service information of the terminal where the application program is located (i.e., the test script recording terminal in the present invention), and referring to fig. 6, a tester can edit the information in the script configuration information list, specifically, only a value of the service information needs to be selected in a radio box popped up corresponding to each service information, each service information has a default value, and if the tester does not perform any configuration, the default value is the default value.
When the script detail button in fig. 6 is clicked, the user jumps to a script detail viewing interface shown in fig. 7, which displays all steps, sending sequence, operation types, and operation objects contained in the test script to the tester. When any script in fig. 7 is clicked, the process jumps to a script step detail viewing interface shown in fig. 8, and the interface can show script execution information corresponding to each operation executed by the tester on the application program, that is, script execution information including a sending sequence, an operation type, an operation object, and the like, to the tester.
It should be noted that, in the present invention, the request description, the operation value, the success keyword, the failure keyword, the timestamp type, and the timestamp name may be selectively configured, where the success keyword and the failure keyword may be used to assist in determining whether the service test is successful. When a successful key is configured, information associated with the successful key may be present in the test script to verify the success and failure of the test when testing the application.
The tester can configure the service information of the terminal where the application program is located and the script running information required to be displayed for executing the test script according to the interfaces displayed in fig. 6 to 8, so that the test script recording terminal can obtain the test script configuration information.
Step two: and recording the test script according to the test script configuration information and the recorded each operation and element information thereof.
And recording the test script of the application program based on the test script configuration information acquired in the step one and each operation and element information thereof recorded in the step S12.
Preferably, the cancel and complete suspension buttons are displayed to the tester at the upper right corner of the recording interface in the recording process, and the tester can choose to cancel the operation or complete the recording of the test script.
Preferably, a project framework of BaseActivity + BaseFragment can be adopted, so that the fluency and efficiency of interface switching during recording can be greatly improved, meanwhile, the expandability is strong, and the addition of other modules is more convenient.
It should be noted that, in the present invention, a script recording module may be disposed in the test script recording terminal, and the script recording module executes the test script recording method shown in steps S11 to S13.
By adopting the test script recording method provided by the invention, after a test script recording request is received, the application program is started according to the identification information of the application program carried in the request; identifying and recording each operation executed by the user aiming at the application program and element information of an interface displayed by the application program when each operation is executed; and recording the test script according to each recorded operation and element information thereof, and sending the test script to a server for storage. By adopting the method, after the test script recording request is received, the recording is carried out only in the test script recording terminal, the recording can be carried out without being connected to a PC machine in the prior art, the interaction between the terminal and the PC machine is not needed, and the efficiency of recording the test script is effectively improved; in addition, the invention only needs to record the test script on the terminal, so the compatibility of the recorded test script is stronger, and moreover, because the PC is not needed, the application scene of the invention is wider.
After the test script is recorded, the present invention further provides a method for testing an application program based on the test script provided by the present invention, as shown in fig. 9, the method for testing an application program may include the following steps:
and S21, when receiving the application program test instruction, sending a test script acquisition request of the application program to the server.
In this step, when a user needs to test an application program in the terminal device, the user may click a script playback button in the main interface of the test script automatic recording program shown in fig. 2, so that the terminal device may receive an application program test instruction triggered by the user and send a test script acquisition request of the application program to the server, where the request may carry identification information of the application program.
Specifically, when the tester clicks the script playback button shown in fig. 2, that is, a test script test instruction is triggered, the terminal device jumps to the script playback interface shown in fig. 10, where the script playback interface includes a script name, a script execution state flag, a script execution button, and a script execution information display area; and meanwhile, sending a test script acquisition request to the server through an http request.
And S22, receiving the test script of the application program sent by the server.
After receiving the test script acquisition request, the server searches for the test script corresponding to the application program, and then issues the test script to the terminal device. It should be noted that, when the server receives the test script uploaded by the test script recording terminal, in order to facilitate downloading of test data of each application program by other terminal devices, the server may uniquely name the test script, and establish a corresponding relationship between identification information of the application program and the test script, so that the server can quickly search for the test script to be downloaded by the terminal device.
On the other hand, the server may also transmit a plurality of test scripts stored therein to the terminal device together.
Therefore, the terminal device can acquire the test script of the application program to be tested and display the test script in the script playback interface shown in fig. 10. Of course, the server may also issue all the test scripts to the terminal device, so that the terminal device may display all the test scripts in the script playback interface.
And S23, testing the application program by using the test script.
Specifically, the test script is analyzed and recorded through a secondarily developed UI Automator Viewer component, so that the recorded test script can be used for testing the application program by directly utilizing the UI Automator framework without editing.
Preferably, the script execution status flag of the present invention can generally have three states: not executed, successful, failed. If the successful keywords or the failed keywords are not configured in the script recording process, when each step in the process of testing the application program by using the test script can be successfully completed, the script execution state mark is successfully displayed, otherwise, the display is failed. If a successful keyword or a failed keyword is configured in the script recording process, the script execution state mark is successfully displayed only when the successful keyword is contained in the application program test result page element information; once a step fails to execute, or the result page element information does not contain a success keyword, or the result page element information contains a failure keyword, the script execution status flag will show a failure.
Preferably, the application program testing method provided by the present invention further comprises:
and outputting and displaying a test result, wherein the test result comprises script execution detail information.
Specifically, the execution result detailed information of the most recently executed script may be displayed in the script execution information display area in the script playback interface shown in fig. 10. The tester can also click the execution state mark of a certain script, and the script execution information display area displays the detailed information of the execution result of the script. This information helps the tester to further edit, modify or re-record the script.
It should be noted that a script playback module may be provided in the terminal device, and the script playback module executes the application program test method.
By adopting the application program testing method provided by the invention, only the testing script of the application program obtained based on the testing script recording method provided by the invention needs to be downloaded from the server, and then the application program is directly tested on the terminal equipment provided with the application program, so that the automation degree of testing the terminal equipment, especially the application program in the smart phone, is greatly improved, and the portability, the accuracy and the compatibility of the test are also improved.
In order to better understand the present invention, a method for recording a test script and a method for testing an application program based on the test script recorded by the method are further described, which take recording a test script in a smart phone and testing an application program on other smart phones as an example to explain:
firstly, opening a main interface of an automatic test script recording program arranged in the smart phone, referring to the diagram shown in FIG. 2, and then clicking a script recording button in FIG. 2 to jump to the script recording main interface shown in FIG. 3; the tester then clicks the additional button in fig. 3 to pop up the script additional interface shown in fig. 4, and after the tester can input the script name in the interface and click and determine the script name, the additional script is displayed in the script list of the script recording main interface. Clicking the record button on the right side of the newly added script item pops up the application selection interface shown in fig. 5. After the application program to be recorded is selected, the application program is automatically opened and enters a recording mode, and a tester can start recording test operation.
Secondly, after the test script is recorded, a suspension completion button at the upper right corner of the interface is clicked, the recording can be completed, the script recording main interface is returned, and the test script is automatically generated. Clicking the suspension canceling button can cancel the recording operation and return to the script recording main interface.
And thirdly, clicking an editing button of the script name list to display a script configuration interface shown in fig. 6, wherein script configuration information, which is script related information, can be configured on the interface. Clicking the script detail button will enter the script detail viewing interface shown in fig. 7, displaying the number of script detail steps and the order of the script at each step, the object of the operation and the type of the operation, clicking a certain script step entry, and displaying the script step detail viewing interface shown in fig. 8, which can further configure and edit the script at each step. The tester may also choose to configure the script according to default values without performing editing operations.
And fourthly, obtaining a final test script based on the configuration of the three steps, and then clicking an upload button on the script name list in the figure 3 to upload the recorded test script to a remote server for storage.
Fifthly, when the user needs to test the application programs on other smart phones, the user can click a script playback button in the main interface of the automatic recording program of the test scripts on other smart phones to enter the script playback interface shown in fig. 10, and click a script execution button of a certain script in a script list displayed on the script playback interface to start playback test operation, namely start the application program test flow. After the execution is completed, the script execution status flag will show success or failure. And clicking the mark, and displaying more detailed execution result information in the script execution information display area.
According to the test script recording method provided by the invention, a tester only needs to execute a function test flow of an application program once on the smart phone and record the function test flow of the application program into a fixed script format to form a test script of the application program, and then the test script is uploaded to a server for storage, so that when other smart phones test the application programs installed in the smart phones, the test script of the application program only needs to be downloaded from the server, and then the downloaded test script tests the application program; by adopting the process, when the test script is recorded, the smart phone can record the application program without being connected with a PC, so that the process is convenient and quick; meanwhile, the test script is uploaded to the server, so that other smart phones do not need to be connected with a PC (personal computer) when testing the application program, the downloaded test script can be used for testing the application program only by downloading the test script of the application program from the server, and the automation of testing the application program is greatly improved.
Furthermore, a tester can acquire each operation executed on an application program and element information on an interface displayed by the operation through a secondary development-based UI Automatographic viewer on one smart phone, and records a test script without using auxiliary tools such as a USB (universal serial bus) line and a computer. By transplanting and modifying the UIAutomatiorViewer, the invention can directly record the script at the mobile phone end without the help of a USB line and a PC end, can accurately identify the operation type of the user and each element of the mobile phone interface, and improves the convenience and the accuracy of recording the script.
In addition, the script information of each step is generated by default, and testers can edit the script information, wherein the script information comprises a sending sequence, an operation object, an operation type and the like. The request description, operation value, success key, failure key, timestamp type, and timestamp name are all selectively configurable. By utilizing the UI Automator frame, the recorded script can be directly played back at the test terminal without re-editing the script or considering the compatibility of the script, so that the workload of testers is greatly reduced, and the experience of the testers is improved.
Based on the same inventive concept, the embodiment of the invention also provides a test script recording device, and as the principle of solving the problems of the device is similar to the test script recording method, the implementation of the device can refer to the implementation of the method, and repeated parts are not described again.
As shown in fig. 11, a schematic structural diagram of a test script recording apparatus provided in the present invention includes:
the starting unit 31 is configured to start, after receiving a test script recording request, an application program according to identification information of the application program carried in the request;
the identification unit 32 is used for identifying and recording each operation executed by the user aiming at the application program and element information of an interface displayed by the application program when each operation is executed;
and the recording unit 33 is configured to record the test script according to each recorded operation and element information thereof, and send the test script to the server for storage.
Preferably, the identifying unit 32 is specifically configured to identify and record each operation executed by the user for the application program and element information of an interface displayed by the application program when each operation is executed, by using an interface element information parsing interface in the UI automation Viewer tool.
Preferably, the recording unit 33 is specifically configured to obtain configuration information of the test script; and recording the test script according to the test script configuration information and the recorded each operation and element information thereof.
Preferably, the recording unit 33 is specifically configured to, when receiving a script editing request triggered based on a script recording main interface displayed to a user, display a script configuration interface to the user; and acquiring test script configuration information based on script configuration information input by a user aiming at the script configuration interface.
Optionally, the script configuration information may include, but is not limited to, service information of a terminal where the application program is located and script running information that needs to be exposed when the test script is executed.
Preferably, the element information includes at least one of: an element ID, an element name, and location information of the element in the interface.
For convenience of description, the above parts are separately described as modules (or units) according to functional division. Of course, the functionality of the various modules (or units) may be implemented in the same or in multiple pieces of software or hardware in practicing the invention.
Based on the same inventive concept, the embodiment of the present invention further provides an application program testing apparatus, and since the principle of the apparatus for solving the problem is similar to that of the application program testing method, the implementation of the apparatus can refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 12, a schematic structural diagram of an application testing apparatus provided in the present invention includes:
a sending unit 41, configured to send a test script acquisition request of an application program to a server when receiving an application program test instruction;
the receiving unit 42 is configured to receive a test script of the application program issued by the server, where the test script is generated by using the test script recording method provided by the present invention and is stored in the server;
and a testing unit 43, configured to test the application program by using the test script.
Preferably, the apparatus further comprises:
and the output unit is used for outputting and displaying the test result, and the test result comprises script execution detail information.
Based on the same inventive concept, the embodiment of the invention provides a terminal device, which comprises a memory, a processor and a computer program, wherein the computer program is stored on the memory and can run on the processor; when the processor executes the program, the test script recording method according to any one of the embodiments of the present invention is implemented, or the application program testing method according to any one of the embodiments of the present invention is implemented.
Based on the same inventive concept, an embodiment of the present invention provides a terminal device, a schematic structural diagram of which can be shown in fig. 13, and the terminal device provided by the present invention can be, but is not limited to, a mobile phone, a tablet computer, and the like. The terminal device may include: the device comprises a memory 51, an input module 52, a transmitting module 53, a receiving module 54, an output module 55, a wireless communication module 56, a processor 57 and the like. The method specifically comprises the following steps:
memory 51 may include Read Only Memory (ROM) and Random Access Memory (RAM), and provides processor 57 with program instructions and data stored in memory 51, as well as storing an operating system of the terminal device, Application programs (APPs) (e.g., reading APPs), modules, and various data used by the terminal device, etc.
The input module 52 may include a keyboard, a mouse, a touch screen, etc. for receiving numbers, character information or touch operations input by a user, and generating input of key signals related to user settings and function control of the terminal device, for example, in an embodiment of the present invention, the input module 52 may receive click operations performed by a tester on a main interface of the automatic test script recording program, etc.
The sending module 53 may provide an interface between the terminal device and the server.
The receiving module 54 also provides an interface between the terminal device and the server.
The output module 55 may include a Display module such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), etc., wherein the Display module may be used to Display information input by or provided to a user, or menus of various terminal devices or payment platforms, user interfaces, etc. For example, the embodiment of the invention can be used for displaying a script recording main interface, a script adding interface and the like for a tester.
The wireless communication module 56 includes, but is not limited to, a wireless fidelity (WiFi) module, a bluetooth module, an infrared communication module, and the like.
The processor 57 is a control center of the terminal device, connects various parts of the entire terminal device by various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 51 and calling data stored in the memory 51, thereby performing overall monitoring of the terminal device.
Of course, the configuration of the terminal device shown in fig. 13 is merely an example, and may include more or fewer components than those shown, or some of the components may be combined, or a different arrangement of components.
Embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the test script recording method according to any one of the embodiments of the present invention, or implements the steps in the application program testing method according to any one of the embodiments of the present invention.
The test script recording device or the application program testing device provided by the embodiment of the application can be realized by a computer program. It should be understood by those skilled in the art that the above-mentioned division of the modules is only one of many divisions of the modules, and if the division into other modules or no division into modules is performed, the above-mentioned apparatus having the above-mentioned functions should be within the scope of the present application.
In some possible embodiments, aspects of the test script recording method provided by the present invention may also be implemented in the form of a program product including program code for causing a computer device to perform the steps of the test script recording method according to various exemplary embodiments of the present invention described above in this specification when the program product runs on the computer device, for example, the computer device may perform the procedures implemented in steps S11 to S13 shown in fig. 1b or the procedures implemented in steps S21 to S23 shown in fig. 9.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A 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 (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, 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.
The program product of the method for logging in an application of the embodiments of the present invention may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a computing device. However, the program product of the present invention is not limited in this regard and, in the present document, a 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.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a 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 readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device over any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., over the internet using an internet service provider).
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.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (18)

1. A test script recording method is characterized in that,
after receiving a test script recording request, starting an application program according to identification information of the application program carried in the request; and are
Identifying and recording each operation executed by a user aiming at the application program and element information of an interface displayed by the application program when each operation is executed;
and recording the test script according to each recorded operation and element information thereof, and sending the test script to a server for storage.
2. The method of claim 1, wherein identifying and recording element information of each operation executed by a user for the application program and an interface displayed by the application program when each operation is executed comprises:
and identifying and recording each operation executed by the user aiming at the application program and the element information of the interface displayed by the application program when each operation is executed by utilizing an interface element information analysis interface in the UI automation Viewer tool.
3. The method of claim 1, wherein recording the test script according to each recorded operation and element information thereof specifically comprises:
acquiring test script configuration information;
and recording the test script according to the test script configuration information and the recorded each operation and element information thereof.
4. The method of claim 3, wherein obtaining test script configuration information specifically comprises:
displaying a script configuration interface to a user after receiving a script editing request triggered by a script recording main interface displayed to the user;
and acquiring test script configuration information based on script configuration information input by a user aiming at the script configuration interface.
5. The method according to claim 3 or 4, wherein the script configuration information can include but is not limited to service information of a terminal where the application program is located and script running information required to be exposed for executing the test script.
6. The method of claim 1, wherein the element information includes at least one of: an element ID, an element name, and location information of the element in the interface.
7. An application testing method, comprising:
when an application program test instruction is received, sending a test script acquisition request of the application program to a server; and
receiving a test script of the application program issued by a server, wherein the test script is generated by adopting the method of any one of claims 1 to 6 and is stored in the server;
and testing the application program by using the test script.
8. The method of claim 7, further comprising:
and outputting and displaying a test result, wherein the test result comprises script execution detail information.
9. A test script recording apparatus, comprising:
the device comprises a starting unit and a control unit, wherein the starting unit is used for starting an application program according to identification information of the application program carried in a request after receiving a test script recording request;
the identification unit is used for identifying and recording each operation executed by a user aiming at the application program and element information of an interface displayed by the application program when each operation is executed;
and the recording unit is used for recording the test script according to each recorded operation and element information thereof and sending the test script to the server for storage.
10. The apparatus of claim 9,
the identification unit is specifically configured to identify and record each operation executed by the user for the application program and element information of an interface displayed by the application program when each operation is executed, by using an interface element information analysis interface in the UI automation Viewer tool.
11. The apparatus of claim 9,
the recording unit is specifically used for acquiring configuration information of the test script; and recording the test script according to the test script configuration information and the recorded each operation and element information thereof.
12. The apparatus of claim 11,
the recording unit is specifically used for displaying a script configuration interface to a user when receiving a script editing request triggered based on a script recording main interface displayed to the user; and acquiring test script configuration information based on script configuration information input by a user aiming at the script configuration interface.
13. The apparatus according to claim 11 or 12, wherein the script configuration information may include, but is not limited to, service information of a terminal where the application program is located and script running information that needs to be exposed to execute the test script.
14. The apparatus of claim 9, wherein the element information comprises at least one of: an element ID, an element name, and location information of the element in the interface.
15. An application testing apparatus, comprising:
the device comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending a test script acquisition request of an application program to a server when receiving an application program test instruction;
a receiving unit, configured to receive a test script of the application program issued by a server, where the test script is generated by using the method according to any one of claims 1 to 6 and is stored in the server;
and the test unit is used for testing the application program by utilizing the test script.
16. The apparatus of claim 15, further comprising:
and the output unit is used for outputting and displaying the test result, and the test result comprises script execution detail information.
17. A terminal device comprising a memory, a processor and a computer program stored on the memory and executable on the processor; the method for recording the test script is characterized in that when the processor executes the program, the method for recording the test script is realized according to any one of claims 1 to 6, or the method for testing the application program is realized according to claim 7 or 8.
18. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the steps of the test script recording method according to any one of claims 1 to 6 or the steps of the application program testing method according to claim 7 or 8.
CN201810772364.XA 2018-07-13 2018-07-13 Test script recording method, application program testing method and related device Pending CN110716853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810772364.XA CN110716853A (en) 2018-07-13 2018-07-13 Test script recording method, application program testing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810772364.XA CN110716853A (en) 2018-07-13 2018-07-13 Test script recording method, application program testing method and related device

Publications (1)

Publication Number Publication Date
CN110716853A true CN110716853A (en) 2020-01-21

Family

ID=69208586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810772364.XA Pending CN110716853A (en) 2018-07-13 2018-07-13 Test script recording method, application program testing method and related device

Country Status (1)

Country Link
CN (1) CN110716853A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506496A (en) * 2020-03-11 2020-08-07 北京三快在线科技有限公司 Test data acquisition method and device, electronic equipment and storage medium
CN111597119A (en) * 2020-05-26 2020-08-28 博彦集智科技有限公司 Test script updating method and device, storage medium and processor
CN112099410A (en) * 2020-09-17 2020-12-18 深圳市道通科技股份有限公司 Software automation control system and method
CN112231207A (en) * 2020-09-30 2021-01-15 广州掌动智能科技有限公司 Multi-machine testing method for application program testing, computer readable storage medium and testing platform
CN112463639A (en) * 2020-12-15 2021-03-09 北京云测信息技术有限公司 Test script editing method, device and equipment
CN112783764A (en) * 2021-01-08 2021-05-11 展讯通信(上海)有限公司 Automatic testing method and device for application program, storage medium and terminal
CN112948247A (en) * 2021-02-24 2021-06-11 携程旅游网络技术(上海)有限公司 Processing method, system, device and medium for operation playback of application program
CN113377671A (en) * 2021-06-29 2021-09-10 山东派盟网络科技有限公司 Group control method, device and equipment
CN115086212A (en) * 2022-06-09 2022-09-20 北京沃东天骏信息技术有限公司 Webpage testing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140165040A1 (en) * 2012-12-07 2014-06-12 Sugarcrm Inc. Test script generation for application image validation
CN105095062A (en) * 2014-05-09 2015-11-25 腾讯科技(深圳)有限公司 Application testing method and system
CN107025165A (en) * 2017-03-07 2017-08-08 腾讯科技(深圳)有限公司 Game automated testing method and relevant apparatus
CN107357724A (en) * 2017-06-27 2017-11-17 深圳市泰衡诺科技有限公司上海分公司 Automatic software test method and device in Android system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140165040A1 (en) * 2012-12-07 2014-06-12 Sugarcrm Inc. Test script generation for application image validation
CN105095062A (en) * 2014-05-09 2015-11-25 腾讯科技(深圳)有限公司 Application testing method and system
CN107025165A (en) * 2017-03-07 2017-08-08 腾讯科技(深圳)有限公司 Game automated testing method and relevant apparatus
CN107357724A (en) * 2017-06-27 2017-11-17 深圳市泰衡诺科技有限公司上海分公司 Automatic software test method and device in Android system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506496A (en) * 2020-03-11 2020-08-07 北京三快在线科技有限公司 Test data acquisition method and device, electronic equipment and storage medium
CN111597119A (en) * 2020-05-26 2020-08-28 博彦集智科技有限公司 Test script updating method and device, storage medium and processor
CN112099410A (en) * 2020-09-17 2020-12-18 深圳市道通科技股份有限公司 Software automation control system and method
CN112231207A (en) * 2020-09-30 2021-01-15 广州掌动智能科技有限公司 Multi-machine testing method for application program testing, computer readable storage medium and testing platform
CN112463639A (en) * 2020-12-15 2021-03-09 北京云测信息技术有限公司 Test script editing method, device and equipment
CN112783764A (en) * 2021-01-08 2021-05-11 展讯通信(上海)有限公司 Automatic testing method and device for application program, storage medium and terminal
CN112783764B (en) * 2021-01-08 2022-07-19 展讯通信(上海)有限公司 Automatic testing method and device for application program, storage medium and terminal
CN112948247A (en) * 2021-02-24 2021-06-11 携程旅游网络技术(上海)有限公司 Processing method, system, device and medium for operation playback of application program
CN113377671A (en) * 2021-06-29 2021-09-10 山东派盟网络科技有限公司 Group control method, device and equipment
CN115086212A (en) * 2022-06-09 2022-09-20 北京沃东天骏信息技术有限公司 Webpage testing method and device

Similar Documents

Publication Publication Date Title
CN110716853A (en) Test script recording method, application program testing method and related device
US10853232B2 (en) Adaptive system for mobile device testing
US20160170867A1 (en) Exposing method related data calls during testing in an event driven, multichannel architecture
US8104020B2 (en) Method and system to automate software testing using sniffer side and browser side recording and a toolbar interface
CN105094783B (en) method and device for testing stability of android application
CN108459953A (en) test method and device
CN110013672B (en) Method, device, apparatus and computer-readable storage medium for automated testing of machine-run games
CN110362490B (en) Automatic testing method and system for integrating iOS and Android mobile applications
CN107562637B (en) Method, device, system and storage medium for software testing
CN113900958A (en) Test case script generation method, system, medium and electronic device
CN110928763A (en) Test method, test device, storage medium and computer equipment
CN111045653B (en) System generation method and device, computer readable medium and electronic equipment
CN111897740A (en) User interface testing method and device, electronic equipment and computer readable medium
CN110780874A (en) Method and apparatus for generating information
US20120185823A1 (en) System and method for self dependent web automation
CN111708824A (en) Data processing method, device, equipment and storage medium
CN108282542A (en) Remote operation method and device for test equipment
CN112988588B (en) Client software debugging method and device, storage medium and electronic equipment
CN113836014A (en) Interface testing method and device, electronic equipment and storage medium
CN110489326B (en) IDS-based HTTPAPI debugging method device, medium and equipment
CN111522749A (en) Page testing method and device, readable storage medium and electronic equipment
CN115421770A (en) Resource information processing method and device, storage medium and electronic equipment
CN112559348B (en) Test analysis method, system, equipment and medium based on jacoco
US20130007622A1 (en) Demonstrating a software product
CN113849416A (en) Test method, test device, storage medium and electronic equipment

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
TA01 Transfer of patent application right

Effective date of registration: 20200319

Address after: Room 1006, building 16, yard 16, Yingcai North Third Street, future science city, Changping District, Beijing 102209

Applicant after: China Mobile Information Technology Co., Ltd

Applicant after: CHINA MOBILE COMMUNICATIONS GROUP Co.,Ltd.

Address before: 518048, 10 floor, Guo Tong Building, 9023 Binhe Road, Futian District, Shenzhen, Guangdong.

Applicant before: CHINA MOBILE INFORMATION TECHNOLOGY Co.,Ltd.

Applicant before: CHINA MOBILE COMMUNICATIONS GROUP Co.,Ltd.

TA01 Transfer of patent application right