Font Size: a A A

A Method Of Design And Implementation Of Wi-Fi Chip Automation Test System

Posted on:2017-02-28Degree:MasterType:Thesis
Country:ChinaCandidate:B LiuFull Text:PDF
GTID:2428330590968392Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Recently,Wi-Fi automation test becomes more and more important for Wi-Fi chip manufactures.The main test area includes protocol conformance testing,inter-operability test(IOT),and test for customer specific requirements.The Wi-Fi chip shall pass WFA(Wi-Fi Alliance)inter-operability certification test and also meet the different needs of customers.In order to handle special needs of customers,testers must make the appropriate settings to the chip,which is some popular automation test tools cannot do.Furthermore,manual test costs lots of effort and resources,so it is necessary to develop a Wi-Fi automation test system for Wi-Fi chip makers.But there are some issues of traditional automation test system,such as poor flexibility and difficult maintenance.The first issue is,the modification of Wi-Fi test case may result in the test scripts' modification,because the test scripts have high dependence on test cases,which will cause test system to poor flexibility,and finally blocks test procedure for those testers who don't have any programming experience.Another issue is traditional test system has poor maintenance,that is because of lots of Wi-Fi test cases and mapping huge test scripts.In this paper,we analyze the main problems during Wi-Fi testing,and do research on how to describe test cases that presented by XML of embedding defined keywords.Finally,we design a Wi-Fi automation test system based on keyword driven technology.This paper presents a test case description method for testers to modify test cases.At the same time,the Wi-Fi automation test system analysis of the XML test case extract the keywords and complete the navigation of the testing process.This paper separates test scripts and test cases,and also increases the flexibility and maintenance of the automation test syste m.The main work of this paper as followings:1.The design of architecture of Wi-Fi automation test system.By analyzing the main issues of traditional automation test,we design the overall architecture of the automation test system.The architecture is divided into data source layer,test case analysis layer,test case execution layer and test device communication control layer.We use activity diagram of UML to define the business of automation test.The designed Wi-Fi automation test system includes the following important modules: test equipment communication control module,test case parser module,test case execution module and Log analysis module.2.Wi-Fi test case description and test execution engine design.In this paper,we analyze Wi-Fi test cases,refer IEEE 802.11 protocols,extract the keywords in test cases,construct the keyword library for description test cases,and propose a method based on XML to describe Wi-F test cases.We also design a test case execution engine to finish test execution by parser test case's configurations.In addition,this paper uses multi-thread technology to realize multiple tasks execution,log capture and monitor the state of the test devices.3.The design of test device control interface.Considering that there're lots of test devices,the automation test system may use Telnet,UDP socket and programmable USB interface to control each test devices.In this paper,we encapsulate each test objects into unified control interface,which is designed to facilitate the test scripts to complete the settings and data interaction with test equipment.The second advantage is that test automation system can use the same control interface without any modification of test codes.It will improve the adaptability of the automation test system.4.Implementation of Wi-Fi automation test system and verification.In this paper,we implement all the keyword functions,build the keyword library,and parse test cases according to the description method.Finally,we finish automation test system based on keyword-driven technology.Meanwhile,according to protocols,the paper uses Perl regular expression to analyze driver and firmware logs,and uses Wireshark to do protocol conformance analysis.In addition,the automation test system can record the information of each test steps,and verify the consistency of the behavior of the Wi-Fi test system and test case's requirements.In this paper,we design and implement the Wi-Fi automation test system,which is based on the designed test case XML description method and Keyword-Driven technology.And it also solves the problem of test case and test script dependence.It plays a role in improving the flexibility and maintainability.
Keywords/Search Tags:Wi-Fi Test, Keyword-Driven Technology, Test Case Description, Multiple Thread
PDF Full Text Request
Related items