CN107766250A - Method of testing, device, server and the storage medium of advertisement pattern - Google Patents

Method of testing, device, server and the storage medium of advertisement pattern Download PDF

Info

Publication number
CN107766250A
CN107766250A CN201711062446.7A CN201711062446A CN107766250A CN 107766250 A CN107766250 A CN 107766250A CN 201711062446 A CN201711062446 A CN 201711062446A CN 107766250 A CN107766250 A CN 107766250A
Authority
CN
China
Prior art keywords
advertisement
pattern
test
test case
case
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.)
Pending
Application number
CN201711062446.7A
Other languages
Chinese (zh)
Inventor
王娜
郭帆
代闯仁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
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 CN201711062446.7A priority Critical patent/CN107766250A/en
Publication of CN107766250A publication Critical patent/CN107766250A/en
Pending legal-status Critical Current

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/3684Test management for test design, e.g. generating new test cases
    • 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

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a kind of method of testing, device, server and the storage medium of advertisement pattern.Wherein, method includes:Default style configuration file is obtained, parsing obtains multiple patterned sets information, wherein, the combination of multiple advertisement patterns and each pattern is recorded in the style configuration file;According to the multiple patterned sets information, multiple test cases corresponding to generation;Stake data corresponding to respectively each test case construction, the stake data are used to show corresponding advertisement pattern in a test system;The multiple test case is imported in use-case data storehouse, so that test system is tested advertisement pattern according to test case and stake data.The problem of embodiment of the present invention solves tester's hand-coding test case, and testing efficiency low-maintenance cost is high, realize and write test case automatically and carry out the regression test of advertisement pattern.

Description

Method of testing, device, server and the storage medium of advertisement pattern
Technical field
The present embodiments relate to internet arena, more particularly to a kind of method of testing of advertisement pattern, device, server And storage medium.
Background technology
Phoenix nest picture-text advertisement is that Baidu search promotes the important component for showing pattern, and it is up to up to a hundred that it shows pattern Kind, the stack combinations pattern of various patterns is even more abundant.Advertisement pattern is carried out before advertisement pattern module redaction is reached the standard grade Regression test, it whether there is mistake in pattern to detect showing for advertisement.
, it is necessary to which tester's hand-coding test case, carries out regression test, test by hand in existing method of testing Efficiency is low, and maintenance cost is high.Further, since the diversity of advertisement pattern to be tested and the frequency of its upgrading, by people The means of work are also difficult to complete to cover comprehensive test case.
The content of the invention
The embodiment of the present invention provides a kind of method of testing, device, server and the storage medium of advertisement pattern, to realize certainly Dynamic generation test case simultaneously carries out regression test, lifts testing efficiency and coverage rate.
In a first aspect, the embodiments of the invention provide the method for testing of advertisement pattern, this method includes:
Default style configuration file is obtained, parsing obtains multiple patterned sets information, wherein, the style configuration file In record the combination of multiple advertisement patterns and each pattern;
According to the multiple patterned sets information, multiple test cases corresponding to generation;
Stake data corresponding to respectively each test case construction, the stake data are used in a test system show accordingly Advertisement pattern;
The multiple test case is imported in use-case data storehouse, so that test system is according to test case and stake data pair Advertisement pattern is tested.
Second aspect, the embodiment of the present invention additionally provide the test device of advertisement pattern, and the device includes:
Style information acquisition module, for obtaining default style configuration file, parsing obtains multiple patterned sets information, Wherein, the combination of multiple advertisement patterns and each pattern is recorded in the style configuration file;
Test cases technology module, for according to the multiple patterned sets information, multiple test cases corresponding to generation;
Stake data configuration module, for being respectively stake data corresponding to each test case construction, the stake data are used for Show corresponding advertisement pattern in a test system;
Data import modul, for the multiple test case to be imported in use-case data storehouse, so as to test system according to Test case and stake data are tested advertisement pattern.
The third aspect, the embodiment of the present invention additionally provide a kind of server, and the server includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are by one or more of computing devices so that one or more of processing Device realizes the method for testing of the advertisement pattern as described in any in the embodiment of the present invention.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer Program, it is characterised in that realized when the program is executed by processor such as the advertisement pattern as described in any in the embodiment of the present invention Method of testing.
The embodiment of the present invention passes through multiple test cases and structure according to corresponding to the generation of multiple patterned sets information of acquisition Make stake data corresponding with each test case and carry out advertisement pattern test, solve tester's hand-coding test case, survey The problem of efficiency low-maintenance cost is high is tried, is realized and is write test case automatically and carry out the regression test of advertisement pattern.
Brief description of the drawings
Fig. 1 is the flow chart of the method for testing of the advertisement pattern in the embodiment of the present invention one;
Fig. 2 is the flow chart of the method for testing of the advertisement pattern in the embodiment of the present invention two;
Fig. 3 is the structural representation of the test device of the advertisement pattern in the embodiment of the present invention three;
Fig. 4 is the structural representation of the server in the embodiment of the present invention four.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is the flow chart of the method for testing for the advertisement pattern that the embodiment of the present invention one provides, and the present embodiment is applicable to Test advertisements pattern show whether correct situation, this method can perform by the test device of advertisement pattern, the device example Such as it is configured in server.As shown in figure 1, this method specifically includes:
S110, default style configuration file being obtained, parsing obtains multiple patterned sets information, wherein, the pattern is matched somebody with somebody Put the combination that multiple advertisement patterns and each pattern are recorded in file.
Specifically, the information that advertisement pattern shows includes the key elements such as title, picture, description, sub- connection, each key element is by advertisement The combined information of pattern module definition, the coding information of advertisement pattern and each pattern is all arranged in style configuration file.Pattern Configuration file can obtain from the product reached the standard grade i.e. ad system.After style configuration file is got, you can parsing obtains The combined information of advertisement pattern and each pattern.
S120, according to the multiple patterned sets information, multiple test cases corresponding to generation.
Specifically, correspond to each patterned sets all one test cases of corresponding generation.Wrapped respectively in each test case The mark of patterned sets containing advertisement, external label and through advertisement URL;Wherein, the advertisement patterned sets are identified for unique Identify test case, the external label is used to marking the part of advertisement in webpage, in webpage described in the through advertisement URL The patterned sets information to be measured of advertisement, so that test system includes pattern to be tested according to stake data and through advertisement URL generations Advertisement webpage, and the part of advertisement in webpage is carried out by sectional drawing according to the external label, it is wide in sectional drawing so as to judge Whether normal accuse pattern.
S130, it is respectively stake data corresponding to each test case construction, the stake data are used to open up in a test system Now corresponding advertisement pattern.
Specifically, in a test system, the part of analog ad system background operation, stake mould to be used for comprising a stubs Root tuber returns to the advertisement of given pattern combination according to stake data., it is necessary to build ad system backstage, extensively generally in the showing of advertisement Accuse the advertising message that system background generation includes the information such as patterned sets, ad system front end pattern module (i.e. test case institute The advertisement pattern module of test) according to ad system backstage return advertising message generate showing advertisement html information, then It is embedded in webpage (result page of such as search engine), shows advertisement.In advertising testing, in order to analog ad show it is true Environment, show together with real search result, construct stake data to realize that the advertisement pattern of test case shows.
Further, advertisement patterned sets mark of the server in each test case, and utilize outside Stake data configuration instrument, stake data corresponding to respectively each test case construction.
S140, the multiple test case imported in use-case data storehouse, so that test system is according to test case and stake Data are tested advertisement pattern.
Specifically, after the test case of generation is imported into database, when test system is tested advertisement pattern When, can according to the advertisement patterned sets of test case identify, find test case corresponding with advertisement pattern to be tested and with survey Stake data corresponding to example on probation, are automatically performed the regression test of advertisement pattern, and feedback test result.
The embodiment of the present invention passes through multiple test cases and structure according to corresponding to the generation of multiple patterned sets information of acquisition Make stake data corresponding with each test case and carry out advertisement pattern test, solve tester's hand-coding test case, survey The problem of efficiency low-maintenance cost is high is tried, is realized and is write test case automatically and carry out the regression test of advertisement pattern.
Embodiment two
Fig. 2 is the flow chart of the method for testing for the advertisement pattern that the embodiment of the present invention two provides, and the present embodiment two is being implemented Make on the basis of example one and further optimizing.As shown in Fig. 2 methods described includes:
S210, default style configuration file being obtained, parsing obtains multiple patterned sets information, wherein, the pattern is matched somebody with somebody Put the combination that multiple advertisement patterns and each pattern are recorded in file.
S220, according to the multiple patterned sets information, multiple test cases corresponding to generation.
S230, according to preset rules by the multiple test case carry out priority division.
Specifically, preset rules are a rules being manually set according to historical experience, for example, from conventional test experience In learn, advertisement pattern superposition displaying most often there is mistake in the pattern being superimposed two-by-two, in order to improve advertisement pattern test Efficiency, so the priority of the advertisement pattern test case of stack combinations two-by-two is arranged to highest, preferential test.It is exemplary , existing three kinds of advertisement patterns to be tested, including pattern 1, pattern 2 and pattern 3, then need three kinds of samples of preferential Test coverage The patterned sets being superimposed two-by-two of formula, for example, combine for pattern 1 and pattern 2, pattern 1 and pattern 3 combine, pattern 2 and pattern 3 Combine situation about being tested, it is preferred that two kinds in above-mentioned three kinds of combinations can be selected, such as 2 groups of pattern 1 and pattern Close, pattern 1 and pattern 3 combine, and so ensure that pattern 1, pattern 2, pattern 3 are all tested, then re-test is other The test case for the combination being superimposed two-by-two.Other patterned sets of re-test afterwards, as pattern 1, pattern 2, pattern 3 combine Test case together.
S240, it is respectively stake data corresponding to each test case construction, the stake data are used to open up in a test system Now corresponding advertisement pattern.
Specifically, the advertisement patterned sets mark in each test case, and utilize the stake data configuration work of outside Tool, stake data corresponding to construction.
S250, the multiple test cases divided through priority are imported in use-case data storehouse, so that test system is according to survey The priority and stake data of example on probation are tested advertisement pattern.
Specifically, after test case imports database, test system is according to the priority read test of test case Use-case is tested.Identified according to the advertisement patterned sets of test case, find test corresponding with advertisement pattern to be tested and use Example and stake data corresponding with test case, are automatically performed the regression test of advertisement pattern, and feedback test result.
Exemplary, test system mainly controls mould comprising search system, tested module, stubs and testing process Block.Preserved in a text form in a document after stake data generation, after test system brings into operation, stubs can download a number According to.During test, patterned sets information searching of the test system in through advertisement URL arrives corresponding with currently use-case to be tested Stake data, accordingly generate specific showing advertisement pattern, return to search system and generate final searched page, wherein advertisement is It is embedded in real search result.After the final searched page sectional drawing of generation, judged by testing process control module wide Whether normally showing for pattern is accused, and will determine that result returns.
The embodiment of the present invention is by the test case prioritization according to preset rules to generation, according to priority orders Combination to advertisement pattern is tested, and the high advertisement patterned sets of the possibility that mistake occurs in preferential test, can be improved wide The efficiency of pattern test is accused, improves wrong recall rate.
Embodiment three
Fig. 3 is the structural representation of the test device of the advertisement pattern in the embodiment of the present invention three.As shown in figure 3, advertisement The test device of pattern includes:
Style information acquisition module 310, for obtaining default style configuration file, parsing obtains multiple patterned sets letters Breath, wherein, the combination of multiple advertisement patterns and each pattern is recorded in the style configuration file;
Test cases technology module 320, for according to the multiple patterned sets information, multiple tests corresponding to generation to be used Example;
Stake data configuration module 330, for being respectively stake data corresponding to each test case constructs, the stake data use In showing corresponding advertisement pattern in a test system;
Data import modul 340, for the multiple test case to be imported in use-case data storehouse, so as to test system root Advertisement pattern is tested according to test case and stake data.
Further, in the multiple test case, respectively comprising advertisement patterned sets mark, outside in each test case Label and through advertisement URL;Wherein, advertisement patterned sets are identified for unique mark test case, and external label is used to mark The part of advertisement in webpage is noted, the patterned sets information to be measured of advertisement in the webpage described in advertisement URL that goes directly, so as to test system The webpage of the advertisement comprising pattern to be tested according to stake data and through advertisement URL generations, and according to the external label by net The part of advertisement carries out sectional drawing in page, so as to judge whether the advertisement pattern in sectional drawing is normal.
Further, stake data configuration module 330, is specifically used for:
Advertisement patterned sets mark in each test case, and external structure instrument is utilized, it is respectively each Stake data corresponding to individual test case construction.
Further, the test device of advertisement pattern also includes:
Priority division module, for the multiple test case to be carried out into priority division according to preset rules;
Accordingly, data import modul 340, it is additionally operable to:
The multiple test cases divided through priority are imported in use-case data storehouse, so that test system is according to test case Priority and stake data advertisement pattern is tested.
The test device for the advertisement pattern that the embodiment of the present invention is provided can perform what any embodiment of the present invention was provided The method of testing of advertisement pattern, possess the corresponding functional module of execution method and beneficial effect.
Example IV
Fig. 4 is the structural representation of the server in the embodiment of the present invention four.Fig. 4 is shown suitable for being used for realizing the present invention The block diagram of the exemplary servers 412 of embodiment.The server 412 that Fig. 4 is shown is only an example, should not be to the present invention The function and use range of embodiment bring any restrictions.
As shown in figure 4, server 412 is showed in the form of universal computing device.The component of server 412 can include but It is not limited to:One or more processor or processing unit 416, system storage 428, connection different system component (including System storage 428 and processing unit 416) bus 418.
Bus 418 represents the one or more in a few class bus structures, 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.Lift For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC) Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Server 412 typically comprises various computing systems computer-readable recording medium.These media can be it is any being capable of bedding and clothing The usable medium that business device 412 accesses, including volatibility and non-volatile media, moveable and immovable medium.
System storage 428 can include the computer system readable media of form of volatile memory, such as deposit at random Access to memory (RAM) 430 and/or cache memory 432.Server 412 may further include it is other it is removable/can not Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 434 can be used for read-write not Movably, non-volatile magnetic media (Fig. 4 is not shown, is commonly referred to as " hard disk drive ").Although not shown in Fig. 4, can with There is provided for the disc driver to may move non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable non-volatile The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving Device can be connected by one or more data media interfaces with bus 418.Memory 428 can include at least one program Product, the program product have one group of (for example, at least one) program module, and these program modules are configured to perform the present invention The function of each embodiment.
Program/utility 440 with one group of (at least one) program module 442, can be stored in such as memory In 428, such program module 442 includes but is not limited to operating system, one or more application program, other program modules And routine data, the realization of network environment may be included in each or certain combination in these examples.Program module 442 Generally perform the function and/or method in embodiment described in the invention.
Server 412 can also be with one or more external equipments 414 (such as keyboard, sensing equipment, display 424 etc.) Communication, can also enable a user to the equipment communication interacted with the server 412 with one or more, and/or with causing the clothes Any equipment (such as network interface card, modem etc.) that business device 412 can be communicated with one or more of the other computing device Communication.This communication can be carried out by input/output (I/O) interface 422.Also, server 412 can also be fitted by network Orchestration 420 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, such as because of spy Net) communication.As illustrated, network adapter 420 is communicated by bus 418 with other modules of server 412.It should be understood that Although not shown in Fig. 4, server 412 can be combined and use other hardware and/or software module, included but is not limited to:Micro- generation Code, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup are deposited Storage system etc..
Processing unit 416 is stored in program in system storage 428 by operation, so as to perform various function application with And data processing, such as the method for testing for the advertisement pattern that the embodiment of the present invention is provided is realized, this method includes:
Default style configuration file is obtained, parsing obtains multiple patterned sets information, wherein, the style configuration file In record the combination of multiple advertisement patterns and each pattern;
According to the multiple patterned sets information, multiple test cases corresponding to generation;
Stake data corresponding to respectively each test case construction, the stake data are used in a test system show accordingly Advertisement pattern;
The multiple test case is imported in use-case data storehouse, so that test system is according to test case and stake data pair Advertisement pattern is tested.
Embodiment five
The embodiment of the present invention five additionally provides a kind of computer-readable recording medium, is stored thereon with computer program, should The method of testing of the advertisement pattern provided such as the embodiment of the present invention is realized when program is executed by processor, this method includes:
Default style configuration file is obtained, parsing obtains multiple patterned sets information, wherein, the style configuration file In record the combination of multiple advertisement patterns and each pattern;
According to the multiple patterned sets information, multiple test cases corresponding to generation;
Stake data corresponding to respectively each test case construction, the stake data are used in a test system show accordingly Advertisement pattern;
The multiple test case is imported in use-case data storehouse, so that test system is according to test case and stake data pair Advertisement pattern is tested.
The computer-readable storage medium of the embodiment of the present invention, any of one or more computer-readable media can be used Combination.Computer-readable medium can be computer-readable signal media or computer-readable recording medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any combination above.The more specifically example (non exhaustive list) of computer-readable recording medium includes:Tool There are the electrical connections of one or more wires, portable computer diskette, hard disk, random access memory (RAM), read-only storage (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any includes or the tangible medium of storage program, the program can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for By instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Also include conventional procedural programming language-such as " such as " language or similar programming language.Program code can be with Fully perform, partly perform on the user computer on the user computer, the software kit independent as one performs, portion Divide and partly perform or performed completely on remote computer or server on the remote computer on the user computer. Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or Wide area network (WAN) domain is connected to subscriber computer, or, it may be connected to outer computer (such as carried using Internet service Pass through Internet connection for business).
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. method of testing of advertisement pattern, it is characterised in that including:
    Default style configuration file is obtained, parsing obtains multiple patterned sets information, wherein, remember in the style configuration file It is loaded with the combination of multiple advertisement patterns and each pattern;
    According to the multiple patterned sets information, multiple test cases corresponding to generation;
    Stake data corresponding to respectively each test case construction, the stake data are used to show in a test system wide accordingly Accuse pattern;
    The multiple test case is imported in use-case data storehouse, so as to test system according to test case and stake data to advertisement Pattern is tested.
  2. 2. the method for testing of advertisement pattern according to claim 1, it is characterised in that in the multiple test case, respectively Respectively comprising advertisement patterned sets mark, external label and through advertisement URL in test case;
    Wherein, the advertisement patterned sets are identified for unique mark test case, and the external label is used to mark in webpage The part of advertisement, the patterned sets information to be measured of advertisement in webpage described in the through advertisement URL, so as to test system according to The webpage of the advertisement of stake data and through advertisement URL generations comprising pattern to be tested, and according to the external label by webpage The part of advertisement carries out sectional drawing, so as to judge whether the advertisement pattern in sectional drawing is normal.
  3. 3. the method for testing of advertisement pattern according to claim 2, it is characterised in that described is respectively each test case Stake data corresponding to construction, including:
    Advertisement patterned sets mark in each test case, and utilize external structure instrument, respectively each survey Stake data corresponding to example construction on probation.
  4. 4. the method for testing of advertisement pattern according to claim 1, it is characterised in that led by the multiple test case Enter in use-case data storehouse, before being tested so as to test system according to test case and stake data advertisement pattern, the side Method also includes:
    The multiple test case is subjected to priority division according to preset rules;
    Accordingly, the multiple test case is imported in use-case data storehouse, so that test system is according to test case and stake number Tested according to advertisement pattern, in addition to:
    The multiple test cases divided through priority are imported in use-case data storehouse, so that test system is according to the excellent of test case First level and stake data are tested advertisement pattern.
  5. A kind of 5. test device of advertisement pattern, it is characterised in that including:
    Style information acquisition module, for obtaining default style configuration file, parsing obtains multiple patterned sets information, its In, the combination of multiple advertisement patterns and each pattern is recorded in the style configuration file;
    Test cases technology module, for according to the multiple patterned sets information, multiple test cases corresponding to generation;
    Stake data configuration module, for being respectively stake data corresponding to each test case construction, the stake data are for surveying Show corresponding advertisement pattern in test system;
    Data import modul, for the multiple test case to be imported in use-case data storehouse, so that test system is according to test Use-case and stake data are tested advertisement pattern.
  6. 6. the test device of advertisement pattern according to claim 5, it is characterised in that in the multiple test case, respectively Respectively comprising advertisement patterned sets mark, external label and through advertisement URL in test case;
    Wherein, the advertisement patterned sets are identified for unique mark test case, and the external label is used to mark in webpage The part of advertisement, the patterned sets information to be measured of advertisement in webpage described in the through advertisement URL, so as to test system according to The webpage of the advertisement of stake data and through advertisement URL generations comprising pattern to be tested, and according to the external label by webpage The part of advertisement carries out sectional drawing, so as to judge whether the advertisement pattern in sectional drawing is normal.
  7. 7. the test device of advertisement pattern according to claim 6, it is characterised in that stake data configuration module is specific to use In:
    Advertisement patterned sets mark in each test case, and utilize external structure instrument, respectively each survey Stake data corresponding to example construction on probation.
  8. 8. the test device of advertisement pattern according to claim 5, it is characterised in that described device also includes:
    Priority division module, for the multiple test case to be carried out into priority division according to preset rules;
    Accordingly, data import modul, it is additionally operable to:
    The multiple test cases divided through priority are imported in use-case data storehouse, so that test system is according to the excellent of test case First level and stake data are tested advertisement pattern.
  9. 9. a kind of server, it is characterised in that the server includes:
    One or more processors;
    Storage device, for storing one or more programs;
    When one or more of programs are by one or more of computing devices so that one or more of processors are real The now method of testing of the advertisement pattern as described in any in claim 1-4.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The method of testing of the advertisement pattern as described in any in claim 1-4 is realized during execution.
CN201711062446.7A 2017-11-02 2017-11-02 Method of testing, device, server and the storage medium of advertisement pattern Pending CN107766250A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711062446.7A CN107766250A (en) 2017-11-02 2017-11-02 Method of testing, device, server and the storage medium of advertisement pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711062446.7A CN107766250A (en) 2017-11-02 2017-11-02 Method of testing, device, server and the storage medium of advertisement pattern

Publications (1)

Publication Number Publication Date
CN107766250A true CN107766250A (en) 2018-03-06

Family

ID=61273922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711062446.7A Pending CN107766250A (en) 2017-11-02 2017-11-02 Method of testing, device, server and the storage medium of advertisement pattern

Country Status (1)

Country Link
CN (1) CN107766250A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110348127A (en) * 2019-07-12 2019-10-18 北京物芯科技有限责任公司 A kind of generation method of test case, device, equipment and storage medium
CN110737580A (en) * 2018-07-18 2020-01-31 北京奇虎科技有限公司 Test data generation method and device
CN110968511A (en) * 2019-11-29 2020-04-07 车智互联(北京)科技有限公司 Recommendation engine testing method, device, computing equipment and system
CN111083007A (en) * 2019-11-21 2020-04-28 京信通信系统(中国)有限公司 Test method, test device, computer equipment and storage medium
CN111382057A (en) * 2018-12-29 2020-07-07 北京字节跳动网络技术有限公司 Test case generation method, test method and device, server and storage medium
CN112214390A (en) * 2019-07-09 2021-01-12 腾讯科技(深圳)有限公司 Test case generation method, device, system, equipment and medium
CN112416786A (en) * 2020-11-27 2021-02-26 上海达梦数据库有限公司 Test method, device, equipment and storage medium
CN112633908A (en) * 2019-10-09 2021-04-09 上海哔哩哔哩科技有限公司 Advertisement test object generation method and device and computer equipment
CN113312050A (en) * 2021-06-15 2021-08-27 北京百度网讯科技有限公司 Content display method, apparatus, device and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174240A (en) * 2006-11-03 2008-05-07 凌阳科技股份有限公司 Software testing management method and system thereof
CN101882107A (en) * 2010-06-28 2010-11-10 山东中创软件商用中间件股份有限公司 Method and device for automatically testing WEB (World Wide Web) application
US20150287094A1 (en) * 2014-04-08 2015-10-08 Craig P. Mowry System and method for driving cross-platform interest and interactivity around advertising information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174240A (en) * 2006-11-03 2008-05-07 凌阳科技股份有限公司 Software testing management method and system thereof
CN101882107A (en) * 2010-06-28 2010-11-10 山东中创软件商用中间件股份有限公司 Method and device for automatically testing WEB (World Wide Web) application
US20150287094A1 (en) * 2014-04-08 2015-10-08 Craig P. Mowry System and method for driving cross-platform interest and interactivity around advertising information

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
林赛楠: ""基于图像匹配的广告模板自动化测试工具的设计与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737580A (en) * 2018-07-18 2020-01-31 北京奇虎科技有限公司 Test data generation method and device
CN111382057A (en) * 2018-12-29 2020-07-07 北京字节跳动网络技术有限公司 Test case generation method, test method and device, server and storage medium
CN111382057B (en) * 2018-12-29 2024-02-02 北京字节跳动网络技术有限公司 Test case generation method, test method and device, server and storage medium
CN112214390A (en) * 2019-07-09 2021-01-12 腾讯科技(深圳)有限公司 Test case generation method, device, system, equipment and medium
CN112214390B (en) * 2019-07-09 2024-01-30 腾讯科技(深圳)有限公司 Test case generation method, device, system, equipment and medium
CN110348127A (en) * 2019-07-12 2019-10-18 北京物芯科技有限责任公司 A kind of generation method of test case, device, equipment and storage medium
CN110348127B (en) * 2019-07-12 2023-05-09 北京物芯科技有限责任公司 Method, device, equipment and storage medium for generating test cases
CN112633908B (en) * 2019-10-09 2024-02-20 上海哔哩哔哩科技有限公司 Advertisement test object generation method and device and computer equipment
CN112633908A (en) * 2019-10-09 2021-04-09 上海哔哩哔哩科技有限公司 Advertisement test object generation method and device and computer equipment
CN111083007A (en) * 2019-11-21 2020-04-28 京信通信系统(中国)有限公司 Test method, test device, computer equipment and storage medium
CN111083007B (en) * 2019-11-21 2022-07-29 京信网络系统股份有限公司 Test method, test device, computer equipment and storage medium
CN110968511B (en) * 2019-11-29 2023-10-20 车智互联(北京)科技有限公司 Recommendation engine testing method, device, computing equipment and system
CN110968511A (en) * 2019-11-29 2020-04-07 车智互联(北京)科技有限公司 Recommendation engine testing method, device, computing equipment and system
CN112416786A (en) * 2020-11-27 2021-02-26 上海达梦数据库有限公司 Test method, device, equipment and storage medium
CN113312050B (en) * 2021-06-15 2023-08-15 北京百度网讯科技有限公司 Content display method, device, equipment and medium
CN113312050A (en) * 2021-06-15 2021-08-27 北京百度网讯科技有限公司 Content display method, apparatus, device and medium

Similar Documents

Publication Publication Date Title
CN107766250A (en) Method of testing, device, server and the storage medium of advertisement pattern
CN104346153B (en) Method and system for the text message of translation application
CN104246759B (en) Application programming interfaces testing service
CN108170611A (en) Automated testing method and device, storage medium, electronic equipment
CN108509339A (en) Method for generating test case, device based on browser and mind map and equipment
CN107808004A (en) Model training method and system, server, storage medium
CN103984624A (en) Automatic testing method and system for webpage
CN103678269A (en) Information processing method and device
CN110399067A (en) Point methods, device, electronic equipment, storage medium are buried in visualization
CN111563075B (en) Service verification system, method and equipment and storage medium
CN109710709A (en) Interest point data processing method, device, electronic equipment and storage medium
CN109308254A (en) A kind of test method, device and test equipment
CN109960801A (en) Data processing method and device
CN110134869A (en) A kind of information-pushing method, device, equipment and storage medium
CN102930048A (en) Data abundance automatically found by semanteme and using reference and visual data
CN104516727A (en) Method and system for changing resource in resource file
CN107885661A (en) The terminal transparency method of testing and system of Mobile solution, equipment, medium
CN111062770B (en) Merchant identification method, device and computer readable medium
CN110795464B (en) Method, device, terminal and storage medium for checking field of object marker data
CN109271160A (en) Active rule construction method, device and computer system, medium
CN104598374B (en) The method and apparatus of correction failure script
CN103235757B (en) Several apparatus and method that input domain tested object is tested are made based on robotization
CN109754266A (en) Authentication information image display method, device, server and storage medium
CN111126422A (en) Industry model establishing method, industry determining method, industry model establishing device, industry determining equipment and industry determining medium
CN109597881A (en) Matching degree determines method, apparatus, equipment and medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180306