CN109871326B - Script recording method and device - Google Patents
Script recording method and device Download PDFInfo
- Publication number
- CN109871326B CN109871326B CN201910116356.4A CN201910116356A CN109871326B CN 109871326 B CN109871326 B CN 109871326B CN 201910116356 A CN201910116356 A CN 201910116356A CN 109871326 B CN109871326 B CN 109871326B
- Authority
- CN
- China
- Prior art keywords
- test
- script
- executed
- instruction
- server
- 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
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
The application discloses a script recording method, which is applied to script recording equipment and comprises the following steps: determining a testing step in a testing case of an application to be tested, wherein the testing case is compiled based on a natural language mode; acquiring an interface screenshot corresponding to the test step of the application to be tested; acquiring a to-be-executed instruction generated based on the test step and the interface screenshot; and executing the instruction to be executed to record the test script related to the test step. According to the embodiment of the application, the problems of complex operation, time consumption and labor consumption in the existing script recording process can be solved, and the script recording efficiency is improved.
Description
Technical Field
The present application relates to the field of automated testing, and in particular, to a method and an apparatus for recording scripts.
Background
With the rapid development of third-party Application programs (APPs), in order to ensure the performance of APPs, the testing requirements for APPs are also higher and higher.
At present, automated testing of APPs by means of software testing tools is gaining more and more widespread use. In the automatic test of the APP, a tester firstly writes a detailed test case, edits a test script step according to a test flow described in the test case, and then adopts a recording playback technology, namely: recording a test script corresponding to the APP, playing back the test script in the terminal equipment, and realizing automatic test of the APP in the terminal equipment.
However, in the existing script recording process, a series of operations such as screenshot, frame selection, input and the like are required to be performed on a script recording tool every time a test script is recorded, which is time-consuming and labor-consuming, and thus the script recording efficiency is low.
Disclosure of Invention
The embodiment of the application provides a scheme for recording scripts, and aims to solve the problems of complex operation, time consumption and labor consumption in the existing script recording process, so that the efficiency of recording scripts is improved.
The embodiment of the application adopts the following technical scheme:
in a first aspect, an embodiment of the present application provides a method for recording a script, where the method is applied to a script recording device, and the method includes:
determining a testing step in a testing case of an application to be tested, wherein the testing case is compiled based on a natural language mode;
acquiring an interface screenshot of the application to be tested corresponding to the testing step;
acquiring a command to be executed generated based on the testing step and the interface screenshot;
and executing the instruction to be executed to record the test script related to the test step.
Optionally, in the method for recording a script provided in the first aspect of the present application, the obtaining of the instruction to be executed, which is generated based on the testing step and the interface screenshot, includes:
sending the testing step and the interface screenshot to a server, wherein the server is used for analyzing the testing step and the interface screenshot and generating the instruction to be executed based on an analysis result;
and receiving the instruction to be executed sent by the server.
Optionally, in the script recording method provided in the first aspect of the present application, the analysis result includes a target object obtained by analyzing the test step based on a natural language processing model, and location information of the target object obtained by analyzing the interface screenshot based on a target identification model, and the instruction to be executed is generated based on the target object and the location information;
wherein the executing the instruction to be executed includes:
and executing target operation on the target object at the target position corresponding to the position information.
Optionally, in the method for recording a script provided in the first aspect of the present application, the sending the testing step and the interface screenshot to a server includes:
determining a target association identifier;
and sending the testing step and the interface screenshot to the server corresponding to the target association identifier through an application programming interface.
Optionally, in the method for recording a script provided in the first aspect of the present application, the method further includes:
and storing the test script as an XML format file.
In a second aspect, an embodiment of the present application provides a method for recording a script, which is applied to a server, and the method includes:
receiving a test step and an interface screenshot sent by script recording equipment, wherein the interface screenshot corresponds to the test step in a test case of an application to be tested, and the test case is compiled based on a natural language mode;
analyzing the test step and the interface screenshot, and generating an instruction to be executed based on an analysis result;
and sending the instruction to be executed to the script recording equipment, wherein the instruction to be executed is used for the script recording equipment to record the test script related to the test step.
Optionally, in the script recording method provided in the second aspect of the present application, the analysis result includes a target object obtained by analyzing the test step using a natural language processing model, and position information of the target object obtained by analyzing the interface screenshot using a target recognition model;
wherein the generating of the instruction to be executed based on the analysis result includes:
and generating the instruction to be executed based on the target object and the position information, wherein the instruction to be executed is used for indicating that target operation is executed on the target object at a target position corresponding to the position information.
Optionally, in the method for recording a script provided in the second aspect of the present application, the receiving a test step and an interface screenshot sent by a script recording device includes:
and receiving the testing step and the interface screenshot through an application programming interface.
In a third aspect, an embodiment of the present application provides a device for recording a script, which is applied to a script recording apparatus, where the device is configured to implement the method provided in the first aspect.
In a fourth aspect, an embodiment of the present application provides an apparatus for recording a script, which is applied to a server, where the apparatus is configured to implement the method of the second aspect.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the steps of the method as provided by the first aspect of embodiments of the present application.
In a sixth aspect, embodiments of the present application provide a computer-readable storage medium storing one or more programs which, when executed by an electronic device comprising a plurality of application programs, cause the electronic device to perform the steps of the method provided by the first aspect of embodiments of the present application.
In a seventh aspect, an embodiment of the present application provides an electronic device, including: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the steps of the method as provided by the second aspect of embodiments of the present application.
In an eighth aspect, embodiments of the present application 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 steps of the method provided by the second aspect of embodiments of the present application.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects:
in the embodiment of the application, a test case for recording a test script of an application to be tested is compiled in a natural language mode, that is, a test step of the test case is described in detail in the natural language mode, and further, the script recording device can record the test script related to the test step by executing an instruction to be executed generated based on the test step described in the natural language mode and an interface screenshot corresponding to the test step of the application to be tested. So, can simplify the operating procedure that the script was recorded, solve current script and record the process, problem complex operation, consuming time and difficultly to promote the efficiency that the script was recorded.
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 method for recording a script according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an apparatus for recording scripts according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another script recording method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another apparatus for recording scripts according to an embodiment of the present application;
fig. 5 is a flowchart illustrating a further script recording method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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.
For the existing script recording process stated in the background art, the operation steps are tedious, time-consuming and labor-consuming, and the problem of low script recording efficiency exists, so in the embodiment of the application, a scheme for recording scripts is provided, and the problem is solved.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a method for recording a script according to an embodiment of the present application.
Referring to fig. 1, a method for recording a script provided in an embodiment of the present application is applied to a script recording device, and the method may specifically include:
step S101: and determining a testing step in a testing case of the application to be tested, wherein the testing case is compiled based on a natural language mode.
It can be understood that the test case recorded by the test script for the application to be tested is written in a natural language manner, that is, the test steps of the test case are described in detail in the natural language manner. Therefore, by compiling the test steps of the test cases in the natural language which is easy to understand in daily life, compared with the presentation form of the test program, the difficulty of compiling the test cases can be reduced, the workload of compiling the test cases is reduced, and the test cases are easy to check and modify.
Step S103: and acquiring an interface screenshot corresponding to the test step of the application to be tested.
Optionally, in the process of recording the script, an interface screenshot of an operation interface of the application to be tested corresponding to the test step described in the natural language mode may be automatically obtained by the script recording tool.
Step S105: and acquiring an instruction to be executed generated based on the test step and the interface screenshot.
Step S107: and executing the instruction to be executed to record the test script related to the test step.
It can be understood that, based on the test step described in the natural language and the interface screenshot corresponding to the test step, an instruction to be executed for recording the test script related to the test step may be generated, and further, the recording of the related test script may be automatically completed by executing the instruction to be executed. Therefore, compared with the existing script recording process, manual frame selection, input and other operations after screenshot on a script recording tool are not needed, the recording time of the test script and the input of human resources are saved, and the purpose of improving the script recording efficiency is achieved.
Optionally, step S105 in this embodiment of the present application may be specifically executed as:
sending the test step and the interface screenshot to a server, wherein the server is used for analyzing the test step and the interface screenshot and generating an instruction to be executed based on an analysis result;
and receiving an instruction to be executed sent by the server.
It can be understood that the instruction to be executed for implementing recording of the test script may be obtained from a server in communication connection with the script recording device, that is, the server parses the test step described in the natural language and the interface screenshot corresponding to the test step, and generates the instruction to be executed based on a specific parsing result. Therefore, the server with better computing capability is used for analyzing and calculating and generating the corresponding instruction to be executed, the processing efficiency of the test steps and the interface screenshot is improved, the recording efficiency of the test scripts related to the test steps is improved, the effective communication interconnection between the script recording equipment and the server can be realized, and the power consumption of the script recording equipment is reduced.
Further, the server for generating a parsing result of the instruction to be executed at least may include: and analyzing the test step based on the natural language processing model to obtain a target object and analyzing the interface screenshot based on the target recognition model to obtain the position information of the target object.
Optionally, the test described in the Natural Language manner is analyzed through a pre-trained Natural Language Processing model, and a target object to be operated by recording the test script is determined, where the Natural Language Processing model is a model based on a Natural Language Processing (NLP) technology, and then the interface screenshot corresponding to the test step may be analyzed through a pre-trained target recognition model to determine the position information of the target object. Therefore, through effective fusion of computer processing and artificial intelligence processing, the target object and the position information of the target object required by recording the test script can be automatically determined quickly and accurately without excessive human participation.
Based on the above content of the embodiment of the present application, the instruction to be executed may be generated based on the target object and the position information of the target object.
Further, step S107 in the embodiment of the present application may be specifically implemented as:
and executing target operation on the target object at the target position corresponding to the position information.
Optionally, the target object may include an icon, text, and the like, the position information of the target object may include coordinates, and the target operation may include a click operation, an input operation, and the like.
Further, under the condition that the target object is an icon, the target identification model for analyzing the interface screenshot comprises a model based on a target detection technology, and when a plurality of icons are in the interface screenshot to be tested and applied, a plurality of corresponding target identification models are provided, namely the icons correspond to the target identification models one by one, so that the accuracy of identifying each icon is ensured; preferably, a separate API service may be provided for each icon corresponding target recognition model.
In the case where the target object is a text, the target Recognition model for parsing the interface screenshot includes a model based on an OCR (Optical Character Recognition) text Recognition technique.
Optionally, the testing step and the interface screenshot may be sent to the server by using the following scheme, where the scheme specifically includes the following steps:
determining a target association identifier;
and sending the testing step and the interface screenshot to a server corresponding to the target association identifier through an application programming interface.
That is to say, the method can record the test script for the application to be tested, and set a corresponding target associated identifier for a server capable of providing a natural language parsing service and a target identification service, wherein the target associated identifier is used for uniquely representing the server; in other words, the target association identifier may associate a natural language parsing model and a target recognition model that can be provided by a server. Specifically, an Application Programming Interface (API) may be used as a middleware to provide data sharing services between different platforms of the script recording device and the server, so as to implement effective mutual communication between the script recording device and the server.
Optionally, when receiving the to-be-executed instruction generated by the server, the to-be-executed instruction may also be received through the application programming interface API.
Optionally, the method for recording a script according to the embodiment of the present application may further include: the test script is stored as an XML format file.
It can be understood that the test script recorded based on the test case of the application to be tested is stored as an XML (Extensible Markup Language) format file, so that the recorded test script is distributed to a plurality of terminal devices for automatic testing of the application to be tested, and the efficiency of the automatic testing of the application is improved.
It should be noted that, in the embodiment of the present application, the instruction to be executed may be generated by the server based on the target object obtained in the natural language processing model analysis testing step and the position information of the target object obtained in the target recognition model analysis interface screenshot; or after calling corresponding natural language processing model and target recognition model from the server, generating the position information of the target object by the script recording equipment based on the target object obtained in the step of analyzing and testing the natural language processing model and the target object obtained by the screenshot of the analysis interface of the target recognition model; of course, the script recording device may also generate the script based on the parsing result received from the server side directly.
It can be seen that, in the embodiment of the present application, a test case for recording a test script of an application to be tested is compiled in a natural language manner, that is, a test step of the test case is described in detail in the natural language manner, and further, the script recording device can record the test script related to the test step by executing a to-be-executed instruction generated based on the test step described in the natural language manner and an interface screenshot of the application to be tested corresponding to the test step. So, can simplify the operating procedure that the script was recorded, solve current script and record the process, problem complex operation, consuming time and difficultly to promote the efficiency that the script was recorded.
Fig. 2 is a schematic structural diagram of an apparatus for recording scripts according to an embodiment of the present application.
Referring to fig. 2, an apparatus 200 for recording a script provided in an embodiment of the present application is applied to a script recording device, where the apparatus 200 may specifically include: a determination module 201, a first obtaining module 203, a second obtaining module 205, and an execution module 207, wherein:
a determining module 201, configured to determine a testing step in a test case of an application to be tested, where the test case is written based on a natural language;
a first obtaining module 203, configured to obtain an interface screenshot of the application to be tested, where the interface screenshot corresponds to the testing step;
a second obtaining module 205, configured to obtain an instruction to be executed, where the instruction is generated based on the testing step and the interface screenshot;
and the execution module 207 is used for executing the instruction to be executed so as to record the test script related to the test step.
Preferably, in the apparatus 200 for recording a script provided in this embodiment of the present application, the second obtaining module 205 may specifically include:
the sending submodule is used for sending the testing step and the interface screenshot to a server, and the server is used for analyzing the testing step and the interface screenshot and generating an instruction to be executed based on an analysis result;
and the receiving submodule is used for receiving the instruction to be executed sent by the server.
Preferably, in the device 200 for recording scripts provided in this embodiment of the present application, the analysis result includes a target object obtained by analyzing the test step based on the natural language processing model, and position information of the target object obtained by analyzing the interface screenshot based on the target identification model, and the instruction to be executed is generated based on the target object and the position information;
the executing module 207 may be specifically configured to:
and executing target operation on the target object at the target position corresponding to the position information.
Preferably, in the apparatus 200 for recording a script provided in this embodiment of the present application, the sending submodule may be specifically configured to:
determining a target association identifier;
and sending the testing step and the interface screenshot to a server corresponding to the target association identifier through an application programming interface.
Preferably, the apparatus 200 for recording scripts provided in the embodiment of the present application further includes:
and the storage module is used for storing the test script into an XML format file.
It can be seen that, in the embodiment of the present application, a test case for recording a test script of an application to be tested is compiled in a natural language manner, that is, a test step of the test case is described in detail in the natural language manner, and further, the script recording device can record the test script related to the test step by executing a to-be-executed instruction generated based on the test step described in the natural language manner and an interface screenshot of the application to be tested corresponding to the test step. So, can simplify the operating procedure that the script was recorded, solve current script and record the process, problem complex operation, consuming time and difficultly to promote the efficiency that the script was recorded.
In addition, as for the above-mentioned embodiment of the apparatus 200, since it is basically similar to the method embodiment, the description is relatively simple, and for the relevant points, refer to the partial description of the method embodiment. Further, it should be noted that, in the respective components of the apparatus of the present application, the components therein are logically divided according to the functions to be realized, but the present application is not limited thereto, and the respective components may be newly divided or combined as necessary.
Fig. 3 is a flowchart illustrating a method for recording a script according to an embodiment of the present application.
Referring to fig. 3, a method for recording a script provided in an embodiment of the present application is applied to a server, and the method may specifically include:
step S301: and receiving a test step and an interface screenshot sent by the script recording equipment, wherein the interface screenshot corresponds to the test step in a test case of the application to be tested, and the test case is compiled based on a natural language mode.
Step S303: and analyzing the test step and the interface screenshot, and generating an instruction to be executed based on an analysis result.
Step S305: and sending the instruction to be executed to the script recording equipment, wherein the instruction to be executed is used for the script recording equipment to record the test script related to the test step.
In the embodiment of the application, a test case for recording the test script of the application to be tested is compiled in a natural language mode, that is, the test steps of the test case are described in detail in the natural language mode, and further, the server can generate the instruction to be executed based on the test steps described in the natural language mode and the analysis result of the interface screenshot of the application to be tested corresponding to the test steps, and feed the instruction back to the script recording device for execution, so as to record the test script related to the test steps. So, can simplify the operating procedure that the script was recorded, solve current script and record the process, problem complex operation, consuming time and difficultly to promote the efficiency that the script was recorded.
In addition, the server with better computing capability is used for analyzing and calculating and generating the corresponding instruction to be executed, so that the processing efficiency of the test steps and the interface screenshots is improved, the efficiency of recording the test scripts related to the test steps is improved, and the power consumption of the script recording equipment is reduced through the effective communication interconnection between the server and the script recording equipment.
Further, the server for generating a parsing result of the instruction to be executed at least may include: and analyzing the target object obtained in the testing step by adopting a natural language processing model, and analyzing the interface screenshot by adopting a target recognition model to obtain the position information of the target object.
It can be understood that, in the embodiment of the present application, the solution for analyzing the test step and the interface screenshot in step S303 may be specifically implemented as:
analyzing the testing step by adopting a natural language processing model to obtain a target object;
and analyzing the interface screenshot by adopting a target recognition model to obtain the position information of the target object.
That is to say, a pre-trained natural language processing model is used to analyze a test described in a natural language manner, and a target object to be operated by recording a test script is determined, wherein the natural language processing model is a model based on a natural language processing NLP technology, and then an interface screenshot corresponding to a test step can be analyzed through a pre-trained target recognition model to determine position information of the target object. Therefore, through effective fusion of computer processing and artificial intelligence processing, the target object and the position information of the target object required by recording the test script can be automatically determined quickly and accurately without excessive human participation.
Further, in the embodiment of the present application, the scheme for generating the instruction to be executed based on the analysis result in step S303 may be specifically implemented as:
and generating an instruction to be executed based on the target object and the position information, wherein the instruction to be executed is used for indicating a target position corresponding to the position information to execute target operation on the target object.
Optionally, the target object may include an icon, text, and the like, the position information of the target object may include coordinates, and the target operation may include a click operation, an input operation, and the like.
Further, under the condition that the target object is an icon, the target identification model for analyzing the interface screenshot comprises a model based on a target detection technology, and when a plurality of icons are in the interface screenshot to be tested and applied, a plurality of corresponding target identification models are provided, namely the icons correspond to the target identification models one by one, so that the accuracy of identifying each icon is ensured; (ii) a Preferably, a separate API service may be provided for each icon corresponding target recognition model.
In the case where the target object is text, the target recognition model for parsing the interface screenshot includes a model based on OCR text recognition technology.
It should be noted that, when the training of the target recognition model corresponding to the icon is performed, a training sample is obtained first, that is, a large number of screenshot samples of the app (application) may be obtained, and different icons in the screenshot samples may be calibrated. Then, based on these training samples, a training set validation set for model training may be determined. Optionally, the number of samples in the training set and the verification set may be flexibly adjusted, for example, 65% of the training samples are used as the training set for the target recognition model, and the remaining 35% of the training samples are used as the verification set for verifying whether the output of the target recognition model meets the requirement.
Optionally, step S301 in this embodiment of the present application may be specifically executed as: the testing step and the interface screenshot are received through an application programming interface.
That is, the data sharing service can be provided for different platforms of the script recording device and the server by using the application programming interface API as the middleware, so as to realize effective mutual communication between the script recording device and the server.
Optionally, step S305 in this embodiment of the application may also be implemented by the API.
Fig. 4 is a schematic structural diagram of an apparatus for recording scripts according to an embodiment of the present application.
Referring to fig. 4, in an embodiment of the present application, an apparatus 400 for recording a script is applied to a server, where the apparatus 400 may specifically include: a receiving module 401, a processing module 403 and a sending module 405, wherein:
the receiving module 401 is configured to receive a test step and an interface screenshot sent by the script recording device, where the interface screenshot corresponds to a test step in a test case of an application to be tested, and the test case is compiled based on a natural language;
the processing module 403 is configured to analyze the test step and the interface screenshot, and generate an instruction to be executed based on an analysis result;
the sending module 405 is configured to send the instruction to be executed to the script recording device, where the instruction to be executed is used for the script recording device to record a test script related to the test step.
Preferably, in the device 400 for recording scripts provided in this embodiment of the present application, the analysis result includes a target object obtained by analyzing the test step using a natural language processing model, and position information of the target object obtained by analyzing the interface screenshot using a target recognition model;
the processing module 403 may be specifically configured to:
and generating an instruction to be executed based on the target object and the position information, wherein the instruction to be executed is used for indicating a target position corresponding to the position information to execute target operation on the target object.
Preferably, in the apparatus 400 for recording a script provided in this embodiment of the present application, the receiving module 401 may be specifically configured to:
the testing step and the interface screenshot are received through an application programming interface.
It can be seen that, in the embodiment of the present application, a test case for recording a test script of an application to be tested is compiled in a natural language manner, that is, a test step of the test case is described in detail in the natural language manner, and further, the server may generate an instruction to be executed based on an analysis result of the test step described in the natural language manner and an interface screenshot of the application to be tested corresponding to the test step, and feed the instruction back to the script recording device for execution, so as to record the test script related to the test step. So, can simplify the operating procedure that the script was recorded, solve current script and record the process, problem complex operation, consuming time and difficultly to promote the efficiency that the script was recorded.
In addition, the server with better computing capability is used for analyzing and calculating and generating the corresponding instruction to be executed, so that the processing efficiency of the test steps and the interface screenshots is improved, the efficiency of recording the test scripts related to the test steps is improved, and the power consumption of the script recording equipment is reduced through the effective communication interconnection between the server and the script recording equipment.
In addition, as for the above-mentioned embodiment of the apparatus 400, since it is basically similar to the method embodiment, the description is relatively simple, and for the relevant points, refer to the partial description of the method embodiment. Further, it should be noted that, in the respective components of the apparatus of the present application, the components therein are logically divided according to the functions to be realized, but the present application is not limited thereto, and the respective components may be newly divided or combined as necessary.
The following describes in detail the process of recording a script according to an embodiment of the present application with reference to fig. 5.
Referring to fig. 5, a process of recording a script provided by an embodiment of the present application may include the following steps:
step S501: and writing a test case.
Specifically, the test case can be written in a text manner, that is, the test steps in the test case are described in detail in a natural language manner, and preferably, each test step is finished by line feed. For example, in a test case, the test procedure for the login function of the APP to be tested may include the following test steps that can be extracted:
input Account 12345
Input password 12345
And clicking to login.
Step S502: and importing the test case into a script recording tool.
Specifically, the script recording tool is connected with the terminal device provided with the APP to be tested, the test steps in the imported test case are subjected to single step debugging and playback, and when one test step of the single step debugging is unsuccessful, the test step can be modified and stored through the script recording tool so as to carry out the single step debugging again until the debugging is successful.
When the test step described in the natural language mode is subjected to single-step debugging, the script recording tool automatically intercepts the APP to be tested and the interface screenshot corresponding to the test step, so that the recording, playback and the like of the test script related to the test step are realized based on the test step and the interface screenshot.
Step S503: the resolution service is invoked through the API.
Specifically, the script recording tool sends the test step described in the natural language manner and the interface screenshot corresponding to the test step to the parsing server with the specific service code (i.e., the target association identifier) through the API.
The analysis service that this analysis server can provide passes through a plurality of models to support, includes at least: natural language processing model, ICON recognition model, OCR recognition model.
Considering that the ICONs in each interface of the APP to be tested are diversified, in order to ensure the accuracy in ICON identification, one ICON identification model can be independently used for each ICON for detection. Specifically, a target detection technology can be adopted to train each ICON recognition model, for example, in ten thousand APP screenshots, different ICONs are subjected to picture marking, then marked data are subjected to model training through machine learning, and finally the marked data are stored as the model of the ICON; preferably, a separate API service may be provided for each ICON corresponding ICON identification model.
Further, the API service and the model may be respectively deployed in an open-source application container engine Docker and externally issued in the form of an API, so as to facilitate access and call between the script recording end and the parsing server end.
Step S504: natural language processing is performed.
Step S505: ICON recognition is performed.
Step S506: OCR recognition is performed.
Specifically, a natural language processing model is used for analyzing the test step described in a natural language manner, for example, NLP analysis is performed on the "click back" of the test step to obtain a click operation and an operation that a click target is "back", where "back" may be any one of a button, an ICON, or a character form, the "back" button or "back" ICON may be subjected to ICON recognition by using a corresponding ICON recognition model to perform ICON recognition on an interface screenshot to realize target detection on the button or the ICON, and a coordinate position of the "back" button or "back" ICON in a screen is obtained, and an OCR recognition may be performed on the interface screenshot by using an OCR recognition model to obtain a coordinate position of the "back" character in the screen. And no matter the OCR recognition service or the ICON recognition service is called together, after the OCR recognition service does not find the target characters in the interface screenshot, the ICON recognition service is called to recognize the buttons or ICONs in the interface screenshot, or the sequence is opposite.
Further, an accurate instruction to be executed is obtained based on a [ return ] button, a [ return ] icon, or a [ return ] character, a click operation, and a coordinate position to return to the script recording tool, and the instruction to be executed is executed, which may be specifically presented as an adb (Android Debug bridges Tools) instruction, that is, the click operation is executed on the [ return ] button, the [ return ] icon, or the [ return ] character at the coordinate position, so as to operate the terminal device to complete single step debugging, thereby realizing recording of the test script related to the test step.
It should be noted that, in the test steps described in the test case in the natural language manner, not only simple operations such as input are supported, but also operations such as gesture passwords, screen sliding, icon clicking and the like are supported
Furthermore, after the recording of the test script corresponding to the test case is completed, the test script can be stored as a file in an XML format, and the file is uploaded to an automatic test task platform to submit an automatic test task and perform synchronous test on a plurality of terminal devices.
Therefore, in the embodiment of the application, the existing complex script recording process is simplified, in order to provide a more friendly script recording mode for a tester, when the tester writes a test case at the beginning, the test steps are described in detail and simply in a natural language mode, the test case written in the natural language mode is recorded into a script recording tool to perform functional test, specifically, the automatic search of buttons and icons corresponding to the test scenes in the test steps can be completed through a target detection technology, the automatic search of characters corresponding to the test scenes in the test steps can be completed through an OCR recognition technology, the tester does not need to perform complex operations such as frame selection and screenshot, and the recording of the test script can be completed only by inputting test case texts.
For example, a simple operation described in natural language: clicking and returning to the previous page, and analyzing through a natural language processing model to obtain: and clicking the return button or the ICON, further searching the return button or the ICON or even characters (return) in the page screenshot through the target recognition model (at least comprising the ICON recognition model and the OCR recognition model), wherein the series of operations are only a sentence, the operations of screenshot, frame selection and the like of a tester are not required, and only a segment of characters need to be input, so that a script of a test step can be recorded.
That is to say, when the artificial intelligent automatic test method is used for testing the mobile application APP, the test steps can be described in a natural language mode by learning the use scenes of all functions in the mobile application APP, then the test steps are analyzed through the natural language processing model, and the target identification model required in the mobile application APP is associated at the server through the specific service code so as to meet the requirement of the test scenes. For example, in a test scenario for testing the login function, for the above description: inputting an account 12345 and a password 12345, clicking to log in, finding the position of an account frame through an ICON recognition model or an OCR recognition model during execution, clicking, inputting 12345, then finding the position of a password frame, clicking, inputting the password 12345, clicking to log in after the completion, successfully executing single step debugging, recording a corresponding test script in a login scene, and further completing automatic testing.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present application.
Referring to fig. 6, at a hardware level, the electronic device includes a processor, and optionally further includes an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
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.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form a script recording device on a logic level.
When the device for recording the script is applied to the script recording equipment, the processor executes the program stored in the memory and is specifically used for executing the following operations:
determining a testing step in a testing case of an application to be tested, wherein the testing case is compiled based on a natural language mode;
acquiring an interface screenshot corresponding to the test step of the application to be tested;
acquiring a to-be-executed instruction generated based on the test step and the interface screenshot;
and executing the instruction to be executed to record the test script related to the test step.
When the device for recording the script is applied to the server, the processor executes the program stored in the memory and is specifically used for executing the following operations:
receiving a test step and an interface screenshot sent by script recording equipment, wherein the interface screenshot corresponds to the test step in a test case of an application to be tested, and the test case is compiled based on a natural language mode;
analyzing the test step and the interface screenshot, and generating an instruction to be executed based on an analysis result;
and sending the instruction to be executed to the script recording equipment, wherein the instruction to be executed is used for the script recording equipment to record the test script related to the test step.
The method performed by the script recording apparatus according to the foregoing embodiments of the present application may be applied to or implemented 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 electronic device may further execute the method executed by the apparatus for recording scripts, and implement the functions of the apparatus for recording scripts in the embodiment of the method, which are not described herein again.
An embodiment of the present application further provides a computer-readable storage medium storing one or more programs, where the one or more programs include instructions, which, when executed by an electronic device including a plurality of application programs, enable the electronic device to perform the method performed by the apparatus for recording scripts in the foregoing embodiment, and are specifically configured to perform:
determining a testing step in a testing case of an application to be tested, wherein the testing case is compiled based on a natural language mode;
acquiring an interface screenshot corresponding to the test step of the application to be tested;
acquiring a to-be-executed instruction generated based on the test step and the interface screenshot;
and executing the instruction to be executed to record the test script related to the test step.
An embodiment of the present application further provides a computer-readable storage medium storing one or more programs, where the one or more programs include instructions, which, when executed by an electronic device including a plurality of application programs, enable the electronic device to perform the method performed by the apparatus for recording scripts in the foregoing embodiment, and are specifically configured to perform:
receiving a test step and an interface screenshot sent by script recording equipment, wherein the interface screenshot corresponds to the test step in a test case of an application to be tested, and the test case is compiled based on a natural language mode;
analyzing the test step and the interface screenshot, and generating an instruction to be executed based on an analysis result;
and sending the instruction to be executed to the script recording equipment, wherein the instruction to be executed is used for the script recording equipment to record the test script related to the test step.
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 present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. 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 (8)
1. A script recording method is applied to a script recording device, and is characterized by comprising the following steps:
determining a testing step in a testing case of an application to be tested, wherein the testing case is compiled based on a natural language mode;
acquiring an interface screenshot of the application to be tested corresponding to the testing step;
acquiring a command to be executed generated based on the testing step and the interface screenshot;
executing the instruction to be executed to record a test script related to the test step;
the obtaining of the instruction to be executed generated based on the testing step and the interface screenshot comprises:
sending the testing step and the interface screenshot to a server, wherein the server is used for analyzing the testing step and the interface screenshot and generating the instruction to be executed based on an analysis result;
receiving the instruction to be executed sent by the server;
the step of sending the test step and the interface screenshot to a server comprises the following steps:
determining a target association identifier;
sending the testing step and the interface screenshot to the server corresponding to the target association identifier through an application programming interface;
the method comprises the steps that a server which provides natural language analysis service and target recognition service for recording test scripts of an application to be tested is provided with a corresponding target associated identifier, and the target associated identifier is used for uniquely representing the server; in other words, the natural language analysis model and the target recognition model provided by the server are associated through the target association identifier, and an application programming interface is used as a middleware to provide data sharing service for different platforms of the script recording device and the server, so that effective mutual communication between the script recording device and the server is realized.
2. The method of claim 1,
the analysis result comprises a target object obtained by analyzing the test step based on a natural language processing model and position information of the target object obtained by analyzing the interface screenshot based on a target recognition model, and the instruction to be executed is generated based on the target object and the position information;
wherein the executing the instruction to be executed includes:
and executing target operation on the target object at the target position corresponding to the position information.
3. The method of claim 1 or 2, further comprising:
and storing the test script as an XML format file.
4. A method for recording scripts, applied to a server, for use with the method of any of claims 1 to 3, the method comprising:
receiving a test step and an interface screenshot sent by script recording equipment, wherein the interface screenshot corresponds to the test step in a test case of an application to be tested, and the test case is compiled based on a natural language mode;
analyzing the test step and the interface screenshot, and generating an instruction to be executed based on an analysis result;
and sending the instruction to be executed to the script recording equipment, wherein the instruction to be executed is used for the script recording equipment to record the test script related to the test step.
5. The method of claim 4,
the analysis result comprises a target object obtained by analyzing the test step by adopting a natural language processing model and position information of the target object obtained by analyzing the interface screenshot by adopting a target identification model;
wherein the generating of the instruction to be executed based on the analysis result includes:
and generating the instruction to be executed based on the target object and the position information, wherein the instruction to be executed is used for indicating that target operation is executed on the target object at a target position corresponding to the position information.
6. The method according to claim 4 or 5, wherein the step of receiving the test and the interface screenshot sent by the script recording device comprises:
and receiving the testing step and the interface screenshot through an application programming interface.
7. A script recording device is applied to a script recording device, and is characterized by comprising:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a testing step in a testing case of an application to be tested, and the testing case is compiled based on a natural language mode;
the first acquisition module is used for acquiring an interface screenshot of the application to be tested corresponding to the testing step;
the second acquisition module is used for acquiring the instruction to be executed generated based on the test step and the interface screenshot;
the execution module is used for executing the instruction to be executed so as to record the test script related to the test step;
wherein, the second obtaining module specifically comprises:
the sending submodule is used for sending the testing step and the interface screenshot to a server, and the server is used for analyzing the testing step and the interface screenshot and generating an instruction to be executed based on an analysis result;
the receiving submodule is used for receiving the instruction to be executed sent by the server;
the sending submodule is specifically configured to:
determining a target association identifier;
sending the testing step and the interface screenshot to a server corresponding to the target association identifier through an application programming interface;
the method comprises the steps that a server which provides natural language analysis service and target recognition service for recording test scripts of an application to be tested is provided with a corresponding target associated identifier, and the target associated identifier is used for uniquely representing the server; in other words, the natural language analysis model and the target recognition model provided by the server are associated through the target association identifier, and an application programming interface is used as a middleware to provide data sharing service for different platforms of the script recording device and the server, so that effective mutual communication between the script recording device and the server is realized.
8. An apparatus for recording scripts, applied to a server, for use with the apparatus of claim 7, the apparatus comprising:
the receiving module is used for receiving a test step and an interface screenshot sent by the script recording equipment, wherein the interface screenshot corresponds to the test step in a test case of an application to be tested, and the test case is compiled based on a natural language mode;
the processing module is used for analyzing the testing step and the interface screenshot and generating an instruction to be executed based on an analysis result;
and the sending module is used for sending the to-be-executed instruction to the script recording equipment, and the to-be-executed instruction is used for enabling the script recording equipment to record the test script related to the test step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910116356.4A CN109871326B (en) | 2019-02-13 | 2019-02-13 | Script recording method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910116356.4A CN109871326B (en) | 2019-02-13 | 2019-02-13 | Script recording method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109871326A CN109871326A (en) | 2019-06-11 |
CN109871326B true CN109871326B (en) | 2022-03-15 |
Family
ID=66918692
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910116356.4A Active CN109871326B (en) | 2019-02-13 | 2019-02-13 | Script recording method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109871326B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110221983B (en) * | 2019-06-19 | 2024-01-16 | 深圳市腾讯网域计算机网络有限公司 | Test method, test device, computer readable storage medium and computer equipment |
CN110413524A (en) * | 2019-07-26 | 2019-11-05 | 中国工商银行股份有限公司 | For generating method and apparatus, the automated testing method of test script |
CN110704316A (en) * | 2019-09-26 | 2020-01-17 | 北京计算机技术及应用研究所 | Office software and hardware testing method in domestic environment |
CN112685279B (en) * | 2019-10-17 | 2024-02-20 | 深圳市腾讯网域计算机网络有限公司 | Script recording method, script recording device and terminal equipment |
CN110837467B (en) * | 2019-10-30 | 2024-04-16 | 深圳开立生物医疗科技股份有限公司 | Software testing method, device and system |
CN111400193B (en) * | 2020-04-10 | 2024-02-23 | 广东美的暖通设备有限公司 | Test case generation method, device, equipment and storage medium |
CN111752828A (en) * | 2020-06-04 | 2020-10-09 | 武汉迎风聚智科技有限公司 | Performance test method and device for Web application |
CN112231206A (en) * | 2020-09-30 | 2021-01-15 | 广州掌动智能科技有限公司 | Script editing method for application program test, computer readable storage medium and test platform |
CN112506778A (en) * | 2020-12-10 | 2021-03-16 | 北京云测信息技术有限公司 | WEB user interface automatic test method, device, equipment and storage medium |
CN112597021B (en) * | 2020-12-24 | 2024-08-02 | 中国农业银行股份有限公司 | Bank counter transaction automatic testing method and device based on linkage printer |
CN112817863B (en) * | 2021-02-23 | 2023-09-22 | 福建天泉教育科技有限公司 | AI-aided automatic test method and system based on AI deep learning |
CN113127349B (en) * | 2021-04-19 | 2021-11-30 | 广州掌动智能科技有限公司 | Software testing method and system |
CN113254333B (en) * | 2021-05-14 | 2023-07-04 | 成都安恒信息技术有限公司 | Automatic test method for identifying third party application result based on machine learning |
CN113392014B (en) * | 2021-06-23 | 2024-08-02 | 中国工商银行股份有限公司 | Test case generation method, device, electronic equipment and medium |
CN113722164A (en) * | 2021-08-23 | 2021-11-30 | 中国电力科学研究院有限公司 | Method, system and storage medium for automatic testing of mobile terminal and remote real machine debugging |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105843734A (en) * | 2016-03-18 | 2016-08-10 | 厦门美图移动科技有限公司 | Automatic test method and device and computing device |
CN107193750A (en) * | 2017-07-04 | 2017-09-22 | 北京云测信息技术有限公司 | A kind of script method for recording and device |
CN107608877A (en) * | 2017-08-11 | 2018-01-19 | 上海巍擎信息技术有限责任公司 | A kind of automation application program interface method of testing and test system based on machine learning |
CN108255722A (en) * | 2018-01-15 | 2018-07-06 | 厦门美图移动科技有限公司 | script generation method, script generation device and server |
CN108415838A (en) * | 2018-03-01 | 2018-08-17 | 吉旗(成都)科技有限公司 | A kind of automated testing method based on natural language processing technique |
CN108763068A (en) * | 2018-05-15 | 2018-11-06 | 福建天泉教育科技有限公司 | A kind of automated testing method and terminal based on machine learning |
CN108845930A (en) * | 2018-05-23 | 2018-11-20 | 深圳市腾讯网络信息技术有限公司 | Interface operation test method and device, storage medium and electronic device |
CN109189682A (en) * | 2018-08-27 | 2019-01-11 | 广州云测信息技术有限公司 | A kind of script method for recording and device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9038026B2 (en) * | 2011-10-17 | 2015-05-19 | International Business Machines Corporation | System and method for automating test automation |
CN106354482A (en) * | 2015-07-13 | 2017-01-25 | 西安中兴新软件有限责任公司 | Method and device for acquiring automated scripts and application method and device of automated scripts |
CN105740153A (en) * | 2016-02-29 | 2016-07-06 | 网易(杭州)网络有限公司 | Cloud testing method and device |
US10114738B2 (en) * | 2017-03-16 | 2018-10-30 | Wipro Limited | Method and system for automatic generation of test script |
CN108984389B (en) * | 2018-06-01 | 2021-04-09 | 平安科技(深圳)有限公司 | Application program testing method and terminal equipment |
-
2019
- 2019-02-13 CN CN201910116356.4A patent/CN109871326B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105843734A (en) * | 2016-03-18 | 2016-08-10 | 厦门美图移动科技有限公司 | Automatic test method and device and computing device |
CN107193750A (en) * | 2017-07-04 | 2017-09-22 | 北京云测信息技术有限公司 | A kind of script method for recording and device |
CN107608877A (en) * | 2017-08-11 | 2018-01-19 | 上海巍擎信息技术有限责任公司 | A kind of automation application program interface method of testing and test system based on machine learning |
CN108255722A (en) * | 2018-01-15 | 2018-07-06 | 厦门美图移动科技有限公司 | script generation method, script generation device and server |
CN108415838A (en) * | 2018-03-01 | 2018-08-17 | 吉旗(成都)科技有限公司 | A kind of automated testing method based on natural language processing technique |
CN108763068A (en) * | 2018-05-15 | 2018-11-06 | 福建天泉教育科技有限公司 | A kind of automated testing method and terminal based on machine learning |
CN108845930A (en) * | 2018-05-23 | 2018-11-20 | 深圳市腾讯网络信息技术有限公司 | Interface operation test method and device, storage medium and electronic device |
CN109189682A (en) * | 2018-08-27 | 2019-01-11 | 广州云测信息技术有限公司 | A kind of script method for recording and device |
Non-Patent Citations (4)
Title |
---|
基于docker部署的微服务架构(三): 服务网关;月冷心寒;《https://www.jianshu.com/p/e5fa2ba446d6》;20161126;第1-8页 * |
异构化TensorFlow架构的研究与实现;林桂芳;《中国优秀硕士学位论文全文数据库 信息科技辑》;20180615(第(2018)06期);I139-149 * |
怎么调用别人的接口;内容为王自品牌;《https://jingyan.baidu.com/article/b87fe19e406ca152183568cc.html》;20171130;第1-3页 * |
构建微服务之使用API网关;nonumber1989;《https://www.jianshu.com/p/9e90b2a5df7b》;20170101;第1-7页 * |
Also Published As
Publication number | Publication date |
---|---|
CN109871326A (en) | 2019-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109871326B (en) | Script recording method and device | |
CN107506300B (en) | User interface testing method, device, server and storage medium | |
CN108984389B (en) | Application program testing method and terminal equipment | |
CN108959068B (en) | Software interface testing method, device and storage medium | |
WO2018010552A1 (en) | Test method and device | |
CN110704304B (en) | Application program testing method and device, storage medium and server | |
CN107193733A (en) | Simulate the methods, devices and systems of Monkey tests | |
CN106776338B (en) | Test method, test device and server | |
CN108804305A (en) | A kind of method and device of automatic test | |
CN112732587B (en) | Automatic test log acquisition method and device, electronic equipment and storage medium | |
CN112069068A (en) | Automatic test data processing method, device, equipment and readable storage medium | |
CN105404574B (en) | Smart card and mobile terminal consistency test method and device | |
Tuovenen et al. | MAuto: Automatic mobile game testing tool using image-matching based approach | |
CN106959919B (en) | Software testing method and device based on testing path diagram | |
CN115982005A (en) | Automatic testing method and device based on artificial intelligence | |
CN116719736A (en) | Test case generation method and device for testing software interface | |
CN117493188A (en) | Interface testing method and device, electronic equipment and storage medium | |
CN111949510B (en) | Test processing method, device, electronic equipment and readable storage medium | |
CN112084108A (en) | Test script generation method and device and related components | |
CN116185826A (en) | Test method, device, equipment and storage medium | |
CN112380133B (en) | Method and device for simulating instruction set simulator by utilizing function library | |
CN115309661A (en) | Application testing method and device, electronic equipment and readable storage medium | |
CN109857665B (en) | Test execution method and device for test case | |
CN112486802A (en) | Flutter test auxiliary method and device | |
CN112612698A (en) | Application program crash test method and related product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210716 Address after: 100016 no.4301, No.52 Jiuxianqiao hospital, Chaoyang District, Beijing Applicant after: BEIJING TESTIN INFORMATION TECHNOLOGY Co.,Ltd. Address before: Room 2016, building 2, No.8, Fenghuang Third Road, Zhongxin Guangzhou Knowledge City, Guangzhou 510260, Guangdong Province Applicant before: GUANGZHOU TESTIN INFORMATION TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |