The Design and Implementation of AD Templat Automated Testing Tool Based on Image Matching

Author
LinSaiZuo
Advisor
ChenZuo , ZhaoHuiJie
School
Harbin Institute of Technology
Major
Software Engineering
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2013
Downloads
4
Citations
0

Request the full text

Abstract

Ad templates test is produced by a commercial branch in the Internet industry.Its implementation of automated testing is highly anticipated by testers. The thesisdiscussed is the design and implementation of testing tools that can test ad templatesautomated. It comes from the requirements of E-commerce search sector testingteam in Baidu. The ad templates automated testing tools can reduce test costs andimprove test efficiency.Throughout the project implementation process, designed and developedautomated testing tools which meet the the needs of ad templates testing foradvertising template test features. This paper describes development process of thead templates automated testing tool from the tool’s requirements, design,implementation, and testing.The thesis discussed the features of existing web automated testing tools firstly.The ad templates test automation requirement and overall architecture of the adtemplates automated testing tools are extracted after the summary of ad templatestest-related business and the testing process.The design and implementation of tool are accomplished based on the overallarchitecture. The ad templates test tool’s task scheduling algorithm came into beingfrom existing scheduling algorithms in task management module. The thesis alsogives a scheduling algorithm evaluation strategy. Based on API provided with theselenium framework, adopt the way of injecting JavaScript code to the browsers toimplements the ad HTML page show, HTML page parsing and advertisementscreenshots modules. Image matching is advertisement screenshots and referenceimage matching. Image matching based on the theory of genetic algorithm. Testresults of the task execution come from the results of image matching. In order toimprove the accuracy of image matching, Bilateral Filter algorithm is used toeliminate image noise before the matching.Finally, Ad templates automated testing tool accomplished and tested under thecoordination of the various functional modules. The completed Ad templatesautomated testing tool can be used normally and reached a preset target. Test taskscheduling algorithm achieves the expected rate of the task processing; at the same time ensure the test task processing clients’ CPU utilization is relative to the average.Image matching algorithm can present advertisement screenshots and referenceimage match results correctly and effectively. The test task execution results andexpected results are consistent.

Table of contents

Summary 4-5 Abstract 5-7 directory 7-10 Chapter 1 Introduction 10-18 <br / > 1.1 subject background 10-11 1.1.1 source issues and project name 10 1.1.2 research purpose and meaning 10-11 <br / > Summary of topics related with the domestic 1.2 Status 1.2.1 development of domestic software test automation 11-16 11-12 1.2.2 software test automation development abroad Status pages 12-13 1.2.3 Status of automated testing analysis 13-14 1.2.4 selenium framework and application 14 1.2. progress 5 image matching algorithm main tasks 14-16 1.3 of this paper 16-17 1.4 This article organizational structure 17-18 <br / > Chapter 2 ad template test tool needs analysis analysis 18-30 2.1 ad templates testing business 18-23 2.1.1 introduction of different ad formats 18-19 2.1.2 ad templates 19-21 2.1.3 ad templates manually test content and process 21-23 2.2 ad template test functional requirements tools 23-27 functional requirements 2.2.1 testing task management 25 2.2.2 testing tasks performed functional requirements 25-27 2.3 ad template test tools nonfunctional requirements 27-28 2.4 ad template test tools key technology 28-29 2.4.1 task Scheduling Algorithm 28-29 2.4.2 image matching algorithm 29 2.5 Summary 29-30 Chapter 3 ad template test tools designed 30-53 functional and structural design nbsp 3.1 test tools ; 30-35 3.1.1 the overall structure design 30-32 3.1.2 features modular design 32-33 3.1.3 modules interactive data 33-35 3.2 test design task management 35-39 3.2.1 test management Task state 35-36 3.2.2 testing tasks CRUD design 36 3.2.3 task priority setting and perform tasks cancel 36 -37 3.2.4 testing task scheduling algorithm design 37-38 3.2.5 testing tasks split 38-39 3.2.6 testing task Manager class design 39 design nbsp 3.3 test task execution ; 39-52 3.3.1 test extract design 40-41 3.3. 2 ad templates to perform design 41-43 3.3.3 resolves advertising page design 43-44 3.3.4 ad images interception design 44 - 45 design nbsp 3.3.5 image matching module ; class design nbsp 45-50 3.3.6 testing task execution ; 50-52 3.4 Summary 52-53 Chapter 4 achieved ad template test tool 53-73 4.1 test task management to achieve 53-58 4.1.1 testing tasks state management to achieve 53-54 4.1.2 testing tasks CRUD implementations 54-55 4.1.3 task priority setting and perform tasks cancel achieve 55-56 4.1.4 testing task scheduling algorithms 56-57 4.1.5 testing tasks split achieve 57-58 4.2 testing realization of the tasks performed 58-70 4.2.1 test extracted achieve 58-59 realize 4.2.2 ad template execution 59-61 4.2.3 advertising page parsing achieve 61-62 4.2.4 ad images taken to achieve achieve nbsp 62-63 4.2.5 image matching module ; 63-70 4.3 system to achieve the results show 70-72 4.4 Summary Chapter 5 testing and test tools ad templates 72-73 evaluation 73-85 5.1 test environment 73 5.2 system functional test 73-84 5.2.1 system environment is configured and started 73-74 5.2.2 testing task Manager test tests 74-78 5.2.3 testing tasks performed 78-84 5.3 nonfunctional test 84 5.4 Summary 84-85 conclusion 85-86 References 86-90 Thanks 90-91 CVs 91

Related dissertations

  1. Research and Application of Measurement System for Vehicle Overall Dimensions Based on Computer Vision Techniques
    YuanHan ·Anhui University ·2014 ·Master's thesis
  2. The Research on the Method of Image Measurement Based on Multi-view Image
    CheJing ·University of North ·2014 ·Master's thesis
  3. Study on Natural Visual Landmark Aided Robot Localization
    ChenMingYa ·Zhejiang University ·2013 ·Master's thesis
  4. Key Techniques of Image Measurement in3D Vision Measuring System
    FuZuo ·Hefei University of Technology ·2012 ·Master's thesis
  5. Research on3D Measurement System for Rocket Characteristic Stages
    ZhangLaiGang ·Graduate Schoo,Chinese Academy of Sciences ·2012 ·Doctoral dissertation
  6. Close-Range Photogrammetric Imagery Matching and Modeling for High Speed Railway Track
    LiYanNa ·Southwest Jiaotong University ·2013 ·Master's thesis