CN109901995A - Method for testing software, device, computer installation and computer readable storage medium - Google Patents
Method for testing software, device, computer installation and computer readable storage medium Download PDFInfo
- Publication number
- CN109901995A CN109901995A CN201910070283.XA CN201910070283A CN109901995A CN 109901995 A CN109901995 A CN 109901995A CN 201910070283 A CN201910070283 A CN 201910070283A CN 109901995 A CN109901995 A CN 109901995A
- Authority
- CN
- China
- Prior art keywords
- test equipment
- executive process
- test
- equipment
- operation interface
- 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
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The present invention provides a kind of method for testing software, device, computer installation and computer readable storage medium.The method for testing software includes: to initiate the connection request to one group of test equipment, and the connection request carries the address information of each test equipment;Whether judgement normally connect with each test equipment;If so, being that each test equipment configures default case according to the address information;The executive process for presetting case described in each test equipment is obtained, and shows the operation interface of the executive process comprising each test equipment;And judge whether the executive process in the operation interface executes completion, if so, the implementing result of the corresponding test equipment of the executive process is sent to user computer equipment.The present invention relates to testing process improvement areas, and the effect that more test equipments execute default case automatically and send implementing result to user may be implemented.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of method for testing software, device, computer installation and meters
Calculation machine readable storage medium storing program for executing.
Background technique
Software test is indispensable in software development process.Software test is by testing tool according to certain test side
Case and process carry out test operation, the purpose is to find latent defect in software, reduce software development and maintenance cost, promote
It is promoted into software quality.In all types of automation software testings, the software test closest to user demand is handed over user
Cross-correlation, i.e. UI software test.Each company can select a kind of execution frame for being suitble to itself to need according to different requirements,
Realize UI software test, and every kind executes the perform script that frame is corresponding with itself, i.e., the execution in current internet test
There are many kinds of the execution frames of script, such as selenium, watir, pwatir, appium etc..
In current internet test, automatic driving operation interface is only provided for appium and selenium tool and goes to hold
Row function case, the function of being executed without more equipment.It is not easy to user's operation.
Summary of the invention
In view of the foregoing, it is necessary to propose a kind of user-friendly method for testing software, device, computer installation
And computer readable storage medium.
The present invention provides a kind of method for testing software, which comprises
Request is initiated the connection to one group of test equipment, the connection request carries the address letter of each test equipment
Breath;
Whether judgement normally connect with each test equipment;
If so, being that each test equipment configures default case according to the address information;
The executive process for presetting case described in each test equipment is obtained, and shows and is set comprising each test
The operation interface of standby executive process;And
Judge whether the executive process in the operation interface executes completion, if so, the executive process is corresponding
The implementing result of test equipment is sent to user computer equipment.
It is described in one of the embodiments, to judge that the step of whether normally connecting with each test equipment includes:
It detects whether to receive the connection feedback signal that each test equipment returns, if so, determining and the survey
Examination equipment normally connects, otherwise, it is determined that not connecting normally with the test equipment.
It is also wrapped after the step of whether detection normally connect with the test equipment in one of the embodiments,
It includes:
The connection feedback signal that the test equipment issues is received, and according to default verification rule to the connection feedback letter
Number carry out safety check;And
When the verification of the connection feedback signal of the test equipment passes through, establishes and communicate to connect with the test equipment.
The default case is case to be tested in one of the embodiments, and the default case includes the survey
Try test-types, test condition and the case logic of equipment.
It is described in one of the embodiments, to obtain the executive process that case is preset described in each test equipment,
And show include each test equipment executive process operation interface the step of include:
The executive process for the default case that each test equipment is sent is obtained in predetermined period;
According to the executive process, the executive process for calculating the default case executes the remaining time completed;And
The remaining time of each test equipment executive process is shown in operation interface.
The operation interface includes interface button and executive process in one of the embodiments,.
It is described in one of the embodiments, to judge whether the executive process is completed, if so, by the executive process
The step of implementing result of corresponding test equipment is sent to user computer equipment include:
Monitor the executive process of the test equipment in the operation interface;
When listening to the notice that the executive process is completed, by the execution knot of the corresponding test equipment of the executive process
Fruit generates report;And
The user mail address with the access permission match of the report is obtained, and the report is sent to the user
The corresponding mailbox of mail address.
A kind of software testing device, described device include:
Link block, for initiating the connection request to one group of test equipment, the connection request carries each survey
Try the address information of equipment;
Judgment module, for judging whether normally connect with each test equipment;
Configuration module, for being that each test equipment configures default case according to the address information;
Display module for obtaining the executive process for presetting case described in each test equipment, and shows and includes
The operation interface of the executive process of each test equipment;And
Sending module, whether the executive process for judging in the operation interface executes completion, if so, holding described
The implementing result of the corresponding test equipment of traveling journey is sent to user computer equipment.
A kind of computer installation, the computer installation include processor and memory, and the processor is for executing institute
The method for testing software is realized when stating the computer program stored in memory.
A kind of computer readable storage medium is stored with computer program on the computer readable storage medium, described
The method for testing software is realized when computer program is executed by processor.
In conclusion method for testing software of the present invention, device, computer installation and computer-readable storage medium
Matter, by initiating the connection request to one group of test equipment, the connection request carries the address information of the test equipment;Inspection
It surveys and whether is normally connect with the test equipment;If so, being each test according to the address information of the test equipment
Device configuration presets case;The executive process that case is preset described in each test equipment is obtained, real-time update is simultaneously shown
Operation interface comprising the executive process;And judge whether the executive process is completed in the operation interface, if so, will
The implementing result of the corresponding test equipment of the executive process is sent to user.It is default to realize that more test equipments execute automatically
Case simultaneously sends implementing result to the effect of user.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is the flow chart for the method for testing software that the embodiment of the present invention one provides.
Fig. 2 is the functional block diagram in software testing device preferred embodiment provided by Embodiment 2 of the present invention.
Fig. 3 is the schematic diagram for the computer installation that the embodiment of the present invention three provides.
The present invention that the following detailed description will be further explained with reference to the above drawings.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying mode, the present invention will be described in detail.It should be noted that in the absence of conflict, presently filed embodiment and reality
The feature applied in mode can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, described embodiment
Only some embodiments of the invention, rather than whole embodiments.Based on the embodiment in the present invention, this field
Those of ordinary skill's every other embodiment obtained without making creative work, belongs to guarantor of the present invention
The range of shield.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention
The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Description and claims of this specification and term " first " in above-mentioned attached drawing, " second " and " third " etc. are
For distinguishing different objects, not for description particular order.In addition, term " includes " and their any deformations, it is intended that
Non-exclusive include in covering.Such as the process, method, system, product or equipment for containing a series of steps or units do not have
It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally further comprising
For the intrinsic other step or units of these process, methods, product or equipment.
Preferably, equipment state prediction method of the invention is applied in one or more computer installation.The meter
Calculation machine device be it is a kind of can be according to the instruction for being previously set or store, automatic progress numerical value calculating and/or information processing are set
Standby, hardware includes but is 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 computer installation can be the meter such as desktop PC, laptop, tablet computer, mobile phone, server
Calculate equipment.The computer installation can with user by the modes such as keyboard, mouse, remote controler, touch tablet or voice-operated device into
Row human-computer interaction.
Embodiment one:
Fig. 1 is the step flow chart of invention software test method preferred embodiment.The process according to different requirements,
The sequence of step can change in figure, and certain steps can be omitted.
As shown in fig.1, the method for testing software specifically includes following steps.
Step S1, request is initiated the connection to one group of test equipment, the connection request carries each test equipment
Address information.
Wherein, the test equipment is the equipment with processing system, communication and display function, such as mobile phone, browser.
The operating system of the test equipment is unlimited, such as the operating system in mobile phone is Android system, IOS system, browser selection
IE browser, Google's browser etc..And the quantity of the test equipment is unlimited.The address information includes each test equipment
IP address.
In one embodiment, the IP address of each test equipment deposits in the storage mould in system background server
In block.The memory module is called, the IP address can be therefrom obtained.The IP address uniquely corresponds to a test equipment.When
When the system background server initiates the connection request to one group of test equipment, the connection request is sent to pair according to IP address
In the test equipment answered.
Step S2, whether judgement normally connect with each test equipment.
Specifically, unlimited with the connection type of the test equipment, data communication is carried out as long as can ensure that.Wherein,
It mode or wired communication mode can be connect by wireless communication with the test equipment, such as WI-FI.
In one embodiment, it is communication with the connection type of the test equipment, detects whether to receive
The signal of " receiving connection request " that the test equipment returns, if so, determine to connect with the test equipment normal communication,
If it is not, then determining not connect normally with the test equipment.
In one embodiment, it if not receiving the signal of " receiving connection request " that the test equipment returns, looks into
Look for the address information for the test equipment not received.Connection request is sent again according to the address information, if sending out again
After sending connection request, the signal of " the receiving connection request " of return is not received yet, then hair mail is carried out to technical staff automatically
Connection manually.
Step S3, if so, being that each test equipment configures default case according to the address information.
Wherein, the default case is case to be tested, and the default case includes the test class of the test equipment
Type, test condition and case logic.
In one embodiment, it is configured according to the address information of each test equipment for the test equipment different
File is driven, drives the test equipment to execute the default case of the test equipment by the variable in the driving file.
Wherein, the driving file is the xml document in testng file or junit file.Testng file can be right
The default case of the test equipment is configured, and the configuration includes multithreading configuration, default case combination and default case
Test result monitor configuration.The selenium file on node server is operated according to multithreading configuration result and default case
Example combined result executes multiple default case distribution parallel on multiple child node servers.Junit file is multiple default
While case executes parallel, the test result of multiple default cases is monitored according to configuration result is monitored.It is more to realize
The parallel effect of equipment.
Step S4 obtains the executive process that case is preset described in each test equipment, and shows to include each institute
State the operation interface of the executive process of test equipment.
Wherein, the operation interface includes the information such as interface operation button, executive process.
In one embodiment, the corresponding case logic of the default case is obtained to adjust when obtaining the default case
The default case corresponding case logic is executed while with pre-set business method, and school is carried out according to the case logic
It tests, if judging, implementing result is not met with the case logic, determines that the default case executes failure.Re-execute institute
State default case.
Step S5 judges whether the executive process executes completion in the operation interface, if so, by it is described execute into
The implementing result of the corresponding test equipment of journey is sent to user computer equipment.
In one embodiment, described to judge whether the executive process is completed in the operation interface, if so, by institute
State the step of the implementing result of the corresponding test equipment of executive process is sent to user includes: to monitor in the operation interface
The executive process of the test equipment;It is when listening to the notice that the executive process is completed, the executive process is corresponding
The implementing result of the test equipment generates report;And preset user mail address is obtained, and the reporting mail is sent
To the corresponding mailbox in the user mail address.
In another embodiment, the step of whether judgement normally connect with each test equipment includes: inspection
It surveys and whether receives the connection feedback signal that each test equipment returns, if so, determining normal with the test equipment
Connection, otherwise, it is determined that not connect normally with the test equipment.
In another embodiment, after the step of whether detection normally connect with the test equipment further include:
The connection feedback signal that the test equipment issues is received, and the connection feedback signal is pacified according to default verification rule
Whole school tests;And it when the verification of the connection feedback signal of the test equipment passes through, establishes and communicates to connect with the test equipment.
In another embodiment, the executive process for obtaining default case described in each test equipment, and
The step of displaying includes the operation interface of the executive process of each test equipment includes: that each institute is obtained in predetermined period
State the executive process of the default case of test equipment transmission;According to the executive process, holding for the default case is calculated
The remaining time that traveling Cheng Zhihang is completed;And the residue of each test equipment executive process is shown in operation interface
Time.
In another embodiment, described to judge whether the executive process is completed, if so, by the executive process pair
The step of implementing result for the test equipment answered is sent to user computer equipment includes: to monitor the survey in the operation interface
Try the executive process of equipment;When listening to the notice that the executive process is completed, the corresponding test of the executive process is set
Standby implementing result generates report;And user mail address with the access permission match of the report is obtained, and by the report
Announcement is sent to the corresponding mailbox in the user mail address.
In conclusion method for testing software of the present invention, described by initiating the connection request to one group of test equipment
Connection request carries the address information of the test equipment;Whether detection normally connect with the test equipment;If so, root
Address information according to the test equipment is that each test equipment configures default case;It obtains in each test equipment
The executive process of the default case, real-time update simultaneously show the operation interface comprising the executive process;And judge the behaviour
Make whether the executive process on interface is completed, if so, by the execution knot of the corresponding test equipment of the executive process
Fruit is sent to user, realizes the effect that more test equipments execute default case automatically and send implementing result to user.
Embodiment two:
Fig. 2 is the functional block diagram of invention software test device preferred embodiment.
As shown in fig.2, the software testing device 20 may include link block 201, judgment module 202, configuration mould
Block 203, display module 204 and sending module 205.
The link block 201, for initiating the connection request to one group of test equipment, the connection request carries described
The address information of test equipment.
Wherein, the test equipment is the equipment with processing system, communication and display function, such as mobile phone, browser.
The operating system of the test equipment is unlimited, such as the operating system in mobile phone is Android system, IOS system, browser selection
IE browser, Google's browser etc..And the quantity of the test equipment is unlimited.The address information includes each test equipment
IP address.
In one embodiment, the IP address of each test equipment deposits in the storage mould in system background server
In block.The link block 201 calls the memory module, can therefrom obtain the IP address.The IP address uniquely corresponds to
One test equipment.When the system background server initiates the connection request to one group of test equipment, the connection request root
It is sent in the corresponding test equipment according to IP address.
Whether the judgment module 202 normally connect for detecting with the test equipment.
Specifically, the judgment module 202 and the connection type of the test equipment are unlimited, as long as can ensure that carry out data
Communication.Wherein, it mode or wired communication mode can be connect by wireless communication with the test equipment, such as WI-FI.
In one embodiment, the connection type of the judgment module 202 and the test equipment is communication,
The signal whether judgment module 202 receives " receiving connection request " that the test equipment returns is detected, if so, sentencing
It is fixed to be connect with the test equipment normal communication, if it is not, then determining not connect normally with the test equipment.
In one embodiment, if the judgment module 202 does not receive " receiving to connect and ask for the test equipment return
Ask " signal, then search the address information for the test equipment not received.Connection is sent again according to the address information
Request, if not receiving the signal of " the receiving connection request " of return yet after sending connection request again, then hair mail is given automatically
Technical staff is connected manually.
The configuration module 203, for being that each test equipment configures according to the address information of the test equipment
Default case.
Wherein, the default case is case to be tested, and the default case includes the test class of the test equipment
Type, test condition and case logic.
In one embodiment, the configuration module 203 is the survey according to the address information of each test equipment
The different driving file of device configuration is tried, drives the test equipment to execute the test by the variable in the driving file
The default case of equipment.
Wherein, the driving file is the xml document in testng file or junit file.Testng file can be right
The default case of the test equipment is configured, and the configuration includes multithreading configuration, default case combination and default case
Test result monitor configuration.The selenium file on node server is operated according to multithreading configuration result and default case
Example combined result executes multiple default case distribution parallel on multiple child node servers.Junit file is multiple default
While case executes parallel, the test result of multiple default cases is monitored according to configuration result is monitored.It is more to realize
The parallel effect of equipment.
The display module 204, for obtaining the executive process for presetting case described in each test equipment, in real time
It updates and shows the operation interface comprising the executive process.
Wherein, the operation interface includes the information such as interface operation button, executive process.
In one embodiment, the display module 204 obtains the corresponding case logic of the default case, when the exhibition
When showing that module 204 obtains the default case, the display module 204 executes described default while calling pre-set business method
The corresponding case logic of case, and verified according to the case logic, if judging implementing result and the case logic
It does not meet, then determines that the default case executes failure.Re-execute the default case.
The sending module 205, for judging whether the executive process is completed in the operation interface, if so, will
The implementing result of the corresponding test equipment of the executive process is sent to user.
In one embodiment, the sending module 205 judges whether the executive process is completed in the operation interface,
If so, the implementing result of the corresponding test equipment of the executive process is sent to user's by the sending module 205
Step includes: the executive process that the sending module 205 monitors the test equipment in the operation interface;When the transmission mould
When block 205 listens to the notice that the executive process is completed, by the execution knot of the corresponding test equipment of the executive process
Fruit generates report;And preset user mail address is obtained, and the reporting mail is sent to the user mail address pair
The mailbox answered.
In another embodiment, the step of whether judgement normally connect with each test equipment includes: inspection
It surveys and whether receives the connection feedback signal that each test equipment returns, if so, determining normal with the test equipment
Connection, otherwise, it is determined that not connect normally with the test equipment.
In another embodiment, after the step of whether detection normally connect with the test equipment further include:
The connection feedback signal that the test equipment issues is received, and the connection feedback signal is pacified according to default verification rule
Whole school tests;And it when the verification of the connection feedback signal of the test equipment passes through, establishes and communicates to connect with the test equipment.
In another embodiment, the executive process for obtaining default case described in each test equipment, and
The step of displaying includes the operation interface of the executive process of each test equipment includes: that each institute is obtained in predetermined period
State the executive process of the default case of test equipment transmission;According to the executive process, holding for the default case is calculated
The remaining time that traveling Cheng Zhihang is completed;And the residue of each test equipment executive process is shown in operation interface
Time.
In another embodiment, described to judge whether the executive process is completed, if so, by the executive process pair
The step of implementing result for the test equipment answered is sent to user computer equipment includes: to monitor the survey in the operation interface
Try the executive process of equipment;When listening to the notice that the executive process is completed, the corresponding test of the executive process is set
Standby implementing result generates report;And user mail address with the access permission match of the report is obtained, and by the report
Announcement is sent to the corresponding mailbox in the user mail address.
In conclusion software testing device of the present invention, described by initiating the connection request to one group of test equipment
Connection request carries the address information of the test equipment;Whether detection normally connect with the test equipment;If so, root
Address information according to the test equipment is that each test equipment configures default case;It obtains in each test equipment
The executive process of the default case, real-time update simultaneously show the operation interface comprising the executive process;And judge the behaviour
Make whether the executive process on interface is completed, if so, by the execution knot of the corresponding test equipment of the executive process
Fruit is sent to user, realizes the effect that more test equipments execute default case automatically and send implementing result to user.
Embodiment three
Fig. 3 is the schematic diagram of computer installation preferred embodiment of the present invention.
The computer installation 30 includes memory 31, processor 32 and is stored in the memory 31 and can be in institute
State the computer program 33 run on processor 32, such as software test program.The processor 32 executes the computer journey
The step in above-mentioned method for testing software embodiment, such as step S1~S5 shown in FIG. 1 are realized when sequence 33.Alternatively, the place
Reason device 32 realizes the function of each module in above-mentioned software testing device embodiment, such as Fig. 2 when executing the computer program 33
In module 201~205.
Illustratively, the computer program 33 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 31, and are executed by the processor 32, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, and described instruction section is used
In implementation procedure of the description computer program 33 in the computer installation 30.For example, the computer program 33 can
With link block 201, judgment module 202, configuration module 203, display module 204 and the sending module being divided into Fig. 2
205.Each module concrete function is referring to embodiment two.
The computer installation 30 can be the calculating such as desktop PC, notebook, palm PC and cloud server
Equipment.It will be understood by those skilled in the art that the schematic diagram is only the example of computer installation 30, do not constitute to calculating
The restriction of machine device 30 may include perhaps combining certain components or different portions than illustrating more or fewer components
Part, such as the computer installation 30 can also include input-output equipment, network access equipment, bus etc..
Alleged processor 32 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 32 is also possible to any conventional processing
Device etc., the processor 32 are the control centres of the computer installation 30, are entirely calculated using various interfaces and connection
The various pieces of machine device 30.
The memory 31 can be used for storing the computer program 33 and/or module/unit, and the processor 32 passes through
Operation executes the computer program and/or module/unit being stored in the memory 31, and calls and be stored in memory
Data in 31 realize the various functions of the computer installation 30.The memory 31 can mainly include storing program area and
Storage data area, wherein storing program area can application program needed for storage program area, at least one function etc.;Store number
It can be stored according to area and created data etc. are used according to computer installation 30.In addition, memory 31 may include that high speed is random
Memory is accessed, can also include nonvolatile memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart
Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk
Memory device, flush memory device or other volatile solid-state parts.
If the integrated module/unit of the computer installation 30 is realized in the form of SFU software functional unit and as independence
Product when selling or using, can store in a computer readable storage medium.Based on this understanding, of the invention
It realizes all or part of the process in 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, and the computer program is held by processor
When row, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, institute
Stating computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..It is described
Computer-readable medium may include: any entity or device, recording medium, U that can carry the computer program code
Disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), arbitrary access
Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs
It is bright, the content that the computer-readable medium includes can according in jurisdiction make laws and patent practice requirement into
Row increase and decrease appropriate, such as do not include electric load according to legislation and patent practice, computer-readable medium in certain jurisdictions
Wave signal and telecommunication signal.
In several embodiments provided by the present invention, it should be understood that disclosed computer installation and method, it can be with
It realizes by another way.For example, computer installation embodiment described above is only schematical, for example, described
The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in same treatment unit
It is that each unit physically exists alone, can also be integrated in same 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, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.It is stated in computer installation claim
Multiple units or computer installation can also be implemented through software or hardware by the same unit or computer installation.The
One, the second equal words are used to indicate names, and are not indicated 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 method for testing software, which is characterized in that the described method includes:
Request is initiated the connection to one group of test equipment, the connection request carries the address information of each test equipment;
Whether judgement normally connect with per the test equipment;
If so, being that each test equipment configures default case according to the address information;
The executive process for presetting case described in each test equipment is obtained, and is shown comprising each test equipment
The operation interface of executive process;And
Judge whether the executive process in the operation interface executes completion, if so, by the corresponding test of the executive process
The implementing result of equipment is sent to user computer equipment.
2. method for testing software as described in claim 1, which is characterized in that it is described judgement with each test equipment whether
The step of normal connection includes:
It detects whether to receive the connection feedback signal that each test equipment returns, if so, determining to set with the test
Standby normal connection, otherwise, it is determined that not connect normally with the test equipment.
3. method for testing software as described in claim 1, which is characterized in that whether the detection is normal with the test equipment
After the step of connection further include:
Receive the connection feedback signal that the test equipment issues, and according to default verification it is regular to the connection feedback signal into
Row safety check;And
When the verification of the connection feedback signal of the test equipment passes through, establishes and communicate to connect with the test equipment.
4. method for testing software as claimed in any one of claims 1-3, which is characterized in that the default case is to be tested
Case, the default case includes test-types, test condition and the case logic of the test equipment.
5. method for testing software as claimed in any one of claims 1-3, which is characterized in that described to obtain each test
The executive process of case is preset described in equipment, and show the operation interface of the executive process comprising each test equipment
Step includes:
The executive process for the default case that each test equipment is sent is obtained in predetermined period;
According to the executive process, the executive process for calculating the default case executes the remaining time completed;And
The remaining time of each test equipment executive process is shown in operation interface.
6. method for testing software as described in claim 1, which is characterized in that the operation interface includes interface button and execution
Process.
7. method for testing software as claimed in any one of claims 1-3, which is characterized in that the judgement executive process
Whether complete, if so, the implementing result of the corresponding test equipment of the executive process is sent to user computer equipment
Step includes:
Monitor the executive process of the test equipment in the operation interface;
It is when listening to the notice that the executive process is completed, the implementing result of the corresponding test equipment of the executive process is raw
At report;And
The user mail address with the access permission match of the report is obtained, and the report is sent to the user mail
The corresponding mailbox in address.
8. a kind of software testing device, which is characterized in that described device includes:
Link block, for initiating the connection request to one group of test equipment, the connection request carries each test and sets
Standby address information;
Judgment module, for judging whether normally connect with each test equipment;
Configuration module, for being that each test equipment configures default case according to the address information;
Display module for obtaining the executive process for presetting case described in each test equipment, and is shown comprising each
The operation interface of the executive process of the test equipment;And
Whether sending module, the executive process for judging in the operation interface execute completion, if so, by it is described execute into
The implementing result of the corresponding test equipment of journey is sent to user computer equipment.
9. a kind of computer installation, which is characterized in that the computer installation includes processor and memory, and the processor is used
Realize that software as claimed in any of claims 1 to 7 in one of claims is surveyed when executing the computer program stored in the memory
Method for testing.
10. a kind of computer readable storage medium, computer program, feature are stored on the computer readable storage medium
It is, the computer program realizes software test side as claimed in any of claims 1 to 7 in one of claims when being executed by processor
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910070283.XA CN109901995A (en) | 2019-01-24 | 2019-01-24 | Method for testing software, device, computer installation and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910070283.XA CN109901995A (en) | 2019-01-24 | 2019-01-24 | Method for testing software, device, computer installation and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109901995A true CN109901995A (en) | 2019-06-18 |
Family
ID=66944241
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910070283.XA Pending CN109901995A (en) | 2019-01-24 | 2019-01-24 | Method for testing software, device, computer installation and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109901995A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104331363A (en) * | 2014-10-17 | 2015-02-04 | 上海斐讯数据通信技术有限公司 | Automatic testing method for Android device |
US9710368B1 (en) * | 2014-05-02 | 2017-07-18 | Amazon Technologies, Inc. | Inter-process communication automated testing framework |
CN106991046A (en) * | 2017-03-24 | 2017-07-28 | 广州酷狗计算机科技有限公司 | Application testing method and device |
CN107465572A (en) * | 2017-08-02 | 2017-12-12 | 华数传媒网络有限公司 | Intelligent terminal method of testing, apparatus and system |
CN108052444A (en) * | 2017-11-13 | 2018-05-18 | 北京百度网讯科技有限公司 | A kind of method and apparatus of performance test for mobile application |
-
2019
- 2019-01-24 CN CN201910070283.XA patent/CN109901995A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9710368B1 (en) * | 2014-05-02 | 2017-07-18 | Amazon Technologies, Inc. | Inter-process communication automated testing framework |
CN104331363A (en) * | 2014-10-17 | 2015-02-04 | 上海斐讯数据通信技术有限公司 | Automatic testing method for Android device |
CN106991046A (en) * | 2017-03-24 | 2017-07-28 | 广州酷狗计算机科技有限公司 | Application testing method and device |
CN107465572A (en) * | 2017-08-02 | 2017-12-12 | 华数传媒网络有限公司 | Intelligent terminal method of testing, apparatus and system |
CN108052444A (en) * | 2017-11-13 | 2018-05-18 | 北京百度网讯科技有限公司 | A kind of method and apparatus of performance test for mobile application |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210240721A1 (en) | Application Recommending Method and System, and Server | |
CN108647141B (en) | Automatic test method, device, computer readable medium and electronic equipment | |
CN103336696B (en) | The Oftware updating method of test instrunment and system | |
CN107193714B (en) | Alarm display method and device | |
CN108255707A (en) | Development roles creation method, device, equipment and the storage medium of test case | |
CN111340378B (en) | Product project scheduling method and related device | |
CN110765018A (en) | Automatic interface testing method and equipment | |
CN110708214B (en) | Service data display method, device, equipment and computer readable storage medium | |
CN114064208A (en) | Method and device for detecting application service state, electronic equipment and storage medium | |
CN110221948A (en) | Test script generation method, device, computer installation and storage medium | |
CN105335266B (en) | Method for determining the failure of tested equipment | |
CN109889432A (en) | Information processing method, device, computer installation and computer readable storage medium | |
CN110069465A (en) | HDFS data managing method, device, equipment and medium based on workflow | |
CN109034416A (en) | A kind of method of Breakdown Maintenance, system and equipment | |
CN109901995A (en) | Method for testing software, device, computer installation and computer readable storage medium | |
CN112887355A (en) | Service processing method and device for abnormal server | |
CN107807885B (en) | Task information display method and device | |
CN115952098A (en) | Performance test tuning scheme recommendation method and system | |
CN115511395A (en) | Method, device, equipment and storage medium for allocating prison positions | |
CN112040564B (en) | Information transmission method, readable storage medium and electronic device | |
CN113556391A (en) | Page communication method and device, electronic equipment and readable storage medium | |
KR20140055292A (en) | System and method for relating between failed component and performance criteria of manintenance rule by using component database of functional importance determination of nuclear power plant | |
CN112380118A (en) | Unit testing method, unit testing device, medium and electronic equipment | |
CN112348701A (en) | Method, device and system for processing power supply station line-to-user data and electronic equipment | |
CN112256594A (en) | Project information processing method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |