CN109933516A - A kind of software stability test method - Google Patents

A kind of software stability test method Download PDF

Info

Publication number
CN109933516A
CN109933516A CN201711371334.XA CN201711371334A CN109933516A CN 109933516 A CN109933516 A CN 109933516A CN 201711371334 A CN201711371334 A CN 201711371334A CN 109933516 A CN109933516 A CN 109933516A
Authority
CN
China
Prior art keywords
client
test
control terminal
software
application 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.)
Withdrawn
Application number
CN201711371334.XA
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.)
Zhenjiang Flying Association Software Development Co Ltd
Original Assignee
Zhenjiang Flying Association Software Development 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 Zhenjiang Flying Association Software Development Co Ltd filed Critical Zhenjiang Flying Association Software Development Co Ltd
Priority to CN201711371334.XA priority Critical patent/CN109933516A/en
Publication of CN109933516A publication Critical patent/CN109933516A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of software stability test methods, belong to automatic test technology field;Method includes: step S1, and the operation of Yu Suoshu client needs the application software to be tested;Step S2 establishes long-range connection, remotely to be controlled the client between the control terminal and the client;The test action set for being associated with the application software is arranged in step S3, Yu Suoshu control terminal;Step S4 remotely controls the client in the control terminal according to the test action set, to realize that the software stability to the application software is tested.The beneficial effect of above-mentioned technical proposal is: aiming at the problem that being able to solve that test process in (SuSE) Linux OS the application software of graphic software platform is more complicated and the Linux system installation same application software of different structure systems executes stability test without general-purpose test tool.

Description

