CN108334451A - page compatibility test method and device - Google Patents

page compatibility test method and device Download PDF

Info

Publication number
CN108334451A
CN108334451A CN201810091292.2A CN201810091292A CN108334451A CN 108334451 A CN108334451 A CN 108334451A CN 201810091292 A CN201810091292 A CN 201810091292A CN 108334451 A CN108334451 A CN 108334451A
Authority
CN
China
Prior art keywords
page
tested
setting option
different patterns
different
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
CN201810091292.2A
Other languages
Chinese (zh)
Other versions
CN108334451B (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.)
Wireless Living (hangzhou) Mdt Infotech Ltd
Original Assignee
Wireless Living (hangzhou) Mdt Infotech 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 Wireless Living (hangzhou) Mdt Infotech Ltd filed Critical Wireless Living (hangzhou) Mdt Infotech Ltd
Priority to CN201810091292.2A priority Critical patent/CN108334451B/en
Publication of CN108334451A publication Critical patent/CN108334451A/en
Application granted granted Critical
Publication of CN108334451B publication Critical patent/CN108334451B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of page compatibility test method and devices.The method includes:Obtain multiple setting options of the page to be tested;According to the multiple setting option, the page to be tested of different patterns is obtained;Corresponding display standard whether is respectively reached according to the page to be tested of the different patterns, determines the compatibility test result of the page to be tested.Technical solution through the invention not only contributes to improve compatibility test efficiency, but also can carry out compatibility test to the different pattern versions of the page to be tested obtained by setting option.

Description

Page compatibility test method and device
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of page compatibility test method and device.
Background technology
Currently, in detection compatibility of the page of different Show Styles with identical content, the method for generally use There are two types of:A kind of method is:Pattern in the case of the pure various possibility of hand inspection, another method are:Pass through integrated system The page of the different patterns checked will be needed to be distributed to progress pattern inspection in each mobile end equipment, however, above-mentioned is existing The place of scheme all Shortcomings:
1, pure hand inspection compatibility needs to spend many manpowers, and efficiency is low, and needs to carry out again after pattern adjustment Repeater's power is worked.
2, distribute and carry out pattern inspection on the page to each mobile end equipment, can only meet for some single page Pattern does compliance check, cannot be satisfied and provides a variety of pattern settings in system, i.e., can not combine gained to different setting options Different patterns the page carry out compliance check.
And the present invention can be used for solving the problems, such as said one or multiple.
Invention content
A kind of page compatibility test method of present invention offer and device, in the multiple settings for obtaining the page to be tested Xiang Hou can obtain the page to be tested of different patterns automatically, then according to the page to be tested of different patterns according to multiple setting options Face whether respectively it is up to standard come determine the page to be tested compatibility test as a result, to not only contribute to improve compatibility test effect Rate, but also compatibility test can be carried out to the different pattern versions of the page to be tested obtained by setting option.
The present invention provides a kind of page compatibility test method, including:
Obtain multiple setting options of the page to be tested;
According to the multiple setting option, the page to be tested of different patterns is obtained;
Corresponding display standard whether is respectively reached according to the page to be tested of the different patterns, is determined described to be tested The compatibility test result of the page.
In one embodiment, described that the page to be tested of different patterns is obtained according to the multiple setting option, including:
Traverse multiple and different arrange parameters of each setting option in the multiple setting option;
By multiple and different arrange parameters of each setting option respectively with other setting options in the multiple setting option Multiple and different arrange parameters be combined with each other, obtain different arrange parameter combinations, wherein the different setting ginseng The number of arrange parameter of the array in closing in each arrange parameter combination is identical as the number of the multiple setting option;
The page to be tested that corresponding pattern is combined with the different arrange parameter is obtained respectively.
In one embodiment, described that the page to be tested of different patterns is obtained according to the multiple setting option, including:
Start the preset browsing device installed in current operation system;
It controls the preset browsing device and is based on the progress page load of the multiple setting option;
During the preset browsing device is based on the progress page load of the multiple setting option, screenshotss are carried out, to obtain Obtain the page to be tested of different patterns.
In one embodiment, the mistake for carrying out page load based on the multiple setting option in the preset browsing device Cheng Zhong carries out screenshotss, to obtain the page to be tested of different patterns, including:
During the preset browsing device is based on the multiple setting option and carries out page load, the difference that will load out The page to be tested of pattern carries out screenshotss respectively, and by the screenshot capture of the page to be tested of the different patterns with its identify into The corresponding storage of row.
In one embodiment, whether the page to be tested according to the different patterns respectively reaches corresponding display Standard determines the compatibility test of the page to be tested as a result, including:
By the page to be tested of the different patterns, the preset reference page identical with its pattern carries out image pair respectively Than with the compatibility test result of the determination page to be tested;
Or
The page to be tested of the different patterns is shown successively, and prompts user's input feedback as a result, with basis The feedback result determines the compatibility test result of the page to be tested, wherein the feedback result is used to indicate described Whether the page to be tested of different patterns reaches corresponding display standard.
The present invention also provides a kind of page device for testing compatibility, including:
First acquisition module, multiple setting options for obtaining the page to be tested;
Second acquisition module, for according to the multiple setting option, obtaining the page to be tested of different patterns;
Determining module, for whether respectively reaching corresponding display standard according to the page to be tested of the different patterns, Determine the compatibility test result of the page to be tested.
In one embodiment, second acquisition module includes:
Traverse submodule, multiple and different arrange parameters for traversing each setting option in the multiple setting option;
First acquisition submodule, for setting multiple and different arrange parameters of each setting option with the multiple respectively The multiple and different arrange parameters for setting other setting options in item are combined with each other, and different arrange parameter combinations is obtained, In, the number of the arrange parameter in the different arrange parameter combination in each arrange parameter combination and the multiple setting option Number is identical;
Second acquisition submodule combines the to be tested of corresponding pattern for obtaining respectively with the different arrange parameter The page.
In one embodiment, second acquisition module includes:
Promoter module, for starting the preset browsing device installed in current operation system;
Control submodule is based on the progress page load of the multiple setting option for controlling the preset browsing device;
Screenshotss submodule, the process for carrying out page load based on the multiple setting option in the preset browsing device In, screenshotss are carried out, to obtain the page to be tested of different patterns.
In one embodiment, the screenshotss submodule includes:
Storage unit is used for during the preset browsing device is based on the progress page load of the multiple setting option, The page to be tested of the different patterns loaded out is subjected to screenshotss respectively, and by the screen of the page to be tested of the different patterns Sectional drawing identifies with it and carries out corresponding storage.
In one embodiment, the determining module includes:
First determination sub-module, for the page to be tested of the different patterns is identical with its pattern default respectively Reference page carries out image comparison, with the compatibility test result of the determination page to be tested;
Or
Second determination sub-module for showing the page to be tested of the different patterns successively, and prompts user Input feedback is as a result, to determine the compatibility test result of the page to be tested according to the feedback result, wherein described anti- Whether the page to be tested that feedback result is used to indicate the different patterns reaches corresponding display standard.
The technical scheme provided by this disclosed embodiment can include the following benefits:
After the multiple setting options for obtaining the page to be tested, waiting for for different patterns can be obtained automatically according to multiple setting options Then test page determines the compatibility test of the page to be tested according to whether the pages to be tested of different patterns is up to standard respectively As a result, to not only contribute to improve compatibility test efficiency, but also can be to the different pattern versions that are obtained by setting option The page carry out compatibility test, occur the extremely incompatible problem of pattern after the page is reached the standard grade in this way, can greatly reduce, greatly Ground improves the testing efficiency after each setting option/pattern adjustment.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and is obtained in book, claims and attached drawing.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, the reality with the present invention It applies example to be used to explain the present invention together, not be construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of page compatibility test method shown according to an exemplary embodiment.
Fig. 2 is the flow chart of another page compatibility test method shown according to an exemplary embodiment.
Fig. 3 is a kind of block diagram of page device for testing compatibility shown according to an exemplary embodiment.
Fig. 4 is the block diagram of another page device for testing compatibility shown according to an exemplary embodiment.
Specific implementation mode
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings, it should be understood that preferred reality described herein Apply example only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
In order to solve the above-mentioned technical problem, the embodiment of the present disclosure provides a kind of page compatibility test method, this method Suitable for page compatibility test program, system or device, executive agent can be the terminals such as mobile phone, computer or clothes It is engaged in device, as shown in Figure 1, the method comprising the steps of S101 to step S103,
In step S101, multiple setting options of the page to be tested are obtained;Wherein, the parameter of setting option is different, based on setting The pattern for setting the page to be tested that the parameter of item renders is just different.
In step s 102, according to multiple setting options, the page to be tested of different patterns is obtained;
The page, that is, content to be tested of different patterns is identical, and the need page to be tested that pattern is different.
In step s 103, whether corresponding display standard is respectively reached according to the page to be tested of different patterns, determined The compatibility test result of the page to be tested.
After the multiple setting options for obtaining the page to be tested, waiting for for different patterns can be obtained automatically according to multiple setting options Then test page determines the compatibility test of the page to be tested according to whether the pages to be tested of different patterns is up to standard respectively As a result, to not only contribute to improve compatibility test efficiency, but also can be to the different pattern versions that are obtained by setting option The page carry out compatibility test, occur the extremely incompatible problem of pattern after the page is reached the standard grade in this way, can greatly reduce, greatly Ground improves the testing efficiency after each setting option/pattern adjustment.
Above-mentioned steps S103 can be performed as:
When to be tested more than the Show Styles of preset ratio (such as 50%, 80%) in the page to be tested of different patterns When the page respectively reaches corresponding display standard, then the page to be tested is can determine by compatibility test, and if page to be tested The pattern that corresponding display standard is respectively reached in face is less than preset ratio, it is determined that and the compatibility of the page to be tested is bad, and It can be prompted etc. to user.Such as:Assuming that there are two setting options by page A to be tested, and can get according to the two setting options A, tetra- kinds of pattern pages of b, c, d, at this time if above-mentioned preset ratio is 70%, and the page A, b patterns to be tested of a patterns waits for The page A to be tested of test page A, c pattern respectively reaches corresponding display standard, then due to respectively reaching corresponding display mark Accurate ratio 75% has been more than 70%, thus, it may be determined that for page A to be tested by compatibility test, compatibility is relatively good;Accordingly Ground needs above-mentioned four kinds of pattern pages respectively to reach its corresponding display standard if above-mentioned preset ratio is 100% (such as display standard can be that the similarity of each pattern page standard page identical with its pattern reaches 80%), could be really For fixed page A to be tested by compatibility test, compatibility is relatively good.
As shown in Fig. 2, in one embodiment, above-mentioned step S102 shown in FIG. 1 is obtained that is, according to multiple setting options The page to be tested of different patterns may include:
In step A1, multiple and different arrange parameters of each setting option in multiple setting options are traversed;
The different numerical value that multiple and different arrange parameter of each setting option, that is, each setting option specifically can use.
And multiple setting options include but not limited to that can be shown in the font size of the page, font type, the skin of the page, the page Show how many content, style of the page (such as parent-offspring's class style, white collar class style) etc..
In step A2, by multiple and different arrange parameters of each setting option respectively in multiple setting options other setting Multiple and different arrange parameters of item are combined with each other, and obtain different arrange parameter combinations, wherein different arrange parameters The number of arrange parameter in combination in each arrange parameter combination is identical as the number of multiple setting options;
Such as:When setting option has 3, and setting option 1 can have M different arrange parameters, setting option 2 that can have N number of difference Arrange parameter, the arrange parameters that setting option 3 can have P different, then the number of arrange parameter combination is M*N*P, and this M*N*P There are 3 arrange parameters in each arrange parameter combination in a arrange parameter combination, is respectively from one of setting option 1 and sets Parameter is set, one of one of setting option 2 arrange parameter and setting option 3 arrange parameter, the i.e. M of setting option 1 are a not Same arrange parameter is mutual from N number of different arrange parameter of setting option 2 and the P of setting 3 different arrange parameters respectively Combination.
In step A3, the page to be tested that corresponding pattern is combined with different arrange parameters is obtained respectively.
By multiple and different arrange parameters of each setting option of traversal, different arrange parameter combinations can be obtained automatically, into And obtain the page to be tested that each arrange parameter combines corresponding pattern respectively, i.e., it is wrapped in being combined due to each arrange parameter The arrange parameter contained combined with other arrange parameters in include arrange parameter it is different, thus, according to each arrange parameter group The pattern for closing the page to be tested obtained may be different, in this way, can be automatic to obtain based on all setting options of the page to be tested To by these setting options with arrange parameter can obtainable all patterns the page to be tested, so as to different pattern versions This page to be tested carries out compatibility test, in this way, the compatibility test for not only contributing to improve the page to be tested is accurate Rate, is also beneficial to effectively improve the compatibility test efficiency of the page to be tested, and a variety of patterned sets through the invention The compatibility test efficiency of the page can at least be promoted 50% by the page regression test of class.
In one embodiment, above-mentioned step S102 shown in FIG. 1 obtains different patterns that is, according to multiple setting options The page to be tested can be performed as:
Start the preset browsing device installed in current operation system;
When starting preset browsing device automatically, can automatically be started based on the script write, and current operation system can be Android system, Microsoft windows operating systems, macOS operating systems etc..
When preset browsing device has multiple, any of which can be started, or each browser is respectively started.
It controls preset browsing device and is based on the progress page load of multiple setting options;
During preset browsing device is based on the progress page load of multiple setting options, screenshotss are carried out, it is not same to obtain The page to be tested of formula.
When obtaining the page to be tested of different patterns, the preset browsing installed in automatically starting current operation system Then device controls preset browsing device and is based on the progress page load of multiple setting options, is based specifically on the setting ginseng of multiple setting options Array closes loading page, and during the page loads, and carries out screenshotss, to obtain the page to be tested of different patterns, to Compatibility test can be carried out to the page to be tested of the different pattern versions obtained by setting option, in this way, not only contributing to improve The compatibility test accuracy rate of the page to be tested is also beneficial to effectively improve the compatibility test efficiency of the page to be tested.
In one embodiment, it during preset browsing device is based on the progress page load of multiple setting options, is cut Screen, to obtain the page to be tested of different patterns, including:
During preset browsing device is based on the progress page load of multiple setting options, by waiting for for the different patterns loaded out Test page carries out screenshotss respectively, and the screenshot capture of the page to be tested of different patterns is identified with it and carries out corresponding storage.
It, can be to each pattern loaded out during preset browsing device is based on the progress page load of multiple setting options The page to be tested carries out screenshotss, and by the mark of the screenshot capture of the page to be tested of each pattern and the page to be tested of the pattern Know (number, the name of the page to be tested of such as pattern) and carry out corresponding storage, in this way, just may transparently maintain lower per the same The page to be tested of formula.
In one embodiment, whether corresponding display standard is respectively reached according to the page to be tested of different patterns, really The compatibility test of the fixed page to be tested is as a result, include:
By the page to be tested of different patterns, the preset reference page identical with its pattern carries out image comparison respectively, with Determine the compatibility test result of the page to be tested;
Or
The page to be tested of different patterns is shown successively, and prompts user's input feedback as a result, with according to feedback As a result the compatibility test result of the page to be tested is determined, wherein feedback result is used to indicate the page to be tested of different patterns Whether corresponding display standard is reached.
In the compatibility test result for determining the page to be tested, can by the page to be tested of different patterns respectively with and its The identical preset reference page of pattern carries out image comparison, to automatically determine the compatibility test result of the page to be tested, wherein The identical preset reference page of pattern refers to the display page of the page to be tested of same pattern when compatible, certainly, more The compatibility of the images match of the page to be tested and its preset reference page of pattern, the page to be tested is better.Or
In the compatibility test result for determining the page to be tested, to be tested page of user's input to different patterns can be prompted The feedback result in face, with determined according to feedback result the page to be tested compatibility test as a result, certainly, if feedback result refers to Show that the page to be tested of most of patterns has reached corresponding display standard, then can determine page compatibility to be tested preferably, Pass through compatibility test.
As shown in figure 3, the present invention also provides a kind of page device for testing compatibility, including:
First acquisition module 301 is configured as obtaining multiple setting options of the page to be tested;
Second acquisition module 302 is configured as obtaining the page to be tested of different patterns according to multiple setting options;
Determining module 303 is configured as whether respectively reaching corresponding display mark according to the page to be tested of different patterns Standard determines the compatibility test result of the page to be tested.
As shown in figure 4, in one embodiment, the second acquisition module 302 may include:
Submodule 3021 is traversed, is configured as traversing multiple and different arrange parameters of each setting option in multiple setting options;
First acquisition submodule 3022 is configured as respectively setting multiple and different arrange parameters of each setting option with multiple The multiple and different arrange parameters for setting other setting options in item are combined with each other, and different arrange parameter combinations is obtained, In, the number phase of the number and multiple setting options of the arrange parameter in the combination of different arrange parameters in each arrange parameter combination Together;
Second acquisition submodule 3023 is configured to obtain and combines waiting for for corresponding pattern with different arrange parameters Test page.
In one embodiment, the second acquisition module includes:
Promoter module is configured as starting the preset browsing device installed in current operation system;
Control submodule is configured as control preset browsing device and is based on the progress page load of multiple setting options;
Screenshotss submodule is configured as during preset browsing device is based on the progress page load of multiple setting options, into Row screenshotss, to obtain the page to be tested of different patterns.
In one embodiment, screenshotss submodule includes:
Storage unit is configured as during preset browsing device is based on the progress page load of multiple setting options, to add The page to be tested of the different patterns set out carries out screenshotss respectively, and by the screenshot capture of the page to be tested of different patterns and its Mark carries out corresponding storage.
In one embodiment, determining module includes:
First determination sub-module is configured as the page to be tested of different patterns is identical with its pattern default respectively Reference page carries out image comparison, with the compatibility test result of the determination page to be tested;
Or
Second determination sub-module is configured as successively showing the page to be tested of different patterns, and prompts user Input feedback is as a result, to determine the compatibility test result of the page to be tested according to feedback result, wherein feedback result is configured To indicate whether the page to be tested of different patterns reaches corresponding display standard.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Finally, the page device for testing compatibility in the present invention is suitable for terminal device.For example, it may be mobile phone, Computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, a number Word assistant etc..
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of page compatibility test method, which is characterized in that including:
Obtain multiple setting options of the page to be tested;
According to the multiple setting option, the page to be tested of different patterns is obtained;
Corresponding display standard whether is respectively reached according to the page to be tested of the different patterns, determines the page to be tested Compatibility test result.
2. according to the method described in claim 1, it is characterized in that,
It is described that the page to be tested of different patterns is obtained according to the multiple setting option, including:
Traverse multiple and different arrange parameters of each setting option in the multiple setting option;
Multiple and different arrange parameters of each setting option are more with other setting options in the multiple setting option respectively A different arrange parameter is combined with each other, and obtains different arrange parameter combinations, wherein the different arrange parameter group The number of arrange parameter in conjunction in each arrange parameter combination is identical as the number of the multiple setting option;
The page to be tested that corresponding pattern is combined with the different arrange parameter is obtained respectively.
3. according to the method described in claim 1, it is characterized in that,
It is described that the page to be tested of different patterns is obtained according to the multiple setting option, including:
Start the preset browsing device installed in current operation system;
It controls the preset browsing device and is based on the progress page load of the multiple setting option;
During the preset browsing device is based on the progress page load of the multiple setting option, screenshotss are carried out, to obtain not With the page to be tested of pattern.
4. according to the method described in claim 3, it is characterized in that,
It is described the preset browsing device be based on the multiple setting option carry out the page load during, carry out screenshotss, to obtain The page to be tested of different patterns is obtained, including:
During the preset browsing device is based on the multiple setting option and carries out page load, the different patterns that will load out The page to be tested carry out screenshotss respectively, and the screenshot capture of the page to be tested of the different patterns identified with it and is carried out pair It should store.
5. method according to claim 1 to 4, which is characterized in that
Whether the page to be tested according to the different patterns respectively reaches corresponding display standard, determines described to be tested The compatibility test of the page is as a result, include:
By the page to be tested of the different patterns, the preset reference page identical with its pattern carries out image comparison respectively, with Determine the compatibility test result of the page to be tested;
Or
The page to be tested of the different patterns is shown successively, and prompts user's input feedback as a result, with according to Feedback result determines the compatibility test result of the page to be tested, wherein the feedback result is used to indicate the difference Whether the page to be tested of pattern reaches corresponding display standard.
6. a kind of page device for testing compatibility, which is characterized in that including:
First acquisition module, multiple setting options for obtaining the page to be tested;
Second acquisition module, for according to the multiple setting option, obtaining the page to be tested of different patterns;
Determining module is determined for whether respectively reaching corresponding display standard according to the page to be tested of the different patterns The compatibility test result of the page to be tested.
7. device according to claim 6, which is characterized in that
Second acquisition module includes:
Traverse submodule, multiple and different arrange parameters for traversing each setting option in the multiple setting option;
First acquisition submodule, for by multiple and different arrange parameters of each setting option respectively with the multiple setting option In multiple and different arrange parameters of other setting options be combined with each other, obtain different arrange parameter combinations, wherein institute State the number of the number and the multiple setting option of the arrange parameter in different arrange parameter combinations in each arrange parameter combination It is identical;
Second acquisition submodule, for obtaining the page to be tested for combining corresponding pattern with the different arrange parameter respectively Face.
8. device according to claim 6, which is characterized in that
Second acquisition module includes:
Promoter module, for starting the preset browsing device installed in current operation system;
Control submodule is based on the progress page load of the multiple setting option for controlling the preset browsing device;
Screenshotss submodule is used for during the preset browsing device is based on the progress page load of the multiple setting option, into Row screenshotss, to obtain the page to be tested of different patterns.
9. device according to claim 8, which is characterized in that
The screenshotss submodule includes:
Storage unit, for during the preset browsing device is based on the progress page load of the multiple setting option, will add The page to be tested of the different patterns set out carries out screenshotss respectively, and by the screenshot capture of the page to be tested of the different patterns It is identified with it and carries out corresponding storage.
10. the device according to any one of claim 6 to 9, which is characterized in that
The determining module includes:
First determination sub-module, for by the page to be tested of different patterns preset reference identical with its pattern respectively The page carries out image comparison, with the compatibility test result of the determination page to be tested;
Or
Second determination sub-module for showing the page to be tested of the different patterns successively, and prompts user to input Feedback result, to determine the compatibility test result of the page to be tested according to the feedback result, wherein the feedback knot Whether the page to be tested that fruit is used to indicate the different patterns reaches corresponding display standard.
CN201810091292.2A 2018-01-30 2018-01-30 Page compatibility testing method and device Active CN108334451B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810091292.2A CN108334451B (en) 2018-01-30 2018-01-30 Page compatibility testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810091292.2A CN108334451B (en) 2018-01-30 2018-01-30 Page compatibility testing method and device

Publications (2)

Publication Number Publication Date
CN108334451A true CN108334451A (en) 2018-07-27
CN108334451B CN108334451B (en) 2022-02-01

Family

ID=62926872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810091292.2A Active CN108334451B (en) 2018-01-30 2018-01-30 Page compatibility testing method and device

Country Status (1)

Country Link
CN (1) CN108334451B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159607A (en) * 2018-11-07 2020-05-15 中国移动通信集团重庆有限公司 Website compatibility setting method, device, equipment and medium
CN113506291A (en) * 2021-07-29 2021-10-15 上海幻电信息科技有限公司 Compatibility testing method and device
CN116974908A (en) * 2023-06-12 2023-10-31 中科软件测评(广州)有限公司 Cloud platform-based software compatibility testing method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130263098A1 (en) * 2012-03-29 2013-10-03 Pawel Piotr Duda Method and system for testing of mobile web sites
CN104636255A (en) * 2015-02-14 2015-05-20 广州华多网络科技有限公司 Method and device for testing webpage application display effect
CN105335295A (en) * 2015-12-01 2016-02-17 上海斐讯数据通信技术有限公司 Response type layout interface testing method and system and browser
CN105608078A (en) * 2014-10-28 2016-05-25 阿里巴巴集团控股有限公司 Method and apparatus for previewing webpage in real time
CN106294513A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 Web displaying consistency detecting method and device
CN106326091A (en) * 2015-06-24 2017-01-11 深圳市腾讯计算机系统有限公司 Browser webpage compatibility detection method and system
CN106886491A (en) * 2017-01-17 2017-06-23 博彦科技股份有限公司 Webpage compatibility test method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130263098A1 (en) * 2012-03-29 2013-10-03 Pawel Piotr Duda Method and system for testing of mobile web sites
CN105608078A (en) * 2014-10-28 2016-05-25 阿里巴巴集团控股有限公司 Method and apparatus for previewing webpage in real time
CN104636255A (en) * 2015-02-14 2015-05-20 广州华多网络科技有限公司 Method and device for testing webpage application display effect
CN106294513A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 Web displaying consistency detecting method and device
CN106326091A (en) * 2015-06-24 2017-01-11 深圳市腾讯计算机系统有限公司 Browser webpage compatibility detection method and system
CN105335295A (en) * 2015-12-01 2016-02-17 上海斐讯数据通信技术有限公司 Response type layout interface testing method and system and browser
CN106886491A (en) * 2017-01-17 2017-06-23 博彦科技股份有限公司 Webpage compatibility test method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159607A (en) * 2018-11-07 2020-05-15 中国移动通信集团重庆有限公司 Website compatibility setting method, device, equipment and medium
CN111159607B (en) * 2018-11-07 2023-09-19 中国移动通信集团重庆有限公司 Website compatibility setting method, device, equipment and medium
CN113506291A (en) * 2021-07-29 2021-10-15 上海幻电信息科技有限公司 Compatibility testing method and device
CN113506291B (en) * 2021-07-29 2024-03-26 上海幻电信息科技有限公司 Compatibility testing method and device
CN116974908A (en) * 2023-06-12 2023-10-31 中科软件测评(广州)有限公司 Cloud platform-based software compatibility testing method and system

Also Published As

Publication number Publication date
CN108334451B (en) 2022-02-01

Similar Documents

Publication Publication Date Title
CN108334451A (en) page compatibility test method and device
CN112114892B (en) Deep learning model acquisition method, loading method and selection method
CN105573902B (en) The test method and system of a kind of application program
CN112306893A (en) UI page testing method and device, computer equipment and storage medium
CN104155972A (en) Mechanical engineering electronic controller parameter debugging method
CN105653338B (en) A kind of update method and device of application
CN110928802A (en) Test method, device, equipment and storage medium based on automatic generation of case
CN105704487A (en) Television stability testing method and device
CN105302722A (en) CTS automatic test method and apparatus
CN112632420A (en) Interface skipping method and device, storage medium and electronic device
CN112115055A (en) Multi-machine automatic testing method and device and computer equipment
CN103544039A (en) Plug-in loading processing method and device
CN111061448A (en) Log information display method and device, electronic equipment and storage medium
CN113238935A (en) Application testing method, system, device, medium, and computer program product
CN110286990B (en) User interface display method, device, equipment and storage medium
CN112100085A (en) Android application program stability testing method, device and equipment
CN109144840A (en) A kind of test method, device and its equipment
CN111752716A (en) Model using method, data processing method and device
CN113051149A (en) Case parameter generation method and device
CN115794690A (en) Processing method and device based on external equipment in server
CN113472611A (en) Method and device for acquiring WiFi signal strength and readable storage medium
CN112346613A (en) Icon display effect control method, terminal and computer-readable storage medium
CN115114136A (en) Test data generation method and device, electronic equipment and program product
CN106445450A (en) Volume adjusting method and apparatus of mobile terminal
CN106776274A (en) A kind of graphical testing process collocation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant