CN114385477A - Application interface testing method, system, storage medium and terminal equipment - Google Patents

Application interface testing method, system, storage medium and terminal equipment Download PDF

Info

Publication number
CN114385477A
CN114385477A CN202011131036.5A CN202011131036A CN114385477A CN 114385477 A CN114385477 A CN 114385477A CN 202011131036 A CN202011131036 A CN 202011131036A CN 114385477 A CN114385477 A CN 114385477A
Authority
CN
China
Prior art keywords
target application
application interface
interface
configuration file
intercepted
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.)
Granted
Application number
CN202011131036.5A
Other languages
Chinese (zh)
Other versions
CN114385477B (en
Inventor
彭佳伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011131036.5A priority Critical patent/CN114385477B/en
Publication of CN114385477A publication Critical patent/CN114385477A/en
Application granted granted Critical
Publication of CN114385477B publication Critical patent/CN114385477B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test 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)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an application interface testing method, an application interface testing system, a storage medium and terminal equipment, which are applied to the technical field of automatic testing. The method comprises the steps that an application interface testing system starts a target application, attribute information of the target application interface needing to be intercepted is set in a configuration file, the configuration file and an operation code based on the configuration file are injected into the target application, and when the target application interface is loaded, loading completion information is transmitted to the application interface testing system to intercept pictures, so that the change of the target application interface is tested. Therefore, when the target application interface in the target application is changed, the configuration file can be directly updated according to the changed target application interface, and the process of the application interface testing method is executed according to the updated configuration file, so that the testing process of the target application interface in the process of changing the target application is simplified.

Description

Application interface testing method, system, storage medium and terminal equipment
Technical Field
The invention relates to the technical field of automatic testing, in particular to an application interface testing method, an application interface testing system, a storage medium and terminal equipment.
Background
In the prior art, in order to test a change of a display interface in a browser, a specific implementation method includes: the method comprises the steps of intercepting a display interface of the browser in the actual operation process of the browser, and testing the intercepted display interface according to a certain strategy, thereby realizing the change test of the display interface in the browser.
When the display interface of the browser is intercepted, a professional engineer writes a certain code and runs the code to access the display interfaces of the browser in sequence and intercept the display interfaces of the browser, so that when a new display interface is added to the browser, the engineer is required to rewrite the code to access and intercept the new display interface.
Disclosure of Invention
The embodiment of the invention provides an application interface test method, an application interface test system, a storage medium and terminal equipment, which are used for realizing the purpose of obtaining an intercepted picture of a target application interface according to a configuration file so as to carry out testing.
An embodiment of the present invention provides an application interface testing method, including:
starting a target application, and injecting a configuration file and an operation code based on the configuration file into the target application, wherein the configuration file comprises attribute information of a target application interface in the target application;
the running code comprises: analyzing the configuration file to obtain attribute information of the target application interface, and feeding back the loading condition of the target application interface to a code of an application interface test system when the corresponding target application interface is loaded;
receiving loading completion information of the target application interface transmitted by the target application according to the configuration file;
acquiring a captured picture of a target application interface displayed by the target application;
and testing the change of the target application interface according to the intercepted picture.
Another aspect of an embodiment of the present invention provides an application interface testing system, including:
the code injection unit is used for starting a target application and injecting a configuration file and an operation code based on the configuration file into the target application, wherein the configuration file comprises attribute information of a target application interface in the target application; the running code comprises: analyzing the configuration file to obtain attribute information of the target application interface, and feeding back the loading condition of the target application interface to a code of an application interface test system when the corresponding target application interface is loaded;
the loading unit is used for receiving loading completion information of the target application interface transmitted by the target application according to the configuration file;
the image acquisition unit is used for acquiring a captured image of a target application interface displayed by the target application;
and the testing unit is used for testing the change of the target application interface according to the intercepted picture.
In another implementation manner of the embodiment of the present invention:
the code injection unit is specifically used for displaying a test interface, and the test interface comprises a selection control and a test trigger control of a target application; responding to the operation of the selection control, and selecting a target application; and responding to the operation of the test trigger control, and starting the selected target application.
In another implementation of another aspect of the embodiments of the invention,
the code injection unit is further used for injecting code imitating user operation on the target application interface into the target application; the code imitating the user operation comprises: code for performing multiple scrolling operations on the target application interface, and stopping the scrolling operations on the target application interface when the target application interface of the target application is not changed after two consecutive scrolling operations;
the code imitating the user operation further comprises: when the target application interface is subjected to multiple rolling operations, and after two continuous rolling operations, when the target application interface of the target application is changed, setting an ultralong application interface identifier for the target application interface loaded after the two continuous rolling operations, and transmitting the ultralong application interface identifier to a code of an application interface test system.
In another implementation manner combined with another aspect of the present invention, in other implementation manners of another aspect of the present invention:
the loading unit is specifically configured to receive loading completion information of the target application interface and the ultralong application interface identifier;
the picture acquiring unit is further configured to set an identifier of the ultra-long application interface for the captured picture;
the test unit is specifically used for synthesizing the intercepted pictures corresponding to the identifiers with the same ultra-long application interface to obtain a synthesized intercepted picture; and testing the change of the target application interface according to the synthesized intercepted picture.
In other implementations of another aspect of the invention:
the loading unit is specifically configured to receive loading completion information of a plurality of adjacent target application interfaces transmitted by the target application, and the picture acquiring unit is specifically configured to acquire captured pictures corresponding to the plurality of adjacent target application interfaces;
the test unit is specifically configured to, when the repetition information between the captured pictures respectively corresponding to the multiple adjacent target application interfaces meets a preset condition, synthesize the captured pictures respectively corresponding to the multiple adjacent target application interfaces to obtain a synthesized captured picture; testing the change of the target application interface according to the synthesized intercepted picture;
when a plurality of first captured pictures of the target application interface obtained twice respectively are the same and a plurality of second captured pictures of the target application interface obtained before the first captured picture for N times respectively meet a preset condition, determining the captured pictures corresponding to the adjacent target application interfaces respectively comprises: the first intercepted picture and the plurality of second intercepted pictures, wherein N is a natural number greater than 0.
The test unit is specifically configured to perform information duplication elimination between the intercepted pictures respectively corresponding to the multiple adjacent target application interfaces to obtain multiple intercepted pictures after duplication elimination; and splicing the plurality of cut pictures after the duplication removal to form the synthesized cut picture.
In combination with any one implementation of another aspect of the invention, in other implementations of another aspect of the invention:
the configuration file also comprises a specific display attribute of the target application, wherein the specific display attribute is used for indicating a specific format of the target application for displaying the data acquired by the data acquisition interface of the target application;
the configuration file-based running code further comprises: analyzing the configuration file to obtain the specific display attribute, intercepting data obtained by a data obtaining interface of the target application according to the specific display attribute, converting the intercepted data into the data with the specific format, and displaying the data with the specific format on the target application interface;
the code injection unit is specifically configured to replace, in the target application, a code that directly displays the data acquired by the data acquisition interface on the target application interface with: and code for intercepting data acquired by a data acquisition interface of the target application according to the specific display attribute, converting the intercepted data into the data in the specific format, and displaying the data in the specific format on the target application interface.
In another aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores a plurality of computer programs, where the computer programs are suitable for being loaded by a processor and executing the application interface testing method according to an embodiment of the present invention.
In another aspect, an embodiment of the present invention further provides a terminal device, including a processor and a memory;
the memory is used for storing a plurality of computer programs, and the computer programs are used for being loaded by the processor and executing the data transfer method according to the aspect of the embodiment of the invention; the processor is configured to implement each of the plurality of computer programs.
It can be seen that, in the method of this embodiment, the application interface test system starts the target application, sets the attribute information of the target application interface to be intercepted in the configuration file, injects the configuration file and the operation code based on the configuration file into the target application, and transmits the loading completion information to the application interface test system when the target application interface is completely loaded, so as to intercept the picture, thereby implementing the test on the change of the target application interface. Therefore, when the target application interface in the target application is changed, the configuration file can be directly updated according to the changed target application interface, and the process of the application interface testing method is executed according to the updated configuration file, so that the testing process of the target application interface in the process of changing the target application is simplified.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic diagram of an application interface testing method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for testing an application interface according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a test interface displayed by the application interface test system in one embodiment of the invention;
FIG. 4a is a schematic diagram of a captured image obtained by an application interface test system according to an embodiment of the present invention;
FIG. 4b is a schematic diagram of a captured image after being synthesized by the application interface test system in an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an application interface test system in an embodiment of the present invention;
FIG. 6 is a flowchart of an application interface testing method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a WeChat applet acquiring data in an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of an application interface test system according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention provides an application interface testing method, which is mainly used for testing a target application interface of a target application, and as shown in fig. 1, an application interface testing system can realize the testing of the target application interface according to the following steps:
starting a target application, and injecting a configuration file and an operation code based on the configuration file into the target application, wherein the configuration file comprises attribute information of a target application interface in the target application; the running code comprises: analyzing the configuration file to obtain attribute information of the target application interface, and feeding back the loading condition of the target application interface to a code of an application interface test system when the corresponding target application interface is loaded; receiving loading completion information of the target application interface transmitted by the target application according to the configuration file; acquiring a captured picture of a target application interface displayed by the target application; and testing the change of the target application interface according to the intercepted picture.
The application interface test system can be applied to terminal equipment for installing target applications, a plurality of target applications can be installed in the terminal equipment, and the application interface test system can select any target application from the target applications to test the target application interface of the target application.
Therefore, when the target application interface in the target application is changed, the configuration file can be directly updated according to the changed target application interface, and the process of the application interface testing method is executed according to the updated configuration file, so that the testing process of the target application interface in the process of changing the target application is simplified.
An embodiment of the present invention provides an application interface testing method, which is a method executed by an application interface testing system, and a flowchart is shown in fig. 2, where the method includes:
step 101, starting a target application.
Step 102, a configuration file and an operation code based on the configuration file are injected into a target application, wherein the configuration file comprises attribute information of a target application interface in the target application.
It can be understood that the user may operate the application interface testing system, so that the application interface testing system displays the testing interface as shown in fig. 3, and the testing interface may include a selection control (i.e., "select a target application" button) and a testing trigger control (i.e., "start testing" button) of the target application, so that the user may select any target application on the testing interface and trigger a testing process for the application interface of any target application.
Specifically, the application interface testing system responds to the operation of a user on a selection control in the testing interface, selects any target application, responds to the operation on a test trigger control, starts the selected target application, namely loads codes and other information of the target application, and after the target application is started, the application interface testing system injects a configuration file and running codes based on the configuration file into the target application, and further injects codes imitating the user operation in the target application interface into the target application.
The configuration file is preset in the application interface test system in advance, and may specifically include attribute information corresponding to at least one target application interface in the target application, such as an identifier of the target application interface, a path of the target application interface, and the like, where the path of the target application interface may indicate which controls displayed by the target application are operated by a user to enter the target application interface. Further, if a plurality of target applications can be installed in the terminal device provided with the application interface test system, the application interface test system can test any one of the target applications, and the correspondence between the identification information of the target application and the configuration file needs to be stored in the system, so that the application interface test system can determine which configuration file needs to be injected into the corresponding target application according to the correspondence.
The profile-based operating code may include: analyzing the configuration file to obtain the attribute information of the target application interface, and feeding back the loading condition of the target application interface to the code of the application interface test system when the loading of the corresponding target application interface is started and finished. When the configuration file and the running code based on the configuration file are injected into the target application, the configuration file and the running code of the configuration file can be directly added into the code of the target application.
The code imitating the user operation in the target application interface can comprise code for clicking each control in the target application interface and code for other operations (such as scrolling operation and the like) in the target application interface. When the code imitating the user operation is injected into the target application, the original code waiting for the user to operate on the target application interface in the target application needs to be replaced by the code imitating the user operation, so that the automatic running of the target application without the user operation is realized.
Therefore, the current application interface test system can run in the background and automatically run the target application in the foreground, the target application does not need to be operated by a user in the process, the target application can be automatically loaded and displayed according to the operation of the simulated user by running the code simulating the operation of the user, the target application can feed back the loading condition of the corresponding target application interface to the application interface test system according to the configuration file by running the running code based on the configuration file, and the application interface test system can intercept and test the loaded target application interface.
And 103, receiving loading completion information of the target application interface transmitted by the target application according to the configuration file.
Specifically, when the target application finishes loading the corresponding target application interface according to the attribute information in the configuration file, the loading completion information is transmitted to the application interface test system, so that the application interface test system executes step 104, and it can be ensured that the application interface test system does not intercept the picture when the target application interface is being loaded, thereby obtaining a complete intercepted picture of the target application interface.
Further, when the user operates the target application running in the foreground, if the target application needs to load a certain target application interface, the target application may determine whether the attribute information of the target application interface is included in the configuration file, and if so, the target application may transmit information for starting to load the target application interface to the application interface test system when starting to load the target application interface, so that when the application interface test system receives the information for starting to load the target application interface transmitted by the target application according to the configuration file, the following preparation work in the process of step 104 may be performed in advance, and the loading completion information of the target application interface transmitted by the target application is waited to be received; when the application interface test system actually receives the loading completion information of the target application interface transmitted by the target application, the other steps in the following step 104 are continuously executed, so that the time for acquiring the captured picture of the target application interface is saved.
And 104, acquiring a captured picture of a target application interface displayed by the target application.
And 105, testing the change of the target application interface according to the intercepted picture.
It should be noted that, after the application interface testing system may repeatedly execute the above steps 103 and 104 for multiple times, and then execute step 105, for example, after the application interface testing system receives the loading completion information of one target application interface and obtains the captured image of the target application interface, the application interface testing system may receive the loading completion information of another target application interface and obtains the captured image of another target application interface, and thus, repeatedly execute the steps for multiple times, and after obtaining the captured images of multiple application interfaces, then execute the test in step 105.
Further, if a new target application interface is added to the target application, or some target application interfaces are modified, and the configuration file needs to be updated, the application interface testing system may also update the configuration file corresponding to the target application, for example, update the attribute information of the added or modified target application interface into the configuration file, initiate the process of this embodiment after the application interface testing, and after the target application is started, execute the above steps 102 to 105 mainly for the updated configuration file.
It can be seen that, in the method of this embodiment, the application interface test system starts the target application, sets the attribute information of the target application interface to be intercepted in the configuration file, injects the configuration file and the operation code based on the configuration file into the target application, and transmits the loading completion information to the application interface test system when the target application interface is completely loaded, so as to intercept the picture, thereby implementing the test on the change of the target application interface. Therefore, when the target application interface in the target application is changed, the configuration file can be directly updated according to the changed target application interface, and the process of the application interface testing method is executed according to the updated configuration file, so that the testing process of the target application interface in the process of changing the target application is simplified.
It should be noted that, in practical applications, in some cases, the contents of some target application interfaces of the target application are less, and when the terminal device that installs the target application respectively displays these target application interfaces, all the contents in any target application interface are all displayed to the user at one time. In this case, the application interface testing system can directly test the target application interfaces according to the methods of the above steps 103 to 105.
In other cases, the contents of other target application interfaces in the target application are more, such a target application interface may be referred to as an ultra-long application interface, due to the limitation of the size of the display screen in the terminal device, the terminal device may only display a part of the contents of the other target application interfaces, and as the target application interface simulates a user operation, such as an up-down scroll operation, the target application in the terminal device may continue to load and display the other part of the contents of the target application interface, in this case, the application interface testing system may implement the testing of the target application interface of the target application in two ways, but not limited to the following two ways:
(1) the need to identify an ultralong application interface is not indicated in the code that mimics user operation injected into the target application.
After the step 101 is executed, the application interface testing system may inject, into the target application, a code imitating a user operation, which may include a code of a click operation on each control in the target application interface, and may further include: and code for performing multiple scroll operations on the target application interface, and stopping the scroll operation on the target application interface when the target application interface of the target application is not changed after two continuous scroll operations.
Thus, when the application interface test system executes the above steps 103 and 104, specifically: and respectively receiving loading completion information of the target application interfaces transmitted by the target application, and acquiring the captured pictures corresponding to the adjacent target application interfaces. Further, when the step 105 is executed, it is required to determine whether repeated information between the captured images corresponding to the multiple adjacent target application interfaces respectively meets a preset condition, for example, a ratio of the repeated information to the target application interface is greater than a preset value, or a position of the repeated information in the target application interface is in an upper half of the target application interface, and if so, synthesizing the captured images corresponding to the multiple adjacent target application interfaces respectively to obtain a synthesized captured image, and then testing a change of the target application interface according to the synthesized captured image; and if not, respectively processing the intercepted pictures respectively corresponding to the multiple adjacent target application interfaces.
The plurality of adjacent target application interfaces are target application interfaces which are continuously and respectively displayed for a plurality of times by the target application according to the time sequence. When the intercepted pictures of a plurality of adjacent target application interfaces are synthesized, information duplication elimination can be firstly carried out between the intercepted pictures respectively corresponding to the plurality of adjacent target application interfaces to obtain a plurality of intercepted pictures after duplication elimination; and then splicing the plurality of cut pictures after the duplication removal to form a synthesized cut picture. Wherein the information duplication removal means: and only one copy of repeated information among any plurality of captured pictures is reserved in all the captured pictures, and the rest of repeated information is removed.
For example, 3 captured pictures of the target application interface shown in fig. 4a all include the content of the fixed area (and the area of the head of the target application interface) and the content of the non-fixed area, the non-fixed area of the captured picture 1 includes the information of the commodities 1 to 5, the non-fixed area of the captured picture 2 includes the information of the commodities 4 to 8, and the non-fixed area of the captured picture 2 includes the information of the commodities 8 to 10, so that, during the synthesis, information deduplication is performed between the captured picture 1 and the captured picture 3, for example, the information of the commodities 4 and 5 in the captured picture 1 is removed, the content of the fixed area in the captured picture 2 is removed, the content of the fixed area and the information of the commodities 8 in the captured picture 3 are removed, then the clipped pictures 1 to 3 after deduplication is spliced, that is the synthesized captured picture shown in fig. 4b, the contents of the fixed area and the information of the products 1 to 10 are included.
The fixed area refers to an area that does not change in the process of loading the target application interface for multiple times, such as a user operation control area at the head or the bottom of the target application interface, and the non-fixed area refers to an area that does not change in the process of loading the target application interface for multiple times, such as an area in the middle of the target application interface.
It should be noted that, in order to determine whether all the contents of a certain ultra-long application interface have been completely loaded, in a specific embodiment, when a scroll operation is performed on a target application interface of a target application, and after two consecutive scroll operations are performed on the same target application interface, the target application interface is not changed, which indicates that all the contents of the target application interface have been completely loaded. In this process, when the target application is loaded with the target application interface each time the scroll operation is performed, the application interface testing system may also respectively obtain the captured images of the target application interface after each scroll operation, and if a plurality of first captured images of the target application interface obtained twice in succession are the same, it indicates that all the contents of the target application interface have been loaded. Therefore, when the application interface testing system continuously obtains a plurality of second captured images of the target application interface for N times before the first captured image, respectively, and the plurality of second captured images meet the preset condition, the first captured image and the plurality of second captured images both correspond to the same ultra-long application interface, and the captured images need to be synthesized, so that it can be determined that the captured images corresponding to the plurality of synthesized adjacent target application interfaces respectively include: the device comprises a first intercepted picture and a plurality of second intercepted pictures, wherein N is a natural number larger than zero.
For example, the target application is a commodity shopping interface after being loaded, the application interface test system obtains an intercepted picture 1 of the commodity shopping interface, the commodity shopping interface is an ultra-long application interface, the application interface test system obtains an intercepted picture 2 of the commodity shopping interface after each rolling operation is performed on the commodity shopping interface, when the intercepted pictures of the commodity shopping interface obtained by the application interface test system twice continuously are the same, the intercepted pictures obtained twice respectively, the intercepted picture 1 and the intercepted picture 2 are synthesized, and the synthesized intercepted picture includes all contents of the commodity shopping interface.
When a plurality of second captured pictures of the target application interface, which are obtained respectively for a plurality of consecutive times before the first captured picture is obtained, belong to the same super-long application interface, a specific implementation manner is as follows: determining whether the plurality of second cut pictures satisfy a preset condition, such as: judging whether repeated information exists between any second intercepted picture continuously obtained for multiple times before the first intercepted picture and the first intercepted picture, and whether the repeated information accounts for more than n percent of the whole intercepted picture, if so, indicating that the second intercepted picture and the first intercepted picture both correspond to a target application interface and need to be synthesized; if not, the second captured picture and the first captured picture respectively correspond to different target application interfaces without synthesis.
(2) The need to identify an ultralong application interface is indicated in the code injected into the target application that mimics the user's operation.
After the step 101 is executed, the application interface testing system may inject, into the target application, a code imitating a user operation, which may include a code of a click operation on each control in the target application interface, and may further include: when the target application interface is subjected to multiple rolling operations, when the target application interface of the target application is changed after two continuous rolling operations, setting an ultralong application interface identifier for the target application interface loaded after the two continuous rolling operations, and transmitting the ultralong application interface identifier to a code of an application interface test system.
In this way, when the application interface testing system executes the step 103, if the loading completion information and the ultra-long application interface identifier of the target application interface transmitted by the target application are received, and when the step 104 is executed, the application interface testing system also sets the ultra-long application interface identifier for the captured picture. Further, when the step 105 is executed, the application interface testing system synthesizes the captured images corresponding to the identifiers of the same ultra-long application interface to obtain a synthesized captured image; and then testing the change of the target application interface according to the synthesized intercepted picture. For the synthesis of the captured image, the above embodiment is referred to, and details are not repeated here.
In other specific embodiments, the configuration file injected into the target application by the application interface testing system may include, in addition to attribute information of each target application interface, a specific display attribute of the target application, where the specific display attribute is used to indicate a specific format in which the target application displays data acquired by its data acquisition interface.
In this way, the configuration file-based running code includes a code for feeding back the loading condition of the target application interface to the application interface test system when the loading of the corresponding target application interface is started and completed, and also includes a code for parsing the configuration file to obtain the specific display attribute, intercepting the data obtained by the data obtaining interface of the target application according to the specific display attribute, converting the intercepted data into data in a specific format, and displaying the data in the specific format on the target application interface. In this case, when the configuration file and the running code based on the configuration file are injected into the target application, the original code of the data directly acquired at the target application interface display data acquisition interface in the code of the target application needs to be replaced by: and intercepting the data acquired by the data acquisition interface of the target application according to the specific display attribute, converting the intercepted data into the data with the specific format, and displaying the data with the specific format on the target application interface.
Therefore, when the target application acquires data from a certain data acquisition interface and is about to be displayed on the target application interface, the target application can convert the acquired data into data in a specific format and load the data into the target application interface for display. In a specific case, in order to protect user information in the target application from being acquired by the application interface testing system in the form of an intercepted picture, the target application needs to remove user data from data acquired by the data acquisition interface and display the remaining data on the target application interface, where the specific format in the configuration file is specifically a data format obtained by removing the user information from the data acquired by the data acquisition interface, such as simulated background (mock) data.
The data obtaining interface may be determined according to a target application, for example, the target application is a wechat applet, and the data obtaining interface may include: the interface is used for acquiring data from the WeChat main program, requesting data from the service background through a Hypertext Transfer Protocol (HTTP), accessing the cloud development background and the cloud development database through the WeChat private Protocol and acquiring data.
In this embodiment, a target application is specifically a wechat applet, a target application interface is an applet interface, and the application interface test system is applied to a terminal device for installing the wechat applet, as shown in fig. 5, the application interface test system of this embodiment specifically includes a trigger component, a worker bee, an automatic screen capture module, and an initiation test module, where:
the trigger component is used for triggering a test flow of a target application interface of a target application, such as a WeChat applet; the worker bee is used for pulling the code of the target application, and injecting a preset configuration file in the system, an operation code based on the configuration file, a code imitating user operation on a target application interface and the like into the target application after the target application is started; the automatic screen capture module is used for acquiring a captured picture of a target application interface when loading completion information of a certain target application interface, such as an applet interface, sent by a target application is received; and the test initiating module is used for initiating the test of the target application interface based on the intercepted picture.
Specifically, as shown in fig. 6, the application interface testing method of the present embodiment may include the following steps:
step 201, an application interface testing system displays a testing interface, the testing interface comprises a selection control and a testing trigger control of a target application, the selection control and the testing trigger control form a trigger component in the system, when a user selects the target application as a wechat applet through the selection control of the target application, and a testing process of the wechat applet interface is initiated through the testing trigger control.
In step 202, a worker bee in the application interface test system pulls a code of the wechat applet to start the wechat applet, and when the wechat applet is started, the wechat applet runs in a foreground while the application interface test system runs in a background.
In step 203, the worker bee in the application interface test system injects the configuration file, the operation code based on the configuration file, and the code simulating the user operation in the applet interface into the wechat applet, wherein the specific code injection is described in the above embodiments and is not described herein.
Specifically, the configuration file may include attribute information of a cookie interface in the wechat applet, and may further include a specific format of the wechat applet for displaying data acquired by the data acquisition interface, such as mock data. The configuration file-based operating code may specifically include: analyzing the configuration file to obtain attribute information of the small program interface, and feeding back the loading condition of the small program interface to a code of the application interface test system when the loading of the corresponding small program interface is started and finished; and analyzing the configuration file to obtain a specific display attribute, intercepting data obtained by a data acquisition interface of the WeChat applet according to the specific display attribute, converting the intercepted data into data in a specific format, and displaying the data in the specific format on the applet interface.
The code that simulates the user operation in the applet interface may specifically include: a code for performing a plurality of rolling operations on the applet interface, and stopping the rolling operations on the applet interface when the applet interface is not changed after two continuous rolling operations; and when the small program interface is subjected to multiple rolling operations, setting an ultralong application interface identifier for the small program interface loaded after two continuous rolling operations when the small program interface is changed after two continuous rolling operations, and transmitting the ultralong application interface identifier to the code of the application interface test system.
Thus, as shown in fig. 7 specifically, in the process that the wechat applet requests data from the service background through the HTTP request, the wechat applet intercepts the data returned by the service background, converts the data into mock data, and displays the mock data on the applet interface; when the wechat applet requests data from a cloud development background or cloud development data through a wechat private protocol, the wechat applet intercepts data returned by the cloud development background or cloud development data request, converts the data into mock data and displays the mock data on an applet interface; and in the process that the WeChat small program obtains the user label four, the user head portrait, the user nickname and the system time from the WeChat front end, the WeChat small program intercepts data returned by the WeChat front end, converts the data into mock data and displays the mock data on a small program interface.
For example, table 1 below shows a configuration file, which includes attribute information of three applet interfaces (i.e. world pages, merchant pages, and merchant pages with business circle activities), such as page path and mock data:
Figure BDA0002735168590000141
TABLE 1
And step 204, when the small program interface displayed by the small WeChat program is operated and the small WeChat program is loaded and displays a certain small program interface according to the operation requirement of a user, the small WeChat program transmits the information for starting to load the small program interface to the application interface test system when the loading is started.
In step 205, when receiving the information for starting to load the applet interface, the automatic screen capture module in the application interface test system may perform preparation in advance during the process of obtaining the captured image of the applet interface and wait for the completion of loading the applet interface.
And step 206, when the wechat applet finishes loading one applet interface, displaying the applet interface, sending loading finishing information to the application interface test system, and when the automatic screen capture module in the application interface test system acquires the intercepted picture of the applet interface, storing the acquired intercepted picture.
Furthermore, the WeChat applet can also perform multiple rolling operations on any applet interface, when the applet interface loaded by the WeChat applet changes after two continuous rolling operations, the WeChat applet can set the overlength application interface identifiers for the applet interfaces respectively loaded by the two rolling operations, and transmit the overlength application interface identifiers and the applet interface loading completion information to the application interface test system; therefore, the application interface testing system can set the ultralong application interface identification for the intercepted pictures after the intercepted pictures of the small program interfaces are obtained.
It should be noted that, when the above-mentioned steps 204 to 206 are repeatedly executed to obtain the captured image of each applet interface when the operation is performed on the applet interface displayed by the wechat applet.
In step 207, the launch test module in the application interface test system captures the image according to the image stored in the system.
If the intercepted picture has the ultralong application interface identifier, the application interface test system synthesizes the intercepted pictures with the same ultralong application interface identifier to form a synthesized intercepted picture, and then tests the small program interface.
Therefore, by the method of the embodiment, the background application interface test system can automatically acquire the intercepted picture of the small program interface displayed by the small program of the WeChat and compare the intercepted picture, so that the change points of the small program interface of the small program in the iteration process can be known, instead of finding out the change points of all the small program interfaces in a manual mode, and the small program interface test process is simplified.
An embodiment of the present invention further provides an application interface testing system, a schematic structural diagram of which is shown in fig. 8, and the application interface testing system specifically includes:
the code injection unit 10 is configured to start a target application, and transmit a configuration file to the target application, where the configuration file includes attribute information of a target application interface in the target application; the running code comprises: and analyzing the configuration file to obtain the attribute information of the target application interface, and feeding back the loading condition of the target application interface to the code of the application interface test system when the corresponding target application interface is loaded.
The code injection unit 10 is specifically configured to display a test interface when starting a target application, where the test interface includes a selection control and a test trigger control of the target application; responding to the operation of the selection control, and selecting a target application; and responding to the operation of the test trigger control, and starting the selected target application.
Further, the code injection unit 10 is further configured to inject code imitating user operation in the target application interface into the target application; the code imitating the user operation comprises: and the code stops the rolling operation on the target application interface when the target application interface of the target application is not changed after the target application interface of the target application is subjected to rolling operation for a plurality of times and two continuous times. Further, the code imitating the user operation further comprises: when the target application interface is subjected to multiple rolling operations, and after two continuous rolling operations, when the target application interface of the target application is changed, setting an ultralong application interface identifier for the target application interface loaded after the two continuous rolling operations, and transmitting the ultralong application interface identifier to a code of an application interface test system.
Further, the configuration file further includes a specific display attribute of the target application, where the specific display attribute is used to indicate a specific format in which the target application displays the data acquired by the data acquisition interface. Wherein the specific format is: and removing the user information from the data acquired by the data acquisition interface.
In this way, the injecting of the code injection unit 10 into the configuration file-based running code of the target application further includes: analyzing the configuration file to obtain the specific display attribute, intercepting data obtained by a data obtaining interface of the target application according to the specific display attribute, converting the intercepted data into the data with the specific format, and displaying the data with the specific format on the target application interface; when the configuration file and the running code based on the configuration file are injected into the target application, the code injection unit 10 is specifically configured to replace, in the target application, a code that directly displays the data acquired by the data acquisition interface on the target application interface with: and code for intercepting data acquired by a data acquisition interface of the target application according to the specific display attribute, converting the intercepted data into the data in the specific format, and displaying the data in the specific format on the target application interface.
A loading unit 11, configured to receive loading completion information of the target application to the target application interface according to the configuration file injected by the code injection unit 10.
The loading unit 11 is further configured to receive information that the target application starts to load the target application interface according to the transmission of the configuration file before receiving the loading completion information.
And the picture acquiring unit 12 is configured to acquire a captured picture of the target application interface displayed by the target application after the loading unit 11 receives the loading completion information.
The testing unit 13 is configured to test a change of the target application interface according to the captured picture acquired by the picture acquiring unit 12.
In a specific case, when the loading unit 11 receives the loading completion information of the target application interface and the ultralong application interface identifier, the picture obtaining unit 12 is further configured to set the ultralong application interface identifier for the captured picture; the testing unit 13 is specifically configured to synthesize the captured images corresponding to the identifiers having the same ultralong application interface to obtain a synthesized captured image; and testing the change of the target application interface according to the synthesized intercepted picture.
In another case, the loading unit 11 is specifically configured to receive loading completion information of a plurality of adjacent target application interfaces transmitted by the target application, respectively, and the picture obtaining unit 12 is specifically configured to obtain captured pictures corresponding to the plurality of adjacent target application interfaces, respectively; the testing unit 13 is specifically configured to, when the repetition information between the captured pictures respectively corresponding to the multiple adjacent target application interfaces meets a preset condition, synthesize the captured pictures respectively corresponding to the multiple adjacent target application interfaces to obtain a synthesized captured picture; and testing the change of the target application interface according to the synthesized intercepted picture.
Before testing the change of the application interface according to the captured image, the testing unit 13 is further configured to determine, when a plurality of first captured images of the target application interface obtained twice consecutively and respectively are the same, and a plurality of second captured images of the target application interface obtained N times consecutively and respectively before the first captured image meet a preset condition, that the captured images corresponding to the plurality of adjacent target application interfaces respectively include: the first intercepted picture and the plurality of second intercepted pictures, wherein N is a natural number greater than 0.
Further, when synthesizing the captured images corresponding to the multiple adjacent target application interfaces, the testing unit 13 is specifically configured to perform information deduplication between the captured images corresponding to the multiple adjacent target application interfaces, so as to obtain multiple captured images after deduplication; and splicing the plurality of cut pictures after the duplication removal to form the synthesized cut picture.
Further, the application interface testing system in this embodiment may further include an updating unit 14, configured to update the configuration file to obtain an updated configuration file, so that, during a later initiated application interface testing process, the code injection unit 10 may inject the updated configuration file obtained by the updating unit 14 and the running code based on the updated configuration file into the target application.
It can be seen that, in the system of this embodiment, the code injection unit 10 starts the target application, sets the attribute information of the target application interface that needs to be intercepted in the configuration file, and injects the configuration file and the operation code based on the configuration file into the target application, when the target application interface is completely loaded, the loading completion information is transmitted to the loading unit 11 in the application interface test system, then the picture obtaining unit 12 obtains the corresponding intercepted picture, and the test unit 13 tests the change of the target application interface. Therefore, when the target application interface in the target application is changed, the configuration file can be directly updated according to the changed target application interface, and the process of the application interface testing method is executed according to the updated configuration file, so that the testing process of the target application interface in the process of changing the target application is simplified.
The present invention further provides a terminal device, a schematic structural diagram of which is shown in fig. 9, where the terminal device may generate a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 20 (e.g., one or more processors) and a memory 21, and one or more storage media 22 (e.g., one or more mass storage devices) storing the application programs 221 or the data 222. Wherein the memory 21 and the storage medium 22 may be a transient storage or a persistent storage. The program stored in the storage medium 22 may include one or more modules (not shown), each of which may include a series of instruction operations for the terminal device. Still further, the central processor 20 may be arranged to communicate with the storage medium 22, and to execute a series of instruction operations in the storage medium 22 on the terminal device.
Specifically, the application 221 stored in the storage medium 22 includes an application for application interface testing, and the application may include the code injection unit 10, the loading unit 11, the picture obtaining unit 12, the testing unit 13, and the updating unit 14 in the application interface testing system, which will not be described herein again. Further, the central processor 20 may be configured to communicate with the storage medium 22, and execute a series of operations corresponding to the application program of the application interface test stored in the storage medium 22 on the terminal device.
The terminal equipment may also include one or more power supplies 23, one or more wired or wireless network interfaces 24, one or more input-output interfaces 25, and/or one or more operating systems 223, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and the like.
The steps executed by the application interface testing system in the above method embodiment may be based on the structure of the terminal device shown in fig. 9.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a plurality of computer programs, and the computer programs are suitable for being loaded by a processor and executing the application interface testing method executed by the application interface testing system.
The embodiment of the invention also provides terminal equipment, which comprises a processor and a memory; the memory is used for storing a plurality of computer programs, and the computer programs are used for being loaded by the processor and executing the application interface test method executed by the application interface test system; the processor is configured to implement each of the plurality of computer programs.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The application interface testing method, system, storage medium and terminal device provided by the embodiment of the present invention are described in detail above, a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (15)