A kind of software stability test method
Technical field
The present invention relates to automatic test technology field more particularly to a kind of software stability test methods.
Background technique
With the rapid development of (SuSE) Linux OS, the user of (SuSE) Linux OS is also more and more, but due to The opening of (SuSE) Linux OS, so that the structure system of different linux systems is had nothing in common with each other, upper application software Test method would also vary from.In other words, in the prior art and be not present a kind of Linux system that can be applied to different editions The test implementation method of the application software especially stability of the application software of graphic software platform tested automatically is carried out in system.
Summary of the invention
According to the above-mentioned problems in the prior art, a kind of technical solution of software stability test method is now provided, Aim to solve the problem that test process in (SuSE) Linux OS for the application software of graphic software platform is more complicated and different frameworks The Linux system installation same application software of system executes the problem of stability test is without general-purpose test tool.
Above-mentioned technical proposal specifically includes:
A kind of software stability test method, suitable for being surveyed automatically to the application software with graphic software platform interface The process of examination;Wherein, including at least one based on (SuSE) Linux OS operation client and one based on Windows grasp Make the control terminal of system operation, further includes:
The operation of step S1, Yu Suoshu client needs the application software to be tested;
Step S2 establishes long-range connection between the control terminal and the client, long-range to carry out to the client Control;
The test action set for being associated with the application software is arranged in step S3, Yu Suoshu control terminal;
Step S4 remotely controls the client in the control terminal according to the test action set, with It realizes and the software stability of the application software is tested.
Preferably, software stability test method, wherein before executing the step S1, following steps are first carried out It is rapid:
Step S11, Yu Suoshu client runs the application software;
Step S12 establishes long-range connection between the control terminal and the client, long-range to carry out to the client Control;
Step S13 adjusts the first interface property of the first operation interface of the client, so that first operation circle The first remote window that face is mapped in the control terminal is all shown in being associated with for the control terminal and described remotely controls In display area;
Step S14 adjusts the second contact surface attribute of the second operation interface of the application software in the client, with The second remote window for being mapped to second operation interface in the control terminal is all shown in the association of the control terminal In in the display area remotely controlled.
Preferably, the software stability test method, wherein in the step S13, to first interface property into After row adjustment, each function button that will be mapped in first operation interface in first remote window is adjusted to equal energy It operates normally.
Preferably, the software stability test method, wherein in the step S14, to the second contact surface attribute into After row adjustment, each function button that will be mapped in second operation interface in second remote window is adjusted to equal energy It operates normally.
Preferably, software stability test method, wherein first interface property includes: first operation circle The screen resolution in face.
Preferably, software stability test method, wherein the second contact surface attribute includes: second operation circle Display position of the face relative to first operation interface.
Preferably, software stability test method, wherein in the step S3, include in the test action set Multiple test actions arranged according to preset order;
In the step S4, the control terminal controls the client successively to the application according to the preset order Software executes the test action.
Preferably, software stability test method, wherein include multiple suitable according to presetting in the test action set The test action of sequence arrangement
In the step S3, while the test action set is arranged in the control terminal again, setting is associated with the survey Try the testing attribute of set of actions;
The testing attribute includes:
The operation content of each test action;And/or
The operating interval time between two adjacent test actions;And/or
The number of operations of each test action;And/or
The number of operations of the test action set;And/or
The power lifetime of the test action set.
Preferably, software stability test method, wherein the client will be associated with the first behaviour of the client Make interface image into the display area of the control terminal, to form one first remote window, and
Second operation interface of the application software being associated in the client is mapped to described by the client In the display area of control terminal, to form one second remote window;
The operation content includes corresponding to each test action to being associated with first remote window Function button and/or be associated with second remote window function button operational motion.
Preferably, software stability test method, wherein the operation content further include:
The position of the function button for being associated with first remote window corresponding to each test action;With/ Or
The position of the function button for being associated with second remote window corresponding to each test action.
Preferably, software stability test method, wherein after executing the step S4, the control terminal output is closed It is coupled to the test result of this software stability test, and is judged according to the test result:
If the test result includes preset test crash item, the software stability test crash is judged.
Preferably, software stability test method, wherein the test crash item includes:
Operating system in the client is collapsed;And/or
The application software run in the client is collapsed;And/or
Delay machine occurs for the operating system in the client;And/or
Delay machine occurs for the application software run in the client.
Preferably, software stability test method, wherein the test result includes completing the software stability to survey The display image of the control terminal being associated in the display area remotely controlled is shown in after examination.
Preferably, software stability test method, wherein the test result includes being associated with the test process Test log file.
Preferably, software stability test method, wherein the test action collection is combined into the simulation client executing The set for the test action that keyboard operation and/or mouse action are realized.
The beneficial effect of above-mentioned technical proposal is: providing a kind of software stability test method, is able to solve Linux operation Test process in system for the application software of graphic software platform is more complicated and the Linux system peace of different structure systems It fills same application software and executes the problem of stability test is without general-purpose test tool.
Detailed description of the invention
Fig. 1 is a kind of overall procedure schematic diagram of software stability test method in preferred embodiment of the invention;
Fig. 2 is to execute the flow diagram before step S1 as shown in fig. 1 in preferred embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art without creative labor it is obtained it is all its His embodiment, shall fall within the protection scope of the present invention.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase Mutually combination.
The present invention will be further explained below with reference to the attached drawings and specific examples, but not as the limitation of the invention.
In preferred embodiment of the invention, it is based on the above-mentioned problems in the prior art, it is steady now to provide a kind of software Qualitative test method, suitable for the process tested automatically the application software with graphic software platform interface, this method according to Rely the client and a control based on Windows operating system operation at least one based on (SuSE) Linux OS operation End processed.
Above-mentioned software stability test method is specifically as shown in Figure 1, comprising:
Step S1 needs application software to be tested in client operation;
Step S2 establishes long-range connection, remotely to be controlled client between control terminal and client;
Step S3 is associated with the test action set of application software in control terminal setting;
Step S4 remotely controls client in control terminal according to test action set, soft to application to realize The software stability of part is tested.
In a specific embodiment, at least one client is set first, and each client runs on identical version Or under the (SuSE) Linux OS of different editions, and a control terminal is set, which is transported based on Windows operating system Row.In other words, the core concept of technical solution of the present invention is: by comparing the Windows system for stablizing, developing comparative maturity It is tested to control the software stability in linux system, to realize the unified test of software stability in linux system.
Then in the embodiment, application software to be tested is needed in need client operation to be tested first, control terminal is subsequent It is remotely connect with needing to establish between client to be tested, to realize the long-range control to client.
Then, the test action of the above-mentioned need application software to be tested in client operation is associated in control terminal setting Set, including the multiple test actions being arranged successively, each test action can be realized by a test script.Test is dynamic Make and its set can hereinafter be described in detail.
Finally, control terminal applies above-mentioned test action set, client is controlled by way of remotely controlling and is applied to Software successively executes above-mentioned test action, to realize the mesh for carrying out software stability test to the application software in client 's.
In preferred embodiment of the invention, before Yu Zhihang above-mentioned steps S1, following steps as shown in Figure 2 are first carried out It is rapid:
Step S11 runs application software in client;
Step S12 establishes long-range connection, remotely to be controlled client between control terminal and client;
Step S13 adjusts the first interface property of the first operation interface of client, so that the first operation interface is mapped to The first remote window in control terminal is all shown in being associated in the display area remotely controlled of control terminal;
Step S14 adjusts the second contact surface attribute of the second operation interface of the application software in client, so that the second behaviour That makees that second remote window of the interface image into control terminal be all shown in control terminal is associated with the display area remotely controlled It is interior.
Specifically, in preferred embodiment of the invention, in order to smoothly execute long-range control, it is remotely being controlled Before, it is necessary first to size and the position of the long-range display window that client is mapped in control terminal are debugged, specifically:
The first interface property for indicating the first operation interface of the desktop operation interface of client is adjusted, first to adjust Whole first operation interface projects to the size of the first remote window of control terminal.Specifically, so-called first interface property, can be with Screen resolution size including above-mentioned first operation interface, i.e. the screen resolution size of the operating system of client.For example, The resolution ratio of screen is tuned up, then above-mentioned first operation interface projects to the size of the first remote window of control terminal just corresponding quilt Amplification;Conversely, screen resolution is turned down, then the size of above-mentioned first remote window is just corresponding reduced.Therefore, can pass through The screen resolution size of the first operation interface is adjusted, to adjust the size of the first remote window, to guarantee the first long-range window Mouth can be more completely shown in the display area of above-mentioned control terminal remotely controlled.
In preferred embodiment of the invention, while being adjusted the first remote window, need to guarantee to be mapped to Each function button in the first operation interface in first remote window is adjusted to operate normally, method particularly includes: it determines Position (i.e. coordinate position) of each function button in above-mentioned first remote window, and determine when each function button is operated Practical function then sets up the connection between the coordinate position of above-mentioned each function button and practical operation effect.Finally to each Function button carries out simulated operation, to ensure that each function button all can be with normal operation.
In preferred embodiment of the invention, after being adjusted to above-mentioned first operation interface, equally to for indicating The second contact surface attribute of second operation interface of the operation interface of application software is adjusted, to adjust second operation interface throwing Shadow to control terminal the second remote window position and size.Specifically, so-called second contact surface attribute may include above-mentioned second Display position of the operation interface relative to the first operation interface.For example, above-mentioned second operation interface of adjustment is relative to the first operation The display position at interface, to guarantee that corresponding second remote window can be more completely shown in above-mentioned first remote window.Into One step, the display position by adjusting above-mentioned second operation interface relative to the first operation interface, it is ensured that corresponding Two remote windows can be shown in the center of above-mentioned first remote window, in order to which tester operates.
It, can be in control terminal, by way of remotely controlling, with the second operation of dragging in preferred embodiment of the invention The means of the size of the second operation interface of interface or scaling are grasped to adjust the second operation interface in client relative to first Make the display position at interface, the display position so as to adjust the second remote window relative to the first remote window.
In preferred embodiment of the invention, while being adjusted the first remote window, need to guarantee to be mapped to Each function button in the first operation interface in first remote window is adjusted to operate normally, and specific method is as above Described, details are not described herein.
In preferred embodiment of the invention, for the same client, above-mentioned adjustment can be held in testing procedure Completion is preset before row, and is applied multiple times under the premise of the operating system of the client keeps and stablizing, i.e., subsequent The test process about the client in without carrying out above-mentioned adjustment again.
It include multiple suitable according to presetting in above-mentioned steps S3, in test action set in preferred embodiment of the invention The test action of sequence arrangement;
Then in above-mentioned steps S3, while test action set is arranged in control terminal again, setting is associated with test action set Testing attribute.
Specifically, in preferred embodiment of the invention, so-called testing attribute, including one kind described below or several Kind:
The operation content of each test action;
The operating interval time between two adjacent test actions;
The number of operations of each test action;
The number of operations of test action set;
The power lifetime of test action set.
In preferred embodiment of the invention, so-called operation content refers at least one described below:
The position of the function button for being associated with the first remote window corresponding to each test action, and it is corresponding each The operational motion to above-mentioned function button of test action;
The position of the function button for being associated with the second remote window corresponding to each test action, and it is corresponding each The operational motion to above-mentioned function button of test action.
In other words, in preferred embodiment of the invention, the operation content of different test actions can be dynamic for the test Make instruction system to operate the function button on the above-mentioned a certain coordinate position of first remote window, and/or instruction system pair Function button on the above-mentioned a certain coordinate position of second remote window is operated.Due to being the application software of graphic software platform, Therefore aforesaid operations content can be realized in such a way that simulant-client executes keyboard operation and/or mouse action, specifically Implementation can hereinafter be described in detail.
In preferred embodiment of the invention, the number of operations of each test action is for indicating different test action quilts The number repeated, and the number of operations of test action set is used to indicate time that a series of test action is executed by circulation Number.
In preferred embodiment of the invention, the power lifetime of test action set refers to test action set quilt The duration of operation.
Then in above-mentioned steps S4, according to preset order, control client is corresponding in turn to execute to test with software and move control terminal Make.
It specifically, can be right in advance in control terminal using simulation key mouse software in a preferred embodiment of the invention The test of this software stability needs the test action done successively to be recorded.The attribute of recording may include:
Set the operation content for multiple test actions that this test includes, i.e., the behaviour executed for which functional module Make;
Set the execution order of different test actions;
The operating time interval between every two adjacent test action is set, such as power-on event needs 300 seconds ability It completes, then boot action to the operating time interval between the latter operational motion can be arranged to 300 seconds;
Set the number that some or certain test actions are repeatedly executed.The initial number of operations of each test action It is 1, if some test action needs are repeatedly executed repeatedly, can be realized by way of changing its number of operations;
The operating conditions of a test action set are set, such as: the number of operations of the circulation of setting test action set, Or setting recycles operate to test action set whithin a period of time.
In preferred embodiment of the invention, it is above-mentioned preset all complete after, it is soft using above-mentioned simulation key mouse Part automatic running in control terminal, to realize the software stability test in client by remotely control.
In preferred embodiment of the invention, after having executed above-mentioned steps S4, it is soft that control terminal output is associated with this The test result of part stability test, and judged according to test result:
If test result includes preset test crash item, software stability test crash is judged.
Specifically, in a preferred embodiment of the invention, above-mentioned test result may include completing software stability It is shown in the display image of control terminal being associated in the display area remotely controlled after test, i.e., is checked for tester The final state of application software.In this embodiment, above-mentioned preset test crash item may include it is described below at least It is a kind of:
Operating system in client is collapsed;
The application software run in client is collapsed;
Delay machine occurs for the operating system in client;
Delay machine occurs for the application software run in client.
In other words, in the embodiment, as long as the end-state of application software is in the above test crash item It is a kind of, then it represents that this software stability test crash.Otherwise, it means that this software stability is successfully tested.
In another preferred embodiment of the invention, above-mentioned test result can also include the survey for being associated with test process Journal file is tried, although then above-mentioned preset test crash item may include that other test crash do not interfere test process The error items continued.Such as in the function button of operation amplification application software window, the window of application software contracts instead It is small;In another example when booting up operation, operating interval time etc. of the available machine time considerably beyond setting.
In another preferred embodiment of the invention, above-mentioned test result can both include above-mentioned display image, also wrap Above-mentioned test log is included, that is, needs after testing is complete to check all test crash items that may be present, if excluding The presence of all test crash items, then this software stability test are just judged as being successfully tested.
In conclusion in technical solution of the present invention, using the control terminal run based on Windows operating system to being based on The client of (SuSE) Linux OS operation is remotely controlled, using mature and performance under Windows operating system Stable automatic testing instrument (such as simulation key mouse software) is to the graphic software platform run under (SuSE) Linux OS using soft Part carries out the automatic test of software stability, is finally completed the unified test to (SuSE) Linux OS.
In a preferred embodiment of the invention, above-mentioned control terminal can be used for remotely controlling a client System, to test the one or more application software run in the client.When testing multiple application software at the same time, it can use The arrange mode of the second different remote windows of different location in above-mentioned first remote window carries out.
In another preferred embodiment of the invention, above-mentioned control terminal can also simultaneously carry out multiple client long-range Control, such as the first different remote windows is dragged into different positions while showing and testing.
The foregoing is merely preferred embodiments of the present invention, are not intended to limit embodiments of the present invention and protection model It encloses, to those skilled in the art, should can appreciate that all with made by description of the invention and diagramatic content Equivalent replacement and obviously change obtained scheme, should all be included within the scope of the present invention.

Claims (9)

1. a kind of software stability test method, suitable for being tested automatically the application software with graphic software platform interface Process;It is characterised in that it includes at least one based on (SuSE) Linux OS operation client and one be based on The control terminal of Windows operating system operation, further includes:
The operation of step S1, Yu Suoshu client needs the application software to be tested;
Step S2 establishes long-range connection, remotely to be controlled the client between the control terminal and the client;
The test action set for being associated with the application software is arranged in step S3, Yu Suoshu control terminal;
Step S4 remotely controls the client in the control terminal according to the test action set, to realize Software stability test to the application software.
2. software stability test method as described in claim 1, which is characterized in that first before executing the step S1 First carry out following step:
Step S11, Yu Suoshu client runs the application software;
Step S12 establishes long-range connection, remotely to be controlled to the client between the control terminal and the client System;
Step S13 adjusts the first interface property of the first operation interface of the client, so that first operation interface is reflected What the first remote window being mapped in the control terminal was all shown in the control terminal is associated with the display remotely controlled In region;
Step S14 adjusts the second contact surface attribute of the second operation interface of the application software in the client, so that institute That states that the second remote window that the second operation interface is mapped in the control terminal is all shown in the control terminal is associated with institute It states in the display area remotely controlled.
3. software stability test method as claimed in claim 2, which is characterized in that in the step S13, to described After one interface property is adjusted, will be mapped to each function in first operation interface in first remote window by Key is adjusted to operate normally.
4. software stability test method as claimed in claim 2, which is characterized in that in the step S14, to described After second interface attribute is adjusted, will be mapped to each function in second operation interface in second remote window by Key is adjusted to operate normally.
5. software stability test method as claimed in claim 2, which is characterized in that first interface property includes: institute State the screen resolution of the first operation interface.
6. software stability test method as claimed in claim 2, which is characterized in that the second contact surface attribute includes: institute State display position of second operation interface relative to first operation interface.
7. software stability test method as described in claim 1, which is characterized in that in the step S3, the test is dynamic Work includes multiple test actions arranged according to preset order in gathering;
Then in the step S4, it is successively soft to the application to control the client according to the preset order for the control terminal Part executes the test action.
8. software stability test method as described in claim 1, which is characterized in that include more in the test action set In step S3 described in a test action according to preset order arrangement, the same of the test action set is arranged in the control terminal again When, setting is associated with the testing attribute of the test action set;
The testing attribute includes:
The operation content of each test action;And/or the operating interval time between two adjacent test actions; And/or the number of operations of each test action;And/or the number of operations of the test action set;And/or the test The power lifetime of set of actions.
9. software stability test method as claimed in claim 8, which is characterized in that the client will be associated with the visitor First operation interface at family end is mapped in the display area of the control terminal, to form one first remote window and described Second operation interface of the application software being associated in the client is mapped to described in the control terminal by client In display area, to form one second remote window;
The operation content includes corresponding to each test action to the function of being associated with first remote window Key and/or be associated with second remote window function button operational motion.
CN201711371334.XA 2017-12-19 2017-12-19 A kind of software stability test method Withdrawn CN109933516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711371334.XA CN109933516A (en) 2017-12-19 2017-12-19 A kind of software stability test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711371334.XA CN109933516A (en) 2017-12-19 2017-12-19 A kind of software stability test method

