CN105573905B - Software compatibility test method and system - Google Patents
Software compatibility test method and system Download PDFInfo
- Publication number
- CN105573905B CN105573905B CN201410536384.9A CN201410536384A CN105573905B CN 105573905 B CN105573905 B CN 105573905B CN 201410536384 A CN201410536384 A CN 201410536384A CN 105573905 B CN105573905 B CN 105573905B
- Authority
- CN
- China
- Prior art keywords
- client
- test
- software compatibility
- operational order
- software
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The invention discloses a kind of software compatibility test method and systems.The software compatibility test method executes software compatibility test by multiple client, multiple client includes the first client and the second client, which includes: that the first client obtains the test case tested for executing the software compatibility;First client obtains the operational order for being used for implementation of test cases;First client generates test operation message by test case and operational order;Test operation message is sent to the second client by the first client, and the second client obtains test case and operational order for parsing test operation message;First client and the second client pass through test case and operational order executes software compatibility test.Through the invention, it solves the problems, such as that the testing efficiency of software compatibility test is relatively low, has achieved the effect that improve software compatibility testing efficiency.
Description
Technical field
The present invention relates to software test fields, in particular to a kind of software compatibility test method and system.
Background technique
Operating system be the interface of user and computer and meanwhile be also computer hardware and other software interface.Operation system
The function of system includes hardware, software and the data resource for managing computer system, and control program operation improves man-machine interface, is
Other application software provides support etc., so that all resources of computer system is played a role to the maximum extent, provides various forms
User interface, so that user is had a good working environment, for other softwares exploitation provide it is necessary service and connect accordingly
Mouthful.
Software test is to operate under the defined conditions to program, to find program error, measures software quality, and
Whether the test that design requirement is assessed is able to satisfy to it, is examined using the mode of manual operation or software automatic running
Whether it meets defined demand or understands fully the test of the difference between expected results and actual result.
For example, referring to the application software of same version in different editions in the compatibility test of Windows application software
Test in windows operating system, current this application software compatibility test, basic there are two types of settling mode, Yi Zhongwei
Automatized script test, it is a kind of to be tested for artificial mode, and software under testing automatic test realizes hardly possible in many cases
Degree is very big, at present still based on manual test.When carrying out compatibility test, tester needs in different editions
Identical test case is run in windows operating system, therefore tester often sinks into a large amount of repetitive operation, increase
Real work amount is added, testing efficiency is lower, and human input cost is excessively high.
For the relatively low problem of the testing efficiency of the test of the software compatibility in the related technology, not yet propose at present effective
Solution.
Summary of the invention
The main purpose of the present invention is to provide a kind of software compatibility test method and systems, to solve the software compatibility
The relatively low problem of the testing efficiency of test.
To achieve the goals above, according to an aspect of the invention, there is provided a kind of software compatibility test method.Root
It include: that software compatibility test, multiple client packet are executed by multiple client according to invention software compatibility test method
The first client and the second client are included, software compatibility test method includes: that the acquisition of the first client is simultaneous for executing software
The test case of capacitive test;First client obtains the operational order for being used for implementation of test cases;First client passes through survey
Example on probation and operational order generate test operation message;Test operation message is sent to the second client by the first client, the
Two clients obtain test case and operational order for parsing test operation message;First client and the second client are logical
It crosses test case and operational order executes software compatibility test.
Further, it includes: that the first client will be surveyed that test operation message is sent to the second client by the first client
Examination operation information is sent to server;Second client receives the test operation message of server forwarding.
Further, pass through test case in the first client and the second client and operational order executes software compatibility
Property test before, method further include: the first client to the second client send resolution ratio setting command;Second client receives
Resolution ratio setting command;Resolution ratio is arranged so that the second client and the first client by resolution ratio setting command in second client
The resolution ratio at end is identical.
Further, pass through test case in the first client and the second client and operational order executes software compatibility
Property test after, method further include: the first client reception repeats test instruction;First client obtains selected behaviour
Make message;First client re-executes selected operation information or the second client according to test instruction is repeated
Reception repeats test instruction;Second client obtains selected operation information;Second client according to repeat survey
Examination instruction re-executes selected operation information.
Further, the first client and the second client are used to run the operating system of different editions.
To achieve the goals above, according to another aspect of the present invention, a kind of software compatibility test macro is provided.It should
Test macro includes multiple client, and test macro is used to execute software compatibility test, multiple clients by multiple client
End includes: the first client, for obtaining the test case for executing software compatibility test and being used for implementation of test cases
Operational order, software compatibility test is executed by test case and operational order, and refer to by test case and operation
It enables and generates test operation message;Second client, for receiving the test operation message from the first client, parsing test behaviour
Test case and operational order are obtained as message, and software compatibility test is executed by test case and operational order.
Further, test macro further include: server, for receiving the test operation message of the first client transmission,
Test operation message is forwarded to the second client.
Further, the first client is also used to send resolution ratio setting command to the second client;Second client is also
Resolution ratio is set so that the second client and the first client for receiving resolution ratio setting command, and by resolution ratio setting command
The resolution ratio at end is identical.
Further, the first client, which is also used to receive, repeats test instruction, obtains selected operation information, with
And it is held according to repeating test instruction and re-executing selected operation information or the second client and be also used to receive repetition
Row test instruction obtains selected operation information, and re-executes selected operation according to test instruction is repeated
Message.
Further, the first client and the second client are used to run the operating system of different editions.
Through the invention, in the first client executing compatibility test, the second client obtains the first client executing
The test case and test instruction of compatibility test, the first client and the second client pass through test case and test instruction
Compatibility test is executed, solves the problems, such as that the testing efficiency of software compatibility test is relatively low, and then reached raising software
The effect of compatibility test efficiency.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present invention, schematic reality of the invention
It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of software compatibility test macro according to an embodiment of the present invention;
Fig. 2 is the schematic diagram of software compatibility test macro according to the preferred embodiment of the invention;
Fig. 3 is the process that software compatibility test macro according to the preferred embodiment of the invention executes software compatibility test
Figure;And
Fig. 4 is the flow chart of software compatibility test method according to an embodiment of the present invention.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
Fig. 1 is the schematic diagram of software compatibility test macro according to an embodiment of the present invention.As shown in Figure 1, the software is simultaneous
Capacitive test macro includes: to execute software compatibility test to multiple client, and multiple client includes 10 He of the first client
Second client 20.
Before carrying out software compatibility test to multiple client, multiple client is registered on the server, server
It records the registration information of multiple client and the registration information of all clients is sent to client, client is with the shape of list
Formula shows the user name of current registered client.After multiple client is registered on the server, multiple client is used for
Software compatibility test is executed, when client software a certain in multiple client detection is externally input simultaneous for executing software
Capacitive test operational order after, it is determined that the client be main control end, for example, the first client receive execute software it is simultaneous
The operational order of capacitive test, it is determined that first client 10 is main control end, other clients in multiple client, example
Such as, the second client 20 is controlled terminal.
When multiple client executes software compatibility test, main control end is for obtaining for executing software compatibility test
Test case and operational order for implementation of test cases.
Main control end is used to obtain the test case for being used to execute software compatibility test of user's input and for executing survey
The operational order of example on probation, for example, obtaining user in main control end implementation of test cases and obtaining in main control end to mouse, key
Disk etc. is used for the operational order of implementation of test cases.Main control end obtain for execute the software compatibility test test case and
After the operational order of implementation of test cases, the test that main control end is also used to store for executing software compatibility test is used
Example and for implementation of test cases operational order, and getting for execute the software compatibility test test case and use
After the operational order of implementation of test cases, software compatibility test, Yi Jitong are executed by test case and operational order
It crosses test case and operational order generates test operation message.
Main control end is also used to generate test operation message by test case and operational order, which carries
There is main control end to execute the test case of software compatibility test and the operational order for implementation of test cases, is generating the test
After operation information, main control end executes software compatibility test by the test operation message in main control end.
When multiple client executes software compatibility test, controlled terminal disappears for receiving the test operation from main control end
Breath, parsing test operation message obtain test case and operational order.Preferably, controlled terminal comes for periodically detecting to receive
From the test operation message of main control end, which carries the test case and use that main control end executes compatibility test
In the operational order for executing the test case.After controlled terminal is received from the test operation message of main control end, the test is parsed
Message obtains main control end for executing the test case of compatibility test and the operational order for executing the test case.Quilt
Control operational order of the storage for executing the test case of compatibility test and for executing the test case on end.
Controlled terminal is also used to execute software compatibility test by test case and operational order.Master is got in controlled terminal
After control end is used to execute test case and the operational order of software compatibility test, controlled terminal passes through the test case and operation
Instruction executes software compatibility test on controlled terminal.
The software compatibility test macro provided in the embodiment of the present invention executes software compatibility test by main control end,
Controlled terminal obtains the test case and operational order for implementation of test cases that main control end executes compatibility test, main control end and
Controlled terminal passes through test case and operational order executes software compatibility test, solves the test effect of software compatibility test
The relatively low problem of rate, and then achieved the effect that improve software compatibility testing efficiency.
Preferably, the software compatibility test macro of the embodiment of the present invention can also include server, which is used for
Transmitted test operation information.For example, the server-side receives the test operation message that main control end is sent, test operation message is forwarded
To controlled terminal.
Specifically, after main control end sends test operation message to server, which is used to respond the company of main control end
It connects, receives the test operation message that main control end is sent, which is to carry main control end for executing software compatibility
Property test test case and the operational order for implementation of test cases information.The server stores the test operation message
And the test operation message is forwarded to controlled terminal.It is executed in software compatibility test process to multiple client, the service
Device preferably monitors main control end and controlled terminal executes software compatibility test.
Preferably, in the software compatibility test macro of the embodiment of the present invention, which is also used to store test behaviour
Make message.The test operation message of management client management storage on that server.Specifically, the server by record come
The test operation message is stored, after storing test operation message on that server, management client management is stored in the clothes
The test operation message being engaged on device, for example, management client can disappear to test operation according to the operational order that main control end issues
Breath carries out corresponding operation, such as selected section test operation message, deletion partial test operation information operation.Management client
The controlled terminal of playback can also be executed by the operational order for the execution playback that main control end issues, selection.
Main control end receives the operational order for re-executing software compatibility test of user's input and sends out the operational order
It send to server, which responds the connection of the main control end, and it receives the operational order and is forwarded to management client, management visitor
Family end receives the operational order.Management client selects to need to be implemented software compatibility survey by the operational order on the server
The test operation message selected is sent to by the test operation message of examination and the controlled terminal for selecting to need to be implemented playback, server
The controlled terminal selected, the controlled terminal receive the test operation message and obtain test use by parsing the test operation message
Example and operational order, which directly carries out playback operation in the controlled terminal by the test case and operational order, i.e., logical
It crosses the test case selected and operational order and re-executes software compatibility test in the controlled terminal.By above-mentioned selective
Repeat software compatibility test operation, preferably ensured to software carry out compatibility test accuracy.
Fig. 2 is the schematic diagram of software compatibility test macro according to the preferred embodiment of the invention.As shown in Fig. 2, the reality
The software compatibility test macro for applying example includes multiple client, firewall 30, local area network 40, server 50, wherein Duo Geke
Family end includes client 100, client 201, client 202, client 203, client 204, client 205 and managing customer
End 60.
In the software compatibility test macro of the embodiment, before executing software compatibility test, starting first is taken
Business device 50 and multiple client: client 100, client 201, client 202, client 203, client 204, client
205 and management client 60, multiple client the client-side information is registered on server 50, server 50 records multiple visitors
The registration information of client is simultaneously sent to client by the registration information at family end, receives the client of registration information with list shape
Formula shows the user name of current registered client.After multiple client is registered on server 50, multiple client is used
In executing software compatibility test, when client software a certain in multiple client detection is externally input for executing software
After the operational order of compatibility test, it is determined that the client is main control end, and other clients in multiple client are
Controlled terminal.For example, client 100 receives the operational order for executing software compatibility test, it is determined that the main control end is client
100 are held, it is controlled terminal, including client 201, client that other clients outside management client 60 are removed in multiple client
202, client 203, client 204 and client 205.
Below using main control end as client 100, controlled terminal is described for the citing of client 201, it should be noted that by
Control end is also possible to other clients.Client 100 obtains all mouse-keyboard operational orders for executing test, client
Software compatibility test is executed on end 100.Client 100 sends the test case and operational order in the form of operation information
To server 50, after server 50 receives the operation information, server 50 sends feedback command to client 201.In server
50 complete after sending feedback command, and server 50 stores the operation information received and turns operation information to be sent to client
End 201, after client 201 receives the operation information, client 201 sends feedback command to server 50.Client 201
The operation information received is parsed to obtain and in client 201 by parsing for executing the test of software compatibility test
Use-case and operational order execute software compatibility test.The operational order of finishing control is issued to server 50 in client 100
Afterwards, after server 50 receives the operational order, server 50 no longer obtains and forwards the operation information of client 100.In visitor
After family end 100 and client 201 complete software compatibility test, client 100 and client 201 are nullified on server 50
Information.Process flow diagram flow chart is as shown in Figure 3.It should be noted that management client 60 manages the test being stored on server 50
Operation information, when client needs to re-execute playback operation, management client 60 is referred to by the operation that main control end 100 issues
It enables, the client that selection needs the test operation message played back and needs to be implemented playback operation on server 50.Below with quilt
The controlled terminal selected is described for the citing of client 201, and the test operation message selected is sent to selected by server 50
The client 201 selected, client 201 receive the test operation message and obtain test use by parsing the test operation message
Example and operational order, client 201 directly carry out playback operation in client 201 by the test case and operational order, i.e.,
Software compatibility test is re-executed in client 201 by the test case and operational order that are selected.
Preferably, in the software compatibility test macro of the embodiment of the present invention, main control end is also used to receive and repeat
Test instruction, obtains selected operation information, and disappears according to repeating test instruction and re-executing selected operation
Breath or controlled terminal, which are also used to receive, repeats test instruction, obtains selected operation information, and according to repeating
Test instruction re-executes selected operation information.
Specifically, when main control end needs to re-execute software compatibility test, main control end, which receives, repeats test
Instruction, after reception repeats test instruction, main control end obtains the test case that user chooses in main control end, by this
The test case chosen and the test instruction for executing the test case execute software compatibility test in main control end again.Or
Person, when controlled terminal needs to execute software compatibility test again, controlled terminal, which receives, repeats test instruction, is receiving weight
Multiple execute is tested after instruction, and controlled terminal obtains the test case that user chooses on controlled terminal, is used by selected test
Example and for executing the test case test instruction again controlled terminal execute the software compatibility test.Pass through the test chosen
Use-case is locally re-executing software compatibility test, can repeat software compatibility test at any time convenient for client, protect
The software compatibility test for having demonstrate,proved client is more accurate.
Preferably, it in the software compatibility test macro of the embodiment of the present invention, determines and executes software compatibility test
The resolution ratio of multiple client is identical.For example, main control end sends resolution ratio setting command to controlled terminal;Controlled terminal receives resolution ratio
Setting command, and resolution ratio is arranged so that controlled terminal is identical with the resolution ratio of main control end by resolution ratio setting command.
Specifically, main control end obtains the resolution information being arranged, and the resolution ratio for carrying the information of the resolution ratio is set
It sets instruction and is sent to controlled terminal.Controlled terminal receives resolution ratio setting instruction, and instruction is arranged by parsing the resolution ratio in controlled terminal,
Controlled terminal resolution ratio is arranged by the information of the main control end resolution ratio in the information for obtaining carrying main control end resolution ratio, so that by
It is identical as main control end resolution ratio to control end resolution ratio.When main control end executes software compatibility test, in controlled terminal resolution ratio and master control
It holds in the identical situation of resolution ratio, controlled terminal can be more complete and accurately obtains and show the main control end that controlled terminal parses
For executing the test case of software compatibility test and for the operational order of implementation of test cases.It is controlled by the operation
Operational order of the end according to main control end for executing the test case of software compatibility test and for implementation of test cases executes
Software compatibility test provides guarantee.
Preferably, in the software compatibility test macro of the embodiment of the present invention, the multiple of software compatibility test are executed
The operating system of client operation different editions.For example, main control end and controlled terminal are used to run the operating system of different editions.
The software compatibility test macro executes software compatibility test to multiple client, and multiple client includes master control
End and controlled terminal.Software compatibility test is carried out to the main control end and controlled terminal of operation different editions operating system.Carry out
When software compatibility test, while the software compatibility of different editions operating system is tested, it is simultaneous preferably to promote software
The efficiency of capacitive test.
For example, main control end runs Windows XP operating system, controlled terminal runs Windows Vista operating system,
When executing software compatibility test to main control end and controlled terminal, while testing Windows XP operating system and Windows
The software compatibility of Vista operating system.The efficiency for preferably promoting software compatibility test, effectively reduces compatibility test
Real work amount.
Fig. 4 is the flow chart of software compatibility test method according to an embodiment of the present invention.In the method, by multiple
The test of the client executing software compatibility, multiple client includes the first client and the second client, as shown in figure 4, this is soft
Part compatibility test method includes the following steps, namely S401 to step S405:
Step S401, the first client obtain the test case for executing software compatibility test.
Before carrying out software compatibility test to multiple client, multiple client is registered on the server, server
It records the registration information of multiple client and the registration information of all clients is sent to client, client is with the shape of list
Formula shows the user name of current registered client.After multiple client is registered on the server, multiple client is used for
Software compatibility test is executed, when client software a certain in multiple client detection is externally input simultaneous for executing software
Capacitive test operational order after, it is determined that the client be main control end, for example, the first client receive execute software it is simultaneous
The operational order of capacitive test, it is determined that first client is main control end, is removed outside management client in multiple client
Other clients, for example, the second client is controlled terminal.
The first client for being confirmed as main control end obtains the test case tested for executing the software compatibility.The test
Use-case be for testing in multiple client the software compatibility, with find mistake and whether it is able to satisfy require into
The test case of row assessment.
Step S402, the first client obtain the operational order for being used for implementation of test cases.
It is used by the test that above-mentioned the first client for being confirmed as main control end is obtained for executing software compatibility test
After example, the detection of the first client is all for executing the operational order of the test case in the first client, for example, user
The operational order of test case formation is executed by operations such as mouse, keyboards in the first client, is obtained for executing
The operational order of test case.
Step S403, the first client generate test operation message by test case and operational order.
The first client for being confirmed as main control end generates test behaviour by the test case and operational order of above-mentioned acquisition
Make message.
Test operation message is sent to the second client by step S404, the first client, and the second client is for parsing
Test operation message obtains test case and operational order.
Test operation message is sent to by above-mentioned the first client for being confirmed as main control end and is confirmed as controlled terminal
The second client, the second client periodically receives the test operation message from main control end, which takes
The test case of compatibility test is executed with main control end and the operational order for executing the test case.Second client solution
The test post is analysed, obtains the first client for executing the test case of compatibility test and for executing the test case
Operational order, the second client store the operation for executing the test case of compatibility test and for executing the test case
Instruction.
Step S405, the first client and the second client pass through test case and operational order executes the software compatibility
Test.
The first client for being determined as main control end executes software compatibility test by test case and operational order.It determines
Pass through the reception test operation message for the second client of controlled terminal, parses the test operation message and obtain first client
For executing the test case and operational order of software compatibility test, it is simultaneous that software is executed by the test case and operational order
Capacitive test.
The software compatibility test method provided in the embodiment of the present invention, by the first client for being confirmed as main control end
The test case and operational order for executing software compatibility test are obtained, and the test case and operational order are sent to
It is confirmed as the second client of controlled terminal, the first client and the second client pass through the test case and operational order is held
The test of the row software compatibility solves the problems, such as that the testing efficiency of software compatibility test is relatively low, and then it is soft to have reached raising
The effect of part compatibility test efficiency.
Preferably, software compatibility testing efficiency in order to better improve is surveyed in the software compatibility of the embodiment of the present invention
In method for testing: main control end is also used to select to determine controlled terminal, wherein described be controlled is the visitor tested for executing the software compatibility
Family end.
When client software a certain in multiple client detect it is externally input for execute the software compatibility test
After operational order, it is determined that the client is main control end, for example, the first client, which receives, executes software compatibility test
Operational order, it is determined that first client is main control end, and other clients in multiple client are controlled terminal.It is soft executing
During part compatibility test, the selection that main control end receives user's input determines the operational order of controlled terminal, is referred to by the operation
It enables, main control end selects to determine the controlled terminal for executing software compatibility test in multiple controlled terminals.It main control end and is selected
Determine that operational order of the controlled terminal for executing software compatibility test by test case and for implementation of test cases is held
The test of the row software compatibility.It should be noted that main control end selects determination to be used in multiple controlled terminals by the operational order
Execute the controlled terminal of software compatibility test.Here can be main control end selects all controlled terminals to execute software compatibility test,
Being also possible to main control end selects the part controlled terminal in multiple controlled terminals to execute software compatibility test.In multiple controlled terminals,
It selects to determine that controlled terminal executes software compatibility test by main control end, greatly improves software compatibility testing efficiency.
Preferably, in order to which preferably monitor client executes software compatibility test, the software compatibility of the embodiment of the present invention
Property test method can also include: to be confirmed as the first client of main control end test operation message is sent to server,
The second client for being confirmed as controlled terminal receives the test operation message of server forwarding.Pass through the server monitoring to first
The case where client and the second client executing software compatibility are tested, and record and manage in time and execute software compatibility survey
The historical operation message of examination has reached preferably monitor client and has executed software compatibility test.
Preferably, the software compatibility test method of the embodiment of the present invention can also include: to be confirmed as main control end
The first client be confirmed as the second client of controlled terminal the software compatibility executed by test case and operational order
Before test, the first client sends resolution ratio setting command to the second client;Second client receives resolution ratio setting life
It enables;Second client is by resolution ratio setting command setting resolution ratio so that the resolution ratio phase of the second client and the first client
Together.
Specifically, the first client for being confirmed as main control end obtains the resolution information that main control end has been arranged, and will carry
There is the resolution ratio setting instruction of the information of the resolution ratio to be sent to the second client for being confirmed as controlled terminal.Second client termination
Resolution ratio setting instruction is received, resolution ratio setting instruction is parsed by the second client, obtains carrying the first client point
The second client resolution ratio is arranged by the information of the first client resolution ratio, so that the second client is differentiated in the information of resolution
Rate is identical as the first client resolution ratio.In the first client when executing software compatibility test, differentiated in the second client
In rate situation identical with the first client resolution ratio, the second client can be more complete and accurately shows the second client
The test case of the first client parsed and operational order for implementation of test cases.It is the second client by the operation
It holds the test case according to the first client and the operational order for implementation of test cases to execute software compatibility test to provide
It ensures.
Preferably, the software compatibility test method of the embodiment of the present invention can also include: to be confirmed as main control end
First client executes the software compatibility by test case and operational order with the second client for being confirmed as controlled terminal and surveys
After examination, the reception of the first client repeats test instruction;First client obtains selected operation information;First client
According to repeating, test instruction re-executes selected operation information or the reception of the second client repeats test at end
Instruction;Second client obtains selected operation information;Second client according to repeat test instruction re-execute by
The operation information chosen.Software compatibility test is locally being re-executed by the test case chosen, it can be with convenient for client
Software compatibility test is repeated at any time, ensure that the software compatibility test of client is more accurate.
Preferably, the software compatibility test method of the embodiment of the present invention can also include: to be confirmed as main control end
First client and the second client for being confirmed as controlled terminal are used to run the operating system of different editions.
Wherein, software compatibility test is being executed to multiple client, multiple client includes being confirmed as main control end
First client and the second client for being confirmed as controlled terminal.For example, the first client runs Windows XP operating system,
Second client runs Windows Vista operating system, is executing the software compatibility to the first client and the second client
When test, a software compatibility test is executed, just tests Windows XP operating system and Windows Vista operation system
The software compatibility of system.Preferably promote the efficiency of software compatibility test, the effective real work for reducing compatibility test
Amount.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions
It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not
The sequence being same as herein executes shown or described step.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (8)
1. a kind of software compatibility test method, which is characterized in that software compatibility test is executed by multiple client, it is described
Multiple client includes the first client and the second client, and the software compatibility test method includes:
First client obtains the test case for executing software compatibility test;
First client obtains the operational order for executing the test case;
First client generates test operation message by the test case and the operational order;
The test operation message is sent to second client by first client, and second client is for solving
It analyses the test operation message and obtains the test case and the operational order;And
First client is simultaneous by the test case and operational order execution software with second client
Capacitive test;
Wherein, first client and second client are used to run the operating system of different editions.
2. the method according to claim 1, wherein first client sends the test operation message
Include: to second client
The test operation message is sent to server by first client;And
Second client receives the test operation message of the server forwarding.
3. the method according to claim 1, wherein logical in first client and second client
It crosses before the test case and operational order execution software compatibility test, the method also includes:
First client sends resolution ratio setting command to second client;
Second client receives the resolution ratio setting command;And
Resolution ratio is arranged so that second client and described the by the resolution ratio setting command in second client
The resolution ratio of one client is identical.
4. the method according to claim 1, wherein logical in first client and second client
It crosses after the test case and operational order execution software compatibility test, the method also includes:
The first client reception repeats test instruction;
First client obtains selected operation information;And
First client repeats test instruction according to and re-executes the selected operation information,
Or
The second client reception repeats test instruction;
Second client obtains selected operation information;And
Second client repeats test instruction according to and re-executes the selected operation information.
5. a kind of software compatibility test macro, which is characterized in that the test macro includes multiple client, the test system
For being tested by the multiple client executing software compatibility, the multiple client includes: system
First client, for obtain for execute the software compatibility test test case and for executing the test case
Operational order, software compatibility test is executed by the test case and the operational order, and pass through the test
Use-case and the operational order generate test operation message;
Second client parses the test operation for receiving the test operation message from first client
Message obtains the test case and the operational order, and executes software by the test case and the operational order
Compatibility test;
Wherein, first client and second client are used to run the operating system of different editions.
6. system according to claim 5, which is characterized in that further include:
Server, the test operation message sent for receiving first client, the test operation message is turned
It is sent to second client.
7. system according to claim 5, which is characterized in that
First client is also used to send resolution ratio setting command to second client;
Second client is also used to receive the resolution ratio setting command, and passes through resolution ratio setting command setting point
Resolution is so that second client is identical with the resolution ratio of first client.
8. system according to claim 5, which is characterized in that
First client, which is also used to receive, repeats test instruction, obtains selected operation information, and according to institute
It states to repeat to test to instruct and re-executes the selected operation information,
Or
Second client, which is also used to receive, repeats test instruction, obtains selected operation information, and according to institute
It states to repeat to test to instruct and re-executes the selected operation information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410536384.9A CN105573905B (en) | 2014-10-11 | 2014-10-11 | Software compatibility test method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410536384.9A CN105573905B (en) | 2014-10-11 | 2014-10-11 | Software compatibility test method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105573905A CN105573905A (en) | 2016-05-11 |
CN105573905B true CN105573905B (en) | 2019-03-05 |
Family
ID=55884071
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410536384.9A Active CN105573905B (en) | 2014-10-11 | 2014-10-11 | Software compatibility test method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105573905B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107894948A (en) * | 2016-12-30 | 2018-04-10 | 上海亿账通互联网科技有限公司 | The method and device of resolution ratio compatibility test |
CN107748714A (en) * | 2017-09-08 | 2018-03-02 | 广州视源电子科技股份有限公司 | Application compatibility method of testing, system, server, client and storage medium |
CN110968501A (en) * | 2018-09-30 | 2020-04-07 | 北京奇虎科技有限公司 | Linkage testing method and device for application program compatibility |
CN110134556B (en) * | 2019-05-16 | 2023-08-11 | 深圳市吉祥腾达科技有限公司 | System and method for testing compatibility of operating system of USB wireless network card |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103761189A (en) * | 2014-02-17 | 2014-04-30 | 广东欧珀移动通信有限公司 | Test case management method and system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090199047A1 (en) * | 2008-01-31 | 2009-08-06 | Yahoo! Inc. | Executing software performance test jobs in a clustered system |
CN103365770B (en) * | 2012-04-09 | 2016-01-13 | 上海马乐软件有限公司 | Mobile terminal software test macro and method for testing software |
CN103970650B (en) * | 2014-04-09 | 2017-02-15 | 广州杰赛科技股份有限公司 | Distributed testing method and device |
-
2014
- 2014-10-11 CN CN201410536384.9A patent/CN105573905B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103761189A (en) * | 2014-02-17 | 2014-04-30 | 广东欧珀移动通信有限公司 | Test case management method and system |
Also Published As
Publication number | Publication date |
---|---|
CN105573905A (en) | 2016-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105573905B (en) | Software compatibility test method and system | |
US20120221279A1 (en) | Automatic Test System for Distributed Comprehensive Service and Method Thereof | |
CN107179984A (en) | A kind of interface mock methods and interface test method | |
CN104579822A (en) | Automatic performance test system and method of mobile application based on Http protocol | |
CN103246606B (en) | The performance test methods of ESB platform and system | |
CN105426234B (en) | Database deadlocks detection method and device | |
CN106897207A (en) | Ui testing method and apparatus | |
US20170168881A1 (en) | Process chain discovery across communication channels | |
CN103974312A (en) | WLAN (wireless local area network) equipment testing method, device and system | |
CN108536571A (en) | Performance test methods, device, equipment and computer readable storage medium | |
CN104967644A (en) | Message push method, apparatus and system | |
CN104978262A (en) | Terminal test method and terminal test device | |
CN105204991A (en) | Internet of things test method and device | |
CN112311620A (en) | Method, apparatus, electronic device and readable medium for diagnosing network | |
US20130173965A1 (en) | Fault tracing system and method for remote maintenance | |
CN103001815A (en) | Method, device and system for acquiring test data | |
CN103166980A (en) | Internet data pulling method and system | |
CN105302709B (en) | Test data generating method and equipment | |
US20170220457A1 (en) | Constructing test-centric model of application | |
CN104008055B (en) | The method of software test, equipment and system | |
US10119835B2 (en) | Multi-tenant customer portal | |
US8954576B2 (en) | Test analysis system of network and analysis method thereof | |
CN104967667B (en) | A kind of software stability test remote monitoring system based on cloud service | |
US10009216B2 (en) | Repeat execution of root cause analysis logic through run-time discovered topology pattern maps | |
CN108363658A (en) | A kind of user behavior data acquisition method, intelligent terminal, server-side and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |