CN105260299A - Method, device, and system for software test - Google Patents

Method, device, and system for software test Download PDF

Info

Publication number
CN105260299A
CN105260299A CN201510594413.1A CN201510594413A CN105260299A CN 105260299 A CN105260299 A CN 105260299A CN 201510594413 A CN201510594413 A CN 201510594413A CN 105260299 A CN105260299 A CN 105260299A
Authority
CN
China
Prior art keywords
test
software
server
test machine
client
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
CN201510594413.1A
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.)
Anyi Hengtong Beijing Technology Co Ltd
Original Assignee
Anyi Hengtong Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anyi Hengtong Beijing Technology Co Ltd filed Critical Anyi Hengtong Beijing Technology Co Ltd
Priority to CN201510594413.1A priority Critical patent/CN105260299A/en
Publication of CN105260299A publication Critical patent/CN105260299A/en
Pending legal-status Critical Current

Links

Abstract

Embodiments of the invention disclose a method, a device, and a system for software tests. The software test method in an embodiment comprises: through a browser page, receiving a test case identifier and a test machine address; issuing a software test request to a server, the software test request including the test case identifier and the test machine address, so the server obtaining a test case based on the test case identifier, sending a test instruction corresponding to the test case to a test machine assigned by the test machine address, and sending a test result returned by the test machine to a client; and receiving the test result and showing the test result returned by the server through the browser page. According to the technical scheme, the test request can be received and the test instruction can be sent through the server, so an objective of online software test is realized, and software test range is expanded.

Description

Method for testing software, Apparatus and system
Technical field
The application relates to field of computer technology, is specifically related to data test technical field, particularly relates to method for testing software, Apparatus and system.
Background technology
When carrying out software test in the prior art, usually can on a certain computing machine operating software development kit or Integrated Development Environment so that testing results use-case debugging.But this method for testing software can only be debugged the test case of computing machine this locality, significantly limit the scope of software test, have impact on Efficiency of Software Testing.
Summary of the invention
In view of above-mentioned defect of the prior art or deficiency, expect to provide the scheme that a kind of test specification is wide, efficiency is high.In order to realize above-mentioned one or more object, this application provides method for testing software, Apparatus and system.
First aspect, this application provides a kind of method for testing software, the method comprises: receive test case mark and test machine address by browser page; Software test request is initiated to server, described software test request comprises described test case mark and test machine address, test case is obtained based on described test case mark to make described server, test instruction corresponding for described test case is sent to the test machine that described test machine address is specified, and the test result that described test machine returns is sent to client; Receive and present by described browser page the test result that described server returns.
Second aspect, this application provides another kind of method for testing software, the method comprises: receive the software test request that client is initiated, and described software test request comprises test case mark and test machine address; Test case is obtained based on described test case mark; Test instruction corresponding for described test case is sent to the test machine that described test machine address is specified; And the test result that described test machine returns is sent to described client.
The third aspect, this application provides a kind of software testing device, and this device comprises: receiver module, for receiving test case mark and test machine address by browser page; Sending module, for initiating software test request to server, described software test request comprises described test case mark and test machine address, test case is obtained based on described test case mark to make described server, test instruction corresponding for described test case is sent to the test machine that described test machine address is specified, and the test result that described test machine returns is sent to client; Present module, for receiving and presenting by described browser page the test result that described server returns.
Fourth aspect, this application provides another kind of software testing device, and this device comprises: receiver module, and for receiving the software test request that client is initiated, described software test request comprises test case mark and test machine address; Acquisition module, for obtaining test case based on described test case mark; Test module, the test machine of specifying for test instruction corresponding for described test case being sent to described test machine address; And sending module, the test result for being returned by described test machine sends to described client.
5th aspect, this application provides a kind of software testing system, and this software testing system comprises software testing device that the above-mentioned third aspect provides and the software testing device that fourth aspect provides.
The method for testing software that the application provides, Apparatus and system, can send to server by client by software test request, then sends to the test machine of specifying to carry out software test corresponding test instruction by server.Receive test request by server and send test instruction, the on-line testing of software can be realized, thus expansion software test scope, improve Efficiency of Software Testing and convenience.
Accompanying drawing explanation
By reading the detailed description to non-limiting example done with reference to the following drawings, the other features, objects and advantages of the application will become more obvious:
Fig. 1 shows the exemplary system architecture can applying the embodiment of the present application;
Fig. 2 shows the exemplary process diagram of the method for testing software according to the application's embodiment;
Fig. 3 shows exemplary process diagram test instruction being sent to the method for test machine according to the application's embodiment;
Fig. 4 shows the exemplary process diagram of the method for testing software according to another embodiment of the application;
Fig. 5 shows the structural representation of the software testing device according to the application's embodiment;
Fig. 6 shows the structural representation of the software testing device according to another embodiment of the application;
Fig. 7 shows the structural representation of the software testing system according to the application's embodiment; And
Fig. 8 shows the structural representation of the computer system be suitable for for the client or server realizing the embodiment of the present application.
Embodiment
Below in conjunction with drawings and Examples, the application is described in further detail.Be understandable that, specific embodiment described herein is only for explaining related invention, but not the restriction to this invention.It also should be noted that, for convenience of description, in accompanying drawing, illustrate only the part relevant to Invention.
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the application in detail in conjunction with the embodiments.
Fig. 1 shows the exemplary system architecture 100 can applying the embodiment of the present application.
As shown in Figure 1, system architecture 100 can comprise client 101, test machine 102, network 103 and server 104.Network 103 is in order at client 101, the medium providing communication link between test machine 102 and server 104.Network 103 can comprise various connection type, such as wired, wireless communication link or fiber optic cables etc.
User 110 can use client 101 mutual by network 103 and server 104, and server 104 also can be mutual by network 103 and test machine 102, to receive or to send message etc.Client 101 can be provided with various client application, such as web browser, JICQ, mailbox client, social platform software etc.
Client 101 and test machine 102 can be various electronic equipments, include but not limited to PC, smart mobile phone, intelligent watch, panel computer, personal digital assistant etc.
Server 104 can be to provide the server of various service.The process such as server can store the data received, analyze, forwarding, and result is fed back to client 101.
It should be noted that, the method for testing software that the embodiment of the present application provides can be cooperatively interacted execution by client 101 and server 104.Should be appreciated that, the number of the client in Fig. 1, test machine, network and server is only schematic.According to realizing needs, the client of arbitrary number, test machine, network and server can be had.
Please refer to Fig. 2, it illustrates the exemplary process diagram of the method for testing software according to the application's embodiment.
As shown in Figure 2, in step 201, receive the software test request that client is initiated, software test request comprises test case mark and test machine address.
When carrying out online software test, server first by wired or wireless mode, can receive the software test request initiated by client.Test case mark and test machine address can be comprised in this software test request.Test case mark can be an identification information, and such as, this information can comprise the information such as the title of test case and version.Test case can be an example of software to be tested, can realize the part or all of function of software to be tested.Test machine can be the terminal device for running described test case, and test machine address can be the IP address (InternetProtocolAddress, Internet protocol address) of this terminal device.Concrete test case mark and test machine address, can be specified on the client according to the software test requirement of reality by user, and then by client, these information be sent to server.
Then, in step 202., test case is obtained based on test case mark.
When after the test case mark receiving client transmission in above-mentioned steps 201, server can obtain test case according to the test case mark obtained further.Particularly, in the storage space of server itself or the storage space of other external units, test case set can be preserved in advance.Can comprise multiple test case that may need to carry out testing in this test case set, and each test case possesses a unique test case mark.The test case mark that server is obtaining, can obtain corresponding test case from this test case set.
Then, in step 203, the test machine sending to test machine address to specify test instruction corresponding for test case.
In the present embodiment, after server gets test case, can first analyze test case, to determine the test instruction corresponding with test case, namely for the test instruction of implementation of test cases correlation function.Meanwhile, server according to the test machine address obtained in step 201, can also determine the test machine performing above-mentioned test instruction.Such as, can determine by the IP address of test machine the terminal device performing test instruction.Finally, test instruction can be sent to the test machine determined by server, so that test machine performs these test instructions.
Finally, in step 204, the test result that test machine returns is sent to client.
When in above-mentioned steps 203, after the test machine that test instruction corresponding for test case sends to test machine address to specify by server, test machine can perform the test instruction received, and the implementation status of test instruction and test result are returned to server.This test result, after receiving the test result that test machine returns, can be sent to client by server further, so that user understands the result of software test by client.
In an optional implementation of the present embodiment, method for testing software also comprises: receive the test process steering order that client sends; And in response to test process steering order, corresponding control operation is performed to the process of transmitting of test instruction.In the present embodiment, test process steering order, can be the instruction starting, suspend or cancel software test procedure, also can be the instruction arranging breakpoint in test case.Server can be saved in resolving the testing procedure obtained in internal memory.When after the test process steering order receiving client transmission, according to the particular content of this testing and control instruction, corresponding control can be carried out to the testing procedure in internal memory, thus realize the control operation to the process of transmitting of test instruction.In a kind of possible realization, when testing and control instruction is the instruction starting to test, Article 1 test instruction can be sent to test machine by server.In the realization that another kind is possible, when testing and control instruction is the instruction of temporarily test, server can stop sending test instruction to test machine.In the realization that another is possible, when testing and control instruction is the instruction arranging breakpoint, server can send need in the test instruction arranging thereafter breakpoint time, perform a pausing operation.Like this, user directly can control the software test procedure on test machine in real time by client, further increase the convenience of software test.
The method for testing software that the above embodiments of the present application provide, can send to server by client by software test request, then sends to the test machine of specifying to carry out software test corresponding test instruction by server.Receive test request by server and send test instruction, the on-line testing of software can be realized, thus expansion software test scope, improve Efficiency of Software Testing and convenience.
With further reference to Fig. 3, it illustrates exemplary process diagram test instruction being sent to the method for test machine according to the application's embodiment, also namely show the process flow diagram of a kind of implementation of above-mentioned steps 203.
As shown in Figure 3, in step 301, key word parsing is carried out to test case, determine at least one testing procedure.
In the present embodiment, because the testing procedure in test case can be described by key word, therefore, after server gets test case, key word parsing can be carried out to test case, to determine all testing procedures in test case.In a kind of possible realization, the database that includes a lot of key words can be built in advance.In this database, the testing procedure that each key word can be corresponding different.Key word in test case can mate with the key word in above-mentioned database by server, then obtains corresponding testing procedure.Such as, the testing procedure that key word " user name " is corresponding can be " inputting user name ".
In an optional implementation of the present embodiment, method for testing software also comprises, and the descriptor of at least one testing procedure is returned to client.In the present embodiment, the descriptor of testing procedure may be used for doing concise and to the point text description to the content of testing procedure.Usually, can comprise object type in the descriptor of testing procedure, perform an action and the information such as annotation, wherein, annotation information can comprise the key word of this testing procedure.Such as, " inputting user name " just can as the part in the descriptor of testing procedure.Server is being resolved test case, after determining testing procedure, further the descriptor of each testing procedure can be returned to client.Like this, user just can be facilitated to understand concrete test process by client.
Then, in step 302, for each testing procedure, a test instruction is generated respectively.
After determine all testing procedures in test case in above-mentioned steps 301, server further according to the particular content of each testing procedure, can generate a test instruction respectively.Such as, when testing procedure is " inputting user name ", server can generate one for inputting the instruction of user name.
Finally, in step 303, test machine test instruction being sent to test machine address to specify one by one.
In the present embodiment, first server can determine according to test machine address the test machine wanting testing results instruction, and then according to the order of testing procedure, the test instruction of correspondence is sent to this test machine one by one.Test machine, after receiving test instruction, can send the order of test instruction, perform all test instructions received one by one according to server.
In an optional implementation of the present embodiment, test machine test instruction being sent to test machine address to specify one by one can comprise: in response to receiving the complete information of current test instruction that test machine returns, send next test instruction to test machine.Particularly, after test machine successfully executes a test instruction, the complete information of a current test instruction will be returned to server, such as, the return code of a certain content.After server receives this information, next test instruction of current test instruction can be sent to test machine.Like this, on test machine, each all only execution test instruction, is convenient to server and monitors whole test process.
In the present embodiment, can be resolved by key word and determine testing procedure, then generate test instruction accordingly and send to the test machine of execution.The send mode of this test instruction, can accurately obtain each testing procedure, and guarantees that test machine can perform all test instructions one by one.
With further reference to Fig. 4, it illustrates the exemplary process diagram of the method for testing software according to another embodiment of the application.Be with the difference of the embodiment shown in Fig. 2, the executive agent of the method for testing software that the present embodiment provides is client.
As shown in Figure 4, in step 401, test case mark and test machine address is received by browser page.
In the present embodiment, client can be provided with web browser applications.When user needs to carry out software test, the mark of the test case will be able to tested by the input of the page of web browser, and the address of test machine.That is, in the present embodiment, can directly using browser page as a software test interface.Client can receive by browser page the test case mark and test machine address that user specifies.
Then, in step 402, software test request is initiated to server.This software test request comprises test case mark and test machine address, test case is obtained based on test case mark to make server, the test machine sending to test machine address to specify test instruction corresponding for test case, and the test result returned by test machine sends to client.
In the present embodiment, client can send software test request to server, is included in the test case mark and test machine address that obtain in above-mentioned steps 401 in this software test request.Server, after obtaining above-mentioned test case mark and test machine address, can perform corresponding software test function.Concrete implementation is described in detail in fig. 2, repeats no more herein.
Finally, in step 403, receive and the test result returned by browser page presence server.
In the present embodiment, client can the software test result that returns of reception server, and this test result is displayed by browser page.In a kind of possible realization, by the mode of text description, test result can be presented by browser page.Such as, the Word message such as " current test execution is complete, does not pinpoint the problems " or " current test fails to be finished, and testing procedure XX performs failure " can be presented in browser page.
In an optional implementation of the present embodiment, method for testing software can also comprise: the descriptor being presented the testing procedure of test case by browser page.In the present embodiment, client can receive the descriptor of the testing procedure returned by server, and these information is presented in as in the browser page at software test interface.Such as, client can present descriptor by the mode of list in browser page, and a line in list can comprise whole descriptors of a testing procedure.Alternatively, client can also initiate the request of the testing procedure of the current execution of inquiry to server; And in response to the Query Result that server returns, change the display effect of the descriptor corresponding to testing procedure of current execution.In software test procedure, server can safeguard a state table, and this state table may be used for the numbering of the testing procedure recording current execution.When performing certain testing procedure, when namely test instruction corresponding for this step being sent to test machine, the numbering recorded can be updated to the serial number of current procedures in state table.Client can also start a query task, sends request to server with certain frequency, inquires about the implementation progress of current test case, until test case is normal or improper end.After server receives this inquiry request, directly the testing procedure recorded in state table numbering can be returned to client.Client can determine the testing procedure of current execution according to numbering, and changes the display effect of the descriptor corresponding to testing procedure shown by web browser, current execution.Such as, can by highlighted for corresponding descriptor display.Like this, user just can understand current testing progress in real time, conveniently controls test process further.
In another optional implementation of the present embodiment, method for testing software can also comprise: receive test process steering order by browser page; Test process steering order is sent to server.Particularly, client can also receive the test process steering order of user's input by browser page, and these instructions is transmitted to server, so that server controls current software test procedure accordingly.
The method for testing software that the above embodiments of the present application provide, software test request can be initiated to server by the browser page in client, then receive and show the test result that server returns, make client not to need the on-line testing that any test environment just can complete software is installed, thus expansion software test scope, improve Efficiency of Software Testing and convenience.
Although it should be noted that the operation describing the inventive method in the accompanying drawings with particular order, this is not that requirement or hint must perform these operations according to this particular order, or must perform the result that all shown operation could realize expectation.On the contrary, the step described in process flow diagram can change execution sequence.Additionally or alternatively, some step can be omitted, multiple step be merged into a step and perform, and/or a step is decomposed into multiple step and perform.
Please refer to Fig. 5, it illustrates the structural representation of the software testing device according to the application's embodiment.In one implementation, this software testing device can be arranged in server.
As shown in Figure 5, software testing device 500 can comprise: receiver module 510, acquisition module 520, test module 530 and sending module 540.
Receiver module 510, for receiving the software test request that client is initiated, software test request comprises test case mark and test machine address.
Acquisition module 520, for obtaining test case based on test case mark.
Test module 530, for the test machine sending to test machine address to specify test instruction corresponding for test case.
Sending module 540, sends to client for the test result returned by test machine.
In an optional implementation of the present embodiment, test module 530 can also comprise: resolution unit, generation unit and test cell.
Resolution unit, for carrying out key word parsing to test case, determines at least one testing procedure.
Generation unit, for for each testing procedure, generates a test instruction respectively.
Test cell, the test machine of specifying for test instruction being sent to one by one test machine address.
In an optional implementation of the present embodiment, test cell is further used for, in response to receiving the complete information of current test instruction that test machine returns, sending next test instruction to test machine.
In an optional implementation of the present embodiment, sending module 540 is also for returning to client by the descriptor of at least one testing procedure.
In an optional implementation of the present embodiment, receiver module 510 is also for receiving the test process steering order that client sends.Software testing device 500 can also comprise control module, in response to test process steering order, performs corresponding control operation to the process of transmitting of test instruction.
Please refer to Fig. 6, it illustrates the structural representation of the software testing device according to another embodiment of the application.In one implementation, this software testing device can be arranged in client.
As shown in Figure 6, software testing device 600 can comprise: receiver module 610, sending module 620 and present module 630.
Receiver module 610, for receiving test case mark and test machine address by browser page.
Sending module 620, for initiating software test request to server, software test request comprises test case mark and test machine address, test case is obtained based on test case mark to make server, the test machine sending to test machine address to specify test instruction corresponding for test case, and the test result returned by test machine sends to client.
Present module 630, for receiving and the test result returned by browser page presence server.
In the optional implementation of the present embodiment, present module 630 also for the descriptor being presented the testing procedure of test case by browser page.
In an optional implementation of the present embodiment, software testing device 600 can also comprise: enquiry module, for initiating the request of the testing procedure of the current execution of inquiry to server.Present the Query Result that module 630 is further used for returning in response to server, change the display effect of the descriptor corresponding to testing procedure of current execution.
In an optional implementation of the present embodiment, receiver module 610 is also for receiving test process steering order by browser page; Sending module 620 is also for sending to server by test process steering order.
Should be appreciated that all modules recorded in software testing device 500 are corresponding with each step in the method described with reference to figure 2.The all modules recorded in software testing device 600 are corresponding with each step in the method described with reference to figure 4.Corresponding module in software testing device 500 and software testing device 600 can cooperatively interact the scheme realized in the embodiment of the present application.
Please refer to Fig. 7, it illustrates the structural representation of the software testing system according to the application's embodiment.
As shown in Figure 7, software testing system 700 can comprise: client 710 and server 720.Wherein, in client 710, the software testing device shown in Fig. 6 can be provided with, in server 720, the software testing device shown in Fig. 5 can be provided with.Particularly:
Client 710, for receiving test case mark and test machine address by browser page; Initiate software test request to server 720, software test request comprises test case mark and test machine address; Receive and the test result returned by browser page presence server 720.
Server 720, for receiving the software test request that client 710 is initiated; Test case is obtained based on test case mark; The test machine sending to test machine address to specify test instruction corresponding for test case; And the test result to be returned by test machine sends to client 710.
The software testing device that the above embodiments of the present application provide and software testing system, can send to server by client by software test request, then sends to the test machine of specifying to carry out software test corresponding test instruction by server.Receive test request by server and send test instruction, the on-line testing of software can be realized, thus expansion software test scope, improve Efficiency of Software Testing and convenience.
Below with reference to Fig. 8, it illustrates the structural representation of the computer system 800 of client or the server be suitable for for realizing the embodiment of the present application.
As shown in Figure 8, computer system 800 comprises CPU (central processing unit) (CPU) 801, and it or can be loaded into the program random access storage device (RAM) 803 from storage area 808 and perform various suitable action and process according to the program be stored in ROM (read-only memory) (ROM) 802.In RAM803, also store system 800 and operate required various program and data.CPU801, ROM802 and RAM803 are connected with each other by bus 804.I/O (I/O) interface 805 is also connected to bus 804.
I/O interface 805 is connected to: the importation 806 comprising keyboard, mouse etc. with lower component; Comprise the output 807 of such as cathode-ray tube (CRT) (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.; Comprise the storage area 808 of hard disk etc.; And comprise the communications portion 809 of network interface unit of such as LAN card, modulator-demodular unit etc.Communications portion 809 is via the network executive communication process of such as the Internet.Driver 810 is also connected to I/O interface 805 as required.Detachable media 811, such as disk, CD, magneto-optic disk, semiconductor memory etc., be arranged on driver 810 as required, so that the computer program read from it is mounted into storage area 808 as required.
Especially, according to embodiment of the present disclosure, the process that reference flow sheet describes above may be implemented as computer software programs.Such as, embodiment of the present disclosure comprises a kind of computer program, and it comprises the computer program visibly comprised on a machine-readable medium, and described computer program comprises the program code for the method shown in flowchart.In such embodiments, this computer program can be downloaded and installed from network by communications portion 809, and/or is mounted from detachable media 811.
Process flow diagram in accompanying drawing and block diagram, illustrate according to the architectural framework in the cards of the system of various embodiments of the invention, method and computer program product, function and operation.In this, each square frame in process flow diagram or block diagram can represent a part for module, program segment or a code, and a part for described module, program segment or code comprises one or more executable instruction for realizing the logic function specified.Also it should be noted that at some as in the realization of replacing, the function marked in square frame also can be different from occurring in sequence of marking in accompanying drawing.Such as, in fact the square frame that two adjoining lands represent can perform substantially concurrently, and they also can perform by contrary order sometimes, and this determines according to involved function.Also it should be noted that, the combination of the square frame in each square frame in block diagram and/or process flow diagram and block diagram and/or process flow diagram, can realize by the special hardware based system of the function put rules into practice or operation, or can realize with the combination of specialized hardware and computer instruction.
Be described in unit involved in the embodiment of the present application to be realized by the mode of software, also can be realized by the mode of hardware.Described unit also can be arranged within a processor, such as, can be described as: a kind of processor comprises receiver module, acquisition module, test module and sending module.Wherein, the title of these modules does not form the restriction to this module itself under certain conditions, and such as, receiver module can also be described to " for receiving the module of the software test request that client is initiated ".
As another aspect, present invention also provides a kind of computer-readable recording medium, this computer-readable recording medium can be the computer-readable recording medium comprised in device described in above-described embodiment; Also can be individualism, be unkitted the computer-readable recording medium allocated in terminal.Described computer-readable recording medium stores more than one or one program, and described program is used for performance description in the method for testing software of the application by one or more than one processor.
More than describe and be only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art are to be understood that, invention scope involved in the application, be not limited to the technical scheme of the particular combination of above-mentioned technical characteristic, also should be encompassed in when not departing from described inventive concept, other technical scheme of being carried out combination in any by above-mentioned technical characteristic or its equivalent feature and being formed simultaneously.The technical characteristic that such as, disclosed in above-mentioned feature and the application (but being not limited to) has similar functions is replaced mutually and the technical scheme formed.

Claims (19)

1. a method for testing software, is characterized in that, described method comprises:
Test case mark and test machine address is received by browser page;
Software test request is initiated to server, described software test request comprises described test case mark and test machine address, test case is obtained based on described test case mark to make described server, test instruction corresponding for described test case is sent to the test machine that described test machine address is specified, and the test result that described test machine returns is sent to client;
Receive and present by described browser page the test result that described server returns.
2. method according to claim 1, is characterized in that, also comprises:
The descriptor of the testing procedure of described test case is presented by described browser page.
3. method according to claim 2, is characterized in that, also comprises:
The request of the testing procedure of the current execution of inquiry is initiated to described server;
In response to the Query Result that described server returns, change the display effect of the descriptor corresponding to testing procedure of described current execution.
4. method according to claim 1, is characterized in that, also comprises:
Test process steering order is received by described browser page;
Described test process steering order is sent to described server.
5. a method for testing software, is characterized in that, described method comprises:
Receive the software test request that client is initiated, described software test request comprises test case mark and test machine address;
Test case is obtained based on described test case mark;
Test instruction corresponding for described test case is sent to the test machine that described test machine address is specified; And
The test result that described test machine returns is sent to described client.
6. method according to claim 5, is characterized in that, the described test machine sending to described test machine address to specify test instruction corresponding for described test case comprises:
Key word parsing is carried out to described test case, determines at least one testing procedure;
For testing procedure described in each, generate a test instruction respectively;
Described test instruction is sent to one by one the test machine that described test machine address is specified.
7. method according to claim 6, is characterized in that, the described test machine sending to described test machine address to specify one by one described test instruction comprises:
In response to receiving the complete information of current test instruction that described test machine returns, send next test instruction to described test machine.
8. the method according to claim 6 or 7, is characterized in that, also comprises:
The descriptor of at least one testing procedure described is returned to described client.
9. method according to claim 5, is characterized in that, also comprises:
Receive the test process steering order that described client sends;
In response to described test process steering order, corresponding control operation is performed to the process of transmitting of described test instruction.
10. a software testing device, is characterized in that, described device comprises:
Receiver module, for receiving test case mark and test machine address by browser page;
Sending module, for initiating software test request to server, described software test request comprises described test case mark and test machine address, test case is obtained based on described test case mark to make described server, test instruction corresponding for described test case is sent to the test machine that described test machine address is specified, and the test result that described test machine returns is sent to client;
Present module, for receiving and presenting by described browser page the test result that described server returns.
11. devices according to claim 10, is characterized in that, described in present module also for:
The descriptor of the testing procedure of described test case is presented by described browser page.
12. devices according to claim 11, is characterized in that, also comprise:
Enquiry module, for initiating the request of the testing procedure of the current execution of inquiry to described server;
The described Query Result presenting module and be further used for returning in response to described server, changes the display effect of the descriptor corresponding to testing procedure of described current execution.
13. devices according to claim 10, is characterized in that,
Described receiver module is also for receiving test process steering order by described browser page;
Described sending module is also for sending to described server by described test process steering order.
14. 1 kinds of software testing devices, is characterized in that, described device comprises:
Receiver module, for receiving the software test request that client is initiated, described software test request comprises test case mark and test machine address;
Acquisition module, for obtaining test case based on described test case mark;
Test module, the test machine of specifying for test instruction corresponding for described test case being sent to described test machine address; And
Sending module, the test result for being returned by described test machine sends to described client.
15. devices according to claim 14, is characterized in that, described test module comprises:
Resolution unit, for carrying out key word parsing to described test case, determines at least one testing procedure;
Generation unit, for for testing procedure described in each, generates a test instruction respectively;
Test cell, the test machine of specifying for described test instruction being sent to one by one described test machine address.
16. devices according to claim 15, is characterized in that, described test cell is further used for, in response to receiving the complete information of current test instruction that described test machine returns, sending next test instruction to described test machine.
17. devices according to claim 15 or 16, it is characterized in that, described sending module is also for returning to described client by the descriptor of at least one testing procedure described.
18. devices according to claim 14, is characterized in that,
Described receiver module is also for receiving the test process steering order that described client sends;
Described server also comprises control module, in response to described test process steering order, performs corresponding control operation to the process of transmitting of described test instruction.
19. 1 kinds of software testing systems, is characterized in that, described system comprises the software testing device described in any one of claim 10-13 and the software testing device described in any one of claim 14-18.
CN201510594413.1A 2015-09-17 2015-09-17 Method, device, and system for software test Pending CN105260299A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510594413.1A CN105260299A (en) 2015-09-17 2015-09-17 Method, device, and system for software test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510594413.1A CN105260299A (en) 2015-09-17 2015-09-17 Method, device, and system for software test

Publications (1)

Publication Number Publication Date
CN105260299A true CN105260299A (en) 2016-01-20

Family

ID=55099999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510594413.1A Pending CN105260299A (en) 2015-09-17 2015-09-17 Method, device, and system for software test

Country Status (1)

Country Link
CN (1) CN105260299A (en)

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528297A (en) * 2016-01-29 2016-04-27 广州酷狗计算机科技有限公司 Method and device for testing web page
CN106201879A (en) * 2016-07-08 2016-12-07 中国银联股份有限公司 A kind of automated testing method and device
CN106406279A (en) * 2016-09-28 2017-02-15 北京小米移动软件有限公司 Equipment testing method, apparatus and electronic device
CN106817276A (en) * 2016-12-26 2017-06-09 东信和平科技股份有限公司 Intelligent card test method, mobile terminal and test system
CN106959921A (en) * 2017-02-20 2017-07-18 百度在线网络技术(北京)有限公司 Automatic test approach, terminal, platform and system
CN106991040A (en) * 2016-07-20 2017-07-28 平安科技(深圳)有限公司 Data-interface method of testing and device
CN107045475A (en) * 2016-02-06 2017-08-15 北京京东尚科信息技术有限公司 Method of testing and device
CN107256195A (en) * 2017-06-08 2017-10-17 武汉斗鱼网络科技有限公司 Webpage front-end method of testing and device
WO2017197829A1 (en) * 2016-05-19 2017-11-23 中兴通讯股份有限公司 Test information management method and apparatus, and test case execution system and device
CN107783897A (en) * 2017-02-16 2018-03-09 平安科技(深圳)有限公司 Method for testing software and device
CN108009093A (en) * 2017-12-22 2018-05-08 北京远特科技股份有限公司 A kind of method for testing software, apparatus and system
CN108491326A (en) * 2018-03-21 2018-09-04 重庆金融资产交易所有限责任公司 Behavioral test recombination method, device and storage medium
CN108694120A (en) * 2017-04-12 2018-10-23 北京京东尚科信息技术有限公司 The method and apparatus of testing service component
CN109062786A (en) * 2018-07-16 2018-12-21 北京百度网讯科技有限公司 Operation method, device and the terminal of test case
CN109388572A (en) * 2018-10-16 2019-02-26 郑州云海信息技术有限公司 A kind of method for testing software and system
CN109446071A (en) * 2018-09-26 2019-03-08 深圳壹账通智能科技有限公司 Interface test method, interface test device, electronic equipment and storage medium
CN110297766A (en) * 2019-06-03 2019-10-01 合肥移瑞通信技术有限公司 Method for testing software and software testing system based on distributed test node cluster
CN110554936A (en) * 2018-06-04 2019-12-10 记忆科技(深圳)有限公司 SSD (solid State disk) testing method and system
CN110837467A (en) * 2019-10-30 2020-02-25 深圳开立生物医疗科技股份有限公司 Software testing method, device and system
CN110851308A (en) * 2019-10-21 2020-02-28 香港乐蜜有限公司 Test method, test device, electronic equipment and storage medium
CN111444088A (en) * 2020-03-11 2020-07-24 广州虎牙科技有限公司 Test case calling method and device for interface test
CN111625451A (en) * 2020-05-19 2020-09-04 北京百度网讯科技有限公司 Initialization method, device, equipment and medium for automatic test environment
CN111782547A (en) * 2020-07-24 2020-10-16 迈普通信技术股份有限公司 Equipment testing method, device, server and readable storage medium
WO2021135809A1 (en) * 2019-12-30 2021-07-08 北京金山云网络技术有限公司 Testing method, device, terminal apparatus, and storage medium
CN113127338A (en) * 2021-03-22 2021-07-16 四川锐明智通科技有限公司 Firmware testing method, server and computer readable storage medium
CN113191114A (en) * 2021-04-30 2021-07-30 北京百度网讯科技有限公司 Method and apparatus for authenticating a system
CN116010185A (en) * 2023-03-22 2023-04-25 合肥联宝信息技术有限公司 Equipment testing method, server, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1851655A (en) * 2005-11-07 2006-10-25 华为技术有限公司 Method for realizing product automatic test by test environment composed of test set
US20110016453A1 (en) * 2009-07-16 2011-01-20 Accenture Global Services Gmbh Modularizing and aspectizing graphical user interface directed test scripts
CN103530231A (en) * 2013-10-12 2014-01-22 北京京东尚科信息技术有限公司 Application program testing method and system based on service process control
CN104834595A (en) * 2015-02-15 2015-08-12 网易(杭州)网络有限公司 Visual automatic test method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1851655A (en) * 2005-11-07 2006-10-25 华为技术有限公司 Method for realizing product automatic test by test environment composed of test set
US20110016453A1 (en) * 2009-07-16 2011-01-20 Accenture Global Services Gmbh Modularizing and aspectizing graphical user interface directed test scripts
CN103530231A (en) * 2013-10-12 2014-01-22 北京京东尚科信息技术有限公司 Application program testing method and system based on service process control
CN104834595A (en) * 2015-02-15 2015-08-12 网易(杭州)网络有限公司 Visual automatic test method and system

Cited By (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528297A (en) * 2016-01-29 2016-04-27 广州酷狗计算机科技有限公司 Method and device for testing web page
CN107045475B (en) * 2016-02-06 2020-09-01 北京京东尚科信息技术有限公司 Test method and device
CN107045475A (en) * 2016-02-06 2017-08-15 北京京东尚科信息技术有限公司 Method of testing and device
WO2017197829A1 (en) * 2016-05-19 2017-11-23 中兴通讯股份有限公司 Test information management method and apparatus, and test case execution system and device
CN107402854A (en) * 2016-05-19 2017-11-28 中兴通讯股份有限公司 Test information management method, apparatus, test case execution system and equipment
CN106201879A (en) * 2016-07-08 2016-12-07 中国银联股份有限公司 A kind of automated testing method and device
CN106991040B (en) * 2016-07-20 2020-05-05 平安科技(深圳)有限公司 Data interface testing method and device
CN106991040A (en) * 2016-07-20 2017-07-28 平安科技(深圳)有限公司 Data-interface method of testing and device
CN106406279A (en) * 2016-09-28 2017-02-15 北京小米移动软件有限公司 Equipment testing method, apparatus and electronic device
CN106817276A (en) * 2016-12-26 2017-06-09 东信和平科技股份有限公司 Intelligent card test method, mobile terminal and test system
CN107783897A (en) * 2017-02-16 2018-03-09 平安科技(深圳)有限公司 Method for testing software and device
CN106959921A (en) * 2017-02-20 2017-07-18 百度在线网络技术(北京)有限公司 Automatic test approach, terminal, platform and system
CN108694120A (en) * 2017-04-12 2018-10-23 北京京东尚科信息技术有限公司 The method and apparatus of testing service component
CN107256195B (en) * 2017-06-08 2019-01-29 武汉斗鱼网络科技有限公司 Webpage front-end test method and device
CN107256195A (en) * 2017-06-08 2017-10-17 武汉斗鱼网络科技有限公司 Webpage front-end method of testing and device
CN108009093A (en) * 2017-12-22 2018-05-08 北京远特科技股份有限公司 A kind of method for testing software, apparatus and system
CN108491326A (en) * 2018-03-21 2018-09-04 重庆金融资产交易所有限责任公司 Behavioral test recombination method, device and storage medium
CN108491326B (en) * 2018-03-21 2024-02-02 重庆金融资产交易所有限责任公司 Test behavior a recombination process apparatus and storage medium
CN110554936A (en) * 2018-06-04 2019-12-10 记忆科技(深圳)有限公司 SSD (solid State disk) testing method and system
CN109062786A (en) * 2018-07-16 2018-12-21 北京百度网讯科技有限公司 Operation method, device and the terminal of test case
CN109446071A (en) * 2018-09-26 2019-03-08 深圳壹账通智能科技有限公司 Interface test method, interface test device, electronic equipment and storage medium
CN109388572A (en) * 2018-10-16 2019-02-26 郑州云海信息技术有限公司 A kind of method for testing software and system
CN110297766A (en) * 2019-06-03 2019-10-01 合肥移瑞通信技术有限公司 Method for testing software and software testing system based on distributed test node cluster
CN110851308A (en) * 2019-10-21 2020-02-28 香港乐蜜有限公司 Test method, test device, electronic equipment and storage medium
CN110837467A (en) * 2019-10-30 2020-02-25 深圳开立生物医疗科技股份有限公司 Software testing method, device and system
CN110837467B (en) * 2019-10-30 2024-04-16 深圳开立生物医疗科技股份有限公司 Software testing method, device and system
WO2021135809A1 (en) * 2019-12-30 2021-07-08 北京金山云网络技术有限公司 Testing method, device, terminal apparatus, and storage medium
CN113127323A (en) * 2019-12-30 2021-07-16 北京金山云网络技术有限公司 Test method, test device, terminal equipment and storage medium
CN111444088A (en) * 2020-03-11 2020-07-24 广州虎牙科技有限公司 Test case calling method and device for interface test
CN111444088B (en) * 2020-03-11 2024-03-01 广州虎牙科技有限公司 Test case calling method and device for interface test
CN111625451A (en) * 2020-05-19 2020-09-04 北京百度网讯科技有限公司 Initialization method, device, equipment and medium for automatic test environment
CN111625451B (en) * 2020-05-19 2023-03-21 北京百度网讯科技有限公司 Initialization method, device, equipment and medium for automatic test environment
CN111782547A (en) * 2020-07-24 2020-10-16 迈普通信技术股份有限公司 Equipment testing method, device, server and readable storage medium
CN113127338A (en) * 2021-03-22 2021-07-16 四川锐明智通科技有限公司 Firmware testing method, server and computer readable storage medium
CN113191114B (en) * 2021-04-30 2023-11-10 北京百度网讯科技有限公司 Method and apparatus for validating a system
CN113191114A (en) * 2021-04-30 2021-07-30 北京百度网讯科技有限公司 Method and apparatus for authenticating a system
CN116010185A (en) * 2023-03-22 2023-04-25 合肥联宝信息技术有限公司 Equipment testing method, server, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105260299A (en) Method, device, and system for software test
US10387292B2 (en) Determining application test results using screenshot metadata
US8938683B2 (en) Visual state comparator
CN105099811A (en) Interface testing method and device
CN111078539B (en) Test method, device, system and computer readable storage medium
CN108111364B (en) Service system testing method and device
CN102929971B (en) Multimedia information playing method and system
CN109726108B (en) Front-end code testing method, device, system and medium based on analog data
CN112115337B (en) Method and device for displaying data, electronic equipment and computer readable storage medium
EP4075283A1 (en) Method and apparatus for continuous integration testing
CN111953775A (en) Data transmission method and device
CN111159040A (en) Test data generation method, device, equipment and storage medium
CN112988588B (en) Client software debugging method and device, storage medium and electronic equipment
CN107229565B (en) Test method and device
CN105139217A (en) Method, apparatus and system used for acquiring user information
CN107305528B (en) Application testing method and device
CN105808628B (en) Webpage code-transferring method, apparatus and system
CN114936151A (en) Display method, device, equipment, storage medium and communication system of debugging page
CN111506340B (en) Business rule information processing method, device and system
CN108170557B (en) Method and apparatus for outputting information
CN113495498A (en) Simulation method, simulator, device, and medium for hardware device
CN108459890B (en) Interface display method and device for application
CN112214497A (en) Label processing method and device and computer system
US11714804B2 (en) Method and apparatus for managing link related to keyword advertisement
JP2018160047A (en) Portable terminal, server device, information process system, control method, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160120

RJ01 Rejection of invention patent application after publication