CN117331847B - Automatic test method and system supporting graphic interface - Google Patents

Automatic test method and system supporting graphic interface Download PDF

Info

Publication number
CN117331847B
CN117331847B CN202311628030.2A CN202311628030A CN117331847B CN 117331847 B CN117331847 B CN 117331847B CN 202311628030 A CN202311628030 A CN 202311628030A CN 117331847 B CN117331847 B CN 117331847B
Authority
CN
China
Prior art keywords
graphical interface
test
test driver
driver
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311628030.2A
Other languages
Chinese (zh)
Other versions
CN117331847A (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.)
Chengdu Zhongke Hexun Technology Co ltd
Original Assignee
Chengdu Zhongke Hexun Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Zhongke Hexun Technology Co ltd filed Critical Chengdu Zhongke Hexun Technology Co ltd
Priority to CN202311628030.2A priority Critical patent/CN117331847B/en
Publication of CN117331847A publication Critical patent/CN117331847A/en
Application granted granted Critical
Publication of CN117331847B publication Critical patent/CN117331847B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention relates to the technical field of graphic interface test, and provides an automatic test method and system for supporting a graphic interface, wherein a plurality of graphic interface element sets and data structure relation information thereof are obtained according to graphic interface files of an application program, so that a graphic interface test data packet is generated and added into a test data packet queue of a user side, and the test data integration of the graphic interface files is realized; according to the application program running log of the user side, a test driver is called to the server side, a use mapping relation between the user side and the test driver is constructed, and the use permission of the user side to the test driver is ensured; and constructing a virtual running environment at the user end, loading and running a test driver program, testing the graphical interface test data packet, correcting the corresponding graphical interface file, improving the test accuracy and efficiency of the graphical interface, reducing the test workload of the graphical interface, correcting the graphical interface in a targeted manner, and ensuring the reliability of the graphical interface.

Description

Automatic test method and system supporting graphic interface
Technical Field
The invention relates to the technical field of graphic interface test, in particular to an automatic test method and system supporting a graphic interface.
Background
The development of the graphical interface is an important link of the development of the application program, the graphical interface comprises a large number of graphical interface elements of different types, such as windows, menus, text boxes, list boxes, tables, buttons and the like, each graphical interface element is correspondingly associated with a specific interface operation function, and the different graphical interface elements can be combined for operation, so that other interface operation functions are completed. The development of the graphical interface mainly relates to the appearance and associated functional design of the graphical interface elements and the layout design of all the graphical interface elements on the interface, and the design work can be completed with a great deal of workload. In order to ensure that the graphical interface can meet the requirements of high loading speed and high response speed in the running process, the graphical interface also needs to meet corresponding operation requirements, so that the designed graphical interface needs to be automatically tested, the graphical interface is convenient to accurately and effectively correct, and the application program is prevented from collapsing after the graphical interface is called and the operation experience of a user on the graphical interface is prevented from being influenced.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention provides an automatic test method and system for supporting a graphical interface, which obtain a plurality of graphical interface element sets and data structure relation information thereof according to a graphical interface file of an application program, so as to generate a graphical interface test data packet, and the graphical interface test data packet is added into a test data packet queue of a user side to realize the integration of test data of the graphical interface file; the test driver is also called to the server according to the application program running log of the user side, and the use mapping relation between the user side and the test driver is constructed, so that the use permission of the user side to the test driver is ensured; a virtual running environment is built at the user end and used for loading and running the test driver and judging whether the running state of the test driver is normal or not; and testing the graphical interface test data packet by using a test driver with normal running state, so as to correct the corresponding graphical interface file, improve the accuracy and efficiency of testing the graphical interface, reduce the test workload of the graphical interface, and purposefully correct the graphical interface, thereby ensuring the reliability of the graphical interface.
The invention provides an automatic test method supporting a graphic interface, which comprises the following steps:
step S1, a graphical interface file of an application program of a user side is obtained, and the graphical interface file is analyzed to obtain a plurality of graphical interface element sets; generating a graphical interface test data packet based on the data structure relation information of all graphical interface elements in the graphical interface file, and adding the graphical interface test data packet into a test data packet queue of the user side;
step S2, based on the application program running log of the user side, determining the graphical interface test requirement information of the application program in the user side; based on the graphical interface test requirement information, a test driver invoking request is sent to a server side, so that a use mapping relation of the user side to a corresponding test driver of the server side is constructed;
step S3, based on the use mapping relation, constructing a virtual running environment compatible with the test driver in the user side, and loading the test driver into the virtual running environment to run; judging whether the test driver is in a normal running state or not based on running state parameters of the test driver in the virtual running environment;
Step S4, if the test driver is in a normal running state, selecting a matched graphical interface test data packet from the test data packet queue, loading the matched graphical interface test data packet to the test driver, and correcting a corresponding graphical interface file based on a test result of the test driver; and if the test driver is not in the normal running state, carrying out environment parameter changing processing on the virtual running environment.
In one embodiment disclosed in the present application, in the step S1, a graphical interface file of an application program of a user terminal is obtained, and the graphical interface file is analyzed to obtain a plurality of graphical interface element sets; generating a graphical interface test data packet based on the data structure relation information of all graphical interface elements in the graphical interface file, and adding the graphical interface test data packet to a test data packet queue of the user side, wherein the method comprises the following steps:
acquiring the graphical interface construction progress information of an application program in a user side from an application program running log of the user side; if the graphical interface construction progress information indicates that the application program has completed the construction of the current graphical interface, acquiring a corresponding graphical interface file from a storage interval corresponding to the application program; if the graphical interface construction progress information indicates that the application program does not complete the construction of the current graphical interface, a graphical interface file is not acquired;
Performing element type attribute distinguishing processing on all graphical interface elements contained in the graphical interface file to obtain a plurality of graphical interface element sets; wherein, each graphical interface element set belongs to all graphical interface elements with the same element type attribute;
obtaining operation association information of all graphical interface elements subordinate to all graphical interface element sets based on the graphical interface element link relation of all graphical interface element sets in the graphical interface file; and packaging all the graphical interface element sets and the operation association information to form a graphical interface test data packet, and adding the graphical interface test data packet into a test data packet queue of the user terminal based on the generation time of the graphical interface test data packet.
In one embodiment disclosed in the present application, in the step S2, based on an application running log of the user side, graphical interface test requirement information of an application inside the user side is determined; and sending a test driver invoking request to a server based on the graphical interface test requirement information so as to construct a use mapping relation of the user side to the corresponding test driver of the server, wherein the method comprises the following steps:
Acquiring real-time data storage capacity of a storage interval of the application program from an application program running log of the user side, and judging that the application program has a graphical interface test requirement if the real-time data storage capacity is greater than or equal to a preset storage capacity threshold value; otherwise, judging that the application program does not have the graphical interface test requirement;
and when the application program has the graphic interface test requirement, sending a test driver calling request to a server based on the interface type information of the graphic interface which is currently required to be tested by the application program, so as to select a matched test driver in a test driver library of the server, and constructing a use mapping relation of the user side to the selected test driver.
In one embodiment disclosed in the present application, in the step S3, a virtual running environment compatible with the test driver is built inside the client based on the usage mapping relationship, and the test driver is loaded into the virtual running environment to perform a running operation; based on the running state parameters of the test driver in the virtual running environment, judging whether the test driver is in a normal running state or not comprises the following steps:
Based on the software environment conditions required by the program starting of the test driver corresponding to the mapping relation, constructing a virtual running environment compatible with the test driver in the user side, and loading the test driver into the virtual running environment for running; the software environment conditions required by the program start comprise the memory space size and the program plug-in required by the test driver;
acquiring the data processing speed and the data processing error rate of the test driver in the virtual running environment; if the data processing speed is smaller than a preset speed threshold or the data processing error rate is larger than a preset error rate threshold, judging that the test driver is not in a normal running state; otherwise, judging that the test driver is in a normal running state.
In one embodiment disclosed in the present application, in the step S4, if the test driver is in a normal running state, selecting a matched graphical interface test data packet from the test data packet queue, loading the selected graphical interface test data packet to the test driver, and correcting a corresponding graphical interface file based on a test result of the test driver; if the test driver is not in the normal running state, the environment parameter changing process is performed on the virtual running environment, including:
If the test driver is in a normal running state, determining matched graphical interface test data packets from the test data packet queue, and loading the determined copied data packets of the graphical interface test data packets to the test driver; determining a graphic interface element with a defect in a corresponding graphic interface file based on a test result of the test driver, so as to correct the graphic interface element with the defect;
and if the test driver is not in the normal running state, performing memory space size or program plug-in reassignment processing on the virtual running environment.
The invention also provides an automated testing system supporting a graphical interface, comprising:
the graphical interface file processing module is used for acquiring a graphical interface file of an application program of a user terminal, and analyzing the graphical interface file to obtain a plurality of graphical interface element sets;
the test data packet generating and processing module is used for generating a graphical interface test data packet based on the data structure relation information of all graphical interface elements in the graphical interface file, and adding the graphical interface test data packet into a test data packet queue of the user side;
The test driver determining module is used for determining the graphical interface test requirement information of the application program in the user side based on the application program running log of the user side; based on the graphical interface test requirement information, a test driver invoking request is sent to a server side, so that a use mapping relation of the user side to a corresponding test driver of the server side is constructed;
the virtual operation environment construction and operation module is used for constructing a virtual operation environment compatible with the test driver in the user terminal based on the use mapping relation, and loading the test driver into the virtual operation environment for operation;
the test driver state identification module is used for judging whether the test driver is in a normal running state or not based on running state parameters of the test driver in the virtual running environment;
the graphical interface file correction module is used for selecting matched graphical interface test data packets from the test data packet queue to be loaded to the test driver when the test driver is in a normal running state, and correcting corresponding graphical interface files based on a test result of the test driver;
And the virtual running environment changing module is used for changing the environment parameters of the virtual running environment when the test driver is not in the normal running state.
In an embodiment disclosed in the present application, the graphical interface file processing module is configured to obtain a graphical interface file of an application program of a user terminal, analyze the graphical interface file, and obtain a plurality of graphical interface element sets, and includes:
acquiring the graphical interface construction progress information of an application program in a user side from an application program running log of the user side; if the graphical interface construction progress information indicates that the application program has completed the construction of the current graphical interface, acquiring a corresponding graphical interface file from a storage interval corresponding to the application program; if the graphical interface construction progress information indicates that the application program does not complete the construction of the current graphical interface, a graphical interface file is not acquired;
performing element type attribute distinguishing processing on all graphical interface elements contained in the graphical interface file to obtain a plurality of graphical interface element sets; wherein, each graphical interface element set belongs to all graphical interface elements with the same element type attribute;
The test data packet generating and processing module is configured to generate a graphical interface test data packet based on the data structure relationship information of all graphical interface elements in the graphical interface file, and add the graphical interface test data packet to a test data packet queue of the user side, where the test data packet generating and processing module includes:
obtaining operation association information of all graphical interface elements subordinate to all graphical interface element sets based on the graphical interface element link relation of all graphical interface element sets in the graphical interface file; and packaging all the graphical interface element sets and the operation association information to form a graphical interface test data packet, and adding the graphical interface test data packet into a test data packet queue of the user terminal based on the generation time of the graphical interface test data packet.
In an embodiment disclosed in the present application, the test driver determining module is configured to determine, based on an application running log of the user side, graphical interface test requirement information of an application in the user side; and sending a test driver invoking request to a server based on the graphical interface test requirement information so as to construct a use mapping relation of the user side to the corresponding test driver of the server, wherein the method comprises the following steps:
Acquiring real-time data storage capacity of a storage interval of the application program from an application program running log of the user side, and judging that the application program has a graphical interface test requirement if the real-time data storage capacity is greater than or equal to a preset storage capacity threshold value; otherwise, judging that the application program does not have the graphical interface test requirement;
and when the application program has the graphic interface test requirement, sending a test driver calling request to a server based on the interface type information of the graphic interface which is currently required to be tested by the application program, so as to select a matched test driver in a test driver library of the server, and constructing a use mapping relation of the user side to the selected test driver.
In an embodiment disclosed in the present application, the virtual running environment construction and running module is configured to construct a virtual running environment compatible with the test driver in the client based on the usage mapping relationship, and load the test driver to the virtual running environment for running, where the method includes:
based on the software environment conditions required by the program starting of the test driver corresponding to the mapping relation, constructing a virtual running environment compatible with the test driver in the user side, and loading the test driver into the virtual running environment for running; the software environment conditions required by the program start comprise the memory space size and the program plug-in required by the test driver;
The test driver state identification module is configured to determine, based on an operation state parameter of the test driver in the virtual operation environment, whether the test driver is in a normal operation state, and includes:
acquiring the data processing speed and the data processing error rate of the test driver in the virtual running environment; if the data processing speed is smaller than a preset speed threshold or the data processing error rate is larger than a preset error rate threshold, judging that the test driver is not in a normal running state; otherwise, judging that the test driver is in a normal running state.
In an embodiment of the disclosure, the graphical interface file modification module is configured to select, when the test driver is in a normal running state, a matched graphical interface test data packet from the test data packet queue, load the matched graphical interface test data packet to the test driver, and modify a corresponding graphical interface file based on a test result of the test driver, where the modification module includes:
when the test driver is in a normal running state, determining matched graphical interface test data packets from the test data packet queue, and loading the determined copied data packets of the graphical interface test data packets to the test driver; determining a graphic interface element with a defect in a corresponding graphic interface file based on a test result of the test driver, so as to correct the graphic interface element with the defect;
The virtual operation environment changing module is configured to perform an environment parameter changing process on the virtual operation environment when the test driver is not in a normal operation state, and includes:
and when the test driver is not in the normal running state, performing memory space size or program plug-in reassignment processing on the virtual running environment.
Compared with the prior art, the automatic test method and the system for supporting the graphical interface obtain a plurality of graphical interface element sets and data structure relation information thereof according to the graphical interface file of the application program, so as to generate a graphical interface test data packet, and the graphical interface test data packet is added into a test data packet queue of a user side to integrate the test data of the graphical interface file; the test driver is also called to the server according to the application program running log of the user side, and the use mapping relation between the user side and the test driver is constructed, so that the use permission of the user side to the test driver is ensured; a virtual running environment is built at the user end and used for loading and running the test driver and judging whether the running state of the test driver is normal or not; and testing the graphical interface test data packet by using a test driver with normal running state, so as to correct the corresponding graphical interface file, improve the accuracy and efficiency of testing the graphical interface, reduce the test workload of the graphical interface, and purposefully correct the graphical interface, thereby ensuring the reliability of the graphical interface.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an automated testing method supporting graphical interfaces provided by the present invention;
FIG. 2 is a schematic diagram of an automated test system supporting graphical interfaces in accordance with the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flow chart of an automated testing method supporting a graphical interface according to an embodiment of the present invention is shown. The automatic test method supporting the graphic interface comprises the following steps:
step S1, a graphical interface file of an application program of a user side is obtained, and the graphical interface file is analyzed to obtain a plurality of graphical interface element sets; generating a graphical interface test data packet based on the data structure relation information of all graphical interface elements in the graphical interface file, and adding the graphical interface test data packet into a test data packet queue of the user terminal;
step S2, based on the application program running log of the user terminal, determining the graphical interface test requirement information of the application program in the user terminal; based on the graphical interface test requirement information, sending a test driver invoking request to a server side so as to construct a use mapping relation of the user side to a corresponding test driver of the server side;
step S3, based on the use mapping relation, constructing a virtual running environment compatible with the test driver in the user side, and loading the test driver into the virtual running environment for running; judging whether the test driver is in a normal running state or not based on running state parameters of the test driver in the virtual running environment;
Step S4, if the test driver is in a normal running state, selecting a matched graphical interface test data packet from the test data packet queue to be loaded to the test driver, and correcting a corresponding graphical interface file based on a test result of the test driver; and if the test driver is not in the normal running state, carrying out environment parameter changing processing on the virtual running environment.
According to the automatic test method supporting the graphical interface, a plurality of graphical interface element sets and data structure relation information thereof are obtained according to the graphical interface file of the application program, so that a graphical interface test data packet is generated and added into a test data packet queue of a user side, and the test data integration of the graphical interface file is realized; the test driver is also called to the server according to the application program running log of the user side, and the use mapping relation between the user side and the test driver is constructed, so that the use permission of the user side to the test driver is ensured; a virtual running environment is built at the user end and used for loading and running the test driver and judging whether the running state of the test driver is normal or not; and testing the graphical interface test data packet by using a test driver with normal running state, so as to correct the corresponding graphical interface file, improve the accuracy and efficiency of testing the graphical interface, reduce the test workload of the graphical interface, and purposefully correct the graphical interface, thereby ensuring the reliability of the graphical interface.
Preferably, in the step S1, a graphical interface file of an application program of the user terminal is obtained, and the graphical interface file is analyzed to obtain a plurality of graphical interface element sets; generating a graphical interface test data packet based on the data structure relation information of all graphical interface elements in the graphical interface file, and adding the graphical interface test data packet to a test data packet queue of the user side, wherein the method comprises the following steps:
acquiring the graphical interface construction progress information of an application program in a user side from an application program running log of the user side; if the graphical interface construction progress information indicates that the application program has completed the construction of the current graphical interface, acquiring a corresponding graphical interface file from a storage interval corresponding to the application program; if the graphical interface construction progress information indicates that the application program does not complete the construction of the current graphical interface, a graphical interface file is not acquired;
performing element type attribute distinguishing processing on all graphical interface elements contained in the graphical interface file to obtain a plurality of graphical interface element sets; wherein, each graphical interface element set belongs to all graphical interface elements with the same element type attribute;
Obtaining operation association information of all graphical interface elements subordinate to all graphical interface elements based on the graphical interface element link relation of all graphical interface element sets in the graphical interface file; and packaging all the graphical interface element sets and the operation association information to form a graphical interface test data packet, and adding the graphical interface test data packet into a test data packet queue of the user terminal based on the generation time of the graphical interface test data packet.
In the technical scheme, different application programs are installed in the user side, wherein some application programs can construct a graphical interface, and accordingly a corresponding graphical interface is generated. When the application program builds the graphical interface, a corresponding application program running log is generated, so that the graphical interface building progress information of the application program is recorded, wherein the graphical interface building progress information can be, but is not limited to, data volume information of the application program in the process of building the graphical interface so as to finish the built graphical interface, and the graphical interface building completion percentage is represented. Judging whether the application program has completed the construction of the current graphical interface according to the construction progress information of the graphical interface, and directly acquiring a corresponding graphical interface file from a storage interval of an application program object after confirming that the construction of the graphical interface has been completed; when the incomplete construction of the graphical interface is confirmed, no graphical interface file is acquired, so that the data integrity of the finally acquired graphical interface file can be ensured. The graphical interface file comprises all graphical interface elements forming a graphical interface, and element type attribute distinguishing processing is performed on all the graphical interface elements contained in the graphical interface file to obtain a plurality of graphical interface element sets, wherein the element type attribute distinguishing processing can be, but is not limited to, distinguishing processing of different types of elements such as windows, menus, text boxes, list boxes, tables, buttons and the like, so that all the graphical interface elements subordinate to each graphical interface element set have the same element type attribute, for example, one graphical interface element set subordinate to the graphical interface elements only comprising the text box type, and the other graphical interface element set subordinate to the graphical interface elements only comprising the button type. In addition, a corresponding interface operation triggering relationship exists between different graphical interface elements on the graphical interface, for example, when a button is operated on the graphical interface, the graphical interface generates a corresponding text box or list box, so that different graphical interface element sets are not independent of each other, a certain graphical interface element linking relationship exists between different graphical interface element sets, all graphical interface element sets belong to operation association information among all graphical interface elements according to the graphical interface element linking relationship, and all graphical interface element sets are combined and packaged to form a graphical interface test data packet, the graphical interface test data packet can completely and accurately reflect the graphical interface elements contained in the graphical interface file and the relationship among the graphical interface elements, and reliable data support is provided for subsequent graphical interface tests.
Preferably, in the step S2, based on the application running log of the user side, the graphical interface test requirement information of the application inside the user side is determined; and sending a test driver invoking request to the server based on the graphical interface test requirement information so as to construct a use mapping relation of the user side to the corresponding test driver of the server, wherein the method comprises the following steps:
acquiring real-time data storage capacity of a storage interval of the application program from an application program running log of the user side, and judging that the application program has a graphical interface test requirement if the real-time data storage capacity is greater than or equal to a preset storage capacity threshold value; otherwise, judging that the application program does not have the graphical interface test requirement;
and when the application program has the graphic interface test requirement, sending a test driver calling request to the server based on the interface type information of the graphic interface which is currently required to be tested by the application program, so as to select a matched test driver from a test driver library of the server, and constructing the use mapping relation of the user side to the selected test driver.
In the above technical solution, the real-time data storage amount of the storage section of the application program is obtained from the application program running log of the user side, and when the real-time data storage amount is greater than or equal to the preset storage amount threshold, it indicates that the data amount of the graphical interface file corresponding to the graphical interface constructed by the application program already meets the corresponding condition, and at this time, the test needs to be performed on the graphical interface constructed by the application program. And sending a test driver invoking request to a server according to the interface type information of the graphical interface which is currently required to be tested by the application program, so that a matched test driver is selected from a test driver library of the server, the test driver invoked from the server can be matched with the graphical interface which is required to be tested by a user, the stability and the persistence of the subsequent test on the graphical interface are ensured, and meanwhile, the use mapping relation of the user on the selected test driver is also constructed, so that the user obtains the invoking authority of the selected test driver.
Preferably, in the step S3, a virtual running environment compatible with the test driver is built in the client based on the usage mapping relationship, and the test driver is loaded into the virtual running environment to perform running work; based on the running state parameters of the test driver in the virtual running environment, judging whether the test driver is in a normal running state or not comprises the following steps:
based on the software environment conditions required by the program start of the test driver corresponding to the mapping relation, constructing a virtual running environment compatible with the test driver in the user side, and loading the test driver into the virtual running environment for running; the software environment conditions required by the program start comprise the memory space size and the program plug-in required by the test driver;
acquiring the data processing speed and the data processing error rate of the test driver in the virtual running environment; if the data processing speed is smaller than a preset speed threshold or the data processing error rate is larger than a preset error rate threshold, judging that the test driver is not in a normal running state; otherwise, judging that the test driver is in a normal running state.
In the above technical solution, the historical program start record of the test driver corresponding to the mapping relation is analyzed, the memory space size and the program plug-in required by the normal start of the test driver are determined, and then the memory space with the corresponding size and the program plug-in with the corresponding type are called in the user side, so that a virtual running environment compatible with the test driver is constructed, and the virtual running environment can ensure the normal start running of the test driver. And loading the test driver into the virtual running environment to perform running work, and acquiring the data processing speed and the data processing error rate of the test driver in the virtual running environment, so that whether the test driver is in a normal running state or not is judged according to the data processing speed and the data processing error rate, and the subsequent adaptive adjustment of the test driver is facilitated.
Preferably, in the step S4, if the test driver is in a normal running state, a matched graphical interface test data packet is selected from the test data packet queue to be loaded to the test driver, and based on a test result of the test driver, a corresponding graphical interface file is corrected; if the test driver is not in the normal running state, the environment parameter changing process is performed on the virtual running environment, including:
If the test driver is in a normal running state, determining matched graphical interface test data packets from the test data packet queue, and loading the determined copied data packets of the graphical interface test data packets to the test driver; based on the test result of the test driver, determining the graphic interface element with the defect in the corresponding graphic interface file, and correcting the graphic interface element with the defect;
and if the test driver is not in the normal running state, performing memory space size or program plug-in reassignment processing on the virtual running environment.
In the above technical solution, when the test driver is in a normal running state, a corresponding graphical interface test data packet is directly selected from the test data packet queue, and a duplicate data packet corresponding to the graphical interface test data packet is obtained and loaded to the test driver, so as to obtain a test result of the corresponding test driver, thereby determining a graphical interface element with a defect in the corresponding graphical interface file according to the test result, correcting the graphical interface element with the defect, and reducing the data defect of the graphical interface. When the test driver is not in a normal running state, the virtual running environment is subjected to memory space size or program plug-in reassignment processing, the memory space which can be controlled by the test driver is increased, the test driver is prevented from being blocked or crashed, and the test driver is subjected to effective and comprehensive patching processing.
Referring to fig. 2, a schematic diagram of an automated testing system supporting a graphical interface according to an embodiment of the present invention is provided. The automated testing system supporting a graphical interface includes:
the graphical interface file processing module is used for acquiring a graphical interface file of an application program of a user terminal, and analyzing the graphical interface file to obtain a plurality of graphical interface element sets;
the test data packet generating and processing module is used for generating a graphical interface test data packet based on the data structure relation information of all the graphical interface elements in the graphical interface file, and adding the graphical interface test data packet into a test data packet queue of the user side;
the test driver determining module is used for determining the graphical interface test requirement information of the application program in the user terminal based on the application program running log of the user terminal; based on the graphical interface test requirement information, sending a test driver invoking request to a server side so as to construct a use mapping relation of the user side to a corresponding test driver of the server side;
the virtual running environment construction and running module is used for constructing a virtual running environment compatible with the test driver in the user terminal based on the use mapping relation, and loading the test driver into the virtual running environment for running work;
The test driver state identification module is used for judging whether the test driver is in a normal running state or not based on running state parameters of the test driver in the virtual running environment;
the graphical interface file correction module is used for selecting a matched graphical interface test data packet from the test data packet queue to be loaded to the test driver when the test driver is in a normal running state, and correcting a corresponding graphical interface file based on a test result of the test driver;
and the virtual running environment changing module is used for changing the environment parameters of the virtual running environment when the test driver is not in the normal running state.
The automatic test system supporting the graphical interface obtains a plurality of graphical interface element sets and data structure relation information thereof according to the graphical interface file of the application program, so as to generate a graphical interface test data packet, and the graphical interface test data packet is added into a test data packet queue of a user side, so that the test data integration of the graphical interface file is realized; the test driver is also called to the server according to the application program running log of the user side, and the use mapping relation between the user side and the test driver is constructed, so that the use permission of the user side to the test driver is ensured; a virtual running environment is built at the user end and used for loading and running the test driver and judging whether the running state of the test driver is normal or not; and testing the graphical interface test data packet by using a test driver with normal running state, so as to correct the corresponding graphical interface file, improve the accuracy and efficiency of testing the graphical interface, reduce the test workload of the graphical interface, and purposefully correct the graphical interface, thereby ensuring the reliability of the graphical interface.
Preferably, the graphical interface file processing module is configured to obtain a graphical interface file of an application program at a user end, analyze the graphical interface file to obtain a plurality of graphical interface element sets, and includes:
acquiring the graphical interface construction progress information of an application program in a user side from an application program running log of the user side; if the graphical interface construction progress information indicates that the application program has completed the construction of the current graphical interface, acquiring a corresponding graphical interface file from a storage interval corresponding to the application program; if the graphical interface construction progress information indicates that the application program does not complete the construction of the current graphical interface, a graphical interface file is not acquired;
performing element type attribute distinguishing processing on all graphical interface elements contained in the graphical interface file to obtain a plurality of graphical interface element sets; wherein, each graphical interface element set belongs to all graphical interface elements with the same element type attribute;
the test data packet generating and processing module is used for generating a graphical interface test data packet based on the data structure relation information of all graphical interface elements in the graphical interface file, and adding the graphical interface test data packet to a test data packet queue of the user side, and comprises the following steps:
Obtaining operation association information of all graphical interface elements subordinate to all graphical interface elements based on the graphical interface element link relation of all graphical interface element sets in the graphical interface file; and packaging all the graphical interface element sets and the operation association information to form a graphical interface test data packet, and adding the graphical interface test data packet into a test data packet queue of the user terminal based on the generation time of the graphical interface test data packet.
In the technical scheme, different application programs are installed in the user side, wherein some application programs can construct a graphical interface, and accordingly a corresponding graphical interface is generated. When the application program builds the graphical interface, a corresponding application program running log is generated, so that the graphical interface building progress information of the application program is recorded, wherein the graphical interface building progress information can be, but is not limited to, data volume information of the application program in the process of building the graphical interface so as to finish the built graphical interface, and the graphical interface building completion percentage is represented. Judging whether the application program has completed the construction of the current graphical interface according to the construction progress information of the graphical interface, and directly acquiring a corresponding graphical interface file from a storage interval of an application program object after confirming that the construction of the graphical interface has been completed; when the incomplete construction of the graphical interface is confirmed, no graphical interface file is acquired, so that the data integrity of the finally acquired graphical interface file can be ensured. The graphical interface file comprises all graphical interface elements forming a graphical interface, and element type attribute distinguishing processing is performed on all the graphical interface elements contained in the graphical interface file to obtain a plurality of graphical interface element sets, wherein the element type attribute distinguishing processing can be, but is not limited to, distinguishing processing of different types of elements such as windows, menus, text boxes, list boxes, tables, buttons and the like, so that all the graphical interface elements subordinate to each graphical interface element set have the same element type attribute, for example, one graphical interface element set subordinate to the graphical interface elements only comprising the text box type, and the other graphical interface element set subordinate to the graphical interface elements only comprising the button type. In addition, a corresponding interface operation triggering relationship exists between different graphical interface elements on the graphical interface, for example, when a button is operated on the graphical interface, the graphical interface generates a corresponding text box or list box, so that different graphical interface element sets are not independent of each other, a certain graphical interface element linking relationship exists between different graphical interface element sets, all graphical interface element sets belong to operation association information among all graphical interface elements according to the graphical interface element linking relationship, and all graphical interface element sets are combined and packaged to form a graphical interface test data packet, the graphical interface test data packet can completely and accurately reflect the graphical interface elements contained in the graphical interface file and the relationship among the graphical interface elements, and reliable data support is provided for subsequent graphical interface tests.
Preferably, the test driver determining module is configured to determine, based on an application running log of the user side, graphical interface test requirement information of an application in the user side; and sending a test driver invoking request to the server based on the graphical interface test requirement information so as to construct a use mapping relation of the user side to the corresponding test driver of the server, wherein the method comprises the following steps:
acquiring real-time data storage capacity of a storage interval of the application program from an application program running log of the user side, and judging that the application program has a graphical interface test requirement if the real-time data storage capacity is greater than or equal to a preset storage capacity threshold value; otherwise, judging that the application program does not have the graphical interface test requirement;
and when the application program has the graphic interface test requirement, sending a test driver calling request to the server based on the interface type information of the graphic interface which is currently required to be tested by the application program, so as to select a matched test driver from a test driver library of the server, and constructing the use mapping relation of the user side to the selected test driver.
In the above technical solution, the real-time data storage amount of the storage section of the application program is obtained from the application program running log of the user side, and when the real-time data storage amount is greater than or equal to the preset storage amount threshold, it indicates that the data amount of the graphical interface file corresponding to the graphical interface constructed by the application program already meets the corresponding condition, and at this time, the test needs to be performed on the graphical interface constructed by the application program. And sending a test driver invoking request to a server according to the interface type information of the graphical interface which is currently required to be tested by the application program, so that a matched test driver is selected from a test driver library of the server, the test driver invoked from the server can be matched with the graphical interface which is required to be tested by a user, the stability and the persistence of the subsequent test on the graphical interface are ensured, and meanwhile, the use mapping relation of the user on the selected test driver is also constructed, so that the user obtains the invoking authority of the selected test driver.
Preferably, the virtual running environment construction and running module is configured to construct a virtual running environment compatible with the test driver in the client based on the usage mapping relationship, and load the test driver into the virtual running environment for running, and includes:
based on the software environment conditions required by the program start of the test driver corresponding to the mapping relation, constructing a virtual running environment compatible with the test driver in the user side, and loading the test driver into the virtual running environment for running; the software environment conditions required by the program start comprise the memory space size and the program plug-in required by the test driver;
the test driver state identification module is configured to determine, based on an operation state parameter of the test driver in the virtual operation environment, whether the test driver is in a normal operation state, and includes:
acquiring the data processing speed and the data processing error rate of the test driver in the virtual running environment; if the data processing speed is smaller than a preset speed threshold or the data processing error rate is larger than a preset error rate threshold, judging that the test driver is not in a normal running state; otherwise, judging that the test driver is in a normal running state.
In the above technical solution, the historical program start record of the test driver corresponding to the mapping relation is analyzed, the memory space size and the program plug-in required by the normal start of the test driver are determined, and then the memory space with the corresponding size and the program plug-in with the corresponding type are called in the user side, so that a virtual running environment compatible with the test driver is constructed, and the virtual running environment can ensure the normal start running of the test driver. And loading the test driver into the virtual running environment to perform running work, and acquiring the data processing speed and the data processing error rate of the test driver in the virtual running environment, so that whether the test driver is in a normal running state or not is judged according to the data processing speed and the data processing error rate, and the subsequent adaptive adjustment of the test driver is facilitated.
Preferably, the graphical interface file correction module is configured to select, when the test driver is in a normal running state, a matched graphical interface test data packet from the test data packet queue to be loaded to the test driver, and correct a corresponding graphical interface file based on a test result of the test driver, where the method includes:
When the test driver is in a normal running state, determining matched graphical interface test data packets from the test data packet queue, and loading the determined copied data packets of the graphical interface test data packets to the test driver; based on the test result of the test driver, determining the graphic interface element with the defect in the corresponding graphic interface file, and correcting the graphic interface element with the defect;
the virtual running environment changing module is configured to perform an environment parameter changing process on the virtual running environment when the test driver is not in a normal running state, and includes:
and when the test driver is not in the normal running state, performing memory space size or program plug-in reassignment processing on the virtual running environment.
In the above technical solution, when the test driver is in a normal running state, a corresponding graphical interface test data packet is directly selected from the test data packet queue, and a duplicate data packet corresponding to the graphical interface test data packet is obtained and loaded to the test driver, so as to obtain a test result of the corresponding test driver, thereby determining a graphical interface element with a defect in the corresponding graphical interface file according to the test result, correcting the graphical interface element with the defect, and reducing the data defect of the graphical interface. When the test driver is not in a normal running state, the virtual running environment is subjected to memory space size or program plug-in reassignment processing, the memory space which can be controlled by the test driver is increased, the test driver is prevented from being blocked or crashed, and the test driver is subjected to effective and comprehensive patching processing.
According to the content of the embodiment, the automatic test method and the system for supporting the graphical interface obtain a plurality of graphical interface element sets and data structure relation information thereof according to the graphical interface file of the application program, so as to generate a graphical interface test data packet, and the graphical interface test data packet is added into a test data packet queue of a user side to realize the integration of test data of the graphical interface file; the test driver is also called to the server according to the application program running log of the user side, and the use mapping relation between the user side and the test driver is constructed, so that the use permission of the user side to the test driver is ensured; a virtual running environment is built at the user end and used for loading and running the test driver and judging whether the running state of the test driver is normal or not; and testing the graphical interface test data packet by using a test driver with normal running state, so as to correct the corresponding graphical interface file, improve the accuracy and efficiency of testing the graphical interface, reduce the test workload of the graphical interface, and purposefully correct the graphical interface, thereby ensuring the reliability of the graphical interface.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (6)

1. The automatic test method supporting the graphic interface is characterized by comprising the following steps:
step S1, a graphical interface file of an application program of a user side is obtained, and the graphical interface file is analyzed to obtain a plurality of graphical interface element sets; generating a graphical interface test data packet based on the data structure relation information of all graphical interface elements in the graphical interface file, and adding the graphical interface test data packet into a test data packet queue of the user side, wherein the graphical interface construction progress information of an application program in the user side is obtained from an application program running log of the user side; if the graphical interface construction progress information indicates that the application program has completed the construction of the current graphical interface, acquiring a corresponding graphical interface file from a storage interval corresponding to the application program; if the graphical interface construction progress information indicates that the application program does not complete the construction of the current graphical interface, a graphical interface file is not acquired; performing element type attribute distinguishing processing on all graphical interface elements contained in the graphical interface file to obtain a plurality of graphical interface element sets; wherein, each graphical interface element set belongs to all graphical interface elements with the same element type attribute; obtaining operation association information of all graphical interface elements subordinate to all graphical interface element sets based on the graphical interface element link relation of all graphical interface element sets in the graphical interface file; packaging all graphical interface element sets and the operation association information to form a graphical interface test data packet, and adding the graphical interface test data packet into a test data packet queue of the user terminal based on the generation time of the graphical interface test data packet;
Step S2, based on the application program running log of the user side, determining the graphical interface test requirement information of the application program in the user side; based on the graphical interface test requirement information, a test driver invoking request is sent to a server to construct a use mapping relation of the user side to a corresponding test driver of the server, wherein the use mapping relation comprises the steps of acquiring real-time data storage capacity of a storage interval of the application program from an application program operation log of the user side, and judging that the application program has graphical interface test requirements if the real-time data storage capacity is larger than or equal to a preset storage capacity threshold value; otherwise, judging that the application program does not have the graphical interface test requirement; when the application program has a graphic interface test requirement, a test driver calling request is sent to a server based on interface type information of a graphic interface which is currently required to be tested by the application program, so that a matched test driver is selected from a test driver library of the server, and a use mapping relation of the user side to the selected test driver is constructed;
step S3, based on the use mapping relation, constructing a virtual running environment compatible with the test driver in the user side, and loading the test driver into the virtual running environment to run; judging whether the test driver is in a normal running state or not based on running state parameters of the test driver in the virtual running environment;
Step S4, if the test driver is in a normal running state, selecting a matched graphical interface test data packet from the test data packet queue, loading the matched graphical interface test data packet to the test driver, and correcting a corresponding graphical interface file based on a test result of the test driver; and if the test driver is not in the normal running state, carrying out environment parameter changing processing on the virtual running environment.
2. The automated testing method supporting a graphical interface of claim 1, wherein:
in the step S3, a virtual operation environment compatible with the test driver is built in the client based on the mapping relation, and the test driver is loaded to the virtual operation environment to perform operation; based on the running state parameters of the test driver in the virtual running environment, judging whether the test driver is in a normal running state or not comprises the following steps:
based on the software environment conditions required by the program starting of the test driver corresponding to the mapping relation, constructing a virtual running environment compatible with the test driver in the user side, and loading the test driver into the virtual running environment for running; the software environment conditions required by the program start comprise the memory space size and the program plug-in required by the test driver;
Acquiring the data processing speed and the data processing error rate of the test driver in the virtual running environment; if the data processing speed is smaller than a preset speed threshold or the data processing error rate is larger than a preset error rate threshold, judging that the test driver is not in a normal running state; otherwise, judging that the test driver is in a normal running state.
3. The automated testing method supporting a graphical interface of claim 1, wherein:
in the step S4, if the test driver is in a normal running state, selecting a matched graphical interface test data packet from the test data packet queue, loading the matched graphical interface test data packet to the test driver, and correcting a corresponding graphical interface file based on a test result of the test driver; if the test driver is not in the normal running state, the environment parameter changing process is performed on the virtual running environment, including:
if the test driver is in a normal running state, determining matched graphical interface test data packets from the test data packet queue, and loading the determined copied data packets of the graphical interface test data packets to the test driver; determining a graphic interface element with a defect in a corresponding graphic interface file based on a test result of the test driver, so as to correct the graphic interface element with the defect;
And if the test driver is not in the normal running state, performing memory space size or program plug-in reassignment processing on the virtual running environment.
4. An automated testing system supporting a graphical interface, comprising:
the graphical interface file processing module is used for acquiring a graphical interface file of an application program of the user side, analyzing the graphical interface file to obtain a plurality of graphical interface element sets, and acquiring graphical interface construction progress information of the application program in the user side from an application program running log of the user side; if the graphical interface construction progress information indicates that the application program has completed the construction of the current graphical interface, acquiring a corresponding graphical interface file from a storage interval corresponding to the application program; if the graphical interface construction progress information indicates that the application program does not complete the construction of the current graphical interface, a graphical interface file is not acquired; performing element type attribute distinguishing processing on all graphical interface elements contained in the graphical interface file to obtain a plurality of graphical interface element sets; wherein, each graphical interface element set belongs to all graphical interface elements with the same element type attribute;
The test data packet generation and processing module is used for generating a graphical interface test data packet based on the data structure relation information of all the graphical interface element sets in the graphical interface file, adding the graphical interface test data packet into a test data packet queue of the user side, and obtaining operation association information of all the graphical interface elements subordinate to all the graphical interface element sets based on the graphical interface element link relation of all the graphical interface element sets in the graphical interface file; packaging all graphical interface element sets and the operation association information to form a graphical interface test data packet, and adding the graphical interface test data packet into a test data packet queue of the user terminal based on the generation time of the graphical interface test data packet;
the test driver determining module is used for determining the graphical interface test requirement information of the application program in the user side based on the application program running log of the user side; based on the graphical interface test requirement information, a test driver invoking request is sent to a server to construct a use mapping relation of the user side to a corresponding test driver of the server, wherein the use mapping relation comprises the steps of acquiring real-time data storage capacity of a storage interval of the application program from an application program operation log of the user side, and judging that the application program has graphical interface test requirements if the real-time data storage capacity is larger than or equal to a preset storage capacity threshold value; otherwise, judging that the application program does not have the graphical interface test requirement; when the application program has a graphic interface test requirement, a test driver calling request is sent to a server based on interface type information of a graphic interface which is currently required to be tested by the application program, so that a matched test driver is selected from a test driver library of the server, and a use mapping relation of the user side to the selected test driver is constructed;
The virtual operation environment construction and operation module is used for constructing a virtual operation environment compatible with the test driver in the user terminal based on the use mapping relation, and loading the test driver into the virtual operation environment for operation;
the test driver state identification module is used for judging whether the test driver is in a normal running state or not based on running state parameters of the test driver in the virtual running environment;
the graphical interface file correction module is used for selecting matched graphical interface test data packets from the test data packet queue to be loaded to the test driver when the test driver is in a normal running state, and correcting corresponding graphical interface files based on a test result of the test driver;
and the virtual running environment changing module is used for changing the environment parameters of the virtual running environment when the test driver is not in the normal running state.
5. An automated testing system supporting a graphical interface as recited in claim 4, wherein:
the virtual operation environment construction and operation module is configured to construct a virtual operation environment compatible with the test driver in the client based on the usage mapping relationship, and load the test driver to the virtual operation environment for operation, where the virtual operation environment comprises:
Based on the software environment conditions required by the program starting of the test driver corresponding to the mapping relation, constructing a virtual running environment compatible with the test driver in the user side, and loading the test driver into the virtual running environment for running; the software environment conditions required by the program start comprise the memory space size and the program plug-in required by the test driver;
the test driver state identification module is configured to determine, based on an operation state parameter of the test driver in the virtual operation environment, whether the test driver is in a normal operation state, and includes:
acquiring the data processing speed and the data processing error rate of the test driver in the virtual running environment; if the data processing speed is smaller than a preset speed threshold or the data processing error rate is larger than a preset error rate threshold, judging that the test driver is not in a normal running state; otherwise, judging that the test driver is in a normal running state.
6. An automated testing system supporting a graphical interface as recited in claim 4, wherein:
The graphical interface file correction module is configured to select a matched graphical interface test data packet from the test data packet queue to be loaded to the test driver when the test driver is in a normal running state, and correct a corresponding graphical interface file based on a test result of the test driver, where the graphical interface file correction module includes:
when the test driver is in a normal running state, determining matched graphical interface test data packets from the test data packet queue, and loading the determined copied data packets of the graphical interface test data packets to the test driver; determining a graphic interface element with a defect in a corresponding graphic interface file based on a test result of the test driver, so as to correct the graphic interface element with the defect;
the virtual operation environment changing module is configured to perform an environment parameter changing process on the virtual operation environment when the test driver is not in a normal operation state, and includes:
and when the test driver is not in the normal running state, performing memory space size or program plug-in reassignment processing on the virtual running environment.
CN202311628030.2A 2023-12-01 2023-12-01 Automatic test method and system supporting graphic interface Active CN117331847B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311628030.2A CN117331847B (en) 2023-12-01 2023-12-01 Automatic test method and system supporting graphic interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311628030.2A CN117331847B (en) 2023-12-01 2023-12-01 Automatic test method and system supporting graphic interface

Publications (2)

Publication Number Publication Date
CN117331847A CN117331847A (en) 2024-01-02
CN117331847B true CN117331847B (en) 2024-01-30

Family

ID=89283434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311628030.2A Active CN117331847B (en) 2023-12-01 2023-12-01 Automatic test method and system supporting graphic interface

Country Status (1)

Country Link
CN (1) CN117331847B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868104A (en) * 2016-03-24 2016-08-17 积成电子股份有限公司 Cross-platform graphic user interface automatic test method
CN108153675A (en) * 2017-12-26 2018-06-12 江苏润和软件股份有限公司 A kind of Android application automated testing methods towards mobile cloud computing
WO2018120721A1 (en) * 2016-12-30 2018-07-05 上海壹账通金融科技有限公司 Method and system for testing user interface, electronic device, and computer readable storage medium
CN110287088A (en) * 2019-01-14 2019-09-27 南京大学 A kind of automated testing method based on dynamic UI model
CN115840711A (en) * 2022-12-29 2023-03-24 江西萤火虫微电子科技有限公司 Software testing method, system, storage medium and computer for graphical user interface
CN116627848A (en) * 2023-07-24 2023-08-22 成都中科合迅科技有限公司 Automatic test method and system for application program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8645919B2 (en) * 2008-04-16 2014-02-04 Microsoft Corporation Generic validation test framework for graphical user interfaces
US11500762B2 (en) * 2017-01-11 2022-11-15 Smartlytics Llc System and method for automated intelligent mobile application testing
US20200034281A1 (en) * 2017-01-11 2020-01-30 Smartlytics Llc, Dba Quantyzd System and method for automated intelligent mobile application testing
US11301366B2 (en) * 2019-05-10 2022-04-12 Vmware, Inc. Test automation systems and methods using logical identifiers

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868104A (en) * 2016-03-24 2016-08-17 积成电子股份有限公司 Cross-platform graphic user interface automatic test method
WO2018120721A1 (en) * 2016-12-30 2018-07-05 上海壹账通金融科技有限公司 Method and system for testing user interface, electronic device, and computer readable storage medium
CN108153675A (en) * 2017-12-26 2018-06-12 江苏润和软件股份有限公司 A kind of Android application automated testing methods towards mobile cloud computing
CN110287088A (en) * 2019-01-14 2019-09-27 南京大学 A kind of automated testing method based on dynamic UI model
CN115840711A (en) * 2022-12-29 2023-03-24 江西萤火虫微电子科技有限公司 Software testing method, system, storage medium and computer for graphical user interface
CN116627848A (en) * 2023-07-24 2023-08-22 成都中科合迅科技有限公司 Automatic test method and system for application program

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
A deep learning-based automated framework for functional User Interface testing;Zubair Khaliq等;《Information and Software Technology》;1-13 *
基于Appium的移动端UI自动化测试平台的设计与实现;程洋洋;《中国优秀硕士学位论文全文数据库 信息科技辑》;I138-266 *
基于需求追踪的Web应用测试脚本修复和版本控制技术研究;张海攀;《中国优秀硕士学位论文全文数据库 信息科技辑》;I138-186 *
基于静态分析的Android GUI遍历方法;汤杨等;《计算机应用》(第10期);2811-2815 *

Also Published As

Publication number Publication date
CN117331847A (en) 2024-01-02

Similar Documents

Publication Publication Date Title
CN109302522B (en) Test method, test device, computer system, and computer medium
US8572437B2 (en) Multi-platform test automation enhancement
CN111651366B (en) SDK test method, device, equipment and storage medium
CN111897724B (en) Automatic testing method and device suitable for cloud platform
CN107861876A (en) Method of testing, device, computer equipment and readable storage medium storing program for executing
CN109726830A (en) Equipment routing inspection method, apparatus, electronic equipment and storage medium
CN115080398A (en) Automatic interface test system and method
CN113010413A (en) Automatic interface testing method and device
CN111198797A (en) Operation monitoring method and device and operation analysis method and device
CN103049374B (en) Automatic testing method and device
CN111124870A (en) Interface testing method and device
CN112506757A (en) Automatic test method, system, computer device and medium thereof
CN111796578A (en) Vehicle controller testing method, device and system and storage medium
CN112269697B (en) Equipment storage performance testing method, system and related device
CN117331847B (en) Automatic test method and system supporting graphic interface
CN108304230B (en) Implementation method and device for adjusting application attribute and readable storage medium
CN116521538A (en) Automatic testing method and device for command line interface, electronic equipment and storage medium
CN111666200A (en) Testing method and terminal for time consumption of cold start of PC software
CN115470152A (en) Test code generation method, test code generation device, and storage medium
CN114780412A (en) Page testing method, system, device and medium
CN113360389A (en) Performance test method, device, equipment and storage medium
CN111338956A (en) Automatic pressure measurement method, device, equipment and storage medium
AU2023201696B2 (en) Method and device for determining coverage in HIL testing, and storage medium
CN113343659B (en) Analysis report generation method, device, equipment and storage medium
CN116991706B (en) Vehicle automatic test method, device, equipment and storage medium

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