CN111740876B - Application device, test method, storage medium and electronic equipment - Google Patents

Application device, test method, storage medium and electronic equipment Download PDF

Info

Publication number
CN111740876B
CN111740876B CN202010476263.5A CN202010476263A CN111740876B CN 111740876 B CN111740876 B CN 111740876B CN 202010476263 A CN202010476263 A CN 202010476263A CN 111740876 B CN111740876 B CN 111740876B
Authority
CN
China
Prior art keywords
environment
plug
network
network environment
application device
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
CN202010476263.5A
Other languages
Chinese (zh)
Other versions
CN111740876A (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information 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 Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202010476263.5A priority Critical patent/CN111740876B/en
Publication of CN111740876A publication Critical patent/CN111740876A/en
Application granted granted Critical
Publication of CN111740876B publication Critical patent/CN111740876B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes
    • 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

Abstract

The invention discloses an application device, a test method, a storage medium and electronic equipment, wherein the application device comprises an application host program package, a public library program package, an environment configuration plug-in and at least two test plug-ins of network environment; the environment configuration plug-in is used for switching a network environment for testing according to environment switching operation; the public library program package comprises a tool program used for calling the environment configuration plug-in, and is used for calling the environment configuration plug-in according to plug-in calling operation to acquire a network environment state; the application host program package and the test plug-ins of the at least two network environments respectively rely on the public library program package to read the network environment states in the public library program package; and the test plug-ins of at least two network environments are used for testing the application device according to the network environment state. The switching of various network environments is realized, and further, the testing of different network environments is realized.

Description

Application device, test method, storage medium and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to an application device, a test method, a storage medium and electronic equipment.
Background
In the development and test process of the android application program, the internal code logic of the application program is inevitably required to be checked and modified to verify whether the display of the application program side is normal under various conditions. If an error occurs, whether the error is the error of the application program end or the error of the data returned by the server end needs to be positioned according to the data returned by the network and the internal code logic of the application program.
Currently, only a single context code trace test can be performed on an application's pre-release network context.
Disclosure of Invention
The invention provides an application device, a test method, a storage medium and electronic equipment, which are used for realizing the test of different network environments of an application program.
In a first aspect, an embodiment of the present invention provides an application apparatus, including an application hosting package, a public library package, an environment configuration plug-in, and at least two test plug-ins for a network environment; wherein the common library package, the environment configuration plug-ins, and the test plug-ins of the at least two network environments are hosted in the application hosting package to form an application;
the environment configuration plug-in is used for switching a network environment for testing according to environment switching operation;
the public library program package comprises a tool program used for calling the environment configuration plug-in, and is used for calling the environment configuration plug-in according to plug-in calling operation to acquire a network environment state;
the application host program package and the test plug-ins of the at least two network environments respectively rely on the public library program package to read the network environment states in the public library program package;
and the test plug-ins of at least two network environments are used for testing the application device according to the network environment state.
In a second aspect, an embodiment of the present invention further provides a method for testing an application program, where the method is applied to an application apparatus provided in any embodiment of the present invention, and the method includes:
responding to the calling operation of the environment configuration plug-in, calling the environment configuration plug-in by a public library package in the application device, acquiring a network environment state based on the environment configuration plug-in, and switching a network environment for testing;
the test plug-ins of at least two network environments in the application device read the network environment states in the public library package;
and testing the application program by the test plug-in corresponding to the network environment state.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program that is stored in the memory and is executable on the processor, where when the processor executes the computer program, the electronic device implements the method for testing the application apparatus according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for testing an application device according to any embodiment of the present invention.
According to the technical scheme provided by the embodiment of the invention, the public library program package and the environment configuration plug-in are constructed in the application device, the environment configuration plug-in is called through the tool program in the public library program package so as to switch the network environment state, and the switched network environment state is determined, so that the switching of various network environments is realized, and further, the testing of different network environments is realized. The network environment state obtained by the public library program package can be directly read by the application host program package and other plug-ins in the application device through the dependency relationship between the public library program package, the situation that a network environment switch is arranged in the application host program package and each plug-in is replaced, and the problems that the application host program package and each plug-in are arranged one by one and the codes are complicated are solved.
Drawings
Fig. 1 is a schematic structural diagram of an application apparatus according to an embodiment of the present invention;
FIG. 2 is a diagram of an environment configuration page according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a testing method for an application device according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a schematic structural diagram of an application device according to an embodiment of the present invention, where the embodiment is applicable to a case of testing different application devices in a network environment, and the application device includes: the application hosting package 110, the common library package 120, the environment configuration plug-in 130, and the at least two network environment test plug-ins 140, wherein the common library package 120, the environment configuration plug-in 130, and the at least two network environment test plug-ins 140 are hosted in the application hosting package 110 to form an application device. The application host package 110 provides a framework for the application, the common library package 120 includes a plurality of tools, and the application host package 110 and the at least two test plug-ins 140 of the network environment are dependent on the common library package 120 to invoke the tools from the common library package 120. The environment configuration plug-in 130 and the test plug-ins 140 of the at least two network environments are used to be called according to a trigger operation to realize corresponding functions.
In this embodiment, the public library package 120 includes a tool program for calling the environment configuration plug-in 130, the environment configuration plug-in 130 is called according to the plug-in calling operation, and the network environment state for testing is obtained through the environment configuration plug-in 130. The plug-in call operation may be a preset operation, which is not limited in this respect. For example, the preset number of click operations for a preset position in the application program may be used, and for example, for 5 consecutive click operations of the user avatar in the application program, the interval duration between the consecutive clicks and the adjacent clicks is shorter than the preset duration. Optionally, after the plug-in calling operation is detected, the identity authentication may be performed on the operating user, and whether the operating user belongs to an authorized user is determined, so as to avoid the influence of the misoperation of an unauthorized user on the working state of the application program. The authorized user may be a tester or a developer performing an application test, and may match the identity information input by the operating user with the pre-stored identity information, determine that the verification is successful when the matching is successful, and invoke the environment configuration plug-in 130 by invoking a tool program of the environment configuration plug-in 130. Wherein the utility that invokes the environment configuration plug-in 130 may be reflective code.
The environment configuration plug-in 130 is used to switch the network environment for testing, and in this embodiment, the network environment for testing includes a testing environment, a pre-release environment, and a formal environment. Different network environments correspond to different network domains, and in any network environment state, the network environment interface corresponds to the network domain corresponding to the network environment state so as to acquire the data of the network environment from the network domain. The environment configuration plug-in 130 obtains the state of the network environment to be switched, and replaces the network domain corresponding to the network environment interface. Optionally, the environment configuration plug-in 130 switches the network environment based on hook technology. Specifically, the network domain name corresponding to the network environment state to be switched may be dynamically acquired during program running, and the current network domain name corresponding to the network environment interface may be dynamically replaced, so that the network environment interface is connected to the network domain corresponding to the replaced network domain name. The state of the network environment to be switched can be input in a voice mode or can be input through an input device. In this embodiment, the environment configuration plug-in is implemented in the application program, so that switching between different network environments can be realized, and the problem that the current application program can only be tested in a single network environment is solved.
In some embodiments, the environment configuration plug-in 130 is a visualized environment configuration plug-in. According to the tool program of the environment configuration plug-in 130, rendering an environment configuration page on the display page, and obtaining an environment switching operation based on the environment configuration page, wherein the environment switching operation is used for determining the network environment state to be switched. Alternatively, the context configuration page may be skipped by routing techniques. For example, referring to fig. 2, fig. 2 is a schematic diagram of an environment configuration page according to an embodiment of the present invention. The environment configuration page is configured with controls corresponding to each network environment, for example, the switch control in fig. 2. It should be noted that fig. 2 is only an example, and in other embodiments, the environment configuration page and the control in the environment configuration page may be presented in other forms. Correspondingly, the environment switching operation comprises a selection operation of a control corresponding to any network environment.
Optionally, the state of the corresponding network environment is identified on the control corresponding to the network environment, for example, "on" or "off" may be used, see fig. 2. In some embodiments, the network environment state may also be characterized by other identifiers, for example, identifier "1" indicates that the network environment state is in an on state, and identifier "0" indicates that the network environment state is in an off state. For example, in fig. 2, the control of the testing environment is in an open state, and the pre-release environment and the formal environment are in a closed state, which indicates that the current network environment state is the testing environment. When the selection operation of the control corresponding to the pre-release environment or the formal environment, that is, the environment switching operation, is detected, the control identifier of each control is updated, specifically, the control identifier corresponding to the environment switching operation is updated to "on", and the control identifier corresponding to the network environment in an on state before the environment switching operation is updated to "off". And acquiring the state of the network environment to be switched according to the environment switching operation, and determining the network environment corresponding to the control selected by the environment switching operation as the state of the network environment to be switched.
When the selection operation of a user is detected, for example, the clicking operation is performed on the environment configuration page, whether the pixel position of the clicking operation belongs to the detection area of the control is determined, and if yes, the control corresponding to the detection area is determined to be selected.
In this embodiment, the environment configuration page of the environment configuration plug-in 130 is visually displayed to implement free switching and rapid configuration of the network environment, and the network environment state to be switched is obtained through the environment switching operation of the environment configuration page to adjust the configuration of the network environment interface, thereby implementing visual configuration of the network environment interface.
In some embodiments, the environment configuration plug-ins may be packaged and uploaded to the cloud server, for example, a cloud plug-in library may be provided in the cloud server for storing the uploaded plug-ins, so that different users can conveniently download the required plug-ins from the cloud server, the reuse rate of the plug-ins is provided, and the development cost of each plug-in is saved. Accordingly, the environment configuration plug-in 130 may be downloaded from the cloud server when the application is built.
Further, the public library package or the tool programs in the public library package can be uploaded to the cloud server, and correspondingly, the tool programs in the public library package or the public library package can be downloaded from the cloud server when the application program is constructed.
On the basis of the above embodiment, the application host package 110 and the at least two test plug-ins 140 of the network environment respectively rely on the common library package, read the network environment state obtained by the common library package through the call environment configuration plug-in 130 in real time, and update the adaptive network environment state according to the read network environment state. In this embodiment, the network environment state obtained by reading the common library package through the application host package 110 and the at least two test plug-ins 140 of the network environment does not need to add a switch of the network environment state in the application host package 110 and each test plug-in 140, and a switch of adjusting the network environment state in each plug-in, and particularly, in the case of a large number of plug-ins, problems of operation load, code redundancy, high cost, and the like can be avoided.
The test plug-ins 140 of at least two network environments are used for testing the application program according to the network environment state. And calling the test plug-in corresponding to the network environment state according to the test instruction, and testing the application program. In this embodiment, the testing of the application program may be performed by tracking codes of the application program in different network environments by using a Debug tool of the IDE, specifically, acquiring normal data, different types of data, null data, bad data, and the like returned by the application program in the network environment state, and determining whether the data is abnormal. And if the abnormality exists, determining the source of the abnormality according to the returned data and the internal code logic of the application program, wherein the source of the abnormality can be an application program end or a server end.
According to the technical scheme provided by the embodiment, the public library program package and the environment configuration plug-in are constructed in the application program, the environment configuration plug-in is called through the tool program in the public library program package so as to switch the network environment state, the switched network environment state is determined, switching of various network environments is achieved, and then testing of different network environments is achieved. The application host program package and other plug-ins in the application program can directly read the network environment state obtained by the public library program package through the dependency relationship between the public library program packages, the situation that a network environment switch is arranged in the application host program package and each plug-in is replaced, and the problems that the application host program package and each plug-in are arranged one by one and codes are complicated are solved.
Example two
Fig. 3 is a flowchart illustrating a testing method for an application device according to a second embodiment of the present invention
S210, responding to the calling operation of the environment configuration plug-in, calling the environment configuration plug-in by the public library package in the application program, acquiring the network environment state based on the environment configuration plug-in, and switching the network environment for testing.
S220, the test plug-ins of at least two network environments in the application program read the network environment states in the public library package.
And S230, testing the application program by the test plug-in corresponding to the network environment state.
In this embodiment, a calling operation is input at a preset position of an application program, where the calling operation may be a click operation for a preset number of times of the preset position, and a tool program in a public library program calls an environment configuration plug-in, where the tool program may be a reflection code.
Optionally, obtaining the network environment state based on the environment configuration plug-in includes: rendering an environment configuration page corresponding to the environment configuration plug-in on a display interface; and acquiring environment switching operation based on the environment configuration page to obtain a network environment state corresponding to the environment switching operation. The method comprises the steps of calling an environment configuration plug-in based on a reflection code, rendering an environment configuration page on a display interface, collecting environment switching operation through the environment configuration page, wherein the environment switching operation is selection operation of a control corresponding to any network environment in the environment configuration page, and determining the state of the network environment to be switched according to the environment switching operation.
Optionally, the network environment for performing testing based on the environment configuration plug-in switching includes: and the environment configuration plug-in replaces the network domain corresponding to the network environment interface according to the network environment state corresponding to the environment switching operation, so as to realize the switching of the network environment and the visual configuration of the network environment interface.
And the test plug-in and the host program package in the application program read the network environment state obtained by the public library program package to replace the current network environment state in the test plug-in and the host program package.
And acquiring a test instruction, and testing the application program through the test plug-in corresponding to the replaced current network environment state, so that the application program in any network environment of a normal environment, a pre-release environment and a test environment is tested. The test instruction can be input by a user or triggered by network environment switching.
According to the technical scheme, the tool program used for calling the environment configuration plug-in the public library package is triggered through the calling operation of the environment configuration plug-in, the environment configuration plug-in is called, the state of the network environment to be switched is obtained, the current network environment is switched, the switching of various network environments is achieved, and then the testing of different network environments is achieved. The network environment state obtained by the public library program package is read in real time by the application host program package and other plug-ins in the application program, the situation that a network environment switch is set in the application host program package and each plug-in is replaced, and the problems that the application host program package and each plug-in are set one by one and codes are complex are solved.
EXAMPLE III
Fig. 4 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention. FIG. 4 illustrates a block diagram of an electronic device 412 suitable for use in implementing embodiments of the present invention. The electronic device 412 shown in fig. 4 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present invention. The device 412 is typically an electronic device that undertakes image classification functions.
As shown in fig. 4, the electronic device 412 is in the form of a general purpose computing device. The components of the electronic device 412 may include, but are not limited to: one or more processors 416, a storage device 428, and a bus 418 that couples the various system components including the storage device 428 and the processors 416.
Bus 418 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
Electronic device 412 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 412 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 428 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 430 and/or cache Memory 432. The electronic device 412 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 434 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk-Read Only Memory (CD-ROM), a Digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 418 by one or more data media interfaces. Storage 428 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program 436 having a set (at least one) of program modules 426 may be stored, for example, in storage 428, such program modules 426 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination may comprise an implementation of a network environment. Program modules 426 generally perform the functions and/or methodologies of embodiments of the invention as described herein.
The electronic device 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing device, camera, display 424, etc.), with one or more devices that enable a user to interact with the electronic device 412, and/or with any devices (e.g., network card, modem, etc.) that enable the electronic device 412 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 422. Also, the electronic device 412 may communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), and/or a public Network, such as the internet) via the Network adapter 420. As shown, network adapter 420 communicates with the other modules of electronic device 412 over bus 418. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 412, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape drives, and data backup storage systems, to name a few.
The processor 416 executes various functional applications and data processing by executing programs stored in the storage device 428, for example, implementing the test method of the application device provided by the above-described embodiment of the present invention.
Example four
A fourth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for testing an application device according to the fourth embodiment of the present invention.
Of course, the computer program stored on the computer-readable storage medium provided by the embodiment of the present invention is not limited to the method operations described above, and may also execute the testing method of the application device provided by any embodiment of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: 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 document, 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.
A computer readable signal medium may include a propagated data signal with computer readable source code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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.
Source code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer source code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The source 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 latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing description is only exemplary of the invention and that the principles of the technology may be employed. Those skilled in the art will appreciate that the present invention is not limited to the particular embodiments described herein, and that various obvious changes, rearrangements and substitutions will now be apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. The test method of the application device is characterized by being applied to the application device, wherein the application device comprises an application host program package, a public library program package, an environment configuration plug-in and at least two test plug-ins of network environment; wherein the common library package, the environment configuration plug-ins and the test plug-ins of the at least two network environments are hosted in the application hosting package to form an application device;
the environment configuration plug-in is used for switching a network environment for testing according to environment switching operation; the public library program package comprises a tool program used for calling the environment configuration plug-in, and is used for calling the environment configuration plug-in according to plug-in calling operation to acquire a network environment state; the application host program package and the test plug-ins of the at least two network environments respectively rely on the public library program package, read the network environment state in the public library program package, and update the adaptive network environment state according to the read network environment state; the test plug-ins of at least two network environments are used for testing the application device according to the network environment state;
the method comprises the following steps:
responding to the calling operation of the environment configuration plug-in, calling the environment configuration plug-in by a public library program package in the application device, switching a network environment for testing based on the environment configuration plug-in, and acquiring a switched network environment state;
the test plug-ins of at least two network environments in the application device read the network environment states in the public library package, and update the adaptive network environment states according to the read network environment states;
and testing the application device by the test plug-in corresponding to the network environment state.
2. The method of claim 1, wherein the environment configuration plug-in is further configured to render an environment configuration page on the display page according to a call operation, and obtain an environment switching operation based on the environment configuration page.
3. The method according to claim 2, wherein a control corresponding to each network environment is configured in the environment configuration page, and wherein the environment switching operation includes a selection operation of a control corresponding to any network environment.
4. The method of claim 1, wherein the environment configuration plug-in is specifically configured to:
and replacing the network domain corresponding to the network environment interface according to the network environment state corresponding to the environment switching operation.
5. The method of claim 1, wherein the environment configuration plug-in is downloaded from a cloud plug-in library.
6. The method of claim 1, wherein the obtaining the network environment status after handover comprises:
rendering an environment configuration page corresponding to the environment configuration plug-in on a display interface;
and acquiring environment switching operation based on the environment configuration page to obtain a network environment state corresponding to the environment switching operation.
7. The method of claim 1, wherein configuring the network environment for testing based on the environment configuration plug-in switching comprises:
and the environment configuration plug-in replaces the network domain corresponding to the network environment interface according to the network environment state corresponding to the environment switching operation.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of testing an application device according to any of claims 1-7 when executing the program.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for testing an application device according to any one of claims 1 to 7.
CN202010476263.5A 2020-05-29 2020-05-29 Application device, test method, storage medium and electronic equipment Active CN111740876B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010476263.5A CN111740876B (en) 2020-05-29 2020-05-29 Application device, test method, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010476263.5A CN111740876B (en) 2020-05-29 2020-05-29 Application device, test method, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111740876A CN111740876A (en) 2020-10-02
CN111740876B true CN111740876B (en) 2022-09-30

Family

ID=72646564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010476263.5A Active CN111740876B (en) 2020-05-29 2020-05-29 Application device, test method, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111740876B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273142A (en) * 2017-07-12 2017-10-20 北京潘达互娱科技有限公司 Method for updating program, program operating method and device
CN109542445A (en) * 2017-08-01 2019-03-29 北京京东尚科信息技术有限公司 A kind of method and apparatus that Android plug-in unit melts hair
CN110471847A (en) * 2019-08-02 2019-11-19 广东小天才科技有限公司 Network environment switching method, device, equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073520A (en) * 2010-12-30 2011-05-25 中国民航信息网络股份有限公司 Dynamic management system and method for C++ application program version
US9229694B2 (en) * 2013-03-15 2016-01-05 Gamesys Ltd. Systems and methods for facilitating application development utilizing plugins
CN104333808B (en) * 2014-11-14 2017-10-10 复旦大学 For the universal player on Android and Linux smart television machine
US10824547B2 (en) * 2018-09-10 2020-11-03 Servicenow, Inc. Automated certification testing for application deployment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273142A (en) * 2017-07-12 2017-10-20 北京潘达互娱科技有限公司 Method for updating program, program operating method and device
CN109542445A (en) * 2017-08-01 2019-03-29 北京京东尚科信息技术有限公司 A kind of method and apparatus that Android plug-in unit melts hair
CN110471847A (en) * 2019-08-02 2019-11-19 广东小天才科技有限公司 Network environment switching method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111740876A (en) 2020-10-02

Similar Documents

Publication Publication Date Title
US10198345B2 (en) Test case generation for uncovered code paths
CN111858296A (en) Interface test method, device, equipment and storage medium
CN108121650B (en) Method and device for testing page user interface
US20140258785A1 (en) Identifying a storage location for a storage address requested during debugging
US11249880B1 (en) Debugging and simulating application runtime execution
US9886367B2 (en) Unified processing test structure
US20200293430A1 (en) Environment modification for software application testing
US11016762B2 (en) Determining caller of a module in real-time
US11263115B2 (en) Problem diagnosis technique of memory corruption based on regular expression generated during application compiling
US8954932B2 (en) Crash notification between debuggers
US10915426B2 (en) Intercepting and recording calls to a module in real-time
CN111740876B (en) Application device, test method, storage medium and electronic equipment
CN115729724A (en) Fault injection method, fault test system, electronic device and readable storage medium
US11294804B2 (en) Test case failure with root cause isolation
CN112965910A (en) Automatic regression testing method and device, electronic equipment and storage medium
CN113220586A (en) Automatic interface pressure test execution method, device and system
US10372589B2 (en) Multi environment aware debugger
US20200065222A1 (en) Breakpoint with specified anchor points
US9582661B2 (en) Isolated program execution environment
CN116861418B (en) Penetration test method, device, equipment and storage medium for 32-bit Windows sandbox
US11645142B1 (en) Use sequential set index for root cause location and problem verification
CN115484200A (en) Embedded point testing method, device, server, storage medium and system
CN114064484A (en) Interface testing method and device, electronic equipment and readable storage medium
JP2023089958A (en) Computer-implemented method, system, and computer program product (function result prediction)
CN116502215A (en) User-based service isolation method, device, equipment and 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