Publications (1)

Publication Number Publication Date
CN109933516A true CN109933516A (en) 2019-06-25

Family

ID=66983415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711371334.XA Withdrawn CN109933516A (en) 2017-12-19 2017-12-19 A kind of software stability test method

Country Status (1)

Country Link
CN (1) CN109933516A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181811A (en) * 2020-09-14 2021-01-05 麒麟软件有限公司 Application stability testing method
CN112181811B (en) * 2020-09-14 2024-05-10 麒麟软件有限公司 Application stability testing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181811A (en) * 2020-09-14 2021-01-05 麒麟软件有限公司 Application stability testing method
CN112181811B (en) * 2020-09-14 2024-05-10 麒麟软件有限公司 Application stability testing method

Similar Documents

Publication Publication Date Title
US20130263090A1 (en) System and method for automated testing
EP1944663A1 (en) Systems and methods for turbine control simulation
CN110781085B (en) Game automatic testing method, device, terminal and computer storage medium
US20130311827A1 (en) METHOD and APPARATUS for automatic testing of automation software
US20180300225A1 (en) Method, apparatus and system for task automation of computer operations based on ui control and image/text recognition
US10521335B2 (en) Context-based device testing
CN107395747B (en) High-expansion method based on STF platform
WO2020231745A1 (en) Analyzing time-series data in an automated application testing system
Grønli et al. Meeting quality standards for mobile application development in businesses: A framework for cross-platform testing
US10120744B1 (en) Graph execution system and method for a computing environment
CN111190826A (en) Testing method and device for virtual reality immersive tracking environment, storage medium and equipment
US20160072692A1 (en) Two-way remote communication system
CN110287112A (en) Maintaining method, device and the readable storage medium storing program for executing of client
CN112214416A (en) Method and device for debugging small program, electronic equipment and storage medium
CN109933516A (en) A kind of software stability test method
CN113157508B (en) Test method, system, device, equipment and storage medium of embedded system
Raut et al. Android mobile automation framework
CN105487974A (en) Software stability test method
CN113127884A (en) Virtualization-based vulnerability parallel verification method and device
KR102087208B1 (en) Mnemonic based method for gui test automation and apparatus using the same
CN113468069A (en) Application testing method and device, computer equipment and storage medium
CN112579460A (en) Multi-level debugging method based on multi-core embedded system
KR20020029918A (en) Automatic evaluation method and automatic evaluation system and storage medium storing automatic evaluation program
CN112389506A (en) Train signal system and linkage method thereof
Bernstein et al. Debugging in a time-sharing environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20190625