CN109828870A - Interface testing environmental management technique, device, electronic equipment and storage medium - Google Patents

Interface testing environmental management technique, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109828870A
CN109828870A CN201811537505.6A CN201811537505A CN109828870A CN 109828870 A CN109828870 A CN 109828870A CN 201811537505 A CN201811537505 A CN 201811537505A CN 109828870 A CN109828870 A CN 109828870A
Authority
CN
China
Prior art keywords
environment
user
environmental management
electronic equipment
target
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
CN201811537505.6A
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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201811537505.6A priority Critical patent/CN109828870A/en
Publication of CN109828870A publication Critical patent/CN109828870A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of interface testing environmental management technique, device, electronic equipment and storage medium.The interface testing environmental management technique includes: that multiple subsystems are shown on the display of electronic equipment when receiving environmental management instruction;Receive the target sub system that user selects from the multiple subsystem;The user is prompted to input the attribute data of target environment corresponding with the target sub system;According to the attribute data of the target environment of user's input, the target environment is constructed;The target environment is saved to configuration database.The present invention is able to achieve the building of environmental management system, facilitates user to transfer environment and carries out interface testing, test experience is more preferably.

Description

Interface testing environmental management technique, device, electronic equipment and storage medium
Technical field
The present invention relates to interface testing technical field more particularly to a kind of interface testing environmental management techniques, device, electronics Equipment and storage medium.
Background technique
When carrying out interface testing task, corresponding to different subsystems, matched test environment is needed to configure (Testing environment)。
In prior art, generally requires tester and manually add test environment, not only labor intensive cost, also makes Tester takes a substantial amount of time when carrying out interface testing and energy, test experience are bad.
Summary of the invention
In view of the foregoing, it is necessary to a kind of interface testing environmental management technique, device, electronic equipment and storage are provided and are situated between Matter is able to achieve the building of environmental management system, facilitates user to transfer environment and carries out interface testing, test experience is more preferably.
A kind of interface testing environmental management technique, which comprises
When receiving environmental management instruction, multiple subsystems are shown on the display of electronic equipment;
Receive the target sub system that user selects from the multiple subsystem;
The user is prompted to input the attribute data of target environment corresponding with the target sub system;
According to the attribute data of the target environment of user's input, the target environment is constructed;
The target environment is saved to configuration database.
Preferred embodiment according to the present invention, the attribute data of the target environment according to user's input, constructs institute Stating target environment includes:
Multiple environmental management submodules are shown on the display, wherein each environmental management submodule is corresponding a kind of Attribute data;
Identify the point of addition of each data in the attribute data;
Determine the corresponding environmental management submodule in each position;
The attribute data is saved to determining environmental management submodule, to construct the target environment.
Preferred embodiment according to the present invention, after saving the target environment to configuration database, the method also includes:
Receive the increase instruction of the increase environment of user's input;
It is instructed according to the increase, determines the first subsystem corresponding with the increase instruction;
The user is prompted to input the first attribute data of first environment corresponding with first subsystem;
According to the first attribute data of the first environment of user's input, first environment is constructed;
The first environment is saved to the configuration database.
Preferred embodiment according to the present invention, after saving the target environment to configuration database, the method also includes:
Receive the deletion instruction of the deletion environment of user's input;
It is instructed according to the deletion, determines the second subsystem corresponding with the deletion instruction and second environment;
From the corresponding environment of second subsystem, the second environment is deleted.
Preferred embodiment according to the present invention, after saving the target environment to configuration database, the method also includes:
Receive the modification instruction of the modification environment of user's input;
It is instructed according to the modification, determines third environment corresponding with the modification instruction;
Receive the modification data of the user;
According to the modification data, the third environment is updated.
Preferred embodiment according to the present invention, after saving the target environment to configuration database, the method also includes:
Receive the data of user's input;
According to the data, the 4th environment is determined;
With the 4th environment, interface testing is executed.
Preferred embodiment according to the present invention, it is described according to the data, determine the 4th environment side of including any of the following Formula:
From the data, identify that keyword corresponding with the attribute information is matched according to the keyword of identification from described It sets and determines the 4th environment in database;Or
The user is prompted to select a subsystem, after the four subsystems for receiving user's selection, described Environment corresponding with the four subsystems is shown on display so that the user selects, and receives the environment of user's selection As the 4th environment.
A kind of interface testing environmental management device, described device include:
Display unit, for showing multiple subsystems on the display of electronic equipment when receiving environmental management instruction System;
Receiving unit, the target sub system selected from the multiple subsystem for receiving user;
Prompt unit, for prompting the user to input the attribute number of target environment corresponding with the target sub system According to;
Construction unit, the attribute data of the target environment for being inputted according to user, constructs the target environment;
Storage unit, for saving the target environment to configuration database.
Preferred embodiment according to the present invention, the construction unit are specifically used for:
Multiple environmental management submodules are shown on the display, wherein each environmental management submodule is corresponding a kind of Attribute data;
Identify the point of addition of each data in the attribute data;
Determine the corresponding environmental management submodule in each position;
The attribute data is saved to determining environmental management submodule, to construct the target environment.
Preferred embodiment according to the present invention, the receiving unit are also used to saving the target environment to configuration data Behind library, the increase instruction of the increase environment of user's input is received;
Described device further include:
Determination unit determines the first subsystem corresponding with the increase instruction for instructing according to the increase;
The prompt unit is also used to prompt the user to input the of first environment corresponding with first subsystem One attribute data;
The construction unit, the first attribute data of the first environment for being also used to be inputted according to user, building first Environment;
The storage unit is also used to save the first environment to the configuration database.
Preferred embodiment according to the present invention, the receiving unit are also used to saving the target environment to configuration data Behind library, the deletion instruction of the deletion environment of user's input is received;
The determination unit is also used to be instructed according to the deletion, determines the second subsystem corresponding with the deletion instruction System and second environment;
Described device further include:
Unit is deleted, for deleting the second environment from the corresponding environment of second subsystem.
Preferred embodiment according to the present invention, the receiving unit are also used to saving the target environment to configuration data Behind library, the modification instruction of the modification environment of user's input is received;
The determination unit is also used to be instructed according to the modification, determines third environment corresponding with the modification instruction;
The receiving unit is also used to receive the modification data of the user;
Described device further include:
Updating unit, for updating the third environment according to the modification data.
Preferred embodiment according to the present invention, the receiving unit are also used to saving the target environment to configuration data Behind library, the data of user's input are received;
The determination unit is also used to determine the 4th environment according to the data;
Described device further include:
Execution unit, for executing interface testing with the 4th environment.
Preferred embodiment according to the present invention, the determination unit determine that the 4th environment includes following according to the data It anticipates a kind of mode:
From the data, identify that keyword corresponding with the attribute information is matched according to the keyword of identification from described It sets and determines the 4th environment in database;Or
The user is prompted to select a subsystem, after the four subsystems for receiving user's selection, described Environment corresponding with the four subsystems is shown on display so that the user selects, and receives the environment of user's selection As the 4th environment.
A kind of electronic equipment, the electronic equipment include:
Memory stores at least one instruction;And
Processor executes the instruction stored in the memory to realize the interface testing environmental management technique.
A kind of computer readable storage medium is stored at least one instruction, institute in the computer readable storage medium At least one instruction is stated to be executed by the processor in electronic equipment to realize the interface testing environmental management technique.
As can be seen from the above technical solutions, the present invention is after receiving environmental management instruction, in the display of electronic equipment Multiple subsystems are shown on device, user is facilitated to select, and prompt user's input mesh corresponding with the target sub system of selection The attribute data for marking environment constructs target environment, according to the attribute data of the target environment of user's input more to meet The actual demand of the user, while the target environment is saved to configuration database, realize the building of environmental management system, and Facilitate the user to transfer environment and carry out interface testing, test experience is more preferably.
Detailed description of the invention
Fig. 1 is the flow chart of the preferred embodiment of interface testing environmental management technique of the present invention.
Fig. 2 is the functional block diagram of the preferred embodiment of interface testing environmental management device of the present invention.
Fig. 3 is the structural representation of the electronic equipment for the preferred embodiment that the present invention realizes interface testing environmental management technique Figure.
Main element symbol description
Electronic equipment 1
Memory 12
Processor 13
Display 14
Interface testing environmental management device 11
Display unit 110
Receiving unit 111
Prompt unit 112
Construction unit 113
Storage unit 114
Determination unit 115
Delete unit 116
Updating unit 117
Execution unit 118
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments The present invention is described in detail.
As shown in Figure 1, being the flow chart of the preferred embodiment of interface testing environmental management technique of the present invention.According to different Demand, the sequence of step can change in the flow chart, and certain steps can be omitted.
The interface testing environmental management technique is applied in one or more electronic equipment, and the electronic equipment is one Kind can be according to the instruction for being previously set or storing, the automatic equipment for carrying out numerical value calculating and/or information processing, and hardware includes But be not limited to microprocessor, specific integrated circuit (Application Specific Integrated Circuit, ASIC), Programmable gate array (Field-Programmable Gate Array, FPGA), digital processing unit (Digital Signal Processor, DSP), embedded device etc..
The electronic equipment can be any electronic product that human-computer interaction can be carried out with user, for example, personal meter Calculation machine, tablet computer, smart phone, personal digital assistant (Personal Digital Assistant, PDA), game machine, friendship Mutual formula Web TV (Internet Protocol Television, IPTV), intellectual wearable device etc..
The electronic equipment can also include the network equipment and/or user equipment.Wherein, the network equipment includes, but It is not limited to single network server, the server group of multiple network servers composition or based on cloud computing (Cloud Computing the cloud being made of a large amount of hosts or network server).
Network locating for the electronic equipment include but is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, it is virtual specially With network (Virtual Private Network, VPN) etc..
S10 shows multiple subsystems when receiving environmental management instruction on the display of electronic equipment.
In at least one embodiment of the present invention, it when carrying out interface testing task, corresponding to different subsystems, needs Want the test environment (Testing environment) of configurations match.Specifically, test environment refers to test run thereon soft The description of part and hardware environment and any other software interacted with tested software, including driving and stake.The test environment Computer hardware, software necessary to referring to complete Experience of Software Testing Work, the network equipment, historical data general name.Have Stable and controllable test environment can make tester take less time the execution for just completing test case, without Maintenance for test case, test process is spent additional time, and the defect that can guarantee that each is submitted is ok It is accurately reappeared at any time.
And in the prior art scheme, when carrying out interface testing task, corresponding to different subsystems, generally require to survey Examination personnel manually add test environment, and not only labor intensive cost, expends tester when carrying out interface testing largely Time and efforts.
In at least one embodiment of the present invention, environmental management instruction include, but are not limited to it is following a kind of or The combination of various ways:
(1) user that the electronic equipment receives clicks the signal of environmental management control.
Specifically, the environmental management control can be virtual key, be also possible to physical button, and the present invention is not done herein Limitation.
(2) voice signal for the user input that the electronic equipment receives.
Specifically, the voice signal may include a Duan Yuyin of user's input, such as: the voice content can Think " startup environment management " etc..
It should be noted that the voice signal is preconfigured by the electronic equipment, and it is stored in configuration data In library.The configuration database can be the local data base of the electronic equipment, be also possible to the phase with the electronic equipment The external data base etc. of communication.
Further, the electronic equipment, can be to the identity of the user after receiving the environmental management instruction It is authenticated, corresponding to the different modes of above-mentioned environmental management instruction, authentication mode also will be different.
Specifically, the electronic equipment to the identity of the user carry out authentication include, but are not limited to it is following any one Mode:
(1) after the signal that the electronic equipment receives that the user clicks the environmental management control, the electronics Equipment obtains the user identity of the user from environmental management instruction, and the electronic equipment obtains preconfigured permission List, and the user identity is matched with the user identity in the permissions list.
Specifically, when it fails to match for the user identity and the permissions list, the electronic equipment does not allow described User's performing environment management, either, when the user identity and the permissions list successful match, the electronic equipment is permitted Perhaps described user's performing environment management.
(2) after the electronic equipment receives the voice signal, the electronic equipment identifies the voice signal Content, and the content of the voice signal is matched with preconfigured voice signal.
Specifically, when it fails to match for the content of the voice signal and the preconfigured voice signal, the electricity Sub- equipment does not allow user's performing environment management.
When the content of the voice signal and the preconfigured voice signal successful match, the electronic equipment is sentenced Break the user identity of the voice signal, and judges whether the user identity has a permission of performing environment management, and When the electronic equipment determines that the user identity does not have the permission of performing environment management, the user will be unable to performing environment Management either when the electronic equipment determines that the user identity has the permission of performing environment management, allows the use Family performing environment management.
By above embodiment, the electronic equipment may be implemented to authenticate the identity of the user, to guarantee The permission of environmental management avoids malice from distorting phenomenon, improves safety.
Further, after the electronic equipment allows user's performing environment to manage, in the aobvious of the electronic equipment Show and show multiple subsystems on device, for user selection.
S11, the electronic equipment receive the target sub system that user selects from the multiple subsystem.
In at least one embodiment of the present invention, the electronic equipment can prompt the user from the multiple subsystem A subsystem is selected in system, using as the target sub system.
Further, the target sub system is that the electronic equipment allows user's performing environment management to operate Subsystem.
Further, prompting mode may include, but be not limited to the combination of following one or more:
Text prompt, voice prompting, pop-up prompt etc..
By above embodiment, the electronic equipment can allow the user to carry out according to the demand of the user Environmental management.
S12, user described in the electronic device prompts input the attribute of target environment corresponding with the target sub system Data.
In at least one embodiment of the present invention, the attribute data refers to the corresponding target ring of the target sub system The essential information in border, after the perfect attribute data, the electronic equipment can further realize the calling of corresponding interface, And execute interface testing.
Preferably, the attribute data includes, but are not limited to the combination of following one or more:
Test address, environmental form, brief description etc..
In at least one embodiment of the present invention, the attribute data is recorded according to the actual situation by the user Enter, to meet newest interface testing demand.
Further, the electronic equipment, can be according to the mesh of user's input after receiving the attribute data The attribute data for marking environment constructs the corresponding target environment of the target sub system, so that it is determined that the target sub system with it is described The corresponding relationship of target environment, to facilitate the electronic equipment to call the target environment.
S13, the attribute data for the target environment that the electronic equipment is inputted according to user construct the target ring Border.
In at least one embodiment of the present invention, the electronic equipment is after receiving the attribute data, Ji Kegen According to the attribute data of the target environment of user's input, the target environment corresponding with the target sub system is constructed.
Preferably, the attribute data for the target environment that the electronic equipment is inputted according to user, constructs the target Environment includes:
Multiple environmental management submodules are shown on the display, wherein each environmental management submodule is corresponding a kind of Attribute data, the electronic equipment identify the point of addition of each data in the attribute data, determine that each position is corresponding Environmental management submodule, and the attribute data is saved to determining environmental management submodule, to construct the target environment.
In at least one embodiment of the present invention, the environmental management submodule includes, but are not limited to: test address mould Block, environmental form module, brief description module etc..
Further, the electronic equipment can also establish one by one every height in the multiple subsystem according to aforesaid way Environment corresponding to system, to realize complete Environmental Management System.
S14, the electronic equipment save the target environment to configuration database.
In at least one embodiment of the present invention, the electronic equipment saves the target environment to the configuration number According to library, to set up environment and management system, to facilitate the subsequent quick obtaining for carrying out environment, auxiliary realizes interface testing It performs effectively.
Preferably, after saving the target environment to configuration database, the method also includes:
The electronic equipment receives the increase instruction of the increase environment of user's input, is instructed according to the increase, really Determine the first subsystem corresponding with the increase instruction, the input of user described in the electronic device prompts and first subsystem First attribute data of corresponding first environment, the first attribute of the first environment that the electronic equipment is inputted according to user Data construct first environment, and save the first environment to the configuration database.
By above embodiment, the addition environmental functional in environmental management is can be thus achieved in the electronic equipment, to protect It is more perfect to demonstrate,prove the environmental management function, while can also be more adaptive to newest environmental demand, makes the data of environment more It adds whole, reliable.
Preferably, after saving the target environment to configuration database, the method also includes:
The electronic equipment receives the deletion instruction of the deletion environment of user's input, and is instructed according to the deletion, Determine the second subsystem corresponding with the deletion instruction and second environment, the electronic equipment is corresponding from second subsystem Environment in, delete the second environment.
By above embodiment, the deletion environmental functional in environmental management is can be thus achieved in the electronic equipment, so as to Deletion error or unwanted environment avoids the redundancy that data are caused to the configuration database, is also made the user Environment can more quickly be selected.
Preferably, after saving the target environment to configuration database, the method also includes:
The electronic equipment receives the modification instruction of the modification environment of user's input, and is instructed according to the modification, Determine third environment corresponding with the modification instruction, the electronic equipment receives the modification data of the user, according to described Data are modified, the third environment is updated.
By above embodiment, the modification environmental functional in environmental management is can be thus achieved in the electronic equipment, to protect It demonstrate,proves that the environmental management function is more perfect, and to wrong data or further perfect content is needed to carry out time update.
Preferably, after saving the target environment to configuration database, the method also includes:
The electronic equipment receives the data of user's input, and according to the data, determines the 4th environment, the electricity Sub- equipment executes interface testing with the 4th environment.
By above embodiment, the user is got in each environment that the electronic equipment can be configured from above The 4th environment needed, to execute interface testing using the 4th environment.
Preferably, described according to the data, determine that the 4th environment includes, but are not limited to any one following mode:
(1) electronic equipment identifies keyword corresponding with the attribute information, according to identification from the data Keyword determines the 4th environment from the configuration database.
Specifically, the electronic equipment identifies the mode of keyword corresponding with the attribute information from the data Can there are many kinds of, present aspect does not limit.
By above embodiment, the user only needs to input simple data, and the electronic equipment can be according to institute Data identidication key is stated, and further gets the 4th environment from the configuration database according to the keyword, To meet the environmental demand that the user executes interface testing.
(2) user described in the electronic device prompts selects a subsystem, is receiving the 4th of user's selection After subsystem, show on the display corresponding with four subsystems environment so that the user selects, the electricity Sub- equipment receives environment that the user selects as the 4th environment.
By above embodiment, the electronic equipment can prompt step by step the user to select, specifically, described The four subsystems that electronic equipment determination first needs, then from the corresponding environment of the four subsystems, described in determination 4th environment, and further interface testing is executed using the 4th environment.
In conclusion the present invention shows multiple sons after receiving environmental management instruction on the display of electronic equipment System facilitates user to select, and prompts the attribute number of user's input target environment corresponding with the target sub system of selection According to according to the attribute data of the target environment of user's input, building target environment, more to meet the reality of the user Demand, while saving the target environment and realizing the building of environmental management system to configuration database, and facilitating user's tune Environment is taken to carry out interface testing, test experience is more preferably.
As shown in Fig. 2, being the functional block diagram of the preferred embodiment of interface testing environmental management device of the present invention.It is described to connect Mouth test environment managing device 11 includes display unit 110, receiving unit 111, prompt unit 112, construction unit 113, saves Unit 114, deletes unit 116, updating unit 117 and execution unit 118 at determination unit 115.The so-called module of the present invention/mono- Member refers to that one kind can be performed by processor 13, and can complete the series of computation machine program segment of fixed function, deposits Storage is in memory 12.In the present embodiment, it will be described in detail in subsequent embodiment about the function of each module/unit.
When receiving environmental management instruction, display unit 110 shows multiple subsystems on the display of electronic equipment.
In at least one embodiment of the present invention, it when carrying out interface testing task, corresponding to different subsystems, needs Want the test environment of configurations match.Specifically, test environment refers to the description of the software and hardware environment of test run thereon, with And any other software interacted with tested software, including driving and stake.The test environment refers to complete software test Work necessary to computer hardware, software, the network equipment, historical data general name.With stable and controllable test environment, Tester can be made to take less time the execution for just completing test case, without for test case, test process Maintenance is spent additional time, and can guarantee that the defect that each is submitted can be weighed accurately at any time It is existing.
And in the prior art scheme, when carrying out interface testing task, corresponding to different subsystems, generally require to survey Examination personnel manually add test environment, and not only labor intensive cost, expends tester when carrying out interface testing largely Time and efforts.
In at least one embodiment of the present invention, environmental management instruction include, but are not limited to it is following a kind of or The combination of various ways:
(1) user that the electronic equipment receives clicks the signal of environmental management control.
Specifically, the environmental management control can be virtual key, be also possible to physical button, and the present invention is not done herein Limitation.
(2) voice signal for the user input that the electronic equipment receives.
Specifically, the voice signal may include a Duan Yuyin of user's input, such as: the voice content can Think " startup environment management " etc..
It should be noted that the voice signal is preconfigured by the electronic equipment, and it is stored in configuration data In library.The configuration database can be the local data base of the electronic equipment, be also possible to the phase with the electronic equipment The external data base etc. of communication.
Further, the electronic equipment, can be to the identity of the user after receiving the environmental management instruction It is authenticated, corresponding to the different modes of above-mentioned environmental management instruction, authentication mode also will be different.
Specifically, the electronic equipment to the identity of the user carry out authentication include, but are not limited to it is following any one Mode:
(1) after the signal that the electronic equipment receives that the user clicks the environmental management control, the electronics Equipment obtains the user identity of the user from environmental management instruction, and the electronic equipment obtains preconfigured permission List, and the user identity is matched with the user identity in the permissions list.
Specifically, when it fails to match for the user identity and the permissions list, the electronic equipment does not allow described User's performing environment management, either, when the user identity and the permissions list successful match, the electronic equipment is permitted Perhaps described user's performing environment management.
(2) after the electronic equipment receives the voice signal, the electronic equipment identifies the voice signal Content, and the content of the voice signal is matched with preconfigured voice signal.
Specifically, when it fails to match for the content of the voice signal and the preconfigured voice signal, the electricity Sub- equipment does not allow user's performing environment management.
When the content of the voice signal and the preconfigured voice signal successful match, the electronic equipment is sentenced Break the user identity of the voice signal, and judges whether the user identity has a permission of performing environment management, and When the electronic equipment determines that the user identity does not have the permission of performing environment management, the user will be unable to performing environment Management either when the electronic equipment determines that the user identity has the permission of performing environment management, allows the use Family performing environment management.
By above embodiment, the electronic equipment may be implemented to authenticate the identity of the user, to guarantee The permission of environmental management avoids malice from distorting phenomenon, improves safety.
Further, after the electronic equipment allows user's performing environment to manage, the display unit 110 is in institute It states and shows multiple subsystems on the display of electronic equipment, for user selection.
Receiving unit 111 receives the target sub system that user selects from the multiple subsystem.
In at least one embodiment of the present invention, the electronic equipment can prompt the user from the multiple subsystem A subsystem is selected in system, using as the target sub system.
Further, the target sub system is that the electronic equipment allows user's performing environment management to operate Subsystem.
Further, prompting mode may include, but be not limited to the combination of following one or more:
Text prompt, voice prompting, pop-up prompt etc..
By above embodiment, the electronic equipment can allow the user to carry out according to the demand of the user Environmental management.
Prompt unit 112 prompts the attribute data of user's input target environment corresponding with the target sub system.
In at least one embodiment of the present invention, the attribute data refers to the corresponding target ring of the target sub system The essential information in border, after the perfect attribute data, the electronic equipment can further realize the calling of corresponding interface, And execute interface testing.
Preferably, the attribute data includes, but are not limited to the combination of following one or more:
Test address, environmental form, brief description etc..
In at least one embodiment of the present invention, the attribute data is recorded according to the actual situation by the user Enter, to meet newest interface testing demand.
Further, the receiving unit 111, can be according to user's input after receiving the attribute data The attribute data of target environment constructs the corresponding target environment of the target sub system, so that it is determined that the target sub system and institute The corresponding relationship of target environment is stated, to facilitate the electronic equipment to call the target environment.
The attribute data for the target environment that construction unit 113 is inputted according to user, constructs the target environment.
In at least one embodiment of the present invention, the receiving unit 111 is described after receiving the attribute data The attribute data for the target environment that construction unit 113 can be inputted according to user, constructs corresponding with the target sub system The target environment.
Preferably, the attribute data for the target environment that the construction unit 113 is inputted according to user, constructs the mesh Marking environment includes:
Multiple environmental management submodules are shown on the display, wherein each environmental management submodule is corresponding a kind of Attribute data, the construction unit 113 identify the point of addition of each data in the attribute data, determine that each position is corresponding Environmental management submodule, and the attribute data is saved to determining environmental management submodule, to construct the target ring Border.
In at least one embodiment of the present invention, the environmental management submodule includes, but are not limited to: test address mould Block, environmental form module, brief description module etc..
Further, the construction unit 113 can also be established one by one each in the multiple subsystem according to aforesaid way Environment corresponding to subsystem, to realize complete Environmental Management System.
Storage unit 114 saves the target environment to configuration database.
In at least one embodiment of the present invention, the storage unit 114, which saves the target environment to described, matches Database is set, to set up environment and management system, to facilitate the subsequent quick obtaining for carrying out environment, auxiliary realizes that interface is surveyed Examination performs effectively.
Preferably, after saving the target environment to configuration database, the method also includes:
The receiving unit 111 receives the increase instruction of the increase environment of user's input, is instructed according to the increase, Determination unit 115 determines that the first subsystem corresponding with the increase instruction, the prompt unit 112 prompt the user to input First attribute data of first environment corresponding with first subsystem, the institute that the construction unit 113 is inputted according to user The first attribute data of first environment is stated, first environment is constructed, the storage unit 114 saves the first environment and matches to described Set database.
By above embodiment, the addition environmental functional in environmental management is can be thus achieved in the electronic equipment, to protect It is more perfect to demonstrate,prove the environmental management function, while can also be more adaptive to newest environmental demand, makes the data of environment more It adds whole, reliable.
Preferably, after saving the target environment to configuration database, the method also includes:
The receiving unit 111 receives the deletion instruction of the deletion environment of user's input, the determination unit 115 It is instructed according to the deletion, determines corresponding with the deletion instruction the second subsystem and second environment, deletion unit 116 is from described In the corresponding environment of second subsystem, the second environment is deleted.
By above embodiment, the deletion environmental functional in environmental management is can be thus achieved in the electronic equipment, so as to Deletion error or unwanted environment avoids the redundancy that data are caused to the configuration database, is also made the user Environment can more quickly be selected.
Preferably, after saving the target environment to configuration database, the method also includes:
The receiving unit 111 receives the modification instruction of the modification environment of user's input, the determination unit 115 It is instructed according to the modification, determines that third environment corresponding with the modification instruction, the receiving unit 111 receive the user's Data are modified, according to the modification data, updating unit 117 updates the third environment.
By above embodiment, the modification environmental functional in environmental management is can be thus achieved in the electronic equipment, to protect It demonstrate,proves that the environmental management function is more perfect, and to wrong data or further perfect content is needed to carry out time update.
Preferably, after saving the target environment to configuration database, the method also includes:
The receiving unit 111 receives the data of user's input, and the determination unit 115 is according to the data, really Fixed 4th environment, execution unit 118 execute interface testing with the 4th environment.
By above embodiment, the user is got in each environment that the electronic equipment can be configured from above The 4th environment needed, to execute interface testing using the 4th environment.
Preferably, it is following any to determine that the 4th environment includes, but are not limited to according to the data for the determination unit 115 A kind of mode:
(1) determination unit 115 identifies keyword corresponding with the attribute information, according to knowledge from the data Other keyword determines the 4th environment from the configuration database.
Specifically, the determination unit 115 identifies the side of keyword corresponding with the attribute information from the data Formula can there are many kinds of, present aspect does not limit.
By above embodiment, the user only needs to input simple data, and the determination unit 115 can basis The data identidication key, and the Fourth Ring is further got from the configuration database according to the keyword Border, to meet the environmental demand that the user executes interface testing.
(2) determination unit 115 prompts the user to select a subsystem, is receiving the of user's selection After four subsystems, show on the display corresponding with four subsystems environment so that the user selects, it is described Determination unit 115 receives environment that the user selects as the 4th environment.
By above embodiment, the determination unit 115 can prompt step by step the user to select, specifically, The determination unit 115 determines the four subsystems needed first, then from the corresponding environment of the four subsystems, really Fixed 4th environment, and further interface testing is executed using the 4th environment.
In conclusion the present invention shows multiple sons after receiving environmental management instruction on the display of electronic equipment System facilitates user to select, and prompts the attribute number of user's input target environment corresponding with the target sub system of selection According to according to the attribute data of the target environment of user's input, building target environment, more to meet the reality of the user Demand, while saving the target environment and realizing the building of environmental management system to configuration database, and facilitating user's tune Environment is taken to carry out interface testing, test experience is more preferably.
As shown in figure 3, being the knot of the electronic equipment for the preferred embodiment that the present invention realizes interface testing environmental management technique Structure schematic diagram.
The electronic equipment 1 be it is a kind of can according to the instruction for being previously set or store, automatic progress numerical value calculating and/or The equipment of information processing, hardware include but is not limited to microprocessor, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), number Word processing device (Digital Signal Processor, DSP), embedded device etc..
The electronic equipment 1, which can also be but not limited to any one, to pass through keyboard, mouse, remote controler, touching with user The modes such as template or voice-operated device carry out the electronic product of human-computer interaction, for example, personal computer, tablet computer, smart phone, Personal digital assistant (Personal Digital Assistant, PDA), game machine, Interactive Internet TV (Internet Protocol Television, IPTV), intellectual wearable device etc..
The electronic equipment 1 can also be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.
Network locating for the electronic equipment 1 include but is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, it is virtual specially With network (Virtual Private Network, VPN) etc..
In one embodiment of the invention, the electronic equipment 1 includes, but are not limited to memory 12, processor 13, And it is stored in the computer program that can be run in the memory 12 and on the processor 13, such as interface testing environment Management program.
It will be understood by those skilled in the art that the schematic diagram is only the example of electronic equipment 1, not structure paired electrons The restriction of equipment 1 may include perhaps combining certain components or different components, example than illustrating more or fewer components Such as described electronic equipment 1 can also include input-output equipment, network access equipment, bus.
Alleged processor 13 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng the processor 13 is arithmetic core and the control centre of the electronic equipment 1, entire using various interfaces and connection The various pieces of electronic equipment 1, and execute the operating system of the electronic equipment 1 and types of applications program, the program of installation Code etc..
The processor 13 executes the operating system of the electronic equipment 1 and the types of applications program of installation.The place Reason device 13 executes the application program to realize the step in above-mentioned each interface testing environmental management technique embodiment, such as schemes Step S10, S11, S12, S13, S14 shown in 1.
Alternatively, the processor 13 realizes each module in above-mentioned each Installation practice/mono- when executing the computer program The function of member, such as: when receiving environmental management instruction, multiple subsystems are shown on the display of electronic equipment;It receives The target sub system that user selects from the multiple subsystem;Prompt user's input corresponding with the target sub system The attribute data of target environment;According to the attribute data of the target environment of user's input, the target environment is constructed;It saves The target environment is to configuration database.
Illustratively, the computer program can be divided into one or more module/units, one or more A module/unit is stored in the memory 12, and is executed by the processor 13, to complete the present invention.It is one Or multiple module/units can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for retouching State implementation procedure of the computer program in the electronic equipment 1.For example, the computer program can be divided into it is aobvious Show unit 110, receiving unit 111, prompt unit 112, construction unit 113, storage unit 114, determination unit 115, delete list Member 116, updating unit 117 and execution unit 118.
The memory 12 can be used for storing the computer program and/or module, the processor 13 by operation or The computer program and/or module being stored in the memory 12 are executed, and calls the data being stored in memory 12, Realize the various functions of the electronic equipment 1.The memory 12 can mainly include storing program area and storage data area, In, storing program area can application program needed for storage program area, at least one function (such as sound-playing function, image Playing function etc.) etc.;Storage data area, which can be stored, uses created data (such as audio data, phone directory according to mobile phone Deng) etc..In addition, memory 12 may include high-speed random access memory, it can also include nonvolatile memory, such as firmly Disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) block, flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-states Part.
The memory 12 can be the external memory and/or internal storage of electronic equipment 1.Further, described Memory 12 can be the circuit with store function for not having physical form in integrated circuit, such as RAM (Random-Access Memory, random access memory), FIFO (First In First Out) etc..Alternatively, the memory 12 is also possible to Memory with physical form, such as memory bar, TF card (Trans-flash Card).
The display 14 is used to show multiple subsystems when receiving environmental management instruction.
If the integrated module/unit of the electronic equipment 1 is realized in the form of SFU software functional unit and as independent Product when selling or using, can store in a computer readable storage medium.Based on this understanding, the present invention is real All or part of the process in existing above-described embodiment method, can also instruct relevant hardware come complete by computer program At the computer program can be stored in a computer readable storage medium, which is being executed by processor When, it can be achieved that the step of above-mentioned each embodiment of the method.
Wherein, the computer program includes computer program code, and the computer program code can be source code Form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium may include: can Carry any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer of the computer program code Memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer-readable medium The content for including can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such as in certain departments Method administrative area does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium.
In conjunction with Fig. 1, the memory 12 in the electronic equipment 1 stores multiple instruction to realize a kind of interface testing ring The multiple instruction can be performed to realize in border management method, the processor 13: when receiving environmental management instruction, in electricity Multiple subsystems are shown on the display of sub- equipment;Receive the target sub system that user selects from the multiple subsystem;It mentions Show that the user inputs the attribute data of target environment corresponding with the target sub system;The target inputted according to user The attribute data of environment constructs the target environment;The target environment is saved to configuration database.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Multiple environmental management submodules are shown on the display, wherein each environmental management submodule is corresponding a kind of Attribute data;
Identify the point of addition of each data in the attribute data;
Determine the corresponding environmental management submodule in each position;
The attribute data is saved to determining environmental management submodule, to construct the target environment.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Receive the increase instruction of the increase environment of user's input;
It is instructed according to the increase, determines the first subsystem corresponding with the increase instruction;
The user is prompted to input the first attribute data of first environment corresponding with first subsystem;
According to the first attribute data of the first environment of user's input, first environment is constructed;
The first environment is saved to the configuration database.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Receive the deletion instruction of the deletion environment of user's input;
It is instructed according to the deletion, determines the second subsystem corresponding with the deletion instruction and second environment;
From the corresponding environment of second subsystem, the second environment is deleted.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Receive the modification instruction of the modification environment of user's input;
It is instructed according to the modification, determines third environment corresponding with the modification instruction;
Receive the modification data of the user;
According to the modification data, the third environment is updated.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Receive the data of user's input;
According to the data, the 4th environment is determined;
With the 4th environment, interface testing is executed.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
From the data, identify that keyword corresponding with the attribute information is matched according to the keyword of identification from described It sets and determines the 4th environment in database;Or
The user is prompted to select a subsystem, after the four subsystems for receiving user's selection, described Environment corresponding with the four subsystems is shown on display so that the user selects, and receives the environment of user's selection As the 4th environment.
Specifically, the processor 13 can refer to the concrete methods of realizing of above-metioned instruction related in Fig. 1 corresponding embodiment The description of step, this will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module It divides, only a kind of logical function partition, there may be another division manner in actual implementation.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.
Therefore, in all respects, the present embodiments are to be considered as illustrative and not restrictive, this The range of invention is indicated by the appended claims rather than the foregoing description, it is intended that the equivalent requirements of the claims will be fallen in All changes in meaning and scope are included in the present invention.Any attached associated diagram label in claim should not be considered as limit Claim involved in making.
Furthermore, it is to be understood that one word of " comprising " does not exclude other units or steps, odd number is not excluded for plural number.In system claims The multiple units or device of statement can also be implemented through software or hardware by a unit or device.Second equal words are used It indicates title, and does not indicate any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference Preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to of the invention Technical solution is modified or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. a kind of interface testing environmental management technique, which is characterized in that the described method includes:
When receiving environmental management instruction, multiple subsystems are shown on the display of electronic equipment;
Receive the target sub system that user selects from the multiple subsystem;
The user is prompted to input the attribute data of target environment corresponding with the target sub system;
According to the attribute data of the target environment of user's input, the target environment is constructed;
The target environment is saved to configuration database.
2. interface testing environmental management technique as described in claim 1, which is characterized in that described according to user's input The attribute data of target environment, constructing the target environment includes:
Multiple environmental management submodules are shown on the display, wherein the corresponding attribute of each environmental management submodule Data;
Identify the point of addition of each data in the attribute data;
Determine the corresponding environmental management submodule in each position;
The attribute data is saved to determining environmental management submodule, to construct the target environment.
3. interface testing environmental management technique as described in claim 1, which is characterized in that saving the target environment to matching After setting database, the method also includes:
Receive the increase instruction of the increase environment of user's input;
It is instructed according to the increase, determines the first subsystem corresponding with the increase instruction;
The user is prompted to input the first attribute data of first environment corresponding with first subsystem;
According to the first attribute data of the first environment of user's input, first environment is constructed;
The first environment is saved to the configuration database.
4. interface testing environmental management technique as described in claim 1, which is characterized in that saving the target environment to matching After setting database, the method also includes:
Receive the deletion instruction of the deletion environment of user's input;
It is instructed according to the deletion, determines the second subsystem corresponding with the deletion instruction and second environment;
From the corresponding environment of second subsystem, the second environment is deleted.
5. interface testing environmental management technique as described in claim 1, which is characterized in that saving the target environment to matching After setting database, the method also includes:
Receive the modification instruction of the modification environment of user's input;
It is instructed according to the modification, determines third environment corresponding with the modification instruction;
Receive the modification data of the user;
According to the modification data, the third environment is updated.
6. interface testing environmental management technique as described in claim 1, which is characterized in that saving the target environment to matching After setting database, the method also includes:
Receive the data of user's input;
According to the data, the 4th environment is determined;
With the 4th environment, interface testing is executed.
7. interface testing environmental management technique as claimed in claim 6, which is characterized in that it is described according to the data, it determines 4th environment includes any of the following mode:
From the data, keyword corresponding with the attribute information is identified, according to the keyword of identification, from the configuration number According to the 4th environment determining in library;Or
The user is prompted to select a subsystem, after the four subsystems for receiving user's selection, in the display Corresponding with four subsystems environment is shown on device so that the user selects, receive environment that the user selects as 4th environment.
8. a kind of interface testing environmental management device, which is characterized in that described device includes:
Display unit, for showing multiple subsystems on the display of electronic equipment when receiving environmental management instruction;
Receiving unit, the target sub system selected from the multiple subsystem for receiving user;
Prompt unit, for prompting the user to input the attribute data of target environment corresponding with the target sub system;
Construction unit, the attribute data of the target environment for being inputted according to user, constructs the target environment;
Storage unit, for saving the target environment to configuration database.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Memory stores at least one instruction;And
Processor executes the instruction stored in the memory to realize interface as claimed in any of claims 1 to 7 in one of claims Test environmental management technique.
10. a kind of computer readable storage medium, it is characterised in that: be stored at least one in the computer readable storage medium A instruction, at least one described instruction are executed by the processor in electronic equipment to realize such as any one of claim 1 to 7 The interface testing environmental management technique.
CN201811537505.6A 2018-12-15 2018-12-15 Interface testing environmental management technique, device, electronic equipment and storage medium Pending CN109828870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811537505.6A CN109828870A (en) 2018-12-15 2018-12-15 Interface testing environmental management technique, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811537505.6A CN109828870A (en) 2018-12-15 2018-12-15 Interface testing environmental management technique, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109828870A true CN109828870A (en) 2019-05-31

Family

ID=66858907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811537505.6A Pending CN109828870A (en) 2018-12-15 2018-12-15 Interface testing environmental management technique, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109828870A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532170A (en) * 2019-07-18 2019-12-03 北京文渊佳科技有限公司 Build method, apparatus, electronic equipment and the medium of test environment
CN115269293A (en) * 2022-07-31 2022-11-01 北京汤谷软件技术有限公司 Interconnection interface testing method based on chip FPGA prototype verification equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601403A (en) * 2015-01-07 2015-05-06 上海瀚之友信息技术服务有限公司 Automatic test system
CN104615534A (en) * 2015-01-28 2015-05-13 广州酷狗计算机科技有限公司 Interface test method and device
CN106201878A (en) * 2016-07-08 2016-12-07 百度在线网络技术(北京)有限公司 The execution method and apparatus of test program
CN107908432A (en) * 2017-11-17 2018-04-13 深圳泉眼体育运营管理有限公司 Collocation method and device, the terminal device and readable storage medium storing program for executing of application program
CN108108297A (en) * 2016-11-25 2018-06-01 腾讯科技(深圳)有限公司 The method and apparatus of automatic test
CN108763090A (en) * 2018-05-31 2018-11-06 上海陆家嘴国际金融资产交易市场股份有限公司 Test environment dispositions method, device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601403A (en) * 2015-01-07 2015-05-06 上海瀚之友信息技术服务有限公司 Automatic test system
CN104615534A (en) * 2015-01-28 2015-05-13 广州酷狗计算机科技有限公司 Interface test method and device
CN106201878A (en) * 2016-07-08 2016-12-07 百度在线网络技术(北京)有限公司 The execution method and apparatus of test program
CN108108297A (en) * 2016-11-25 2018-06-01 腾讯科技(深圳)有限公司 The method and apparatus of automatic test
CN107908432A (en) * 2017-11-17 2018-04-13 深圳泉眼体育运营管理有限公司 Collocation method and device, the terminal device and readable storage medium storing program for executing of application program
CN108763090A (en) * 2018-05-31 2018-11-06 上海陆家嘴国际金融资产交易市场股份有限公司 Test environment dispositions method, device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532170A (en) * 2019-07-18 2019-12-03 北京文渊佳科技有限公司 Build method, apparatus, electronic equipment and the medium of test environment
CN115269293A (en) * 2022-07-31 2022-11-01 北京汤谷软件技术有限公司 Interconnection interface testing method based on chip FPGA prototype verification equipment
CN115269293B (en) * 2022-07-31 2024-05-07 北京汤谷软件技术有限公司 Interconnection interface testing method based on chip FPGA prototype verification equipment

