Font Size: a A A

Design And Implementation Of Automatic Test System Based On Robot Framework

Posted on:2017-05-27Degree:MasterType:Thesis
Country:ChinaCandidate:S S ZhuFull Text:PDF
GTID:2348330515958399Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of the optical network,the model of optical network terminal is more and more,tests task caused by the fast update of the software of optical network terminal is very heavy.To this end,an automated test system based on Robot Framework is designed and implemented for regression testing of optical network terminals in this thesis.The main work of this thesis includes:Firstly,a distributed test framework is designed and implemented.The distributed testing framework is designed as a three-layers test framework which is consist of the task assignment module,test platform and Robot Framework.Task allocation module is responsible for dealing with test tasks and assigning test tasks to each test platform,the test platform is responsible for monitoring the Robot Framework and processing test report,Robot Framework is responsible for executing the test scripts.Secondly,the object-oriented keyword design method is proposed.According to the testing business analysis of optical network terminals,the keywords are classified and the inheritance mechanism is implemented.The new keyword design method solves the problem of the low repeated utilization rate of keywords and high maintenance cost.On this basis,the idea that separation between the general keywords and business keywords is implemented.The design method of separation of interface and implementation of test script is proposed.The test case is an interface,providing a unified interface to automatic test system,and business keywords is an implementation.With the way of the run-time binding address,the dynamic mapping mechanism between test cases and business keywords is implemented in this thesis.The the tag mechanism is designed to the management of test case.The automated test system applied for optical network terminals is easy to expand and maintain.Test tasks are separate to test nodes by the distributed framework,running in parallel,so the test time is reduced and the test efficiency is improved.Test script model based on keyword improves the keyword recycle rate,reducing the cost of test-script development and maintenance.
Keywords/Search Tags:keyword-driven, Robot Framework, distributed test, automatic test
PDF Full Text Request
Related items