1. An application interface testing method is characterized by comprising the following steps:
starting a target application, and injecting a configuration file and an operation code based on the configuration file into the target application, wherein the configuration file comprises attribute information of a target application interface in the target application;
the running code comprises: analyzing the configuration file to obtain attribute information of the target application interface, and feeding back the loading condition of the target application interface to a code of an application interface test system when the corresponding target application interface is loaded;
receiving loading completion information of the target application interface transmitted by the target application according to the configuration file;
acquiring a captured picture of a target application interface displayed by the target application;
and testing the change of the target application interface according to the intercepted picture.
2. The method of claim 1, wherein the launching the target application specifically comprises:
displaying a test interface, wherein the test interface comprises a selection control and a test trigger control of a target application;
responding to the operation of the selection control, and selecting a target application;
and responding to the operation of the test trigger control, and starting the selected target application.
3. The method of claim 1, wherein after the launching of the target application, the method further comprises:
injecting code that mimics user operation at the target application interface into the target application;
the code imitating the user operation comprises: and the code stops the rolling operation on the target application interface when the target application interface of the target application is not changed after the target application interface of the target application is subjected to rolling operation for a plurality of times and two continuous times.
4. The method of claim 3, wherein the code that mimics user operation further comprises: when the target application interface is subjected to multiple rolling operations, and after two continuous rolling operations, when the target application interface of the target application is changed, setting an ultralong application interface identifier for the target application interface loaded after the two continuous rolling operations, and transmitting the ultralong application interface identifier to a code of an application interface test system.
5. The method according to claim 4, wherein the receiving of the loading completion information of the target application to the target application interface transmitted by the target application according to the configuration file specifically includes:
receiving loading completion information of the target application interface and the ultralong application interface identifier;
after the capturing of the captured image of the target application interface displayed by the target application is obtained, the method further includes: setting an identifier of the overlong application interface for the intercepted picture;
then, the testing the change of the target application interface according to the captured picture specifically includes: synthesizing the intercepted pictures corresponding to the identifiers with the same overlong application interface to obtain the synthesized intercepted pictures; and testing the change of the target application interface according to the synthesized intercepted picture.
6. The method according to claim 1, wherein the receiving of the loading completion information of the target application interface transmitted by the target application according to the attribute information to obtain the captured image of the target application interface displayed by the target application specifically includes:
respectively receiving loading completion information of a plurality of adjacent target application interfaces transmitted by the target application, and acquiring intercepted pictures respectively corresponding to the plurality of adjacent target application interfaces;
then, the testing the change of the application interface according to the captured picture specifically includes:
when the repeated information among the intercepted pictures respectively corresponding to the multiple adjacent target application interfaces meets a preset condition, synthesizing the intercepted pictures respectively corresponding to the multiple adjacent target application interfaces to obtain synthesized intercepted pictures;
and testing the change of the target application interface according to the synthesized intercepted picture.
7. The method of claim 6, wherein prior to testing the change to the application interface based on the captured picture, the method further comprises:
when a plurality of first captured pictures of the target application interface obtained twice respectively are the same and a plurality of second captured pictures of the target application interface obtained before the first captured picture for N times respectively meet a preset condition, determining the captured pictures corresponding to a plurality of adjacent target application interfaces respectively comprises: the first intercepted picture and the plurality of second intercepted pictures, wherein N is a natural number greater than 0.
8. The method according to claim 6, wherein the synthesizing of the respective corresponding captured images of the plurality of adjacent target application interfaces comprises:
performing information duplication elimination between the intercepted pictures respectively corresponding to the adjacent target application interfaces to obtain a plurality of intercepted pictures after duplication elimination;
and splicing the plurality of cut pictures after the duplication removal to form the synthesized cut picture.
9. The method of any one of claims 1 to 8, wherein the configuration file further includes a specific display attribute of the target application, and the specific display attribute is used for indicating a specific format for displaying the data acquired by the data acquisition interface of the target application.
10. The method of claim 9, wherein the configuration file based run code further comprises: analyzing the configuration file to obtain the specific display attribute, intercepting data obtained by a data obtaining interface of the target application according to the specific display attribute, converting the intercepted data into the data with the specific format, and displaying the data with the specific format on the target application interface;
the injecting the configuration file and the operation code based on the configuration file into the target application specifically includes:
replacing codes of the data acquired by the data acquisition interface in the target application and directly displayed on the target application interface with codes of: and code for intercepting data acquired by a data acquisition interface of the target application according to the specific display attribute, converting the intercepted data into the data in the specific format, and displaying the data in the specific format on the target application interface.
11. The method of claim 9, wherein the particular format is: and removing the user information from the data acquired by the data acquisition interface.
12. The method of any of claims 1 to 8, further comprising:
and updating the configuration file to obtain an updated configuration file, and aiming at the updated configuration file, executing the steps of injecting the updated configuration file and an operation code based on the updated configuration file into a target application, receiving loading completion information, and acquiring an intercepted picture and a test of a target application interface.
13. An application interface testing system, comprising:
the code injection unit is used for starting a target application and injecting a configuration file and an operation code based on the configuration file into the target application, wherein the configuration file comprises attribute information of a target application interface in the target application; the running code comprises: analyzing the configuration file to obtain attribute information of the target application interface, and feeding back the loading condition of the target application interface to a code of an application interface test system when the corresponding target application interface is loaded;
the loading unit is used for receiving loading completion information of the target application interface transmitted by the target application according to the configuration file;
the image acquisition unit is used for acquiring a captured image of a target application interface displayed by the target application;
and the testing unit is used for testing the change of the target application interface according to the intercepted picture.
14. A computer-readable storage medium, characterized in that it stores a plurality of computer programs adapted to be loaded by a processor and to execute the application interface testing method according to any one of claims 1 to 12.
15. A terminal device comprising a processor and a memory;
the memory is used for storing a plurality of computer programs, the computer programs are used for being loaded by the processor and executing the application interface testing method according to any one of the claims 1 to 12; the processor is configured to implement each of the plurality of computer programs.
CN202011131036.5A 2020-10-21 2020-10-21 Application interface testing method and system, storage medium and terminal equipment Active CN114385477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011131036.5A CN114385477B (en) 2020-10-21 2020-10-21 Application interface testing method and system, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011131036.5A CN114385477B (en) 2020-10-21 2020-10-21 Application interface testing method and system, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN114385477A true CN114385477A (en) 2022-04-22
CN114385477B CN114385477B (en) 2024-07-09

Family

ID=81194159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011131036.5A Active CN114385477B (en) 2020-10-21 2020-10-21 Application interface testing method and system, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN114385477B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050204343A1 (en) * 2004-03-12 2005-09-15 United Parcel Service Of America, Inc. Automated test system for testing an application running in a windows-based environment and related methods
US20120131556A1 (en) * 2010-11-19 2012-05-24 International Business Machines Corporation Xpath-based selection assistance of gui elements during manual test script authoring for xml-based applications
CN103678120A (en) * 2013-11-12 2014-03-26 北京京东尚科信息技术有限公司 Automatic web-application testing method based on modeling
CN104050076A (en) * 2013-03-12 2014-09-17 阿里巴巴集团控股有限公司 Testing method, device and system of application software on mobile terminal
US20150347284A1 (en) * 2014-05-27 2015-12-03 International Business Machines Corporation Screenshot validation testing
CN105260301A (en) * 2015-09-24 2016-01-20 努比亚技术有限公司 Visual effect comparison test device of user interfaces and realization method of visual effect comparison test device of user interfaces
US20160077955A1 (en) * 2014-09-16 2016-03-17 International Business Machines Corporation Regression testing of responsive user interfaces
CN106383789A (en) * 2016-12-05 2017-02-08 广州唯品会信息科技有限公司 Software interface test method and software interface test system
US20190251144A1 (en) * 2018-02-13 2019-08-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and apparatus for launching application page, and electronic device
CN110377500A (en) * 2019-06-14 2019-10-25 平安科技(深圳)有限公司 Test method, device, terminal device and the medium of Website page
CN110597896A (en) * 2019-09-10 2019-12-20 深圳证券交易所 Data display method, data display device and terminal equipment
CN110688318A (en) * 2019-09-27 2020-01-14 京东数字科技控股有限公司 Program testing method and device
CN111090580A (en) * 2019-11-21 2020-05-01 广州品唯软件有限公司 User interface consistency detection method and device and readable storage medium
US20200174917A1 (en) * 2018-12-03 2020-06-04 Bank Of America Corporation Rapid Automation First-pass Testing Framework
CN111522742A (en) * 2020-04-16 2020-08-11 北京三快在线科技有限公司 Page view generating method and device, computer equipment and storage medium
US20200356465A1 (en) * 2018-01-23 2020-11-12 Netease (Hangzhou) Network Co.,Ltd. Automatic testing method and apparatus, storage medium and electronic device

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050204343A1 (en) * 2004-03-12 2005-09-15 United Parcel Service Of America, Inc. Automated test system for testing an application running in a windows-based environment and related methods
US20120131556A1 (en) * 2010-11-19 2012-05-24 International Business Machines Corporation Xpath-based selection assistance of gui elements during manual test script authoring for xml-based applications
CN104050076A (en) * 2013-03-12 2014-09-17 阿里巴巴集团控股有限公司 Testing method, device and system of application software on mobile terminal
CN103678120A (en) * 2013-11-12 2014-03-26 北京京东尚科信息技术有限公司 Automatic web-application testing method based on modeling
US20150347284A1 (en) * 2014-05-27 2015-12-03 International Business Machines Corporation Screenshot validation testing
US20160077955A1 (en) * 2014-09-16 2016-03-17 International Business Machines Corporation Regression testing of responsive user interfaces
CN105260301A (en) * 2015-09-24 2016-01-20 努比亚技术有限公司 Visual effect comparison test device of user interfaces and realization method of visual effect comparison test device of user interfaces
CN106383789A (en) * 2016-12-05 2017-02-08 广州唯品会信息科技有限公司 Software interface test method and software interface test system
US20200356465A1 (en) * 2018-01-23 2020-11-12 Netease (Hangzhou) Network Co.,Ltd. Automatic testing method and apparatus, storage medium and electronic device
US20190251144A1 (en) * 2018-02-13 2019-08-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and apparatus for launching application page, and electronic device
US20200174917A1 (en) * 2018-12-03 2020-06-04 Bank Of America Corporation Rapid Automation First-pass Testing Framework
CN110377500A (en) * 2019-06-14 2019-10-25 平安科技(深圳)有限公司 Test method, device, terminal device and the medium of Website page
CN110597896A (en) * 2019-09-10 2019-12-20 深圳证券交易所 Data display method, data display device and terminal equipment
CN110688318A (en) * 2019-09-27 2020-01-14 京东数字科技控股有限公司 Program testing method and device
CN111090580A (en) * 2019-11-21 2020-05-01 广州品唯软件有限公司 User interface consistency detection method and device and readable storage medium
CN111522742A (en) * 2020-04-16 2020-08-11 北京三快在线科技有限公司 Page view generating method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114385477B (en) 2024-07-09

Similar Documents

Publication Publication Date Title
CN110162726B (en) Page resource loading method and device and storage medium
US9465724B2 (en) Method, program, and system for generating test cases
CN107066631A (en) Display methods, device and the electronic equipment of the page
US8584089B2 (en) Virtual computer system, test method, and recording medium
CN112988608B (en) Data testing method and device, computer equipment and storage medium
CN108205477A (en) Server stress test method
CN111694733A (en) API (application programming interface) testing method and device for software development kit SDK (software development kit)
CN111240947B (en) Page thermodynamic diagram generation method and system
CN112988568B (en) Game testing method and device and electronic equipment
CN111314330B (en) Network application operation method and device
CN112988580A (en) Test process reproduction method, device, equipment and storage medium
CN114385477B (en) Application interface testing method and system, storage medium and terminal equipment
CN113138966B (en) Method, device, storage medium and equipment for reproducing detonation operation scene
CN102779090A (en) Performance measuring method and system for desktop virtualization systems
CN112306639B (en) Virtual desktop testing method and device
CN115706821B (en) Virtual gift display method and device
CN110557414B (en) Method, device and equipment for downloading service scene
CN109889425B (en) Interaction method and device for client and storage medium
CN113328821A (en) Instruction synchronization method, server and system
CN111752828A (en) Performance test method and device for Web application
CN112308074A (en) Method and device for generating thumbnail
CN118093417A (en) Client application testing method and device, storage medium and computer equipment
EP4254108A1 (en) Operating assistance system and operating assistance method
CN115827457A (en) Browser compatibility testing method and related equipment
CN114138664A (en) Page testing method and device, storage medium and computer 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