Similar Documents

Publication Publication Date Title
US9734247B2 (en) Topology service using closure tables and metagraphs
US9703834B2 (en) Topological query in multi-tenancy environment
WO2018149292A1 (en) Object clustering method and apparatus
US10204125B2 (en) Method, apparatus, and application platform for updating application object attribute
CN104765621B (en) A kind of method and system of the deployment program in clustered node
US20090248596A1 (en) Configuration information management apparatus, configuration information management program, and configuration information management method
US10091123B2 (en) System and user interface for coordinating distributed workflow between multiple computing systems
AU2017265144A1 (en) Information retrieval
JP2023516801A (en) Information recommendation method, device, electronic device and program
CN109828870A (en) Interface testing environmental management technique, device, electronic equipment and storage medium
US9741065B2 (en) Automated guidance for selecting components of an it solution
CN109240738B (en) Database authority management method and device and computer equipment
CN109857634A (en) Interface testing parameter verification method, apparatus, electronic equipment and storage medium
WO2022127474A1 (en) Providing explainable machine learning model results using distributed ledgers
US20140019439A1 (en) Systems and methods for performing smart searches
CN112749146B (en) Data processing method, device, functional assembly and computer storage medium
US9753917B2 (en) Revising translated documents in a document storage system
CN112291241A (en) Firewall wall opening method, firewall wall opening device and terminal equipment
CN111414591A (en) Workflow management method and device
CN112417259A (en) Media resource processing method, device, equipment and storage medium
US20230153450A1 (en) Privacy data management in distributed computing systems
US11438459B2 (en) Dynamically modifying call flow management using a common data model interface for automated call distribution systems
US20230153457A1 (en) Privacy data management in distributed computing systems
CN109308302A (en) Data determination method, device, electronic equipment and computer readable storage medium
KR102517644B1 (en) Image display apparatus that enables simple updates through removable storage devices and operating method thereof

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