CN109086203A - The detection method and device of the page - Google Patents

The detection method and device of the page Download PDF

Info

Publication number
CN109086203A
CN109086203A CN201810804155.9A CN201810804155A CN109086203A CN 109086203 A CN109086203 A CN 109086203A CN 201810804155 A CN201810804155 A CN 201810804155A CN 109086203 A CN109086203 A CN 109086203A
Authority
CN
China
Prior art keywords
page
screenshot
mapping relations
detection
elements
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
CN201810804155.9A
Other languages
Chinese (zh)
Other versions
CN109086203B (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810804155.9A priority Critical patent/CN109086203B/en
Publication of CN109086203A publication Critical patent/CN109086203A/en
Application granted granted Critical
Publication of CN109086203B publication Critical patent/CN109086203B/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/362Software debugging
    • G06F11/366Software debugging using diagnostics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

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

Abstract

The invention discloses a kind of detection method of page and device, the detection method of the page may include: the page screenshot of the mapping relations file and the page that obtain the page, wherein mapping relations file includes the location information of page elements and page elements;Page screenshot is detected according to mapping relations file.Automatic detection is carried out to page screenshot by way of generating page-map file as a result, guarantees the accuracy of page detection while improving page detection efficiency.The invention also discloses the detection methods and device of the page in a kind of application program.

Description

The detection method and device of the page
Technical field
The present invention relates to computer software technical field more particularly to the detection methods and device of a kind of page.
Background technique
With the high speed development of internet front-end technology, the iteration of designing and developing of user interface is getting faster, and user circle Design and develop too busy to get away bug (loophole) test in face.
In the prior art, for the detection of user interface bug can use artificial judgment, but testing efficiency it is lower and at This height, or the mode of UI (User Interface, user interface) automatic test is used, but this mode test scene Covering is not complete, and UI problem ability of discovery is inadequate.Therefore, the detection efficiency of user interface bug and accuracy are lower in the prior art.
Summary of the invention
The purpose of the present invention is intended to solve above-mentioned one of technical problem at least to a certain extent.
For this purpose, the first purpose of this invention is to propose a kind of detection method of page, this method is by generating the page The mode of mapped file carries out automatic detection to page screenshot, solves the detection efficiency of the page in the prior art and accurate The lower problem of property.
Second object of the present invention is to propose a kind of detection method of the page in application program.
Third object of the present invention is to propose a kind of detection device of page.
Fourth object of the present invention is to propose a kind of detection device of the page in application program.
5th purpose of the invention is to propose a kind of computer equipment.
6th purpose of the invention is to propose a kind of non-transitorycomputer readable storage medium.
7th purpose of the invention is to propose a kind of computer program product.
8th purpose of the invention is to propose a kind of computer equipment.
9th purpose of the invention is to propose a kind of non-transitorycomputer readable storage medium.
Tenth purpose of the invention is to propose a kind of computer program product.
In order to achieve the above object, the detection method of the page of first aspect present invention embodiment, comprising the following steps:
Obtain the mapping relations file of the page and the page screenshot of the page, wherein the mapping relations file includes the page The location information of element and the page elements;
The page screenshot is detected according to the mapping relations file.
The detection method of the page of the embodiment of the present invention is cut by the page of the mapping relations file and the page that obtain the page Figure, wherein mapping relations file includes the location information of page elements and page elements, thus according to mapping relations file pair Page screenshot is detected.Automatic detection is carried out to page screenshot by way of generating page-map file as a result, is being mentioned Guarantee the accuracy of page detection while high page detection efficiency.
In order to achieve the above object, in the application program of second aspect of the present invention embodiment the page detection method, comprising:
The homepage of application program is obtained, and obtains the page screenshot of the homepage;
Obtain the homepage at least one of operational controls and can set out at least one described operational controls Page is jumped to jump at least one first order, and obtains the page screenshot that the first order jumps page;
By the described in any item page detection methods of claim 1-5 to the page screenshot of the homepage and described first The page screenshot that grade jumps page is detected.
The detection method of the page in the application program of the embodiment of the present invention by obtaining application program homepage, and obtains After the page screenshot of homepage, obtain homepage at least one of operational controls and can set out at least one operational controls Page is jumped to jump at least one first order, and obtains the page screenshot that the first order jumps page, then passes through first aspect reality The page screenshot that the page detection method for applying example jumps page to the page screenshot and the first order of homepage detects.Pass through as a result, The mode for generating page-map file carries out automatic detection to the page screenshot in application program, is improving page detection efficiency While guarantee page detection accuracy.
In order to achieve the above object, third aspect present invention embodiment proposes a kind of rendering device of electronic map, comprising:
First obtains module, for obtaining the mapping relations file of the page and the page screenshot of the page, wherein the mapping Relational file includes the location information of page elements and the page elements;
First detection module, for being detected according to the mapping relations file to the page screenshot.
The detection device of the page of the embodiment of the present invention is cut by the page of the mapping relations file and the page that obtain the page Figure, wherein mapping relations file includes the location information of page elements and page elements, thus according to mapping relations file pair Page screenshot is detected.Automatic detection is carried out to page screenshot by way of generating page-map file as a result, is being mentioned Guarantee the accuracy of page detection while high page detection efficiency.
In order to achieve the above object, in the application program of fourth aspect present invention embodiment the page detection device, comprising:
Second obtains module, for obtaining the homepage of application program, and obtains the page screenshot of the homepage;
Third obtain module, for obtain the homepage at least one of can operational controls and to it is described at least one Operational controls are set out to jump at least one first order and jump page, and obtain the page section that the first order jumps page Figure;
Second detection module, for the page by page detection device described in third aspect embodiment to the homepage The page screenshot that screenshot and the first order jump page is detected.
The detection device of the page in the application program of the embodiment of the present invention by obtaining application program homepage, and obtains After the page screenshot of homepage, obtain homepage at least one of operational controls and can set out at least one operational controls Page is jumped to jump at least one first order, and obtains the page screenshot that the first order jumps page, then passes through first aspect reality The page screenshot that the page detection method for applying example jumps page to the page screenshot and the first order of homepage detects.Pass through as a result, The mode for generating page-map file carries out automatic detection to the page screenshot in application program, is improving page detection efficiency While guarantee page detection accuracy.
In order to achieve the above object, fifth aspect present invention embodiment proposes a kind of computer equipment, comprising: processor;With In the memory for storing the processor-executable instruction;Wherein, the processor is held by what is stored in reading memory Line program code runs program corresponding with executable program code, for executing the page described in first aspect embodiment Detection method.
To achieve the goals above, sixth aspect present invention embodiment proposes a kind of computer-readable storage of non-transitory Medium is stored thereon with computer program, which is characterized in that such as first aspect present invention is realized when the program is executed by processor The detection method of the page described in embodiment.
To achieve the goals above, seventh aspect present invention embodiment proposes a kind of computer program product, when described Instruction processing unit in computer program product realizes the detection of the page as described in first aspect present invention embodiment when executing Method.
In order to achieve the above object, eighth aspect present invention embodiment proposes a kind of computer equipment, comprising: processor;With In the memory for storing the processor-executable instruction;Wherein, the processor is held by what is stored in reading memory Line program code runs program corresponding with executable program code, for executing application journey described in first aspect embodiment The detection method of the page in sequence.
To achieve the goals above, ninth aspect present invention embodiment proposes a kind of computer-readable storage of non-transitory Medium is stored thereon with computer program, which is characterized in that such as first aspect present invention is realized when the program is executed by processor The detection method of the page in application program described in embodiment.
To achieve the goals above, tenth aspect present invention embodiment proposes a kind of computer program product, when described Instruction processing unit in computer program product is realized when executing in the application program as described in first aspect present invention embodiment The detection method of the page.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart of the detection method of the page according to an embodiment of the invention;
Fig. 2 is an exemplary diagram of mapping relations file;
Fig. 3 is another exemplary diagram of mapping relations file;
Fig. 4 is the flow chart of the detection method of the page in accordance with another embodiment of the present invention;
Fig. 5 is the flow chart of the detection method of the page of another embodiment according to the present invention;
Fig. 6 is the flow chart of the detection method of the page of further embodiment according to the present invention;
Fig. 7 is the exemplary diagram of the storage mode of the position of page element information in mapping relations file;
Fig. 8 is the exemplary diagram for the position of page element information how being arranged in mapping relations file;
Fig. 9 is the flow chart of the detection method of the page in application program according to an embodiment of the invention;
Figure 10 is the structure chart of the detection method of the page in application program;
Figure 11 is a kind of structural schematic diagram of the detection device of the page provided in an embodiment of the present invention;
Figure 12 is the structural schematic diagram of the detection of the page in a kind of application program provided in an embodiment of the present invention;And
Figure 13 shows the block diagram for being suitable for the exemplary computer device for being used to realize the application embodiment.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the detection method of the page of the embodiment of the present invention is described, the detection side of the page in application program Method.
It is recognised that the ability of existing UI automation scheme discovery bug is limited in description based on the above-mentioned prior art, Manual testing can not be substituted at all, firstly because existing UI automation framework can not carry out such as page layout entanglement, the page Content repeats, the detection of the UI problem such as page control pattern mistake, and the testing procedure that in addition UI automates use-case is write extremely, can not replace In generation, is manually executing self-discovery and exploring ability in test process, so as to cause the relatively low problem of Detection accuracy.
In the embodiment of the present invention, by the mapping relations text for obtaining the location information including page elements and page elements Part, so as to be detected according to mapping relations file to page screenshot.
Specifically, Fig. 1 is the flow chart of the detection method of the page according to an embodiment of the invention, as shown in Figure 1, should The detection method of the page includes:
S110 obtains the mapping relations file of the page and the page screenshot of the page, wherein mapping relations file includes the page The location information of element and page elements.
S120 detects page screenshot according to mapping relations file.
Specifically, different modes can be taken to obtain the mapping relations file of the page according to practical application request, illustrated It is described as follows:
As an example, when using page elements as the base of page detection, pass through scanning page elements and page The mapping relations in page elements and page elements library between data are established in surface element library, generate corresponding mapping relations file, Such as page elements shown in Fig. 2 and page elements library mapping relations file.
As another example, when using fixed module as the base of page detection, by scanning fixed module and The mapping relations in fixed module and fixed module library between data are established in fixed module library, generate corresponding mapping relations text Part, than fixed module shown in Fig. 3 and fixed module library mapping relations file.
It should be noted that different sweep can be selected according to the specific storage mode of page data in different application scene Mode is retouched to generate mapping relations file.
Example one is stored in local webpage, and page elements or fixed module are stored in same file folder, scanning File in this document folder, can be obtained mapping relations, generate mapping relations file.
Example two, the application program being mounted in mobile phone, page elements or fixed module are saved according to different classifications It in different files, needs to scan the file specified in multiple files, can be obtained different types of mapping relations, it is raw At mapping relations file.
Specifically, can obtain the page screenshot for being detected the page using various ways, such as the mode that manually intercepts or It is the mode etc. that program is read automatically.Mode the most suitable can be selected to obtain the detected page according to specific test object Page screenshot, be illustrated below:
The first example need to only detect detected page address portions region, then select the mode manually intercepted.
Second of example needs the whole region to multiple pages to detect, then the mode that Procedure for selection is read automatically.
Further, page screenshot is handled by modes such as associated picture Processing Algorithms, the available page is cut Page elements in figure, so that the page elements in the page elements and mapping relations file in page screenshot be compared Carry out page detection.
Wherein, processing is carried out to page screenshot by modes such as associated picture Processing Algorithms and obtains page member in page screenshot The quantity of element and the location information of page elements, and encoding coordinate is converted by location information.
It is emphasized that the corresponding page elements type of the page type of different page screenshots is different, illustrate It is as follows:
The first example, the page elements in the page screenshot of webpage are based on text, picture, video, link etc..
Second of example is mounted on the page elements in the page screenshot of the application program in mobile phone with text, control, figure Based on piece etc..
It should be noted that can be detected in different ways according to mapping relations file to page screenshot, lift Example is described as follows:
As an example, page screenshot is identified, extracts page elements and the page present in page screenshot The location information of element carries out the location information of itself and the page elements and page elements that store in mapping relations file pair Than.
Specifically, the page stored in the quantity and mapping relations file of page elements present in page screenshot is counted respectively The quantity of surface element, if quantity is different, instruction page has defect;If quantity is identical, the page that will be obtained in page screenshot The location information of the page elements stored in the location information matching mapping relations file of surface element, if obtained in page screenshot The location information of page elements can not find corresponding location information in mapping relations file, then instruction page has defect.
For example, counting in page screenshot A is respectively that text 20, picture 2 are opened, and mapping is closed there are page elements It is the page elements stored in file is that text 20, picture 3 open different then instruction pages and have defect;Or it is closed with mapping It is the page elements stored in file is text 20, picture Zhang Xiangtong, the text 20 obtained in further page screenshot, More specific location information that picture 3 is opened and the location information opened with text 20, the picture 3 stored in mapping relations file carry out Match, can not be found in mapping relations file if there is the location information of either element in the location information that text 20, picture 3 are opened Corresponding location information, then instruction page has defect.
In conclusion a kind of detection method of page of the embodiment of the present invention, obtains the mapping relations file and page of the page The page screenshot in face, wherein mapping relations file includes the location information of page elements and page elements, thus according to mapping Relational file detects page screenshot.Page screenshot is carried out by way of generating page-map file as a result, automatic Change detection, guarantees the accuracy of page detection while improving page detection efficiency.
Description based on the above embodiment, it can be realized that pass through the ratio of the location information of page elements and page elements To that can determine whether the page has defect, in order to which those skilled in the art more understand the page detection method of the embodiment of the present invention, How the page is detected with including the case where that tolerable white space size is illustrated in mapping relations file below, Specifically it is described as follows in conjunction with Fig. 4:
Fig. 4 is the flow chart of the detection method of the page in accordance with another embodiment of the present invention, as shown in figure 4, the page Detection method include:
Step 210, the white space in page screenshot is extracted.
Step 220, whether the size for judging white space in page screenshot is more than tolerable sky in mapping relations file White region size.
Step 230, if it does, then judging that the page has defect.
Wherein, the blank in processing extraction page screenshot is carried out to page screenshot by modes such as associated picture Processing Algorithms Region.
Further, if illustrating page within the size of the white space extracted is tolerable in mapping relations file White space size in the screenshot of face meets the requirement of mapping relations file;If the size of the white space extracted has been more than to reflect Tolerable size in relational file is penetrated, the white space size in instruction page screenshot does not meet wanting for mapping relations file Ask, the size of the white space no matter extracted be more than in mapping relations file tolerable white space size how much, as long as super Crossing testing result all is that the page has defect.
It is thus possible to realize the page, there are the detections of white space exception, further increase the accuracy of page detection.
Description based on the above embodiment, it can be realized that pass through the ratio of the location information of page elements and page elements To can determine whether the page there is defect and the detection of white space exception to determine whether the page has defect.For this Field personnel more understand the page detection method of the embodiment of the present invention, below by taking whether the page is overlapped the detection of entanglement as an example into Row illustrates how further to detect the page, is specifically described as follows in conjunction with Fig. 5:
Fig. 5 is the flow chart of the detection method of the page of another embodiment according to the present invention, as shown in figure 5, the page Detection method include:
Step 310, overlapping entanglement detection model is obtained.
Step 320, page screenshot is detected according to overlapping entanglement detection model.
Wherein, the location information that overlapping entanglement detection model mainly passes through page elements is calculated, if page elements Between location information there are intersections, then judging the page, there are overlapping phenomenons, otherwise judge that the page is non-overlapping.Namely It says, if the abscissa of page elements is identical, instruction page element is vertically aligned, if the ordinate of page elements is identical, is said Bright page elements horizontal alignment, otherwise judging the page, there are entanglement phenomenons.
To if the overlapping entanglement that the location information of multiple page elements of the extraction in the page screenshot obtained meets The case where detection model, judges there is overlapping entanglement in the page screenshot of the page, and testing result is that the page has defect.Further Improve the accuracy of page detection.
It for those skilled in the art's more above process, is described in detail by taking Fig. 6 as an example below, as shown in fig. 6, the page Detection method include:
Step 410, the mapping relations file of the page and the page screenshot of the page are obtained, wherein mapping relations file includes The location information of page elements and page elements.
Step 420, the page screenshot of the page is identified, to extract the page elements in page screenshot.
Step 430, the page elements of extraction quantity is carried out with the page elements in mapping relations file to compare.
Step 440, judge whether the page elements extracted are consistent with the quantity of the page elements in mapping relations file.
If quantity is inconsistent, directly judge that the page has defect;If quantity unanimously executes step 450.
Step 450, judge that the position of page elements in the location information and mapping relations file of the page elements extracted is believed It whether consistent ceases.
If location information is inconsistent, directly judge that the page has defect;If location information is consistent, step can be executed 460 or execute 470.
Specifically, processing is carried out to page screenshot by modes such as associated picture Processing Algorithms and obtains the page in page screenshot The quantity of element and the location information of page elements.
Specifically, if the page elements extracted are equal with the quantity of page elements in mapping relations file, illustrate page Page elements quantity in the screenshot of face is errorless;If the quantity of the page elements extracted is greater than the page member in mapping relations file The quantity of element, there are extra page elements in instruction page screenshot;If the quantity of the page elements extracted is less than affiliated reflect The quantity of the page elements in relational file is penetrated, partial page element is lacked in instruction page screenshot.It should be noted that no matter It is that partial page element is also the absence of there are extra page elements, testing result is all that the page has defect.
Specifically, the storage mode ratio of the position of page element information in mapping relations file is as shown in fig. 7, can pass through Programming language as shown in Figure 8 is realized.By the element id (Identity, identity number) and masurium of the page elements of extraction Title is matched with the element id of page elements in mapping relations file and element term, checks the position of the page elements of extraction Whether information is consistent with the location information of page elements in mapping relations file.If extract page elements location information with The location information of page elements is inconsistent in mapping relations file, then the position of page element in instruction page screenshot exists inclined It moves, no matter is deviated to which direction, testing result is all that the page has defect.
The first example, the location information of page elements is<xcenter>002_004,002_ in mapping relations file 005,002_006,001_007</xcenter>, it is desirable that 002_004,002_005,002_006,001_007 horizontal alignment mention The location information of four page elements taken is 002_004 [36,62,76,102], 002_005 [36,62,76,102], 002_ 006 [36,62,76,102], 001_007 [36,62,76,102] meet the position letter of the page elements in mapping relations file Breath.
Second of example, the location information of page elements is<ycenter>002_004,001_ in mapping relations file 004</ycenter>, it is desirable that 002_004,001_004 vertical alignment, the location information of two page elements of extraction are 002_ 004 [36,62,76,102], 001_004 [102,76,62,36], do not meet the position of the page elements in mapping relations file Information, testing result are that the page has defect.
Step 460, the white space in page screenshot is extracted, and judges whether the size of white space in page screenshot surpasses Cross tolerable white space size in mapping relations file.
If it does, directly judging that the page has defect;If be no more than, step 470 can be executed.
Step 470, overlapping entanglement detection model is obtained, page screenshot is detected according to overlapping entanglement detection model.
Page element that may be present is lacked it is thus possible to realize, element position offset, page empty is overlapped entanglement Deng abnormal detection, the page various basic problems that may be present are comprehensively detected, the accuracy of page detection is further increased.
Specifically, Fig. 9 is the flow chart of the detection method of the page in application program according to an embodiment of the invention, such as Shown in Fig. 9, the detection method of the page includes:
S510, obtains the homepage of application program, and obtains the page screenshot of homepage.
Specifically, meeting loading page when application initialization, which, which can pass through, reads application initialization program It obtains.
S520, obtain homepage at least one of can operational controls and at least one operational controls set out with jump It goes at least one first order and jumps page, and obtain the page screenshot that the first order jumps page.
Specifically, homepage includes that at least one jumps to the operational controls at other interfaces to realize jumping between interface, right Some of homepage is able to carry out the operational controls jumped and carries out operation realization page jump, and obtains its corresponding first order and jump The page screenshot of blade-rotating.
It is emphasized that the page screenshot that method identical with S110 obtains homepage and the first order jumps page can be used.
S530, the page detection method jumps page to the page screenshot and the first order of homepage through the foregoing embodiment Page screenshot is detected.
Specifically, above embodiment it is stated that page detection method implementation steps, details are not described herein again.
In conclusion in a kind of application program of the embodiment of the present invention page detection method, obtain the head of application program Page, and obtains the page screenshot of homepage, obtain homepage at least one of can operational controls and at least one operational controls It sets out to jump at least one first order and jump page, and obtains the page screenshot that the first order jumps page, examined by the page The page screenshot that survey method jumps page to the page screenshot and the first order of homepage detects.Pass through in the application as a result, Obtain the screenshot that homepage and the first pole jump page, the mode that the page-map file of itself and generation is compared realizes pair The automatic detection of application program page screenshot, improves page detection efficiency, while ensure that the accuracy of page detection.
In order to which those skilled in the art more understand what how above process implementation was realized, the detection of the page in application program is made Example for the detection method of the page in the application program of one embodiment of the invention is illustrated, and is carried out specifically in conjunction with Figure 10 It is bright specific as follows:
Figure 10 is the structure chart of the detection method of the page in application program.The structure of full page detection method can be divided into Two parts: application program spider module and picture recognition module.
Specifically, application program spider module is right according to the dom tree of application program for the traversal rule according to setting Element of clicking under each page is clicked one by one, realizes whole traversals of the application program page.It is understood that the traversal Process can solve in the prior art user interface automation use-case executed according to given step, cannot as manual testing into Row explores the problem of covering all possible paths.Picture recognition module is used for through image detection, edge detection, image segmentation, Feature extraction and the analysis of phase knowledge and magnanimity, and the page module library and page elements library that construct in advance, and advised according to the given page The screenshot of page when then template and application program traverse, verification page core control missing, positional fault, pattern mistake, overlapping The user interface issues such as entanglement.Make up user interface automation framework in the prior art can not recognition user interface loophole energy Power.
More specifically, application program spider module be divided into page traversal, page record, screen interception, result assert, report Five parts are exported, picture recognition module is divided into data collection layer, images serve layer, general-purpose capability layer three parts.Testing process is such as Under: mapping relations file is firstly generated, then application program spider module carries out page traversal, page record and page screenshotss, Each page number traversed and page screenshot be transmitted to the general-purpose capability layer of image recognition service, general-purpose capability layer is by the page Screenshot passes to images serve layer, and last images serve layer detects page screenshot according to mapping relations file, detection knot Fruit is returned to application program spider module, carries out result and asserts, report output.
For example, the page elements of the page all detected in an application program, it was demonstrated that page elements are without missing And it shows correct;Page alignment rule, horizontal alignment, by the positional information calculation of the page, page elements alignment is correct;Detection To continuous blank such as A001, it was demonstrated that the page is abnormal there are white space and the non-overlapping entanglement of the page is abnormal.
Hereby it is achieved that the automatic detection to application page face screenshot, improves page detection efficiency, guarantees simultaneously The accuracy of page detection.
In order to realize above-described embodiment, the present invention also proposes a kind of detection device of page.
Figure 11 is a kind of structural schematic diagram of the detection device of the page provided in an embodiment of the present invention.
As shown in figure 11, the detection device of the page includes: the first acquisition module 100 and first detection module 200.
First obtains module 100, for obtaining the mapping relations file of the page and the page screenshot of the page, wherein mapping Relational file includes the location information of page elements and page elements;
First detection module 200, for being detected according to mapping relations file to page screenshot.
Specifically, first detection module 200 is for identifying the page screenshot of the page, to extract in page screenshot Page elements;The page elements of extraction are carried out quantity with the page elements in mapping relations file to compare;Judge the page extracted Whether surface element is consistent with the quantity of the page elements in mapping relations file;And if the page elements and mapping that extract close Be the page elements in file quantity it is inconsistent, then judge the page have defect.
Specifically, if page elements and the page in mapping relations file that first detection module 200 is also used to extract The quantity of element is consistent, then further extracts the location information of this each page elements of page screenshot;Judge the page extracted member Whether the location information of element is consistent with the location information of page elements in mapping relations file;If the position of the page elements extracted Confidence breath is inconsistent with the location information of page elements in mapping relations file, then judges that the page has defect.
Wherein, further include tolerable white space size in mapping relations file, can also extract in page screenshot White space;Judge white space in page screenshot size whether be more than in mapping relations file tolerable white space it is big It is small;If it does, then judging that the page has defect.
Specifically, overlapping entanglement detection model can also be obtained, page screenshot is carried out according to overlapping entanglement detection model Detection.
The detection device of the page of the embodiment of the present invention is cut by the page of the mapping relations file and the page that obtain the page Figure, wherein mapping relations file includes the location information of page elements and page elements, thus according to mapping relations file pair Page screenshot is detected.Automatic detection is carried out to page screenshot by way of generating page-map file as a result, is being mentioned Guarantee the accuracy of page detection while high page detection efficiency.
It should be noted that the explanation of the aforementioned detection method embodiment to the page is also applied for the page of the embodiment The detection device in face, details are not described herein again.
In order to realize above-described embodiment, the present invention also proposes a kind of detection of the page in application program.
Figure 12 is the structural schematic diagram of the detection of the page in a kind of application program provided in an embodiment of the present invention.
As shown in figure 12, the detection of the page includes: the second acquisition module 300, third acquisition module 400 in the application program With the second detection module 500.
Second obtains module 300, for obtaining the homepage of application program, and obtains the page screenshot of homepage.
Third obtain module 400, for obtain homepage at least one of can operational controls and at least one operation Control sets out to jump at least one first order and jump page, and obtains the page screenshot that the first order jumps page.
Second detection module 500, for page detection device through the foregoing embodiment to the page screenshot of homepage and The page screenshot that level-one jumps page is detected.
The detection device of the page in the application program of the embodiment of the present invention by obtaining application program homepage, and obtains After the page screenshot of homepage, obtain homepage at least one of operational controls and can set out at least one operational controls Page is jumped to jump at least one first order, and obtains the page screenshot that the first order jumps page, then passes through first aspect reality The page screenshot that the page detection method for applying example jumps page to the page screenshot and the first order of homepage detects.Pass through as a result, The mode for generating page-map file carries out automatic detection to the page screenshot in application program, is improving page detection efficiency While guarantee page detection accuracy.
In order to realize above-described embodiment, the present invention also proposes a kind of computer equipment, comprising: processor, and for depositing Store up the memory of the processor-executable instruction.
Wherein, the processor run by reading the executable program code stored in the memory with it is described can The corresponding program of program code is executed, either with the detection method of the page proposed for realizing such as present invention Realize the detection method of the page in the application program of previous embodiment proposition.
In order to realize above-described embodiment, the present invention also proposes a kind of non-transitorycomputer readable storage medium, when described Instruction in storage medium is performed by processor, enables a processor to execute the page that present invention proposes Detection method realize previous embodiment propose application program in the page detection method.
In order to realize above-described embodiment, the present invention also proposes a kind of computer program product, when the computer program produces When instruction in product is executed by processor, the detection method realization for executing the page for realizing that present invention proposes is aforementioned The detection method of the page in the application program that embodiment proposes.
Figure 13 shows the block diagram for being suitable for the exemplary computer device for being used to realize the application embodiment.Figure 13 is shown Computer equipment 12 be only an example, should not function to the embodiment of the present application and use scope bring any restrictions.
As shown in figure 13, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can To include but is not limited to: one or more processor or processing unit 16, system storage 28 connect different system components The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (Industry Standard Architecture;Hereinafter referred to as: ISA) bus, microchannel architecture (Micro Channel Architecture;Below Referred to as: MAC) bus, enhanced isa bus, Video Electronics Standards Association (Video Electronics Standards Association;Hereinafter referred to as: VESA) local bus and peripheral component interconnection (Peripheral Component Interconnection;Hereinafter referred to as: PCI) bus.
Computer equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by The usable medium that computer equipment 12 accesses, including volatile and non-volatile media, moveable and immovable medium.
Memory 28 may include the computer system readable media of form of volatile memory, such as random access memory Device (Random Access Memory;Hereinafter referred to as: RAM) 30 and/or cache memory 32.Computer equipment 12 can be with It further comprise other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only as an example, Storage system 34 can be used for reading and writing immovable, non-volatile magnetic media, and (Figure 13 do not show, commonly referred to as " hard drive Device ").Although being not shown in Figure 13, the disk for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided Driver, and to removable anonvolatile optical disk (such as: compact disc read-only memory (Compact Disc Read Only Memory;Hereinafter referred to as: CD-ROM), digital multi CD-ROM (Digital Video Disc Read Only Memory;Hereinafter referred to as: DVD-ROM) or other optical mediums) read-write CD drive.In these cases, each driving Device can be connected by one or more data media interfaces with bus 18.Memory 28 may include that at least one program produces Product, the program product have one group of (for example, at least one) program module, and it is each that these program modules are configured to perform the application The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28 In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and It may include the realization of network environment in program data, each of these examples or certain combination.Program module 42 is usual Execute the function and/or method in embodiments described herein.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 Deng) communication, the equipment interacted with the computer system/server 12 can be also enabled a user to one or more to be communicated, and/ Or with enable the computer system/server 12 and one or more of the other any equipment (example for being communicated of calculating equipment Such as network interface card, modem etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, it calculates Machine equipment 12 can also pass through network adapter 20 and one or more network (such as local area network (Local Area Network;Hereinafter referred to as: LAN), wide area network (Wide Area Network;Hereinafter referred to as: WAN) and/or public network, example Such as internet) communication.As shown, network adapter 20 is communicated by bus 18 with other modules of computer equipment 12.It answers When understanding, although not shown in the drawings, other hardware and/or software module can be used in conjunction with computer equipment 12, including but not Be limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and Data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and The detection side of the page in the detection method of the page referred in data processing, such as realization previous embodiment either application program Method.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention Type.

Claims (14)

1. a kind of detection method of the page characterized by comprising
Obtain the mapping relations file of the page and the page screenshot of the page, wherein the mapping relations file includes page elements And the location information of the page elements;
The page screenshot is detected according to the mapping relations file.
2. page detection method as described in claim 1, which is characterized in that it is described according to the mapping relations file to described Page screenshot carries out detection
The page screenshot of the page is identified, to extract the page elements in the page screenshot;
The page elements of extraction are carried out quantity with the page elements in the mapping relations file to compare;
Judge whether the page elements of the extraction are consistent with the quantity of the page elements in the mapping relations file;And
If the page elements of the extraction and the quantity of the page elements in the mapping relations file are inconsistent, institute is judged The page is stated with defect.
3. page detection method as claimed in claim 2, which is characterized in that further include:
If the page elements of the extraction are consistent with the quantity of page elements in the mapping relations file, further mention Take the location information of this each page elements of the page screenshot;
Judging the location information of the location information and page elements in the mapping relations file of the page elements of the extraction is It is no consistent;
If the location information of page elements is not in the location information of the page elements of the extraction and the mapping relations file Unanimously, then judge that the page has defect.
4. page detection method as described in claim 1, which is characterized in that further include tolerable in the mapping relations file White space size, the method also includes:
Extract the white space in the page screenshot;
Whether the size for judging white space in the page screenshot is more than tolerable blank area in the mapping relations file Domain size;
If it does, then judging that the page has defect.
5. page detection method as described in claim 1, which is characterized in that further include:
Obtain overlapping entanglement detection model;
The page screenshot is detected according to the overlapping entanglement detection model.
6. the detection method of the page in a kind of application program characterized by comprising
The homepage of application program is obtained, and obtains the page screenshot of the homepage;
Obtain the homepage at least one of can operational controls and at least one described operational controls set out with jump It goes at least one first order and jumps page, and obtain the page screenshot that the first order jumps page;
The page screenshot of the homepage and the first order are jumped by claim 1-5 described in any item page detection methods The page screenshot of blade-rotating is detected.
7. a kind of detection device of the page, which is characterized in that described device includes:
First obtains module, for obtaining the mapping relations file of the page and the page screenshot of the page, wherein the mapping relations File includes the location information of page elements and the page elements;
First detection module, for being detected according to the mapping relations file to the page screenshot.
8. the detection device of the page in a kind of application program, which is characterized in that described device includes:
Second obtains module, for obtaining the homepage of application program, and obtains the page screenshot of the homepage;
Third obtain module, for obtain the homepage at least one of can operational controls and to it is described at least one operation Control sets out to jump at least one first order and jump page, and obtains the page screenshot that the first order jumps page;
Second detection module, for by page detection device as claimed in claim 7 to the homepage page screenshot and institute It states the first order and jumps the page screenshot of page and detected.
9. a kind of computer equipment, which is characterized in that on a memory and can be in processor including memory, processor and storage The computer program of upper operation when the processor executes described program, realizes such as the page as claimed in any one of claims 1 to 5 Detection method.
10. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program The detection method such as the page as claimed in any one of claims 1 to 5 is realized when being executed by processor.
11. a kind of computer program product, which is characterized in that when the instruction in the computer program product is executed by processor When, execute the detection method such as the page as claimed in any one of claims 1 to 5.
12. a kind of computer equipment, which is characterized in that including memory, processor and store on a memory and can handle The computer program run on device realizes application program as described in claim 7 when the processor executes described program The detection method of the middle page.
13. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program The detection method of the page in application program as described in claim 7 is realized when being executed by processor.
14. a kind of computer program product, which is characterized in that when the instruction in the computer program product is executed by processor When, execute the detection method of the page in application program as described in claim 7.
CN201810804155.9A 2018-07-20 2018-07-20 Page detection method and device Active CN109086203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810804155.9A CN109086203B (en) 2018-07-20 2018-07-20 Page detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810804155.9A CN109086203B (en) 2018-07-20 2018-07-20 Page detection method and device

Publications (2)

Publication Number Publication Date
CN109086203A true CN109086203A (en) 2018-12-25
CN109086203B CN109086203B (en) 2022-10-28

Family

ID=64838327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810804155.9A Active CN109086203B (en) 2018-07-20 2018-07-20 Page detection method and device

Country Status (1)

Country Link
CN (1) CN109086203B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109815156A (en) * 2019-02-28 2019-05-28 北京百度网讯科技有限公司 Displaying test method, device, equipment and the storage medium of visual element in the page
CN109947648A (en) * 2019-03-19 2019-06-28 贺莉娟 For the binding test method in length and breadth of WEB system requirements specification
CN109992518A (en) * 2019-04-10 2019-07-09 禄鹏 Detection method, device, electronic equipment and the storage medium at the interface UI
CN110362482A (en) * 2019-06-21 2019-10-22 深圳壹账通智能科技有限公司 Page defect management method and terminal device
CN111105468A (en) * 2019-12-05 2020-05-05 北大方正集团有限公司 Printing processing method, printing processing device and storage medium
CN111949510A (en) * 2019-05-17 2020-11-17 百度在线网络技术(北京)有限公司 Test processing method and device, electronic equipment and readable storage medium
CN112015634A (en) * 2019-05-31 2020-12-01 百度在线网络技术(北京)有限公司 Page structure information generation method and device and electronic equipment
CN112115043A (en) * 2020-08-12 2020-12-22 浙江大学 Image-based on-end intelligent page quality inspection method
CN112286785A (en) * 2019-07-24 2021-01-29 腾讯科技(深圳)有限公司 User interface abnormity detection method and device
CN112347400A (en) * 2019-08-09 2021-02-09 腾讯科技(深圳)有限公司 Method, device and equipment for detecting missing of multilingual page data and storage medium
CN112527621A (en) * 2019-09-17 2021-03-19 中移动信息技术有限公司 Test path construction method, device, equipment and storage medium
CN112732559A (en) * 2020-12-30 2021-04-30 广东粤云工业互联网创新科技有限公司 Picture comparison method, automatic dial testing method and system and storage medium
CN113569861A (en) * 2021-08-03 2021-10-29 天翼爱音乐文化科技有限公司 Mobile application illegal content scanning method, system, equipment and medium
CN114064790A (en) * 2021-11-12 2022-02-18 盐城金堤科技有限公司 Method and device for judging whether relation map is loaded normally
CN114579347A (en) * 2022-04-24 2022-06-03 浙江口碑网络技术有限公司 Page abnormity detection method and device, computer equipment and readable storage medium
CN115858401A (en) * 2023-02-27 2023-03-28 成都光合信号科技有限公司 Page detection method and device, electronic equipment and storage medium
CN116089256A (en) * 2022-05-13 2023-05-09 荣耀终端有限公司 Terminal testing method, device and storage medium
CN117349178A (en) * 2023-10-30 2024-01-05 新华三科技服务有限公司 User page testing method and device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100329573A1 (en) * 2009-06-26 2010-12-30 Fujitsu Limited Display test device, display test method, and storage medium
CN103678105A (en) * 2012-09-17 2014-03-26 百度在线网络技术(北京)有限公司 Page code testing method and device
CN104252410A (en) * 2013-06-27 2014-12-31 阿里巴巴集团控股有限公司 Method and equipment for testing control in page
CN104794048A (en) * 2014-01-17 2015-07-22 阿里巴巴集团控股有限公司 Automatic UI testing method and system
CN104899146A (en) * 2015-06-19 2015-09-09 安一恒通(北京)科技有限公司 Image matching technology based software stability test method and device
CN104951393A (en) * 2014-03-25 2015-09-30 中国电信股份有限公司 Testing method and device
CN104978270A (en) * 2015-07-03 2015-10-14 上海触乐信息科技有限公司 Automatic software testing method and apparatus
CN105068918A (en) * 2015-06-03 2015-11-18 中国人民财产保险股份有限公司 Page test method and device
CN105260301A (en) * 2015-09-24 2016-01-20 努比亚技术有限公司 Visual effect comparison test device of user interfaces and realization method of visual effect comparison test device of user interfaces
CN106598846A (en) * 2016-11-29 2017-04-26 上海亿账通互联网科技有限公司 Application interface test method and apparatus
CN106991045A (en) * 2017-03-24 2017-07-28 广州酷狗计算机科技有限公司 Page method of calibration and device
CN107015907A (en) * 2017-03-15 2017-08-04 中国地质大学(武汉) A kind of system and method for automatic accurate positioning webpage element
CN107239390A (en) * 2016-03-28 2017-10-10 百度在线网络技术(北京)有限公司 The method and apparatus for proofreading application interface information

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100329573A1 (en) * 2009-06-26 2010-12-30 Fujitsu Limited Display test device, display test method, and storage medium
CN103678105A (en) * 2012-09-17 2014-03-26 百度在线网络技术(北京)有限公司 Page code testing method and device
CN104252410A (en) * 2013-06-27 2014-12-31 阿里巴巴集团控股有限公司 Method and equipment for testing control in page
CN104794048A (en) * 2014-01-17 2015-07-22 阿里巴巴集团控股有限公司 Automatic UI testing method and system
CN104951393A (en) * 2014-03-25 2015-09-30 中国电信股份有限公司 Testing method and device
CN105068918A (en) * 2015-06-03 2015-11-18 中国人民财产保险股份有限公司 Page test method and device
CN104899146A (en) * 2015-06-19 2015-09-09 安一恒通(北京)科技有限公司 Image matching technology based software stability test method and device
CN104978270A (en) * 2015-07-03 2015-10-14 上海触乐信息科技有限公司 Automatic software testing method and apparatus
CN105260301A (en) * 2015-09-24 2016-01-20 努比亚技术有限公司 Visual effect comparison test device of user interfaces and realization method of visual effect comparison test device of user interfaces
CN107239390A (en) * 2016-03-28 2017-10-10 百度在线网络技术(北京)有限公司 The method and apparatus for proofreading application interface information
CN106598846A (en) * 2016-11-29 2017-04-26 上海亿账通互联网科技有限公司 Application interface test method and apparatus
CN107015907A (en) * 2017-03-15 2017-08-04 中国地质大学(武汉) A kind of system and method for automatic accurate positioning webpage element
CN106991045A (en) * 2017-03-24 2017-07-28 广州酷狗计算机科技有限公司 Page method of calibration and device

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109815156A (en) * 2019-02-28 2019-05-28 北京百度网讯科技有限公司 Displaying test method, device, equipment and the storage medium of visual element in the page
CN109947648A (en) * 2019-03-19 2019-06-28 贺莉娟 For the binding test method in length and breadth of WEB system requirements specification
CN109947648B (en) * 2019-03-19 2022-04-29 贺莉娟 Longitudinal and transverse combination test method for WEB system requirement specification
CN109992518A (en) * 2019-04-10 2019-07-09 禄鹏 Detection method, device, electronic equipment and the storage medium at the interface UI
CN111949510A (en) * 2019-05-17 2020-11-17 百度在线网络技术(北京)有限公司 Test processing method and device, electronic equipment and readable storage medium
CN111949510B (en) * 2019-05-17 2024-05-14 百度在线网络技术(北京)有限公司 Test processing method, device, electronic equipment and readable storage medium
CN112015634A (en) * 2019-05-31 2020-12-01 百度在线网络技术(北京)有限公司 Page structure information generation method and device and electronic equipment
CN110362482A (en) * 2019-06-21 2019-10-22 深圳壹账通智能科技有限公司 Page defect management method and terminal device
CN112286785A (en) * 2019-07-24 2021-01-29 腾讯科技(深圳)有限公司 User interface abnormity detection method and device
CN112286785B (en) * 2019-07-24 2023-10-27 腾讯科技(深圳)有限公司 Abnormality detection method and device for user interface
CN112347400A (en) * 2019-08-09 2021-02-09 腾讯科技(深圳)有限公司 Method, device and equipment for detecting missing of multilingual page data and storage medium
CN112527621A (en) * 2019-09-17 2021-03-19 中移动信息技术有限公司 Test path construction method, device, equipment and storage medium
CN111105468B (en) * 2019-12-05 2023-05-26 北大方正集团有限公司 Printing processing method, device and storage medium
CN111105468A (en) * 2019-12-05 2020-05-05 北大方正集团有限公司 Printing processing method, printing processing device and storage medium
CN112115043A (en) * 2020-08-12 2020-12-22 浙江大学 Image-based on-end intelligent page quality inspection method
CN112732559A (en) * 2020-12-30 2021-04-30 广东粤云工业互联网创新科技有限公司 Picture comparison method, automatic dial testing method and system and storage medium
CN113569861A (en) * 2021-08-03 2021-10-29 天翼爱音乐文化科技有限公司 Mobile application illegal content scanning method, system, equipment and medium
CN113569861B (en) * 2021-08-03 2022-12-06 天翼爱音乐文化科技有限公司 Mobile application illegal content scanning method, system, equipment and medium
CN114064790A (en) * 2021-11-12 2022-02-18 盐城金堤科技有限公司 Method and device for judging whether relation map is loaded normally
CN114579347A (en) * 2022-04-24 2022-06-03 浙江口碑网络技术有限公司 Page abnormity detection method and device, computer equipment and readable storage medium
CN116089256A (en) * 2022-05-13 2023-05-09 荣耀终端有限公司 Terminal testing method, device and storage medium
CN116089256B (en) * 2022-05-13 2024-03-12 荣耀终端有限公司 Terminal testing method, device and storage medium
CN115858401A (en) * 2023-02-27 2023-03-28 成都光合信号科技有限公司 Page detection method and device, electronic equipment and storage medium
CN117349178A (en) * 2023-10-30 2024-01-05 新华三科技服务有限公司 User page testing method and device

Also Published As

Publication number Publication date
CN109086203B (en) 2022-10-28

Similar Documents

Publication Publication Date Title
CN109086203A (en) The detection method and device of the page
CN109815156A (en) Displaying test method, device, equipment and the storage medium of visual element in the page
CN103838566A (en) Information processing device, and information processing method
CN106547678B (en) Method and apparatus for white-box testing
CN100429649C (en) Alternative supporting device and method
CN108734089A (en) Identify method, apparatus, equipment and the storage medium of table content in picture file
CN110458918A (en) Method and apparatus for output information
CN110399291A (en) User Page test method and relevant device based on image recognition
CN106815515A (en) A kind of identifying code implementation method and device based on track checking
Yang et al. Don’t do that! hunting down visual design smells in complex uis against design guidelines
CN113255614A (en) RPA flow automatic generation method and system based on video analysis
US20110252316A1 (en) Translating text on a surface computing device
CN110287854A (en) Extracting method, device, computer equipment and the storage medium of table
CN109784369A (en) H5 page test method and device, electronic equipment, storage medium
CN110175609A (en) Interface element detection method, device and equipment
Saar et al. Browserbite: cross‐browser testing via image processing
CN110188303A (en) Page fault recognition methods and device
CN104252412B (en) Method and system for the automatic detection of CSS conflicts
CN109241485A (en) Relation establishing method and device are jumped between a kind of page
CN107368568A (en) Method, device, equipment and storage medium for generating notes
US20220413997A1 (en) Automated locating of gui elements during testing using multidimensional indices
KR20170009917A (en) Detecting conformance of graphical output data from an application to a convention
CN110377748A (en) Entity focus method for digging, device, computer equipment and storage medium
CN110008923A (en) Image processing method and training method and device, calculate equipment at medium
US11176311B1 (en) Enhanced section detection using a combination of object detection with heuristics

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