CN112363919B - User interface AI automatic test method, device, equipment and storage medium - Google Patents
User interface AI automatic test method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN112363919B CN112363919B CN202011205898.8A CN202011205898A CN112363919B CN 112363919 B CN112363919 B CN 112363919B CN 202011205898 A CN202011205898 A CN 202011205898A CN 112363919 B CN112363919 B CN 112363919B
- Authority
- CN
- China
- Prior art keywords
- page
- application software
- screenshot
- state
- type
- 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
- 238000010998 test method Methods 0.000 title claims abstract description 24
- 238000012360 testing method Methods 0.000 claims abstract description 93
- 238000012545 processing Methods 0.000 claims abstract description 65
- 238000000034 method Methods 0.000 claims abstract description 27
- 238000004891 communication Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 7
- 238000000605 extraction Methods 0.000 claims description 7
- 238000000691 measurement method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 238000013136 deep learning model Methods 0.000 description 4
- 238000010801 machine learning Methods 0.000 description 3
- 238000012015 optical character recognition Methods 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 235000007516 Chrysanthemum Nutrition 0.000 description 1
- 244000189548 Chrysanthemum x morifolium Species 0.000 description 1
- 238000013527 convolutional neural network Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000013598 vector Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the application provides a user interface AI automatic test method, device, equipment and storage medium. The method comprises the following steps: acquiring a current screenshot of a page of application software displayed on terminal equipment, and identifying the current screenshot of the page of the application software to obtain the type of the page of the application software; performing image matching processing on the current screenshot of the page of the application software and the previous screenshot of the page of the application software to obtain the similarity of the screenshots of the pages of two adjacent application software; judging whether the state of the page of the application software is a stable state or not according to the type of the page of the application software and the similarity of the screenshot of the pages of two adjacent application software; and when the state of the page of the application software is a stable state, performing preset operation on the target object in the page of the application software to obtain a result of the user interface automation test. According to the embodiment of the application, the stability of the test can be guaranteed, the test efficiency is improved, and the time cost of test and debugging is reduced.
Description
Technical Field
The present disclosure relates to the field of testing technologies, and in particular, to a User Interface (UI) artificial intelligence (Artificial Intelligence, AI) automated testing method, a User Interface AI automated testing device, an electronic apparatus, and a computer readable storage medium.
Background
User interface automation testing is based primarily on the functionality of the user interface. At present, when the page function is operated, due to the performance of the application software, network delay and other factors, the functions required to be operated are not completely loaded, that is, the page of the application software is in an unstable state, so that the automatic test of the user interface fails.
To address this problem, a step of proactively adding display latency is required to ensure the stability of the user interface automation test. However, adding a step of displaying the waiting time may have a certain influence on the efficiency of the user interface automation test, and may increase the time cost of the user interface automation test debugging.
Disclosure of Invention
The embodiment of the application provides a user interface AI automatic test method, a user interface AI automatic test device, electronic equipment and a computer readable storage medium, intelligent waiting is realized by determining the state of a page of application software, the stability of the user interface automatic test can be ensured, the efficiency of the user interface automatic test is improved, and the time cost of the user interface automatic test and debugging is reduced.
In order to solve the above technical problems, embodiments of the present application are implemented as follows:
in a first aspect, a method for automatically testing a user interface AI is provided, including:
acquiring a current screenshot of a page of application software displayed on terminal equipment, and identifying the current screenshot of the page of the application software to obtain the type of the page of the application software;
performing image matching processing on the current screenshot of the page of the application software and the previous screenshot of the page of the application software to obtain similarity of the screenshots of the two adjacent pages of the application software;
judging whether the state of the page of the application software is a stable state or not according to the type of the page of the application software and the similarity of the screenshot of the pages of two adjacent application software;
and under the condition that the state of the page of the application software is a stable state, performing preset operation on a target object in the page of the application software to obtain a result of the user interface automation test.
In a second aspect, there is provided a user interface AI automated test apparatus comprising:
the classifying module is used for acquiring the current screenshot of the page of the application software displayed on the terminal equipment, and identifying the current screenshot of the page of the application software to obtain the type of the page of the application software;
The matching module is used for matching the current screenshot of the page of the application software with the previous screenshot of the page of the application software to obtain the similarity of the screenshots of the two adjacent pages of the application software;
the judging module is used for judging whether the state of the page of the application software is a stable state or not according to the type of the page of the application software and the similarity of the screenshot of the pages of two adjacent application software;
and the processing module is used for carrying out preset operation on a target object in the page of the application software under the condition that the state of the page of the application software is a stable state, so as to obtain a result of the user interface automation test.
In a third aspect, embodiments of the present application provide an electronic device including a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete communication with each other through a bus; the memory is used for storing a computer program; the processor is configured to execute the program stored in the memory, and implement the user interface AI automatic test method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the user interface AI automation test method according to the first aspect.
According to the user interface AI automatic test method, the user interface AI automatic test device, the electronic equipment and the computer readable storage medium, the type of the page of the application software is obtained by acquiring the current screenshot of the page of the application software displayed on the terminal equipment and identifying the current screenshot of the page of the application software; performing image matching processing on the current screenshot of the page of the application software and the previous screenshot of the page of the application software to obtain the similarity of the screenshots of the pages of two adjacent application software; judging whether the state of the page of the application software is a stable state or not according to the type of the page of the application software and the similarity of the screenshot of the pages of two adjacent application software; under the condition that the state of the page of the application software is a stable state, carrying out preset operation on a target object in the page of the application software to obtain a result of the user interface automatic test; the AI technology is utilized to identify the pages of the application software displayed on the terminal equipment, the states of the pages of the application software are determined in combination with the similarity of the screen shots of the pages of two adjacent application software, intelligent waiting is realized, the step of actively adding display waiting time is not needed, the stability of automatic testing of the user interface can be ensured, the efficiency of the automatic testing of the user interface is improved, and the time cost of the automatic testing and debugging of the user interface is reduced.
Drawings
In order to more clearly illustrate one or more embodiments of the present application or the prior art solutions, the following description will briefly describe the drawings used in the embodiments or the prior art descriptions, and it should be apparent that the drawings in the following description are only some embodiments described in the present application, and that other drawings may be obtained according to these drawings without inventive effort to a person having ordinary skill in the art.
FIG. 1 is a flow chart of one implementation of a user interface AI automated test method in accordance with an embodiment of the disclosure;
FIG. 2 is a flow chart of another implementation of the user interface AI automated test method in accordance with an embodiment of the disclosure;
FIG. 3 is a flow chart of yet another implementation of the user interface AI automated test method in accordance with an embodiment of the disclosure;
FIG. 4 is a flow chart of one implementation of identifying the type of page of the application software by identifying a screenshot of the page of the application software in an embodiment of the present application;
FIG. 5 is a flowchart of an implementation manner of obtaining similarity of page shots of two adjacent pieces of application software by performing image matching on page shots of the application software in an embodiment of the present application;
Fig. 6 is a schematic diagram of an application scenario of the user interface AI automated test method according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a composition structure of an AI automatic test equipment in accordance with an embodiment of the present application;
fig. 8 is a schematic diagram of another composition structure of the user interface AI automatic test apparatus according to the embodiment of the present application.
Detailed Description
In order to better understand the technical solutions in one or more embodiments of the present application, the following description will clearly and completely describe the technical solutions in one or more embodiments of the present application in conjunction with the accompanying drawings in one or more embodiments of the present application, and obviously, the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which may be made by one or more embodiments of the present application without the exercise of inventive faculty, are intended to be within the scope of protection of this document.
Fig. 1 is a flow chart of one implementation manner of a user interface AI automatic test method according to an embodiment of the present application, where the method shown in fig. 1 may be executed by a user interface AI automatic test apparatus as an execution subject, and the user interface AI automatic test apparatus may be installed on a general-purpose terminal device, for example, a desktop computer, a notebook computer, a tablet computer, a mobile phone, a wearable device, or may be installed on a special-purpose test device, and the embodiment of the present application is not limited to this, and as shown in fig. 1, the automatic test method at least includes:
S102, acquiring a current screenshot of a page of the application software displayed on the terminal equipment, and identifying the current screenshot of the page of the application software to obtain the type of the page of the application software.
In this embodiment of the present application, the object of the user interface automation test may be application software (application software) installed on a terminal device, for example, the terminal device may be a mobile phone, a tablet computer, a vehicle-mounted computer, a wearable device, etc., and the application software may be life utility software, social software, efficiency office software, music video software, shopping software, travel software, etc., which is not limited to the types of the central device and the application software. Optionally, after the application software is opened on the terminal device, the current screenshot of the page of the application software can be intercepted by the terminal device and sent to the user interface AI automatic testing device, so as to obtain the current screenshot of the page of the application software displayed on the terminal device; or, the user interface of the terminal equipment can be displayed on the user interface AI automatic testing device, after the application software on the terminal equipment is opened, the user interface AI automatic testing device intercepts the current screenshot of the page of the application software, and obtains the current screenshot of the page of the application software displayed on the terminal equipment; the embodiment of the invention does not limit the implementation way of acquiring the current screenshot of the page of the application software displayed on the terminal equipment.
In the embodiment of the present application, the page of the application software includes page elements such as text and icons, and the embodiment of the present application does not limit the type of the page elements, where in the embodiment of the present application, the text includes numerals. After the current screenshot of the page of the application software displayed on the terminal device is obtained, the type of the page element in the page of the application software can be obtained by identifying the page element in the current screenshot of the page of the application software, and the type of the page of the application software can be determined according to the type of the page element in the page of the application software. Alternatively, the identifying process may be performed on the current screenshot of the page of the application software through machine learning, for example, the machine learning may be a deep learning model, and an implementation manner of the identifying process on the current screenshot of the page of the application software in the embodiment of the present application is not limited.
And S104, performing image matching processing on the current screenshot of the page of the application software and the previous screenshot of the page of the application software to obtain the similarity of the screenshots of the pages of the two adjacent application software.
In the embodiment of the present application, an existing image matching algorithm may be adopted, and by performing image matching processing on a current screenshot of a page of the application software and a previous screenshot of a page of the application software, a similarity of the shots of the pages of the two adjacent application software is obtained.
In some optional examples, matching the gray value of the current screenshot of the page of the application software with the gray value of the previous screenshot of the page of the application software according to a preset similarity measurement method to obtain the similarity of the screenshots of the two adjacent application software pages; in other optional examples, the feature value of the current screenshot of the page of the application software and the feature value of the previous screenshot of the page of the application software can be obtained, and the feature value of the current screenshot of the page of the application software and the feature value of the previous screenshot of the page of the application software are matched according to a preset similarity measurement method, so that the similarity of the screenshots of the two adjacent application software pages is obtained; the preset similarity measurement method adopted in the image matching process can be implemented by adopting the existing similarity measurement method, which is not limited in the embodiment of the present application.
And S106, judging whether the state of the page of the application software is a stable state or not according to the type of the page of the application software and the similarity of the screenshot of the pages of two adjacent application software.
In the embodiment of the present application, the types of the pages of the application software may at least include: loading middle page and non-loading middle page; the similarity of the screenshots of the pages of two adjacent application software at least comprises: the similarity of the screenshots of the pages of two adjacent application software is consistent and the similarity of the screenshots of the pages of two adjacent application software is inconsistent; however, the embodiment of the present application is not limited thereto, and the type of the page of the application software may further include a specific type of the page in the non-loading state, and the similarity of the screenshots of the pages of the two adjacent application software may further include a specific similarity value of the screenshots of the pages of the two adjacent application software that are inconsistent. After the type of the page of the application software and the similarity of the screenshots of the pages of the two adjacent application software are obtained, whether the state of the page of the application software is in a stable state or not can be judged according to the type of the page of the application software and the similarity of the screenshots of the pages of the two adjacent application software. Optionally, according to the fact that the type of the page of the application software is a non-loading page and the similarity of the screenshots of the pages of two adjacent application software is consistent, judging that the state of the page of the application software is a stable state; the embodiment of the application is not limited to an implementation manner of determining that the state of the page of the application software is a stable state.
S108, under the condition that the state of the page of the application software is a stable state, performing preset operation on the target object in the page of the application software to obtain a result of the user interface automation test.
In the embodiment of the present application, the target object may be a page element such as a text or an icon that can be operated in a page of the application software, and the type of the target object is not limited in the embodiment of the present application. The operation performed on the target object may be preset according to the type of the target object, so that in the case that the state of the page of the application software is determined to be a stable state, the preset operation may be performed on the target object, and a result of the user interface automation test is obtained, for example, the preset operation performed on the target object may include one of the following operations: click operation, assignment operation, sliding operation, input operation. Optionally, the identification processing may be performed on the page element in the current screenshot of the page of the application software, so as to obtain the position information of the target object in the page of the application software when the type of the page element in the page of the application software is obtained, so that when the state of the page of the application software is determined to be a stable state, the preset operation may be performed on the target object according to the position information of the target object in the page of the application software, and a result of the user interface automation test is obtained. In the embodiment of the application, the implementation manner of performing the preset operation on the target object in the page of the application software is not limited under the condition that the state of the page of the application software is in a stable state.
According to the user interface AI automatic test method, the current screenshot of the page of the application software displayed on the terminal equipment is obtained, and the current screenshot of the page of the application software is identified to obtain the type of the page of the application software; performing image matching processing on the current screenshot of the page of the application software and the previous screenshot of the page of the application software to obtain the similarity of the screenshots of the pages of two adjacent application software; judging whether the state of the page of the application software is a stable state or not according to the type of the page of the application software and the similarity of the screenshot of the pages of two adjacent application software; under the condition that the state of the page of the application software is a stable state, carrying out preset operation on a target object in the page of the application software to obtain a result of the user interface automatic test; the AI technology is utilized to identify the pages of the application software displayed on the terminal equipment, the states of the pages of the application software are determined in combination with the similarity of the screen shots of the pages of two adjacent application software, intelligent waiting is realized, the step of actively adding display waiting time is not needed, the stability of automatic testing of the user interface can be ensured, the efficiency of the automatic testing of the user interface is improved, and the time cost of the automatic testing and debugging of the user interface is reduced.
The user interface AI automated test method of the present application will be described in detail below in connection with the embodiments of fig. 2-6.
Fig. 2 is a flow chart of another implementation manner of the user interface AI automated test method according to the embodiment of the present application, and as shown in fig. 2, the automated test method at least includes:
s202, acquiring a current screenshot of a page of application software displayed on the terminal equipment, and identifying the current screenshot of the page of the application software to obtain the type of the page of the application software.
In the present embodiment, the description about S202 can be referred to the description about S102 in fig. 1, so that the description is not repeated here.
S204, performing image matching processing on the current screenshot of the page of the application software and the previous screenshot of the page of the application software to obtain the similarity of the screenshots of the pages of the two adjacent application software.
In the present embodiment, the description about S204 can be referred to the description about S104 in fig. 1, so that the description is not repeated here.
S206, judging whether the state of the page of the application software is a stable state according to the type of the page of the application software and the similarity of the screenshot of the pages of two adjacent application software.
In the present embodiment, the description about S206 can be referred to the description about S106 in fig. 1, so that the description is not repeated here. Optionally, according to the fact that the type of the page of the application software is a non-loading page, and the similarity of the screenshots of the pages of two adjacent application software is consistent, judging that the state of the page of the application software is a stable state; according to the method, the state of the page of the application software is judged to be an unstable state according to the fact that the type of the page of the application software is the page in loading or the similarity of the screenshots of the pages of two adjacent application software is inconsistent; the embodiment of the application is not limited to the implementation manner of determining that the state of the page of the application software is the stable state and the unstable state.
Executing S208 in the case that the state of the page of the application software is a stable state; otherwise, in the case where the state of the page of the application software is an unstable state, S202 is executed.
S208, performing preset operation on the target object in the page of the application software to obtain a result of the user interface automation test.
In the present embodiment, the explanation about S208 can be referred to the explanation about S108 in fig. 1, so that the description is not repeated here. In the present embodiment, in the case where it is determined that the state of the page of the application software is an unstable state, S202 may be returned to, and S202, S204, and S206 may be executed in a loop from S202 until S208 is executed in the case where it is determined that the state of the page of the application software is a stable state.
According to the embodiment, under the condition that the state of the page of the application software is judged to be an unstable state, the current screenshot of the page of the application software displayed on the terminal equipment is acquired, the current screenshot of the page of the application software is identified, the type of the page of the application software is obtained, the cyclic execution is started, the intelligent waiting time can be determined according to the time that the state of the page of the application software is in the unstable state, the efficiency of automatic testing of the user interface is fully ensured, and the time cost of automatic testing and debugging of the user interface is effectively reduced.
Fig. 3 is a flow chart of another implementation manner of the user interface AI automated testing method according to the embodiment of the present application, and as shown in fig. 3, the automated testing method at least includes:
s302, opening a page of application software on the terminal equipment, and starting timing through a timer.
In this embodiment, the timer may be set in the user interface AI automated test apparatus, for example, the timer may be implemented in hardware or software, which is not limited in implementation manner. The timer can be started at the same time when the application software on the terminal device is opened.
S304, acquiring a current screenshot of a page of the application software displayed on the terminal equipment, and identifying the current screenshot of the page of the application software to obtain the type of the page of the application software.
In the present embodiment, the description about S304 can be referred to the description about S102 in fig. 1, so that the description is not repeated here.
S306, performing image matching processing on the current screenshot of the page of the application software and the previous screenshot of the page of the application software to obtain the similarity of the screenshots of the pages of two adjacent application software.
In the present embodiment, the description about S306 can be referred to the description about S104 in fig. 1, so that the description is not repeated here.
S308, judging whether the state of the page of the application software is a stable state according to the type of the page of the application software and the similarity of the screenshot of the pages of two adjacent application software.
In the present embodiment, the explanation about S308 can be referred to the explanation about S206 in fig. 2, so that the description is not repeated here.
In the case where the state of the page of the application software is a stable state, S310 is performed; otherwise, in the case where the state of the page of the application software is an unstable state, S312 is executed.
S310, performing preset operation on the target object in the page of the application software to obtain a result of the user interface automation test.
In the present embodiment, the explanation about S310 can be referred to the explanation about S108 in fig. 1, so that the description is not repeated here.
S312, acquiring the time of the timer, and judging whether the time of the timer is smaller than the preset timeout time.
Executing S304 in case that the time of the timer is smaller than the preset timeout time; otherwise, in case the time of the timer is greater than or equal to the preset timeout time, S314 is performed.
S314, returning prompt information of test failure.
In this embodiment, when it is determined that the state of the page of the application software is an unstable state, the acquired time of the timer may be compared with a preset timeout period to determine whether the time of the timer is smaller than the preset timeout period, where the timeout period may be preset according to the requirement of the user interface automation test. In the case where it is determined that the time of the timer is less than the preset timeout period, S304 may be returned to, and S304, S306, and S308 are cyclically executed from S304 until S310 is executed in the case where it is determined that the state of the page of the application software is a steady state; when the time of the timer is greater than or equal to the preset timeout period, the prompt message of the test failure may be returned, and the form of the returned prompt message of the test failure is not limited in this embodiment, for example, the prompt message of the test failure may be prompted by text and/or a prompt tone.
According to the embodiment, when the page of the application software on the terminal equipment is opened, the timer starts to count, the time-out time is set, and when the state of the page of the application software is an unstable state and the duration of the unstable state exceeds the time-out time, namely, the opening time of the page of the application software exceeds the time-out time, the automatic test of the user interface is ended, the efficiency of the automatic test of the user interface can be effectively ensured, and the time cost of the automatic test and debugging of the user interface is reduced.
Fig. 4 is a flow chart of an implementation manner of identifying a screenshot of a page of application software to obtain a type of the page of the application software, and as shown in fig. 4, obtaining a current screenshot of the page of the application software displayed on a terminal device, and identifying the current screenshot of the page of the application software to obtain the type of the page of the application software, where the identifying at least includes:
s402, intercepting the current screenshot of the page of the application software displayed on the terminal equipment.
In this embodiment, the screenshot of the current page of the application software displayed on the terminal device is obtained by displaying the user interface of the terminal device on the user interface AI automatic test apparatus, and after the application software on the terminal device is opened, intercepting the screenshot by the user interface AI automatic test apparatus.
S404, performing image recognition processing and/or text recognition processing on the page elements in the current screenshot of the page of the application software to obtain the types of the page elements in the page of the application software.
In this embodiment, text recognition processing may be performed on text in a screenshot of a current page of the application software, so as to obtain content of text in the page of the application software, for example, text recognition processing may be performed through optical character recognition (Optical Character Recognition, abbreviated as OCR); the image recognition processing can be performed on the icon and the like in the screenshot of the current page of the application software to obtain the types of page elements such as the icon and the like in the page of the application software, for example, the image recognition processing can be performed through image matching, wherein the image matching can adopt algorithms such as template matching or feature matching, and the algorithm for realizing the image matching is not limited in the embodiment of the application.
In some optional examples, the text recognition processing and the image recognition processing can be respectively performed on the screenshot of the current page of the application software through two deep learning models; in other alternative examples, the text detection process and the general object detection process may be performed on the screenshot of the current page of the application software through two deep learning models, the text region and the general object region are identified in the screenshot of the current page of the application software, and then the text recognition process and the image recognition process are performed on the text region and the general object region identified in the screenshot of the current page of the application software through two deep learning models, respectively; the implementation manner of performing the text recognition processing and the image recognition processing on the screenshot of the current page of the application software is not limited.
S406, determining the type of the page of the application software according to the type of the page element in the page of the application software.
In this embodiment, the type of the page of the application software may be determined according to the content of the text in the page of the application software and the type of the page element such as the icon by performing the image recognition processing and/or the text recognition processing on the page element in the current screenshot of the page of the application software. For example, when the page element in the current screenshot of the page of the application software is subjected to image recognition processing and/or text recognition processing to obtain that the page of the application software contains the chrysanthemum icon and/or the text in loading, the type of the page of the application software can be determined to be the page in loading, and the type of the page element in the page of the application software corresponding to the type of the page of the application software is not limited in the embodiment of the application.
According to the method, the type of the page element in the page of the application software is obtained by performing image recognition processing and/or text recognition processing on the current screenshot of the page of the application software, the type of the page of the application software is determined according to the type of the page element in the page of the application software, and the image recognition processing and/or text recognition processing on the screenshots of different application software of different terminal devices can be realized through the same image recognition processing and/or text recognition processing model, so that the universality of the user interface AI automatic test method is ensured.
Fig. 5 is a flow chart of an implementation manner of obtaining similarity of page shots of two adjacent pieces of application software by performing image matching on page shots of application software in the embodiment of the present application, as shown in fig. 5, and performing image matching processing on a current shot of a page of application software and a previous shot of a page of application software to obtain similarity of shots of pages of two adjacent pieces of application software, where the method at least includes:
s502, respectively carrying out feature extraction processing on the current screenshot of the page of the application software and the previous screenshot of the page of the application software to obtain feature data of the current screenshot of the page of the application software and the previous screenshot of the page of the application software.
In this embodiment, feature extraction processing is performed on a current screenshot of a page of the application software and a previous screenshot of the page of the application software, so as to obtain feature data of the current screenshot of the page of the application software and feature data of the previous screenshot of the page of the application software. In this embodiment, the feature data may include feature vectors and the like, and the form of the feature data is not limited in this embodiment. Optionally, feature extraction processing can be performed on a current screenshot of a page of the application software and a previous screenshot of the page of the application software through machine learning; in some alternative examples, feature extraction processing may be performed on a current screenshot of a page of the application software and a previous screenshot of the page of the application software through a neural network, e.g., the neural network may employ a convolutional neural network; the implementation manner of performing feature extraction processing on the current screenshot of the page of the application software and the previous screenshot of the page of the application software in the embodiment of the application is not limited.
And S504, matching the characteristic data of the current screenshot of the page of the application software with the characteristic data of the previous screenshot of the page of the application software, and determining the similarity of the screenshots of the pages of two adjacent application software.
In this embodiment, after obtaining the feature data of the current screenshot of the page of the application software and the feature data of the previous screenshot of the page of the application software, matching the feature data of the current screenshot of the page of the application software with the feature data of the previous screenshot of the page of the application software according to a preset similarity measurement method, and determining the similarity of the screenshots of the two adjacent application software pages. In this embodiment, an existing similarity measurement method may be used to perform matching processing on feature data of a current screenshot of a page of the application software and feature data of a previous screenshot of the page of the application software, for example, an existing similarity measurement method may use euclidean distance, which is not limited in this embodiment of the present application.
According to the embodiment, the screenshot of the pages of the two adjacent application software are subjected to image matching processing through the characteristic points of the images, the similarity of the screenshot of the pages of the two adjacent application software is determined, the calculated amount of the image matching process can be reduced, and the image matching precision is ensured.
Fig. 6 is a schematic diagram of an application scenario of an automatic testing method for a user interface AI in the embodiment of the present application, as shown in fig. 6, in which, when a certain application software on a mobile phone is opened, the state of a page of the application software at 5 moments is shown in fig. 6, and by sequentially obtaining screenshots of the page of the application software displayed on the mobile phone at 5 moments, respectively performing identification processing on the screenshots of the page of the application software at 5 moments, and respectively obtaining types of the page of the application software at 5 moments. For example, by acquiring a screenshot of a page of the application software displayed on the mobile phone at a first moment and identifying a page element in the screenshot of the page of the application software at the first moment, a type of the page of the application software at the first moment can be obtained as a loading page, and at this time, the state of the page of the application software can be determined to be an unstable state according to the type of the page of the application software as the loading page; therefore, the screen capturing of the page of the application software at the second moment can be obtained, the page elements in the screen capturing of the page of the application software at the second moment can be identified, the type of the page of the application software at the second moment can be obtained as a loading page, and at the moment, the state of the page of the application software can be judged to be an unstable state according to the type of the page of the application software as the loading page; therefore, the screen capturing of the page of the application software at the third moment displayed on the mobile phone can be obtained, the page elements in the screen capturing of the page of the application software at the third moment are identified, the type of the page of the application software at the third moment is a loading page, and at the moment, the state of the page of the application software can be judged to be an unstable state according to the type of the page of the application software as the loading page; therefore, the page elements in the screenshot of the page of the application software at the fourth moment can be identified by acquiring the screenshot of the page of the application software at the fourth moment, and the page element in the screenshot of the page of the application software at the fourth moment can be obtained as a non-loaded page. Thereby, the state of the page of the application software can be judged to be an unstable state; therefore, the screen capture of the page of the application software at the fifth moment displayed on the mobile phone can be obtained, the page elements in the screen capture of the page of the application software at the fifth moment are identified, the page of the application software at the fifth moment is a non-loaded page, and at the moment, the screen capture of the page of the application software at the fifth moment and the screen capture of the page of the application software at the fourth moment are subjected to image matching processing, so that the similarity of the screen captures of the adjacent two pages of the application software can be obtained. Thereby, the state of the page of the application software can be judged to be a stable state; therefore, the target object in the page of the application software can be subjected to preset operation, and the result of the user interface automatic test is obtained.
Corresponding to the above-mentioned method for automatically testing the user interface AI described in fig. 1 to 6, based on the same technical concept, the embodiment of the present application further provides a device for automatically testing the user interface AI, where the device for automatically testing the user interface AI may be installed on a general terminal device, for example, a desktop computer, a notebook computer, a tablet computer, a mobile phone, a wearable device, or may also be installed on a special test device, which is not limited in this embodiment of the present application, and fig. 7 is a schematic structural diagram of a device for automatically testing the user interface AI described in fig. 1 to 6, and as shown in fig. 7, the device for automatically testing the user interface AI at least includes: the classification module 710, the matching module 720, the judging module 730 and the processing module 740 are sequentially connected, and the judging module 730 is also connected with the classification module 710. Wherein,
the classification module 710 is configured to obtain a current screenshot of a page of the application software displayed on the terminal device, and perform identification processing on the current screenshot of the page of the application software to obtain a type of the page of the application software.
In the embodiment of the present application, the description of the classification module 710 may refer to the description of S102 in fig. 1, so that the description will not be repeated here.
And the matching module 720 is configured to match the current screenshot of the page of the application software with the previous screenshot of the page of the application software, so as to obtain similarity of the screenshots of the pages of the two adjacent application software.
In the embodiment of the present application, the description about the matching module 720 may refer to the description about S104 in fig. 1, so that the description is not repeated here.
And the judging module 730 is configured to judge whether the state of the page of the application software is a stable state according to the type of the page of the application software and the similarity of the screenshots of the two adjacent pages of the application software.
In the embodiment of the present application, the description of the determining module 730 may refer to the description of S106 in fig. 1, so that the description will not be repeated here.
And the processing module 740 is used for carrying out preset operation on the target object in the page of the application software under the condition that the state of the page of the application software is in a stable state, so as to obtain the result of the user interface automation test.
In the embodiment of the present application, the description about the processing module 740 may refer to the description about S108 in fig. 1, so that the description is not repeated here.
According to the user interface AI automatic test device, the current screenshot of the page of the application software displayed on the terminal equipment is obtained, and the current screenshot of the page of the application software is identified to obtain the type of the page of the application software; performing image matching processing on the current screenshot of the page of the application software and the previous screenshot of the page of the application software to obtain the similarity of the screenshots of the pages of two adjacent application software; judging whether the state of the page of the application software is a stable state or not according to the type of the page of the application software and the similarity of the screenshot of the pages of two adjacent application software; under the condition that the state of the page of the application software is a stable state, carrying out preset operation on a target object in the page of the application software to obtain a result of the user interface automatic test; the AI technology is utilized to identify the pages of the application software displayed on the terminal equipment, the states of the pages of the application software are determined in combination with the similarity of the screen shots of the pages of two adjacent application software, intelligent waiting is realized, the step of actively adding display waiting time is not needed, the stability of automatic testing of the user interface can be ensured, the efficiency of the automatic testing of the user interface is improved, and the time cost of the automatic testing and debugging of the user interface is reduced.
Optionally, the classification module 710 is further configured to obtain a current screenshot of the page of the application software displayed on the terminal device when the state of the page of the application software is an unstable state, and perform identification processing on the current screenshot of the page of the application software to obtain a type of the page of the application software.
Optionally, as shown in fig. 8, fig. 8 is a schematic diagram illustrating another composition structure of the user interface AI automatic testing device according to an embodiment of the present application, where the user interface AI automatic testing device further includes a timer 750 and a prompt module 760, and the timer 750 and the prompt module 760 are respectively connected to the judging module 730. The timer 750 is used to start timing when a page of application software on the terminal device is opened. The determining module 730 is further configured to obtain the time of the timer and determine whether the time of the timer is less than a preset timeout period when the state of the page of the application software is an unstable state. The classification module 710 is further configured to obtain a current screenshot of a page of the application software displayed on the terminal device when the time of the timer is less than a preset timeout time, and identify the current screenshot of the page of the application software to obtain a type of the page of the application software. The prompt module 760 is configured to return prompt information of test failure when the time of the timer is greater than or equal to a preset timeout period.
Optionally, a classification module 710, configured to intercept a current screenshot of a page of the application software displayed on the terminal device; performing image recognition processing and/or text recognition processing on page elements in the current screenshot of the page of the application software to obtain types of the page elements in the page of the application software; and determining the type of the page of the application software according to the type of the page element in the page of the application software.
Optionally, the matching module 720 is configured to perform feature extraction processing on a current screenshot of a page of the application software and a previous screenshot of the page of the application software, to obtain feature data of the current screenshot of the page of the application software and the previous screenshot of the page of the application software; and matching the characteristic data of the current screenshot of the page of the application software with the characteristic data of the previous screenshot of the page of the application software, and determining the similarity of the screenshots of the pages of two adjacent application software.
Optionally, the judging module 730 is configured to judge that the state of the page of the application software is an unstable state according to that the type of the page of the application software is a loading page or the similarity of the screenshots of the pages of two adjacent application software is inconsistent; and judging that the state of the page of the application software is a stable state according to the fact that the type of the page of the application software is a non-loading page and the similarity of the screenshots of the pages of two adjacent application software is consistent.
Optionally, the processing module 740 is configured to perform a preset operation on the target object in the page of the application software, where the preset operation includes at least one of the following operations: click operation, assignment operation, slide operation, and input operation.
Corresponding to the above-described user interface AI automated test method described in fig. 1 to 6, based on the same technical concept, the embodiment of the present application further provides an electronic device, where the electronic device includes: a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete communication with each other through a bus; a memory for storing a computer program; and the processor is used for executing the programs stored in the memory and realizing the following methods:
acquiring a current screenshot of a page of application software displayed on terminal equipment, and identifying the current screenshot of the page of the application software to obtain the type of the page of the application software;
performing image matching processing on the current screenshot of the page of the application software and the previous screenshot of the page of the application software to obtain the similarity of the screenshots of the pages of two adjacent application software;
judging whether the state of the page of the application software is a stable state or not according to the type of the page of the application software and the similarity of the screenshot of the pages of two adjacent application software;
And under the condition that the state of the page of the application software is in a stable state, performing preset operation on the target object in the page of the application software to obtain a result of the user interface automation test.
According to the electronic device, the current screenshot of the page of the application software is acquired and displayed on the terminal device, and the current screenshot of the page of the application software is identified, so that the type of the page of the application software is obtained; performing image matching processing on the current screenshot of the page of the application software and the previous screenshot of the page of the application software to obtain the similarity of the screenshots of the pages of two adjacent application software; judging whether the state of the page of the application software is a stable state or not according to the type of the page of the application software and the similarity of the screenshot of the pages of two adjacent application software; under the condition that the state of the page of the application software is a stable state, carrying out preset operation on a target object in the page of the application software to obtain a result of the user interface automatic test; the AI technology is utilized to identify the pages of the application software displayed on the terminal equipment, the states of the pages of the application software are determined in combination with the similarity of the screen shots of the pages of two adjacent application software, intelligent waiting is realized, the step of actively adding display waiting time is not needed, the stability of automatic testing of the user interface can be ensured, the efficiency of the automatic testing of the user interface is improved, and the time cost of the automatic testing and debugging of the user interface is reduced.
Corresponding to the above-described user interface AI automated test method described in fig. 1 to 6, based on the same technical concept, the embodiments of the present application further provide a computer readable storage medium, on which a computer program is stored, where the computer program when executed by a processor implements the following flow:
acquiring a current screenshot of a page of application software displayed on terminal equipment, and identifying the current screenshot of the page of the application software to obtain the type of the page of the application software;
performing image matching processing on the current screenshot of the page of the application software and the previous screenshot of the page of the application software to obtain the similarity of the screenshots of the pages of two adjacent application software;
judging whether the state of the page of the application software is a stable state or not according to the type of the page of the application software and the similarity of the screenshot of the pages of two adjacent application software;
and under the condition that the state of the page of the application software is in a stable state, performing preset operation on the target object in the page of the application software to obtain a result of the user interface automation test.
The computer readable storage medium of the embodiment of the application identifies the current screenshot of the page of the application software by acquiring the current screenshot of the page of the application software displayed on the terminal equipment, so as to obtain the type of the page of the application software; performing image matching processing on the current screenshot of the page of the application software and the previous screenshot of the page of the application software to obtain the similarity of the screenshots of the pages of two adjacent application software; judging whether the state of the page of the application software is a stable state or not according to the type of the page of the application software and the similarity of the screenshot of the pages of two adjacent application software; under the condition that the state of the page of the application software is a stable state, carrying out preset operation on a target object in the page of the application software to obtain a result of the user interface automatic test; the AI technology is utilized to identify the pages of the application software displayed on the terminal equipment, the states of the pages of the application software are determined in combination with the similarity of the screen shots of the pages of two adjacent application software, intelligent waiting is realized, the step of actively adding display waiting time is not needed, the stability of automatic testing of the user interface can be ensured, the efficiency of the automatic testing of the user interface is improved, and the time cost of the automatic testing and debugging of the user interface is reduced.
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 one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
One or more embodiments of the present application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
All embodiments in the application are described in a progressive manner, and identical and similar parts of all embodiments are mutually referred, so that each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing description is by way of example only and is not intended to limit the present disclosure. Various modifications and changes may occur to those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. that fall within the spirit and principles of the present document are intended to be included within the scope of the claims of the present document.
Claims (9)
1. A method for automatically testing a user interface AI, comprising:
acquiring a current screenshot of a page of application software displayed on terminal equipment, and identifying the current screenshot of the page of the application software to obtain the type of the page of the application software;
performing image matching processing on the current screenshot of the page of the application software and the previous screenshot of the page of the application software to obtain similarity of the screenshots of the two adjacent pages of the application software;
Judging whether the state of the page of the application software is a stable state or not according to the type of the page of the application software and the similarity of the screenshot of the pages of two adjacent application software;
under the condition that the state of the page of the application software is a stable state, performing preset operation on a target object in the page of the application software to obtain a result of automatic testing of a user interface;
the method for obtaining the current screenshot of the page of the application software displayed on the terminal equipment, and identifying the current screenshot of the page of the application software to obtain the type of the page of the application software comprises the following steps:
intercepting a current screenshot of a page of the application software displayed on the terminal equipment;
performing image recognition processing and/or text recognition processing on page elements in the current screenshot of the page of the application software to obtain types of the page elements in the page of the application software;
and determining the type of the page of the application software according to the type of the page element in the page of the application software.
2. The automated test method of claim 1, further comprising:
and under the condition that the state of the page of the application software is an unstable state, acquiring the current screenshot of the page of the application software displayed on the terminal equipment, and carrying out identification processing on the current screenshot of the page of the application software to obtain the type of the page of the application software.
3. The automated test method of claim 2, further comprising:
opening the page of the application software on the terminal equipment, and starting timing through a timer;
under the condition that the state of the page of the application software is an unstable state, acquiring the current screenshot of the page of the application software displayed on the terminal equipment, and carrying out identification processing on the current screenshot of the page of the application software to obtain the type of the page of the application software, wherein the method comprises the following steps:
under the condition that the state of the page of the application software is an unstable state, acquiring the time of the timer, and judging whether the time of the timer is smaller than a preset timeout time or not;
under the condition that the time of the timer is smaller than the preset timeout time, acquiring the current screenshot of the page of the application software displayed on the terminal equipment, and identifying the current screenshot of the page of the application software to obtain the type of the page of the application software;
and returning prompt information of test failure under the condition that the time of the timer is greater than or equal to the preset timeout time.
4. The automated testing method of claim 1, wherein performing image matching processing on the current screenshot of the page of the application software and the previous screenshot of the page of the application software to obtain the similarity of the shots of the two adjacent pages of the application software comprises:
Respectively carrying out feature extraction processing on the current screenshot of the page of the application software and the previous screenshot of the page of the application software to obtain feature data of the current screenshot of the page of the application software and the previous screenshot of the page of the application software;
and matching the characteristic data of the current screenshot of the page of the application software with the characteristic data of the previous screenshot of the page of the application software, and determining the similarity of the screenshots of the two adjacent pages of the application software.
5. The automated testing method of claim 4, wherein the determining whether the state of the page of the application software is a stable state according to the type of the page of the application software and the similarity of the screenshots of the pages of two adjacent application software comprises:
judging that the state of the page of the application software is an unstable state according to the fact that the type of the page of the application software is a page in loading or the similarity of the screenshots of the two adjacent pages of the application software is inconsistent;
and judging that the state of the page of the application software is a stable state according to the fact that the type of the page of the application software is a non-loaded page and the similarity of the screenshots of the two adjacent pages of the application software is consistent.
6. The automated testing method of claim 5, wherein the preset operation performed on the target object in the page of the application software comprises at least one of: click operation, assignment operation, slide operation, and input operation.
7. An automated user interface AI testing apparatus, comprising:
the classifying module is used for acquiring the current screenshot of the page of the application software displayed on the terminal equipment, and identifying the current screenshot of the page of the application software to obtain the type of the page of the application software;
the matching module is used for matching the current screenshot of the page of the application software with the previous screenshot of the page of the application software to obtain the similarity of the screenshots of the two adjacent pages of the application software;
the judging module is used for judging whether the state of the page of the application software is a stable state or not according to the type of the page of the application software and the similarity of the screenshot of the pages of two adjacent application software;
the processing module is used for carrying out preset operation on a target object in the page of the application software under the condition that the state of the page of the application software is a stable state, so as to obtain a result of the user interface automation test;
The classifying module is also used for intercepting the current screenshot of the page of the application software displayed on the terminal equipment; performing image recognition processing and/or text recognition processing on page elements in the current screenshot of the page of the application software to obtain types of the page elements in the page of the application software; and determining the type of the page of the application software according to the type of the page element in the page of the application software.
8. An electronic device comprising a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete communication with each other through a bus; the memory is used for storing a computer program; the processor is configured to execute a program stored on the memory to implement the user interface AI automated test method of any of claims 1-6.
9. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements the user interface AI automation test method of any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011205898.8A CN112363919B (en) | 2020-11-02 | 2020-11-02 | User interface AI automatic test method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011205898.8A CN112363919B (en) | 2020-11-02 | 2020-11-02 | User interface AI automatic test method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112363919A CN112363919A (en) | 2021-02-12 |
CN112363919B true CN112363919B (en) | 2024-02-13 |
Family
ID=74513351
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011205898.8A Active CN112363919B (en) | 2020-11-02 | 2020-11-02 | User interface AI automatic test method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112363919B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI774258B (en) * | 2021-03-08 | 2022-08-11 | 瑞昱半導體股份有限公司 | Processing system and processing method for user interface |
CN113220379B (en) * | 2021-05-11 | 2022-08-19 | 中电金信软件有限公司 | Task processing method and device, electronic equipment and readable storage medium |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521284A (en) * | 2011-11-28 | 2012-06-27 | 优视科技有限公司 | Page screenshot processing method and device based on mobile terminal browser |
CN104424092A (en) * | 2013-08-22 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Page loading time length testing method and device |
CN104866414A (en) * | 2014-02-24 | 2015-08-26 | 腾讯科技(深圳)有限公司 | Method, device and system for testing application program |
CN105955884A (en) * | 2016-04-27 | 2016-09-21 | 上海携程商务有限公司 | Method and device for checking white screen of App (Application) page |
CN106055475A (en) * | 2016-05-24 | 2016-10-26 | 广州视睿电子科技有限公司 | Version compatibility detection method and device |
CN106971386A (en) * | 2016-01-14 | 2017-07-21 | 广州市动景计算机科技有限公司 | Judge method, device and the client device of image integrity degree and page loading degree |
CN107783898A (en) * | 2017-07-24 | 2018-03-09 | 平安科技(深圳)有限公司 | The method of testing and test equipment of Mobile solution |
CN109189682A (en) * | 2018-08-27 | 2019-01-11 | 广州云测信息技术有限公司 | A kind of script method for recording and device |
CN109828926A (en) * | 2019-01-31 | 2019-05-31 | 广州云测信息技术有限公司 | It is a kind of to judge whether application interface loads exception, application testing method and device |
CN110209539A (en) * | 2018-02-28 | 2019-09-06 | 华为技术有限公司 | A kind of test method, terminal device and tester |
WO2019200783A1 (en) * | 2018-04-18 | 2019-10-24 | 平安科技(深圳)有限公司 | Method for data crawling in page containing dynamic image or table, device, terminal, and storage medium |
CN111026648A (en) * | 2019-11-21 | 2020-04-17 | 汉海信息技术(上海)有限公司 | Application program page testing method and device, electronic equipment and storage medium |
CN111767228A (en) * | 2020-06-30 | 2020-10-13 | 平安国际智慧城市科技股份有限公司 | Interface testing method, device, equipment and medium based on artificial intelligence |
-
2020
- 2020-11-02 CN CN202011205898.8A patent/CN112363919B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521284A (en) * | 2011-11-28 | 2012-06-27 | 优视科技有限公司 | Page screenshot processing method and device based on mobile terminal browser |
CN104424092A (en) * | 2013-08-22 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Page loading time length testing method and device |
CN104866414A (en) * | 2014-02-24 | 2015-08-26 | 腾讯科技(深圳)有限公司 | Method, device and system for testing application program |
CN106971386A (en) * | 2016-01-14 | 2017-07-21 | 广州市动景计算机科技有限公司 | Judge method, device and the client device of image integrity degree and page loading degree |
CN105955884A (en) * | 2016-04-27 | 2016-09-21 | 上海携程商务有限公司 | Method and device for checking white screen of App (Application) page |
CN106055475A (en) * | 2016-05-24 | 2016-10-26 | 广州视睿电子科技有限公司 | Version compatibility detection method and device |
CN107783898A (en) * | 2017-07-24 | 2018-03-09 | 平安科技(深圳)有限公司 | The method of testing and test equipment of Mobile solution |
CN110209539A (en) * | 2018-02-28 | 2019-09-06 | 华为技术有限公司 | A kind of test method, terminal device and tester |
WO2019200783A1 (en) * | 2018-04-18 | 2019-10-24 | 平安科技(深圳)有限公司 | Method for data crawling in page containing dynamic image or table, device, terminal, and storage medium |
CN109189682A (en) * | 2018-08-27 | 2019-01-11 | 广州云测信息技术有限公司 | A kind of script method for recording and device |
CN109828926A (en) * | 2019-01-31 | 2019-05-31 | 广州云测信息技术有限公司 | It is a kind of to judge whether application interface loads exception, application testing method and device |
CN111026648A (en) * | 2019-11-21 | 2020-04-17 | 汉海信息技术(上海)有限公司 | Application program page testing method and device, electronic equipment and storage medium |
CN111767228A (en) * | 2020-06-30 | 2020-10-13 | 平安国际智慧城市科技股份有限公司 | Interface testing method, device, equipment and medium based on artificial intelligence |
Non-Patent Citations (2)
Title |
---|
SQL注入的自动化检测技术研究;杨高明;《中国优秀硕士学位论文全文数据库 信息科技辑》(第03期);I138-141 * |
网页篡改检测系统的研究与实现_;魏文晗;《中国优秀硕士学位论文全文数据库 信息科技辑》(第02期);I139-27 * |
Also Published As
Publication number | Publication date |
---|---|
CN112363919A (en) | 2021-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10282284B2 (en) | Test method, system, and device, and readable storage medium | |
CN111177005A (en) | Service application testing method, device, server and storage medium | |
CN112363919B (en) | User interface AI automatic test method, device, equipment and storage medium | |
CN112348089B (en) | Working state identification method, server, storage medium and device | |
CN107807841B (en) | Server simulation method, device, equipment and readable storage medium | |
CN111324352A (en) | Code generation method of application page and related equipment | |
CN105183630A (en) | Method and device for testing application program | |
CN112732553B (en) | Image testing method and device, electronic equipment and storage medium | |
CN112131121A (en) | Fuzzy detection method and device for user interface, electronic equipment and storage medium | |
CN103678706A (en) | Picture recognition method, system, equipment and device based on screenshot information | |
CN107102937B (en) | User interface testing method and device | |
CN110515834B (en) | Interface testing method and device, mobile terminal and storage medium | |
CN105512552B (en) | Parameter detection method and device | |
CN112286821A (en) | HTML5 page compatibility testing method, device, equipment and storage medium | |
CN106302011A (en) | Method of testings based on multiterminal and terminal | |
KR101753314B1 (en) | Method for testing application of using learning image matching and apparatus for executing the method | |
CN112817782B (en) | Data acquisition reporting method and device, electronic equipment and storage medium | |
CN113992784B (en) | Audio and video call method, device, computer equipment and storage medium | |
CN113672826B (en) | Page jump method, device, computer equipment and storage medium | |
CN108563578A (en) | SDK compatibility detection method, device, equipment and readable storage medium | |
CN109739752B (en) | Built-in resource testing method and device, electronic equipment and readable storage medium | |
CN113342684A (en) | Webpage testing method, device and equipment | |
CN109992505B (en) | Application program testing method and device, computer equipment and storage medium | |
CN108958929B (en) | Method and device for applying algorithm library, storage medium and electronic equipment | |
CN108132746B (en) | Picture display method, device and 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |