CN116401173A - Test case generation method and device, medium and electronic equipment - Google Patents

Test case generation method and device, medium and electronic equipment Download PDF

Info

Publication number
CN116401173A
CN116401173A CN202310436578.0A CN202310436578A CN116401173A CN 116401173 A CN116401173 A CN 116401173A CN 202310436578 A CN202310436578 A CN 202310436578A CN 116401173 A CN116401173 A CN 116401173A
Authority
CN
China
Prior art keywords
test
scene
tested
application program
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310436578.0A
Other languages
Chinese (zh)
Inventor
管占明
高永强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Douyin Vision Co Ltd
Original Assignee
Douyin Vision 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 Douyin Vision Co Ltd filed Critical Douyin Vision Co Ltd
Priority to CN202310436578.0A priority Critical patent/CN116401173A/en
Publication of CN116401173A publication Critical patent/CN116401173A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/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/3676Test management for coverage analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The disclosure relates to a test case generation method, a test case generation device, a test case generation medium and an electronic device. The method comprises the following steps: displaying a test scene configuration interface aiming at an application program to be tested, and determining a target test scene configured aiming at the application program to be tested; the configuration interface supports a target test scene for executing selection operation on the interface to configure the coverage required by the test; invoking a test map which is generated in advance for an application program to be tested, and generating a corresponding test case based on a target test scene; the test map is a scene relation knowledge graph constructed by clustering information obtained by performing scene clustering on page information of the application program to be tested. Therefore, a user can configure a target test scene required to be covered by the test by clicking the scene on the test scene configuration interface, the test is convenient and quick, then the test case can be automatically generated according to the test map, the test case does not need to be manually written, the complexity of obtaining the test case is reduced, and the generation efficiency of the test case and the test efficiency of the application program are improved.

Description

Test case generation method and device, medium and electronic equipment
Technical Field
The disclosure relates to the technical field of computers, and in particular relates to a test case generation method, a device, a medium and electronic equipment.
Background
With the increasing functions of the terminal devices, more and more application programs are applied to the terminal devices. In the development stage of the application program, in order to test whether the function of the application program is normal and whether the expected effect can be achieved, a developer needs to test the developed application program before the application program is on line. In addition, after the new version of the application program is released, functional test is required for the new version of the application program. At present, when an application program is tested, a test case is usually required to be manually written, so that the complexity of obtaining the test case is high, the time consumption is long, and the user experience is low.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, the present disclosure provides a test case generating method, including:
displaying a test scene configuration interface aiming at an application program to be tested, and determining a target test scene configured aiming at the application program to be tested; the test scene configuration interface supports executing selection operation on the interface to configure the target test scene required to be covered by the test;
invoking a test map which is generated in advance for the application program to be tested, and generating a corresponding test case based on the target test scene, wherein the test case is used for testing the application program to be tested; the test map is a scene relation knowledge graph constructed by clustering information obtained by performing scene clustering on page information of the application program to be tested, nodes in the scene relation knowledge graph are used for representing scenes abstracted by pages, and edges connected with the nodes are used for representing control, action and jump information supported by the nodes.
In a second aspect, the present disclosure provides a test case generating device, including:
the determining module is used for displaying a test scene configuration interface aiming at the application program to be tested and determining a target test scene configured aiming at the application program to be tested; the test scene configuration interface supports executing selection operation on the interface to configure the target test scene required to be covered by the test;
The generating module is used for calling a test map which is generated in advance for the application program to be tested, generating a corresponding test case based on the target test scene, and the test case is used for testing the application program to be tested; the test map is a scene relation knowledge graph constructed by clustering information obtained by performing scene clustering on page information of the application program to be tested, nodes in the scene relation knowledge graph are used for representing scenes abstracted by pages, and edges connected with the nodes are used for representing control, action and jump information supported by the nodes.
In a third aspect, the present disclosure provides a computer readable medium having stored thereon a computer program which, when executed by a processing device, implements the steps of the test case generating method provided in the first aspect of the present disclosure.
In a fourth aspect, the present disclosure provides an electronic device comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to implement the steps of the test case generating method provided in the first aspect of the present disclosure.
In the technical scheme, firstly, a test scene configuration interface aiming at an application program to be tested is displayed, and a target test scene aiming at the application program to be tested is determined, wherein the test scene configuration interface supports the execution of selection operation on the interface to configure the target test scene which is required to be covered by the test; and then, calling a test map which is generated in advance for the application program to be tested, and generating a corresponding test case based on the target test scene. Therefore, a user can configure a target test scene required to be covered by the test by clicking the scene on the test scene configuration interface, the method is convenient and quick, and then, according to a pre-generated test map, the test case can be automatically generated based on the target test scene without manually writing the test case, so that the complexity of obtaining the test case is reduced, the generation efficiency of the test case and the test efficiency of an application program can be improved, and the user experience can be improved.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale. In the drawings:
FIG. 1 is a flowchart illustrating steps of a test case generation method, according to an example embodiment.
FIG. 2 is a schematic diagram illustrating skip information and trigger conditions for page skip between pages in an application under test, according to an example embodiment.
Fig. 3 is a schematic diagram illustrating a test map constructed according to fig. 2, according to an exemplary embodiment.
FIG. 4 is a schematic diagram illustrating a test case according to an example embodiment.
FIG. 5 is a block diagram illustrating a test case generating device according to an example embodiment.
Fig. 6 is a schematic diagram of an electronic device according to an exemplary embodiment.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
It will be appreciated that prior to using the technical solutions disclosed in the embodiments of the present disclosure, the user should be informed and authorized of the type, usage range, usage scenario, etc. of the personal information related to the present disclosure in an appropriate manner according to the relevant legal regulations.
For example, in response to receiving an active request from a user, a prompt is sent to the user to explicitly prompt the user that the operation it is requesting to perform will require personal information to be obtained and used with the user. Thus, the user can autonomously select whether to provide personal information to software or hardware such as an electronic device, an application program, a server or a storage medium for executing the operation of the technical scheme of the present disclosure according to the prompt information.
As an alternative but non-limiting implementation, in response to receiving an active request from a user, the manner in which the prompt information is sent to the user may be, for example, a popup, in which the prompt information may be presented in a text manner. In addition, a selection control for the user to select to provide personal information to the electronic device in a 'consent' or 'disagreement' manner can be carried in the popup window.
It will be appreciated that the above-described notification and user authorization process is merely illustrative and not limiting of the implementations of the present disclosure, and that other ways of satisfying relevant legal regulations may be applied to the implementations of the present disclosure.
Meanwhile, it can be understood that the data (including but not limited to the data itself, the acquisition or the use of the data) related to the technical scheme should conform to the requirements of the corresponding laws and regulations and related regulations.
FIG. 1 is a flowchart illustrating steps of a test case generation method, according to an example embodiment. As shown in fig. 1, the method may include the following S101 to S104.
In S101, a test scenario configuration interface for the application to be tested is displayed, and a target test scenario configured for the application to be tested is determined.
In the present disclosure, the test scenario configuration interface supports a target test scenario in which a selection operation is performed on the interface to configure a test required coverage, i.e., a user may configure a target test scenario in which a test required coverage is configured by performing a scenario spot selection on the test scenario configuration interface.
In S102, a test map generated in advance for the application to be tested is called, and a corresponding test case is generated based on the target test scenario.
In the present disclosure, a test case is used to test an application to be tested. The test map is a scene relation knowledge graph constructed by clustering information obtained by performing scene clustering on page information of an application program to be tested, nodes in the scene relation knowledge graph are used for representing scenes abstracted by pages, and edges connected by the nodes are used for representing control, action and jump information supported by the nodes.
Applications to be tested typically include many application functions, for example, a video application may include a plurality of functional modules such as login, video recording, video editing, dubbing, and chat, and each of the functions may be embodied in each page of the application to be tested, that is, a scene of each page, or may also be referred to as a characteristic of each page. In order to realize comprehensive testing of the application program to be tested, the scene of each page in the application program to be tested needs to be determined, namely, page clusters in the application program to be tested need to be abstracted into a plurality of scenes.
The skip information between scenes refers to scene skip relations that can skip from one scene to another, for example, scene a to scene B is one scene skip relation. The skip information between scenes may include a unidirectional skip relationship and a bidirectional skip relationship. When two scenes can jump mutually, the two-way jump relation exists between the two scenes, and when the two scenes can jump from one scene to the other scene, the two scenes are determined to have the one-way jump relation.
A plurality of controls (i.e., jump controls) for realizing scene jump are usually arranged in the scenes of the pages of the application program to be tested, and are used for controlling the application program to be tested to jump from one scene to another scene. Jumping from one scene to another may be accomplished by applying a corresponding action (i.e., a jump action, e.g., a single click action, a long press action, etc.) on a jump control in the scene or anywhere in the scene.
In the technical scheme, firstly, a test scene configuration interface aiming at an application program to be tested is displayed, and a target test scene aiming at the application program to be tested is determined, wherein the test scene configuration interface supports the execution of selection operation on the interface to configure the target test scene which is required to be covered by the test; and then, calling a test map which is generated in advance for the application program to be tested, and generating a corresponding test case based on the target test scene. Therefore, a user can configure a target test scene required to be covered by the test by clicking the scene on the test scene configuration interface, the method is convenient and quick, and then, according to a pre-generated test map, the test case can be automatically generated based on the target test scene without manually writing the test case, so that the complexity of obtaining the test case is reduced, the generation efficiency of the test case and the test efficiency of an application program can be improved, and the user experience can be improved.
The following is directed to the test map the generation method is described in detail. Specifically, the method can be realized by the following steps [1] to [3 ]:
step [1]: traversing extensible markup language (Extensible Markup Language, XML) information of pages in the application under test, and performing scene clustering on the extensible markup language information of the full page to obtain a plurality of scenes.
In the present disclosure, the XML information of a page may include information of arrangement, style, name, etc. of each control in the page. It should be noted that, the XML information of the page in the application program to be tested is traversed, the specific embodiment of scene clustering of extensible markup language information of a full-volume page to obtain multiple scenes is well known to those skilled in the art, and will not be described herein.
Step [2]: and carrying out side relation abstraction according to the scene abstracted by each page and the historical test data related to the application program to be tested, so as to obtain the side relation among a plurality of scenes.
In the present disclosure, the side relationship includes skip information between scenes and attribute information of the side relationship, wherein the attribute information of the side relationship may include a trigger condition of scene skip in which the side relationship exists.
The trigger conditions of scene jump include jump control and jump action, i.e. by applying corresponding jump action (e.g. clicking action, long-press action, etc.) on the jump control in one scene, so as to realize the jump from the scene to another scene.
Step [3]: and generating a test map according to the side relation among the scenes.
In the test map, nodes in the edge relation are used for representing scenes abstracted by pages, and edges connected by the nodes are used for representing controls, actions and jump information supported by the nodes.
The specific embodiment of the side relationship abstraction according to the scenario abstracted by each page and the history test data related to the application program to be tested in the step [2] is described in detail below. Specifically, the method can be realized by the following steps [21] to [23 ]:
step [21]: and determining the skip information among pages of the application program to be tested and the trigger conditions of page skip according to the historical test data related to the application program to be tested.
In the present disclosure, a plurality of controls (i.e., jump controls) for implementing page jumps are typically disposed in each page of the application to be tested, for controlling the application to be tested to jump from one page to another. The skip information between pages refers to a page skip relationship in which one page can skip to another page, for example, page a to page b is a page skip relationship. The skip information between pages may include a one-way skip relationship and a two-way skip relationship. When two pages can jump mutually, the two-way jump relation is determined to exist between the two pages, and when two pages can only jump from one page to the other page, the two pages are determined to exist between the two pages.
For example, as shown in fig. 2, the application to be tested includes seven pages, namely page a1, page a2, page b, page c1, page c2, page d, and page e. Wherein: the page a1 and the page a2 have a bidirectional jump relation, and the trigger condition for realizing the mutual jump between the page a1 and the page a2 comprises a sliding action, wherein a jump control is empty; the unidirectional jump relationship exists between the page a2 and the page c1, and the trigger conditions for realizing the jump from the page a2 to the page c1 comprise a control a21 (not shown in fig. 2) in the page a2 and a clicking action, namely, the jump from the page a2 to the page c1 is realized by clicking the control a21 in the page a 2; the one-way jump relationship exists between the page a2 and the page c2, and the trigger conditions for realizing the jump from the page a2 to the page c2 comprise a control a21 in the page a2 and a long-press action, namely, the jump from the page a2 to the page c2 is realized through the long-press of the control a21 in the page a 2; the one-way jump relationship exists between the page a1 and the page b, and the trigger conditions for realizing the jump from the page a1 to the page b comprise a control a11 (not shown in fig. 2) in the page a1 and a clicking action, namely, the jump from the page a1 to the page b is realized by clicking the control a11 in the page a 1; the one-way jump relation exists between the page b and the page d, and the trigger conditions for realizing the jump from the page b to the page d comprise a control b1 (not shown in fig. 2) in the page b and a clicking action, namely, the jump from the page b to the page d is realized by clicking the control b1 in the page b; the one-way jump relation exists between the page d and the page e, and the trigger condition for realizing the jump from the page d to the page e comprises a control d1 (not shown in fig. 2) in the page d and a clicking action, namely, the jump from the page d to the page e is realized by clicking the control d1 in the page d.
Step [22]: and determining the jump information among a plurality of scenes according to the jump information among the pages of the application program to be tested and the scenes abstracted by each page.
Specifically, for each page pair having a skip relation in the application program to be tested, the skip information between the page pairs can be determined as the skip information between the scene pairs corresponding to the page pairs.
For example, as shown in fig. 2, there is a two-way jump relationship between the page a1 and the page a2, the scenes of the page a1 and the page a2 are both the scene a, and the scene pair corresponding to the page pair a1-a2 is the scene A-A, so that the scene a itself has a one-way jump relationship.
As another example, as shown in fig. 2, there is a one-way jump relationship between the page pair a2-C1 from the page a2 to the page C1, the scene of the page a2 is the scene a, the scene of the page C1 is the scene C, and the page pair a2-C1 corresponds to the scene pair a-C, so there is a relationship between the scene a and the scene C from the scene a to the scene C.
Step [23]: and determining the trigger condition of scene jump according to the trigger condition of page jump and the scene abstracted by each page.
Specifically, for each pair of pages having a skip relation in the application program to be tested, a trigger condition for implementing skip between the pair of pages may be determined as a trigger condition for implementing skip between the pair of scenes corresponding to the pair of pages.
As shown in fig. 2, a bidirectional jump relationship exists between the page a1 and the page a2, the trigger condition for implementing the mutual jump between the page a1 and the page a2 includes a sliding action, the scenes of the page a1 and the page a2 are both scene a, and the pair of the pages a1-a2 corresponds to the pair of the scenes A-A, so that the trigger condition for implementing the jump from the scene a to the self includes a sliding action, wherein the jump control is null.
As another example, as shown in fig. 2, there is a one-way jump relationship between the page pair a2-C1 from the page a2 to the page C1, and the trigger condition for implementing the jump from the page a2 to the page C1 includes the control a21 and the clicking action in the page a2, the scene of the page a2 is the scene a, the scene of the page C1 is the scene C, and the scene pair a-C corresponding to the page pair a2-C1, so the trigger condition for implementing the jump from the scene a to the scene C includes the control a21 and the clicking action in the page a 2.
Specific embodiments for determining the skip information between pages of the application program to be tested and the trigger condition of page skip according to the historical test data related to the application program to be tested in the step [21] are described in detail below. Specifically, this can be achieved by the following steps [211] and [212 ]:
Step [211]: and acquiring random test data of a preset test tool aiming at the application program to be tested, and taking the random test data as historical test data related to the application program to be tested.
Step [212]: and determining the skip information among pages of the application program to be tested and the trigger conditions of page skip according to the historical test data.
In the disclosure, a preset test tool is used for performing random test on an application program to be tested for multiple times to obtain random test data, and the random test data is used as historical test data related to the application program to be tested. When the application program to be tested runs, the jump control in each page of the application program to be tested is clicked to control the page to jump continuously, so that jump information among different pages in the application program to be tested and page jump triggering conditions are obtained.
The preset test tool may be a test installation package, for example, a fast boot (Fastbot) client.
The following describes in detail the specific embodiment of generating the test map according to the side relation among the plurality of scenes in the step [3 ]. Specifically, each scene in the multiple scenes is taken as a node, the scene nodes with the edge relationship are connected by a directed line segment to represent the jump relationship between the two, wherein the starting point of the directed line segment is the scene node before the jump (i.e. the source scene), the end point of the directed line segment is the scene node after the jump (i.e. the target scene), and the attribute information of the edge relationship is marked on the directed line segment, so that the test map corresponding to the application program to be tested is obtained. The target scene may be understood as a scene to which a jump is to be made based on a jump action in the source scene.
For example, according to the skip information between pages and the trigger condition of page skip shown in fig. 2, a test map corresponding to the application program to be tested is constructed as shown in fig. 3.
In addition, in order to enable the test map to cover more scenes, the integrity of the test map is improved, so that comprehensive testing of the application program to be tested is realized as much as possible, and the test map can be updated along with updating of test data.
The following describes in detail the specific embodiment of determining the target test scenario configured for the application to be tested in S101.
Specifically, in response to receiving a sequential selection operation for scenes to be tested in the test scene configuration interface, the scenes to be tested sequentially selected by the selection operation may be determined as target test scenes.
In the present disclosure, the above selection operation may be triggered in a plurality of ways, in one embodiment, a test map generated in advance for an application program to be tested is displayed in a test scene configuration interface, so that a user sequentially selects scenes to be tested (i.e., scenes to be tested) in the displayed test map according to a jump relationship between scenes in the test map, thereby implementing sequential selection of the scenes to be tested, so as to configure a target test scene to be covered by the test.
In another embodiment, all scene nodes in a test map generated in advance for an application program to be tested are displayed in a test scene configuration interface, then based on a scene selected by a user, a downstream adjacent scene of the scene selected by the user is displayed according to the test map for further selection by the user, and then based on a scene reselected by the user, a downstream adjacent scene of the reselected scene is displayed in the test scene configuration interface for further selection by the user according to the test map, and the process is circulated until a selection termination condition is met. Specifically, before the step of determining the scene to be tested sequentially selected by the selecting operation as the target test scene, the step S101 may further include the following steps (1) to (4).
Step (1): and responding to receiving the selection operation of the scene to be tested in the test scene configuration interface, and acquiring adjacent downstream scenes of the scene to be tested in the test map.
The field Jing Chushi to be tested is a main page of the application program to be tested. And displaying all scene nodes in the test map in the test scene configuration interface, so that a user can select a scene to be tested through a clicking operation.
The adjacent downstream scene of the scene to be tested is a target scene which has a jump relation with the scene to be tested in the test map.
Illustratively, as shown in fig. 3, the scene to be tested is scene a, and the adjacent downstream scenes of scene a include: scene C, scene a, scene B.
Also for example, as shown in fig. 3, the scene to be tested is scene B, and the adjacent downstream scene of scene B includes scene D.
Step (2): it is determined whether the selection termination condition is satisfied.
In the present disclosure, if an instruction for indicating a selection termination is received or an adjacent downstream scene of a scene to be tested is empty (i.e., the scene to be tested does not have an adjacent downstream scene), it is determined that a selection termination condition is satisfied. If the instruction for indicating the selection termination is not received and the adjacent downstream scene of the scene to be tested is not empty, determining that the selection termination condition is not satisfied.
If the selection termination condition is not met, executing the following step (3) and step (4), and returning to the step of acquiring the adjacent downstream scene of the scene to be tested in the test map, namely returning to the step (1); and if the selection termination condition is met, executing the step of determining the scenes to be tested, which are sequentially selected by the selection operation, as the target test scene.
Step (3): and displaying adjacent downstream scenes in the test scene configuration interface.
Step (4): in response to receiving a selection operation for any one of the adjacent downstream scenes, the scene to be tested is updated to the selected adjacent downstream scene.
The specific embodiment of generating the corresponding test case based on the target test scenario with respect to the test map generated in advance for the application to be tested by the call in S102 will be described in detail below. Specifically, the method can be realized by various embodiments, in one embodiment, firstly, each scene to be tested in target test scenes is connected in sequence according to a selected sequence to obtain a test path; then, according to the test map, acquiring attribute information of each side in the test path; then, the attribute information of each side in the test path is added to the side in the test path, thereby obtaining the test case.
In another embodiment, a path where the target test scene is located may be extracted from the test map as a test case. The directional relation of the paths of the target test scenes is determined according to the selected sequence based on each scene to be tested in the target test scenes.
For example, as shown in fig. 3, the target test scene configured by the user for the application program to be tested includes a scene a, a scene B, a scene D, and a scene E, and the sequence of the selected scenes is scene a, scene B, scene D, and scene E, and then the test path is scene a→scene b→scene d→scene E, which is used for testing, for example, as shown in fig. 4 (which does not show a jump control).
The test cases generated by the two embodiments are structured, so that the persistence storage is convenient, and the maintainability of the test cases is greatly enhanced. And moreover, the test case comprises a test path, so that the coverage progress of the test case can be tracked in real time, various assertion capacities can be conveniently accessed, and more types of problems can be detected.
In addition, after the test case is generated, the test case can be saved in a database, and then the test case can be obtained from the database and tested.
FIG. 5 is a block diagram illustrating a test case generating device according to an example embodiment. As shown in fig. 5, the apparatus 500 includes:
a determining module 501, configured to display a test scenario configuration interface for an application to be tested, and determine a target test scenario configured for the application to be tested; the test scene configuration interface supports executing selection operation on the interface to configure the target test scene required to be covered by the test;
The generating module 502 is configured to invoke a test map that is generated in advance for the application to be tested, and generate a corresponding test case based on the target test scenario, where the test case is used to test the application to be tested; the test map is a scene relation knowledge graph constructed by clustering information obtained by performing scene clustering on page information of the application program to be tested, nodes in the scene relation knowledge graph are used for representing scenes abstracted by pages, and edges connected with the nodes are used for representing control, action and jump information supported by the nodes.
In the technical scheme, firstly, a test scene configuration interface aiming at an application program to be tested is displayed, and a target test scene aiming at the application program to be tested is determined, wherein the test scene configuration interface supports the execution of selection operation on the interface to configure the target test scene which is required to be covered by the test; and then, calling a test map which is generated in advance for the application program to be tested, and generating a corresponding test case based on the target test scene. Therefore, a user can configure a target test scene required to be covered by the test by clicking the scene on the test scene configuration interface, the method is convenient and quick, and then, according to a pre-generated test map, the test case can be automatically generated based on the target test scene without manually writing the test case, so that the complexity of obtaining the test case is reduced, the generation efficiency of the test case and the test efficiency of an application program can be improved, and the user experience can be improved.
Optionally, the apparatus 500 further includes:
the clustering sub-module is used for traversing the extensible markup language information of the pages in the application program to be tested, and performing scene clustering on the extensible markup language information of the full pages to obtain a plurality of scenes;
the side relation abstraction sub-module is used for carrying out side relation abstraction according to the scene abstracted by each page and the history test data related to the application program to be tested, so as to obtain the side relation among the scenes;
and the generation sub-module is used for generating the test map according to the edge relations among the scenes, wherein nodes in the edge relations are used for representing the scenes abstracted by the page, and edges connected by the nodes are used for representing the controls, actions and jump information supported by the nodes.
Optionally, the test map is updated with the update of the test data.
Optionally, the side relation abstraction sub-module includes:
the first determining submodule is used for determining jump information among pages and triggering conditions of page jumps according to historical test data related to the application program to be tested, wherein the triggering conditions comprise the control and the action;
the second determining submodule is used for determining the jump information among the scenes according to the jump information among the pages and the scenes abstracted by each page;
And the third determining submodule is used for determining the trigger condition of scene jump according to the trigger condition of the page jump and the scene abstracted by each page.
Optionally, the determining module 501 includes:
and the fourth determining submodule is used for determining the scene to be tested, which is sequentially selected by the selecting operation, as the target test scene in response to receiving the sequential selecting operation for the scene to be tested in the test scene configuration interface.
Optionally, the determining module 501 further includes:
the obtaining submodule is used for responding to the receiving of the selection operation for the scene to be tested in the test scene configuration interface before the fourth determination submodule determines the scene to be tested sequentially selected by the selection operation as the target test scene, and obtaining adjacent downstream scenes of the scene to be tested in the test map, wherein the scene to be tested Jing Chushi is a main page of the application program to be tested;
the display sub-module is used for displaying the adjacent downstream scenes in the test scene configuration interface if the selection termination condition is not met;
the first triggering sub-module is used for updating the scene to be tested into the selected adjacent downstream scene in response to receiving the selection operation for any adjacent downstream scene, and triggering the acquisition sub-module to acquire the adjacent downstream scene of the scene to be tested in the test map;
And the second triggering sub-module is used for triggering the fourth determining sub-module to determine the scene to be tested, which is sequentially selected by the selecting operation, as the target test scene if the selecting termination condition is met.
Optionally, the generating module 502 is configured to extract, from the test map, a path where the target test scenario is located as the test case.
The present disclosure also provides a computer-readable medium having stored thereon a computer program which, when executed by a processing device, implements the steps of the test case generation method provided by the present disclosure.
Referring now to fig. 6, a schematic diagram of an electronic device (e.g., a terminal device or server) 600 suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 6 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 6, the electronic device 600 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 601, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
In general, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, magnetic tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 shows an electronic device 600 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 609, or from storage means 608, or from ROM 602. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 601.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: displaying a test scene configuration interface aiming at an application program to be tested, and determining a target test scene configured aiming at the application program to be tested; the test scene configuration interface supports executing selection operation on the interface to configure the target test scene required to be covered by the test; invoking a test map which is generated in advance for the application program to be tested, and generating a corresponding test case based on the target test scene, wherein the test case is used for testing the application program to be tested; the test map is a scene relation knowledge graph constructed by clustering information obtained by performing scene clustering on page information of the application program to be tested, nodes in the scene relation knowledge graph are used for representing scenes abstracted by pages, and edges connected with the nodes are used for representing control, action and jump information supported by the nodes.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented in software or hardware. The name of the module is not limited to the module itself in some cases, for example, the determining module may also be described as "a module for displaying a test scenario configuration interface for an application to be tested and determining a target test scenario configured for the application to be tested".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, example 1 provides a test case generating method, including: displaying a test scene configuration interface aiming at an application program to be tested, and determining a target test scene configured aiming at the application program to be tested; the test scene configuration interface supports executing selection operation on the interface to configure the target test scene required to be covered by the test; invoking a test map which is generated in advance for the application program to be tested, and generating a corresponding test case based on the target test scene, wherein the test case is used for testing the application program to be tested; the test map is a scene relation knowledge graph constructed by clustering information obtained by performing scene clustering on page information of the application program to be tested, nodes in the scene relation knowledge graph are used for representing scenes abstracted by pages, and edges connected with the nodes are used for representing control, action and jump information supported by the nodes.
In accordance with one or more embodiments of the present disclosure, example 2 provides the method of example 1, the method further comprising: traversing the extensible markup language information of the pages in the application program to be tested, and performing scene clustering on the extensible markup language information of the full-quantity pages to obtain a plurality of scenes; performing side relation abstraction according to the scene abstracted by each page and the history test data related to the application program to be tested, so as to obtain side relation among the scenes; and generating the test map according to the edge relation among the scenes, wherein nodes in the edge relation are used for representing the scene abstracted by the page, and edges connected by the nodes are used for representing the control, action and jump information supported by the nodes.
In accordance with one or more embodiments of the present disclosure, example 3 provides the method of example 2, the test map being updated as the test data is updated.
Example 4 provides the method of example 2, according to one or more embodiments of the present disclosure, the performing side relationship abstraction according to the scenario abstracted by each page and the historical test data related to the application under test, including: determining jump information between pages and trigger conditions of page jumps according to historical test data related to the application program to be tested, wherein the trigger conditions comprise the control and the action; determining the jump information among the scenes according to the jump information among the pages and the scenes abstracted by each page; and determining the trigger condition of scene jump according to the trigger condition of page jump and the scene abstracted by each page.
According to one or more embodiments of the present disclosure, example 5 provides the method of any one of examples 1-4, the determining a target test scenario configured for the application under test, comprising: and in response to receiving sequential selection operation of scenes to be tested in the test scene configuration interface, determining the scenes to be tested sequentially selected by the selection operation as the target test scene.
According to one or more embodiments of the present disclosure, example 6 provides the method of example 5, before the step of determining the scenario under test sequentially selected by the selecting operation as the target test scenario, the determining a target test scenario configured for the application under test, further comprising: in response to receiving a selection operation for a scene to be tested in the test scene configuration interface, acquiring an adjacent downstream scene of the scene to be tested in the test map, wherein the scene to be tested Jing Chushi is a main page of the application program to be tested; if the selection termination condition is not met, displaying the adjacent downstream scenes in the test scene configuration interface; in response to receiving a selection operation for any adjacent downstream scene, updating the scene to be tested into the selected adjacent downstream scene, and returning to the step of acquiring the adjacent downstream scene of the scene to be tested in the test map; and if the selection termination condition is met, executing the step of determining the scene to be tested, which is sequentially selected by the selection operation, as the target test scene.
According to one or more embodiments of the present disclosure, example 7 provides the method of any one of examples 1 to 4, the invoking the test map pre-generated for the application under test, generating a corresponding test case based on the target test scenario, including: and extracting a path of the target test scene from the test map as the test case.
According to one or more embodiments of the present disclosure, example 8 provides a test case generating apparatus, including: the determining module is used for displaying a test scene configuration interface aiming at the application program to be tested and determining a target test scene configured aiming at the application program to be tested; the test scene configuration interface supports executing selection operation on the interface to configure the target test scene required to be covered by the test; the generating module is used for calling a test map which is generated in advance for the application program to be tested, generating a corresponding test case based on the target test scene, and the test case is used for testing the application program to be tested; the test map is a scene relation knowledge graph constructed by clustering information obtained by performing scene clustering on page information of the application program to be tested, nodes in the scene relation knowledge graph are used for representing scenes abstracted by pages, and edges connected with the nodes are used for representing control, action and jump information supported by the nodes.
According to one or more embodiments of the present disclosure, example 9 provides a computer-readable medium having stored thereon a computer program which, when executed by a processing device, implements the steps of the method of any of examples 1-7.
In accordance with one or more embodiments of the present disclosure, example 10 provides an electronic device, comprising: a storage device having a computer program stored thereon; processing means for executing the computer program in the storage means to implement the steps of the method of any one of examples 1-7.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims. The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.

Claims (10)

1. A test case generation method, comprising:
displaying a test scene configuration interface aiming at an application program to be tested, and determining a target test scene configured aiming at the application program to be tested; the test scene configuration interface supports executing selection operation on the interface to configure the target test scene required to be covered by the test;
invoking a test map which is generated in advance for the application program to be tested, and generating a corresponding test case based on the target test scene, wherein the test case is used for testing the application program to be tested; the test map is a scene relation knowledge graph constructed by clustering information obtained by performing scene clustering on page information of the application program to be tested, nodes in the scene relation knowledge graph are used for representing scenes abstracted by pages, and edges connected with the nodes are used for representing control, action and jump information supported by the nodes.
2. The method according to claim 1, wherein the method further comprises:
traversing the extensible markup language information of the pages in the application program to be tested, and performing scene clustering on the extensible markup language information of the full-quantity pages to obtain a plurality of scenes;
performing side relation abstraction according to the scene abstracted by each page and the history test data related to the application program to be tested, so as to obtain side relation among the scenes;
and generating the test map according to the edge relation among the scenes, wherein nodes in the edge relation are used for representing the scene abstracted by the page, and edges connected by the nodes are used for representing the control, action and jump information supported by the nodes.
3. The method of claim 2, wherein the test map is updated as the test data is updated.
4. The method according to claim 2, wherein the performing the side relation abstraction according to the scenario abstracted by each page and the historical test data related to the application under test includes:
determining jump information between pages and trigger conditions of page jumps according to historical test data related to the application program to be tested, wherein the trigger conditions comprise the control and the action;
Determining the jump information among the scenes according to the jump information among the pages and the scenes abstracted by each page;
and determining the trigger condition of scene jump according to the trigger condition of page jump and the scene abstracted by each page.
5. The method of any of claims 1-4, wherein the determining a target test scenario configured for the application under test comprises:
and in response to receiving sequential selection operation of scenes to be tested in the test scene configuration interface, determining the scenes to be tested sequentially selected by the selection operation as the target test scene.
6. The method of claim 5, wherein prior to the step of determining the scene under test sequentially selected by the selecting operation as the target test scene, the determining a target test scene configured for the application under test further comprises:
in response to receiving a selection operation for a scene to be tested in the test scene configuration interface, acquiring an adjacent downstream scene of the scene to be tested in the test map, wherein the scene to be tested Jing Chushi is a main page of the application program to be tested;
If the selection termination condition is not met, displaying the adjacent downstream scenes in the test scene configuration interface;
in response to receiving a selection operation for any adjacent downstream scene, updating the scene to be tested into the selected adjacent downstream scene, and returning to the step of acquiring the adjacent downstream scene of the scene to be tested in the test map;
and if the selection termination condition is met, executing the step of determining the scene to be tested, which is sequentially selected by the selection operation, as the target test scene.
7. The method of any of claims 1-4, wherein the invoking the test map pre-generated for the application under test, generating a corresponding test case based on the target test scenario, comprises:
and extracting a path of the target test scene from the test map as the test case.
8. A test case generating apparatus, comprising:
the determining module is used for displaying a test scene configuration interface aiming at the application program to be tested and determining a target test scene configured aiming at the application program to be tested; the test scene configuration interface supports executing selection operation on the interface to configure the target test scene required to be covered by the test;
The generating module is used for calling a test map which is generated in advance for the application program to be tested, generating a corresponding test case based on the target test scene, and the test case is used for testing the application program to be tested; the test map is a scene relation knowledge graph constructed by clustering information obtained by performing scene clustering on page information of the application program to be tested, nodes in the scene relation knowledge graph are used for representing scenes abstracted by pages, and edges connected with the nodes are used for representing control, action and jump information supported by the nodes.
9. A computer readable medium on which a computer program is stored, characterized in that the program, when being executed by a processing device, carries out the steps of the method according to any one of claims 1-7.
10. An electronic device, comprising:
a storage device having a computer program stored thereon;
processing means for executing said computer program in said storage means to carry out the steps of the method according to any one of claims 1-7.
CN202310436578.0A 2023-04-21 2023-04-21 Test case generation method and device, medium and electronic equipment Pending CN116401173A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310436578.0A CN116401173A (en) 2023-04-21 2023-04-21 Test case generation method and device, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310436578.0A CN116401173A (en) 2023-04-21 2023-04-21 Test case generation method and device, medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116401173A true CN116401173A (en) 2023-07-07

Family

ID=87007367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310436578.0A Pending CN116401173A (en) 2023-04-21 2023-04-21 Test case generation method and device, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116401173A (en)

Similar Documents

Publication Publication Date Title
CN111400625B (en) Page processing method and device, electronic equipment and computer readable storage medium
CN111309304B (en) Method, device, medium and electronic equipment for generating IDL file
CN111459364B (en) Icon updating method and device and electronic equipment
CN111273986A (en) Page jump method and device of application program, electronic equipment and storage medium
CN111625422B (en) Thread monitoring method, thread monitoring device, electronic equipment and computer readable storage medium
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN111857720B (en) User interface state information generation method and device, electronic equipment and medium
CN110837333A (en) Method, device, terminal and storage medium for adjusting playing progress of multimedia file
CN113392018B (en) Traffic distribution method and device, storage medium and electronic equipment
CN110717126A (en) Page browsing method and device, electronic equipment and computer readable storage medium
CN112835671A (en) Application page scene switching method, device and equipment
CN116319932A (en) Training method, device, equipment and storage medium of content push model
CN111309323B (en) Parameter initialization method and device and electronic equipment
CN110442403B (en) Method, device, electronic equipment and medium for calling functional component
CN111143355B (en) Data processing method and device
CN116401173A (en) Test case generation method and device, medium and electronic equipment
CN112333462A (en) Live broadcast room page jumping method, returning device and electronic equipment
CN114706645B (en) Interface information transmission method, device, medium and electronic equipment
CN112306469A (en) Barrier-free component construction method, device, equipment and storage medium
CN116360710B (en) Data storage method applied to server cluster, electronic device and readable medium
CN116886531A (en) Service processing method, device, medium and electronic equipment
CN117093284A (en) Plug-in calling method, device, medium and electronic equipment
CN118170654A (en) Page element positioning method and device, readable medium, electronic equipment and product
CN118503268A (en) Data analysis method, data analysis device, readable medium, electronic device, and program product
CN117290038A (en) Application distribution 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