CN105095076A - Method and device for testing compatibility between application software versions - Google Patents

Method and device for testing compatibility between application software versions Download PDF

Info

Publication number
CN105095076A
CN105095076A CN201510424828.4A CN201510424828A CN105095076A CN 105095076 A CN105095076 A CN 105095076A CN 201510424828 A CN201510424828 A CN 201510424828A CN 105095076 A CN105095076 A CN 105095076A
Authority
CN
China
Prior art keywords
application software
sectional drawing
version
click event
test terminal
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.)
Granted
Application number
CN201510424828.4A
Other languages
Chinese (zh)
Other versions
CN105095076B (en
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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510424828.4A priority Critical patent/CN105095076B/en
Publication of CN105095076A publication Critical patent/CN105095076A/en
Application granted granted Critical
Publication of CN105095076B publication Critical patent/CN105095076B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention provides a method and a device for testing compatibility between application software versions. In the method, an auxiliary terminal controls a test terminal to install and start application software belonging to a basic version; sending a trigger instruction about a first type of click event to a test terminal; acquiring a screenshot of user data formed after a trigger instruction about a first-type click event is responded, and taking the acquired screenshot as a first-type screenshot; controlling the test terminal to be installed in a covering manner and starting application software belonging to a test version; sending a trigger instruction about the second type of click event to the test terminal; acquiring a screenshot of user data inquired after a trigger instruction about a second type of click event is responded, and taking the acquired screenshot as a second type of screenshot; and executing predetermined processing on the first type screenshots and the corresponding second type screenshots to determine the compatibility of the test version and the base version of the application software by executing the predetermined processing. Therefore, the scheme achieves the purpose of saving labor and time.

Description

Compatibility test method and device between Software Edition
Technical field
The present invention relates to version technical field of measurement and test, particularly relate to compatibility test method and device between a kind of Software Edition.
Background technology
Along with the competition of application software manufacturer, the version updating of application software is more frequent, each upgrades version and all carries out function increase and function correction etc. to last revision, with by ensureing that user has mode that high user experiences and constantly safeguards and use the user of application software.
Before the renewal version to market issuing application software, need will upgrade version as beta version, by version based on legacy version, and then test analysis is carried out to the compatibility between beta version and basic version, if better compatible, carry out follow-up market and throw in, otherwise, correcting process is carried out to beta version.Wherein, described compatibility is mainly reflected in: after on the basis belonging to basic version application software, covering is installed and belonged to the application software of beta version, belong to user data existing in the application software of basic version whether to exist after the application software belonging to beta version covers installation, if existed, show better compatible, otherwise, compatible poor.Wherein, so-called user data mainly comprises: the relevant setting option of user, browse recorded informations such as record, Download History etc.
Existing compatibility test process, be all test manually, test process comparatively takes time and effort, and when especially needing to test compared with compatible between multi version, can there is higher workload; Wherein, described manual hand manipulation at least comprises: basic version installation, basic version startup, user data generation, the installation of user data record, beta version, beta version startup, user data generation, user data record etc.
Summary of the invention
The object of the embodiment of the present invention is to provide compatibility test method and device between a kind of Software Edition, to pass through the compatibility between robotization mode Test Application software version, thus reaches saving manpower and the object of time.Concrete technical scheme is as follows:
First aspect, embodiments provides compatibility test method between a kind of Software Edition, is applied to accessory terminal, and wherein, described accessory terminal can communicate with the test terminal being responsible for running application software; Described method comprises:
Control described test terminal install and start the to be covered described application software belonging to basic version;
Based on the coordinate that can produce the first kind click event of user data preset, the triggering command about described first kind click event is sent, to make the triggering command of described application software response about described first kind click event belonging to basic version in described test terminal to described test terminal;
Obtain about described first kind click event triggering command by after response the sectional drawing of user data that formed, and using obtained sectional drawing as first kind sectional drawing;
Control described test terminal to cover on the basis of described application software belonging to basic version and install and start the described application software belonging to beta version;
Based on preset can inquire about described first kind click event produce the coordinate of the Equations of The Second Kind click event of user data, the triggering command about described Equations of The Second Kind click event is sent, to make the triggering command of described application software response about described Equations of The Second Kind click event belonging to beta version in described test terminal to described test terminal;
Obtain about described Equations of The Second Kind click event triggering command by after response the sectional drawing of user data that inquires, and using obtained sectional drawing as Equations of The Second Kind sectional drawing;
Predetermined process is performed, to determine the described beta version of described application software and the compatibility of described basic version by performing described predetermined process to described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing.
Optionally, the described test terminal of described control is installed and is started the to be covered described application software belonging to basic version, comprising:
By calling ADB order, controlling described test terminal and install and start the to be covered described application software belonging to basic version;
The described test terminal of described control covers and installs and start the described application software belonging to beta version on the basis of described application software belonging to basic version, comprising:
By calling ADB order, controlling described test terminal and covering on the basis of described application software belonging to basic version and install and start the described application software belonging to beta version.
Optionally, predetermined process being performed to described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing, to determine the described beta version of described application software and the compatibility of described basic version by performing described predetermined process, comprising:
Described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing are carried out pairing output processing, to determine the described beta version of described application software and the compatibility of described basic version by performing described output processing in sectional drawing manual analysis mode.
Optionally, predetermined process being performed to described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing, to determine the described beta version of described application software and the compatibility of described basic version by performing described predetermined process, comprising:
Images match process is carried out to described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing, to determine the described beta version of described application software and the compatibility of described basic version by performing Graphic Pattern Matching process acquired results.
Optionally, described acquisition about described Equations of The Second Kind click event triggering command by after response after the sectional drawing of user data that inquires, also comprise:
Control the described application software that the unloading of described test terminal belongs to beta version.
Second aspect, embodiments provides device for testing compatibility between a kind of Software Edition, is applied to accessory terminal, and wherein, described accessory terminal can communicate with the test terminal being responsible for running application software; Described device comprises:
Basic version installation module, installs for controlling described test terminal and starts the to be covered described application software belonging to basic version;
First triggering command sending module, for based on the coordinate that can produce the first kind click event of user data preset, the triggering command about described first kind click event is sent, to make the triggering command of described application software response about described first kind click event belonging to basic version in described test terminal to described test terminal;
First sectional drawing obtains module, for obtain about described first kind click event triggering command by after response the sectional drawing of user data that formed, and using obtained sectional drawing as first kind sectional drawing;
Beta version installation module, covers and installs for controlling described test terminal and start the described application software belonging to beta version on the basis of described application software belonging to basic version;
Second triggering command sending module, for based on preset can inquire about described first kind click event produce the coordinate of the Equations of The Second Kind click event of user data, the triggering command about described Equations of The Second Kind click event is sent, to make the triggering command of described application software response about described Equations of The Second Kind click event belonging to beta version in described test terminal to described test terminal;
Second sectional drawing obtains module, for obtain about described Equations of The Second Kind click event triggering command by after response the sectional drawing of user data that inquires, and using obtained sectional drawing as Equations of The Second Kind sectional drawing;
Predetermined process execution module, for performing predetermined process, to determine the described beta version of described application software and the compatibility of described basic version by performing described predetermined process to described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing.
Optionally, described basic version installation module, comprising:
Basic version installs submodule, for by calling ADB order, controlling described test terminal and installs and start the to be covered described application software belonging to basic version;
Described beta version installation module, comprising:
Beta version installs submodule, for by calling ADB order, controlling described test terminal and covering on the basis of described application software belonging to basic version and install and start the described application software belonging to beta version.
Optionally, described predetermined process execution module, comprising:
First processing execution submodule, for described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing are carried out pairing output processing, to determine the described beta version of described application software and the compatibility of described basic version by performing described output processing in sectional drawing manual analysis mode.
Optionally, described predetermined process execution module, comprising:
Second processing execution submodule, for carrying out images match process to described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing, to determine the described beta version of described application software and the compatibility of described basic version by performing Graphic Pattern Matching process acquired results.
Optionally, between a kind of Software Edition of providing of the embodiment of the present invention, device for testing compatibility also comprises:
Application software Unload module, for obtain about the triggering command of described Equations of The Second Kind click event by response after after the sectional drawing of user data that inquires, control the described application software that the unloading of described test terminal belongs to beta version.
In the embodiment of the present invention, accessory terminal controls test terminal and installs and start the to be covered described application software belonging to basic version; Based on the coordinate that can produce the first kind click event of user data preset, the triggering command about first kind click event is sent, to make the triggering command of application software response about first kind click event belonging to basic version in test terminal to test terminal; Obtain about first kind click event triggering command by after response the sectional drawing of user data that formed, and using obtained sectional drawing as first kind sectional drawing; Control test terminal covers on the basis of application software belonging to basic version installs and starts the application software belonging to beta version; Based on preset can inquire about first kind click event produce the coordinate of the Equations of The Second Kind click event of user data, the triggering command about Equations of The Second Kind click event is sent, to make the triggering command of described application software response about Equations of The Second Kind click event belonging to beta version in test terminal to test terminal; Obtain about Equations of The Second Kind click event triggering command by after response the sectional drawing of user data that inquires, and using obtained sectional drawing as Equations of The Second Kind sectional drawing; Predetermined process is performed to first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing, to determine the beta version of application software and the compatibility of basic version by performing predetermined process.Visible, this programme by the compatibility between robotization mode Test Application software version, thus can reach saving manpower and the object of time.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The process flow diagram of compatibility test method between a kind of Software Edition that Fig. 1 provides for the embodiment of the present invention;
The structural representation of device for testing compatibility between a kind of Software Edition that Fig. 2 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide compatibility test method and device between a kind of Software Edition, to pass through the compatibility between robotization mode Test Application software version, thus reach saving manpower and the object of time.
Between a kind of Software Edition first provided the embodiment of the present invention below, compatibility test method is introduced.
It should be noted that, between a kind of Software Edition that the embodiment of the present invention provides, compatibility test method is applied to accessory terminal, wherein, this accessory terminal can communicate with the test terminal being responsible for running application software, concrete, accessory terminal can be communicated by USB data line with test terminal, is certainly not limited thereto.Be understandable that, in actual applications, application software to be tested can be Android (android) version, namely the software in the terminal with android operating system can be run on, now, this test terminal can for having the terminal of android operating system, as smart mobile phone, panel computer etc., accordingly, this accessory terminal can be notebook computer, panel computer, desktop computer etc.; Certainly, this application software is not limited to android version, such as: can also be IOS version etc., this be also rational.
Be understandable that, the functional software realizing compatibility test method between a kind of Software Edition that the embodiment of the present invention provides can be the compatibility test software of special setting, also can be the feature card in existing testing software, etc.; Further, the functional software realizing compatibility test method between a kind of Software Edition that the embodiment of the present invention provides can utilize existing script to realize, such as: python script, etc.
As shown in Figure 1, compatibility test method between a kind of Software Edition that the embodiment of the present invention provides, can comprise the steps:
S101, controls test terminal and installs and start to be covered this application software belonging to basic version;
Belong in the process of the compatibility between the application software of basic version and this application software belonging to beta version in test, this accessory terminal can control this test terminal and installs and start to be covered this application software belonging to basic version, to carry out follow-up process.Wherein, it should be noted that, this this application software belonging to basic version can be kept in the first predetermined directories in this test terminal, can control test terminal install and start to be covered this application software belonging to basic version be stored in this first predetermined directories to make this accessory terminal.
Concrete, be for Android (android) version for application software to be tested, this test terminal of described control is installed and is started to be covered this application software belonging to basic version, can comprise:
By calling ADB order, controlling this test terminal and install and start to be covered this application software belonging to basic version.Wherein, the English full name of ADB is AndroidDebugBridge, and it plays the effect of debugging bridge.
It will be understood by those skilled in the art that, by calling ADB (AndroidDebugBridge) order, controlling this test terminal and installing and start the to be covered specific implementation belonging to this application software of basic version and can adopt prior art.In addition, be for non-Android (android) version for application software to be tested, corresponding prior art can be adopted realize control test terminal install and start to be covered this application software belonging to basic version.
S102, based on the coordinate that can produce the first kind click event of user data preset, the triggering command about this first kind click event is sent, to make the triggering command of this application software response about this first kind click event belonging to basic version in this test terminal to this test terminal;
It is emphasized that, between Software Edition, compatibility test is mainly reflected in: after on the basis belonging to basic version application software, covering is installed and belonged to the application software of beta version, belong to user data existing in the application software of basic version whether to exist after the application software belonging to beta version covers installation, if existed, show better compatible, otherwise, compatible poor, wherein, so-called user data mainly comprises: the relevant setting option of user, browse recorded information that record, Download History etc. produce due to user operation etc.Such as: be for browser for application software, if cover installation testing version on the basis of basic version after, the network address record given by application software belonging to beta version is equal to the network address record that user browses based on the application software belonging to basic version, now shows that two versions have good compatibility.
Therefore, belong in the process of the compatibility between the application software of basic version and this application software belonging to beta version in test, if controlled test terminal install and start to be covered this application software belonging to basic version, then can perform the process producing user data, namely based on the coordinate that can produce the first kind click event of user data preset, the triggering command about this first kind click event is sent to this test terminal, to make the triggering command of this application software response about this first kind click event belonging to basic version in this test terminal, thus generate corresponding user data.
Wherein, the first kind click event that can produce user data can be the events such as browsing event, download event, function items are arranged, and different application software can corresponding different first kind click event, and, in actual applications, the first kind click event corresponding to application software can set according to actual conditions; In addition, the coordinate that can produce the first kind click event of user data can be determined in advance, and concrete determination mode can adopt prior art.
S103, obtain about this first kind click event triggering command by after response the sectional drawing of user data that formed, and using obtained sectional drawing as first kind sectional drawing;
After the triggering command of this application software response belonging to basic version in this test terminal about this first kind click event, can obtain about this first kind click event triggering command by after response the sectional drawing of user data that formed, and using obtained sectional drawing as first kind sectional drawing.Be understandable that, the click event that this first kind click event and the application software of follow-up Equations of The Second Kind click event existing for prior art can perform, application software can produce user data by performing this click event.
It should be noted that, for some first kind click event, this application software belonging to basic version in this test terminal is only that adding users data directly can not show current existing user data when responding the triggering command about this first kind click event, now, obtain about this first kind click event triggering command by after response in the process of the sectional drawing of user data that formed, need based on preset can inquire about this first kind click event produce the coordinate of the Equations of The Second Kind click event of user data, the triggering command about this Equations of The Second Kind click event is sent to this test terminal, thus make the triggering command of this application software response about this Equations of The Second Kind click event belonging to beta version in this test terminal, and then show the interface with current existing user data, thus can obtain about this first kind click event triggering command by after response the sectional drawing of user data that formed, for example: when being the event of this kind of only adding users of download event data for first kind click event, owing to needing to enter the sectional drawing that respective downloaded record interface could obtain Download History, therefore, in the process obtaining corresponding sectional drawing, need respectively based on the coordinate of the Download History query event corresponding to download event, the triggering command about this Download History query event is sent to this test terminal, thus make the triggering command of this application software response about this Download History query event belonging to beta version in this test terminal, and then show Download History interface, final realization is about the sectional drawing at this Download History interface.
In addition, for some first kind click event, this application software belonging to basic version in this test terminal can show current existing user data when responding the triggering command about this first kind click event, namely the display interface responded about the triggering command time institute redirect of this first kind click event is the result queries interface of user data, therefore, after the triggering command about this first kind click event is performed, directly obtain the sectional drawing of current display interface; For example: first kind click event is that function items is when arranging, because the display interface responding the triggering command time institute redirect arranged about this function items is the result queries interface of user data, therefore, after the triggering command arranged about this function items is performed, directly obtain the sectional drawing of current display interface.
Wherein, specific implementation accessory terminal being obtained to the sectional drawing of a certain display interface of test terminal can adopt prior art, such as: call the API of the screenshotss function of test terminal thus realize screenshotss process, being certainly not limited thereto.
S104, controls this test terminal and covers on the basis of this application software belonging to basic version and install and start this application software belonging to beta version;
Obtain about the triggering command of this first kind click event by response after after the sectional drawing of user data that formed, in order to realize compatibility test between version, this test terminal can be controlled further and cover on the basis of this application software belonging to basic version and install and start this application software belonging to beta version.Wherein, it should be noted that, this this application software belonging to beta version can be kept in the second predetermined directories in this test terminal, can cover install and start this application software belonging to beta version be stored in this second predetermined directories to make this accessory terminal on the basis of this application software belonging to basic version.
Concrete, be for Android (android) version for application software to be tested, this test terminal of described control covers and installs and start the described application software belonging to beta version on the basis of this application software belonging to basic version, can comprise:
By calling ADB order, controlling this test terminal and covering on the basis of described application software belonging to basic version and install and start this application software belonging to beta version.
It will be understood by those skilled in the art that, by calling ADB order, controlling this test terminal and covering on the basis of described application software belonging to basic version and to install and the specific implementation starting this application software belonging to beta version can adopt prior art.In addition, be for non-Android (android) version for application software to be tested, corresponding prior art can be adopted realize and control this test terminal and cover on the basis of described application software belonging to basic version and install and start this application software belonging to beta version.
S105, based on preset can inquire about this first kind click event produce the coordinate of the Equations of The Second Kind click event of user data, the triggering command about this Equations of The Second Kind click event is sent, to make the triggering command of this application software response about this Equations of The Second Kind click event belonging to beta version in this test terminal to this test terminal;
In order to realize compatibility test between version, cover on the basis of this application software belonging to basic version in this test terminal of control and install and start this application software belonging to beta version, accessory terminal can based on preset can inquire about this first kind click event produce the coordinate of the Equations of The Second Kind click event of user data, the triggering command about this Equations of The Second Kind click event is sent to this test terminal, accordingly, the triggering command of this application software response about this Equations of The Second Kind click event belonging to beta version in this test terminal.Wherein, can inquire about this first kind click event produce the Equations of The Second Kind click event of user data coordinate can determine in advance, concrete determination mode can adopt prior art; Further, the corresponding relation of first kind click event and corresponding second click event can for the corresponding relation pre-determined out.
S106, obtain about this Equations of The Second Kind click event triggering command by after response the sectional drawing of user data that inquires, and using obtained sectional drawing as Equations of The Second Kind sectional drawing;
The triggering command of this application software response about this Equations of The Second Kind click event belonging to beta version in this test terminal, this accessory terminal can obtain about this Equations of The Second Kind click event triggering command by after response the sectional drawing of user data that inquires, and using obtained sectional drawing as Equations of The Second Kind sectional drawing.Wherein, specific implementation accessory terminal being obtained to the sectional drawing of a certain display interface of test terminal can adopt prior art, such as: call the API of the screenshotss function of test terminal thus realize screenshotss process, being certainly not limited thereto.
S107, performs predetermined process, to determine this beta version of this application software and the compatibility of this basic version by performing this predetermined process to this first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing.
In order to realize the compatibility test between the basic version of application software and beta version, after acquisition first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing, predetermined process can be performed, to determine this beta version of this application software and the compatibility of this basic version by performing this predetermined process to this first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing.
In one implementation, concrete, predetermined process being performed to this first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing, to determine this beta version of this application software and the compatibility of this basic version by performing this predetermined process, can comprise:
This first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing are carried out pairing output processing, to determine this beta version of this application software and the compatibility of this basic version by performing this output processing in sectional drawing manual analysis mode.
In the second implementation, concrete, predetermined process being performed to this first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing, to determine this beta version of this application software and the compatibility of this basic version by performing this predetermined process, can comprise:
Images match process is carried out to this first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing, to determine the described beta version of this application software and the compatibility of this basic version by performing Graphic Pattern Matching process acquired results, wherein, if images match process gained similarity is all greater than a certain threshold value, think better compatible, otherwise, determine compatible bad.
It is emphasized that, predetermined process is performed, to determine that the specific implementation of this beta version of this application software and the compatibility of this basic version is not limited to above-mentioned two kinds of implementations by performing this predetermined process to this first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing.Further, in actual applications, in order to improve accuracy, the situation that the layout with the display interface of user data that the implementation of carrying out images match process to this first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing is applied to two versions does not usually change.
In the embodiment of the present invention, accessory terminal controls test terminal and installs and start the to be covered described application software belonging to basic version; Based on the coordinate that can produce the first kind click event of user data preset, the triggering command about first kind click event is sent, to make the triggering command of application software response about first kind click event belonging to basic version in test terminal to test terminal; Obtain about first kind click event triggering command by after response the sectional drawing of user data that formed, and using obtained sectional drawing as first kind sectional drawing; Control test terminal covers on the basis of application software belonging to basic version installs and starts the application software belonging to beta version; Based on preset can inquire about first kind click event produce the coordinate of the Equations of The Second Kind click event of user data, the triggering command about Equations of The Second Kind click event is sent, to make the triggering command of described application software response about Equations of The Second Kind click event belonging to beta version in test terminal to test terminal; Obtain about Equations of The Second Kind click event triggering command by after response the sectional drawing of user data that inquires, and using obtained sectional drawing as Equations of The Second Kind sectional drawing; Predetermined process is performed to first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing, to determine the beta version of application software and the compatibility of basic version by performing predetermined process.Visible, this programme by the compatibility between robotization mode Test Application software version, thus can reach saving manpower and the object of time.
Further, described acquisition about this Equations of The Second Kind click event triggering command by after response after the sectional drawing of user data that inquires, can also comprise:
Control this application software that the unloading of this test terminal belongs to beta version.
Wherein, in order to realize the compatibility test between next beta version and basic version, obtain about the triggering command of this Equations of The Second Kind click event by response after after the sectional drawing of user data that inquires, prior art can be adopted to control this application software that the unloading of this test terminal belongs to beta version, and then, can continue to test the compatibility test between this next beta version and basic version by above-mentioned S101 ~ S105.
Corresponding to said method embodiment, the embodiment of the present invention additionally provides device for testing compatibility between a kind of Software Edition, is applied to accessory terminal, and wherein, described accessory terminal can communicate with the test terminal being responsible for running application software; As shown in Figure 2, described device can comprise:
Basic version installs mould 210, installs for controlling described test terminal and starts the to be covered described application software belonging to basic version;
First triggering command sending module 220, for based on the coordinate that can produce the first kind click event of user data preset, the triggering command about described first kind click event is sent, to make the triggering command of described application software response about described first kind click event belonging to basic version in described test terminal to described test terminal;
First sectional drawing obtains module 230, for obtain about described first kind click event triggering command by after response the sectional drawing of user data that formed, and using obtained sectional drawing as first kind sectional drawing;
Beta version installation module 240, covers and installs for controlling described test terminal and start the described application software belonging to beta version on the basis of described application software belonging to basic version;
Second triggering command sending module 250, for based on preset can inquire about described first kind click event produce the coordinate of the Equations of The Second Kind click event of user data, the triggering command about described Equations of The Second Kind click event is sent, to make the triggering command of described application software response about described Equations of The Second Kind click event belonging to beta version in described test terminal to described test terminal;
Second sectional drawing obtains module 260, for obtain about described Equations of The Second Kind click event triggering command by after response the sectional drawing of user data that inquires, and using obtained sectional drawing as Equations of The Second Kind sectional drawing;
Predetermined process execution module 270, for performing predetermined process, to determine the described beta version of described application software and the compatibility of described basic version by performing described predetermined process to described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing.
In the embodiment of the present invention, accessory terminal controls test terminal and installs and start the to be covered described application software belonging to basic version; Based on the coordinate that can produce the first kind click event of user data preset, the triggering command about first kind click event is sent, to make the triggering command of application software response about first kind click event belonging to basic version in test terminal to test terminal; Obtain about first kind click event triggering command by after response the sectional drawing of user data that formed, and using obtained sectional drawing as first kind sectional drawing; Control test terminal covers on the basis of application software belonging to basic version installs and starts the application software belonging to beta version; Based on preset can inquire about first kind click event produce the coordinate of the Equations of The Second Kind click event of user data, the triggering command about Equations of The Second Kind click event is sent, to make the triggering command of described application software response about Equations of The Second Kind click event belonging to beta version in test terminal to test terminal; Obtain about Equations of The Second Kind click event triggering command by after response the sectional drawing of user data that inquires, and using obtained sectional drawing as Equations of The Second Kind sectional drawing; Predetermined process is performed to first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing, to determine the beta version of application software and the compatibility of basic version by performing predetermined process.Visible, this programme by the compatibility between robotization mode Test Application software version, thus can reach saving manpower and the object of time.
Concrete, described basic version installation module 210, can comprise:
Basic version installs submodule, for by calling ADB order, controlling described test terminal and installs and start the to be covered described application software belonging to basic version;
Accordingly, described beta version installation module 210, can comprise:
Beta version installs submodule, for by calling ADB order, controlling described test terminal and covering on the basis of described application software belonging to basic version and install and start the described application software belonging to beta version.
Concrete, in one implementation, described predetermined process execution module 270, can comprise:
First processing execution submodule, for described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing are carried out pairing output processing, to determine the described beta version of described application software and the compatibility of described basic version by performing described output processing in sectional drawing manual analysis mode.
Concrete, in another kind of implementation, described predetermined process execution module 270, can comprise:
Second processing execution submodule, for carrying out images match process to described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing, to determine the described beta version of described application software and the compatibility of described basic version by performing Graphic Pattern Matching process acquired results.
Further, between a kind of Software Edition of providing of the embodiment of the present invention, device for testing compatibility can also comprise:
Application software Unload module, for obtain about the triggering command of described Equations of The Second Kind click event by response after after the sectional drawing of user data that inquires, control the described application software that the unloading of described test terminal belongs to beta version.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Each embodiment in this instructions all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. a compatibility test method between Software Edition, is characterized in that, is applied to accessory terminal, and wherein, described accessory terminal can communicate with the test terminal being responsible for running application software; Described method comprises:
Control described test terminal install and start the to be covered described application software belonging to basic version;
Based on the coordinate that can produce the first kind click event of user data preset, the triggering command about described first kind click event is sent, to make the triggering command of described application software response about described first kind click event belonging to basic version in described test terminal to described test terminal;
Obtain about described first kind click event triggering command by after response the sectional drawing of user data that formed, and using obtained sectional drawing as first kind sectional drawing;
Control described test terminal to cover on the basis of described application software belonging to basic version and install and start the described application software belonging to beta version;
Based on preset can inquire about described first kind click event produce the coordinate of the Equations of The Second Kind click event of user data, the triggering command about described Equations of The Second Kind click event is sent, to make the triggering command of described application software response about described Equations of The Second Kind click event belonging to beta version in described test terminal to described test terminal;
Obtain about described Equations of The Second Kind click event triggering command by after response the sectional drawing of user data that inquires, and using obtained sectional drawing as Equations of The Second Kind sectional drawing;
Predetermined process is performed, to determine the described beta version of described application software and the compatibility of described basic version by performing described predetermined process to described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing.
2. method according to claim 1, is characterized in that, the described test terminal of described control is installed and started the to be covered described application software belonging to basic version, comprising:
By calling ADB order, controlling described test terminal and install and start the to be covered described application software belonging to basic version;
The described test terminal of described control covers and installs and start the described application software belonging to beta version on the basis of described application software belonging to basic version, comprising:
By calling ADB order, controlling described test terminal and covering on the basis of described application software belonging to basic version and install and start the described application software belonging to beta version.
3. method according to claim 1, it is characterized in that, predetermined process being performed to described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing, to determine the described beta version of described application software and the compatibility of described basic version by performing described predetermined process, comprising:
Described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing are carried out pairing output processing, to determine the described beta version of described application software and the compatibility of described basic version by performing described output processing in sectional drawing manual analysis mode.
4. method according to claim 1, it is characterized in that, predetermined process being performed to described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing, to determine the described beta version of described application software and the compatibility of described basic version by performing described predetermined process, comprising:
Images match process is carried out to described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing, to determine the described beta version of described application software and the compatibility of described basic version by performing Graphic Pattern Matching process acquired results.
5. the method according to claim 1-4 any one, is characterized in that, described acquisition about described Equations of The Second Kind click event triggering command by after response after the sectional drawing of user data that inquires, also comprise:
Control the described application software that the unloading of described test terminal belongs to beta version.
6. a device for testing compatibility between Software Edition, is characterized in that, is applied to accessory terminal, and wherein, described accessory terminal can communicate with the test terminal being responsible for running application software; Described device comprises:
Basic version installation module, installs for controlling described test terminal and starts the to be covered described application software belonging to basic version;
First triggering command sending module, for based on the coordinate that can produce the first kind click event of user data preset, the triggering command about described first kind click event is sent, to make the triggering command of described application software response about described first kind click event belonging to basic version in described test terminal to described test terminal;
First sectional drawing obtains module, for obtain about described first kind click event triggering command by after response the sectional drawing of user data that formed, and using obtained sectional drawing as first kind sectional drawing;
Beta version installation module, covers and installs for controlling described test terminal and start the described application software belonging to beta version on the basis of described application software belonging to basic version;
Second triggering command sending module, for based on preset can inquire about described first kind click event produce the coordinate of the Equations of The Second Kind click event of user data, the triggering command about described Equations of The Second Kind click event is sent, to make the triggering command of described application software response about described Equations of The Second Kind click event belonging to beta version in described test terminal to described test terminal;
Second sectional drawing obtains module, for obtain about described Equations of The Second Kind click event triggering command by after response the sectional drawing of user data that inquires, and using obtained sectional drawing as Equations of The Second Kind sectional drawing;
Predetermined process execution module, for performing predetermined process, to determine the described beta version of described application software and the compatibility of described basic version by performing described predetermined process to described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing.
7. device according to claim 6, is characterized in that, described basic version installation module, comprising:
Basic version installs submodule, for by calling ADB order, controlling described test terminal and installs and start the to be covered described application software belonging to basic version;
Described beta version installation module, comprising:
Beta version installs submodule, for by calling ADB order, controlling described test terminal and covering on the basis of described application software belonging to basic version and install and start the described application software belonging to beta version.
8. device according to claim 6, is characterized in that, described predetermined process execution module, comprising:
First processing execution submodule, for described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing are carried out pairing output processing, to determine the described beta version of described application software and the compatibility of described basic version by performing described output processing in sectional drawing manual analysis mode.
9. device according to claim 6, is characterized in that, described predetermined process execution module, comprising:
Second processing execution submodule, for carrying out images match process to described first kind sectional drawing and corresponding Equations of The Second Kind sectional drawing, to determine the described beta version of described application software and the compatibility of described basic version by performing Graphic Pattern Matching process acquired results.
10. the device according to claim 6-9 any one, is characterized in that, also comprises:
Application software Unload module, for obtain about the triggering command of described Equations of The Second Kind click event by response after after the sectional drawing of user data that inquires, control the described application software that the unloading of described test terminal belongs to beta version.
CN201510424828.4A 2015-07-17 2015-07-17 Method and device for testing compatibility between application software versions Expired - Fee Related CN105095076B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510424828.4A CN105095076B (en) 2015-07-17 2015-07-17 Method and device for testing compatibility between application software versions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510424828.4A CN105095076B (en) 2015-07-17 2015-07-17 Method and device for testing compatibility between application software versions

Publications (2)

Publication Number Publication Date
CN105095076A true CN105095076A (en) 2015-11-25
CN105095076B CN105095076B (en) 2019-04-12

Family

ID=54575571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510424828.4A Expired - Fee Related CN105095076B (en) 2015-07-17 2015-07-17 Method and device for testing compatibility between application software versions

Country Status (1)

Country Link
CN (1) CN105095076B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055475A (en) * 2016-05-24 2016-10-26 广州视睿电子科技有限公司 Version compatibility detection method and device
CN108733382A (en) * 2017-04-24 2018-11-02 腾讯科技(深圳)有限公司 A kind of application software installation method, apparatus and system
CN112188510A (en) * 2019-07-04 2021-01-05 安立股份有限公司 Measuring device and measuring method
CN113076236A (en) * 2021-04-16 2021-07-06 北京京东拓先科技有限公司 Page loading monitoring method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110173589A1 (en) * 2010-01-13 2011-07-14 Microsoft Corporation Cross-Browser Interactivity Testing
US20110191676A1 (en) * 2010-01-29 2011-08-04 Microsoft Corporation Cross-Browser Interactivity Recording, Playback, and Editing
CN102546246A (en) * 2011-12-28 2012-07-04 创新科存储技术(深圳)有限公司 Method and system for automatic upgrade of software
US20130030764A1 (en) * 2011-07-28 2013-01-31 Chatterjee Swarup Application performance measurement and reporting
CN103257917A (en) * 2012-02-16 2013-08-21 广州博纳信息技术有限公司 Management method for software evaluation system
CN103516559A (en) * 2012-12-13 2014-01-15 Tcl集团股份有限公司 Method and system for testing application compatibility of intelligent terminal
CN104050076A (en) * 2013-03-12 2014-09-17 阿里巴巴集团控股有限公司 Testing method, device and system of application software on mobile terminal
CN104077119A (en) * 2013-03-29 2014-10-01 阿里巴巴集团控股有限公司 Page comparing method and page comparing device
US20150089479A1 (en) * 2013-09-23 2015-03-26 Institute For Information Industry Method for pre-testing software compatibility and system thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110173589A1 (en) * 2010-01-13 2011-07-14 Microsoft Corporation Cross-Browser Interactivity Testing
US20110191676A1 (en) * 2010-01-29 2011-08-04 Microsoft Corporation Cross-Browser Interactivity Recording, Playback, and Editing
US20130030764A1 (en) * 2011-07-28 2013-01-31 Chatterjee Swarup Application performance measurement and reporting
CN102546246A (en) * 2011-12-28 2012-07-04 创新科存储技术(深圳)有限公司 Method and system for automatic upgrade of software
CN103257917A (en) * 2012-02-16 2013-08-21 广州博纳信息技术有限公司 Management method for software evaluation system
CN103516559A (en) * 2012-12-13 2014-01-15 Tcl集团股份有限公司 Method and system for testing application compatibility of intelligent terminal
CN104050076A (en) * 2013-03-12 2014-09-17 阿里巴巴集团控股有限公司 Testing method, device and system of application software on mobile terminal
CN104077119A (en) * 2013-03-29 2014-10-01 阿里巴巴集团控股有限公司 Page comparing method and page comparing device
US20150089479A1 (en) * 2013-09-23 2015-03-26 Institute For Information Industry Method for pre-testing software compatibility and system thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055475A (en) * 2016-05-24 2016-10-26 广州视睿电子科技有限公司 Version compatibility detection method and device
CN108733382A (en) * 2017-04-24 2018-11-02 腾讯科技(深圳)有限公司 A kind of application software installation method, apparatus and system
CN108733382B (en) * 2017-04-24 2023-04-28 腾讯科技(深圳)有限公司 Application software installation method, device and system
CN112188510A (en) * 2019-07-04 2021-01-05 安立股份有限公司 Measuring device and measuring method
CN112188510B (en) * 2019-07-04 2023-08-15 安立股份有限公司 Measuring device and measuring method
CN113076236A (en) * 2021-04-16 2021-07-06 北京京东拓先科技有限公司 Page loading monitoring method and device

Also Published As

Publication number Publication date
CN105095076B (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN110221860B (en) Configuration file processing method, device, terminal and medium
CN111984163B (en) Application icon display method and device and electronic equipment
US20130247021A1 (en) Electronic device, system and method for updating and uninstalling software
US9086899B2 (en) Loading and debugging method and debugging system thereof
CN105095076A (en) Method and device for testing compatibility between application software versions
CN104199706A (en) Firmware upgrade method and device for eMMC
CN109656597A (en) Firmware upgrade method, device and computer readable storage medium
CN112256348B (en) Cloud service platform creation method and system, electronic equipment and storage medium
CN104156252A (en) Application software installation method and device
CN104267981A (en) Method and device for loading application layout on desktop
CN111068328A (en) Game advertisement configuration table generation method, terminal device and medium
CN102999349A (en) Software upgrading method
CN104699515A (en) Android operating system based upgrading method and intelligent terminal
CN105279117A (en) Bridge module for updating basic input output system and updating method thereof
CN105159673A (en) Method and device for setting control style
CN107918543B (en) Installation package generation method and device, computer equipment and storage medium
CN110413292B (en) Light application installation method of application program, mobile terminal and storage medium
CN103997684A (en) Method and device for updating operating system
CN104156247A (en) Application upgrading method and device
CN112231206A (en) Script editing method for application program test, computer readable storage medium and test platform
CN104793844A (en) Plug-in management method and device based on mobile terminal
CN105320540A (en) Batch installation method and system for Android applications
CN105808059A (en) Application processing method and device based on terminal system
CN105446870A (en) Method and apparatus for performing automation test on app
CN104461603A (en) Information processing method and electronic equipment

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190412