Font Size: a A A

Design And Implementation Of Laptop Automated Test Program

Posted on:2020-07-16Degree:MasterType:Thesis
Country:ChinaCandidate:Z C SunFull Text:PDF
GTID:2428330596998348Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of computer technology and network,the use of computers has involved all aspects of people's lives.As a lightweight form of computer,laptops bring great convenience to people's work and study.Nowadays,the function of laptop is more and more powerful and the structure is more and more complex,which undoubtedly brings a lot of inconvenience to its software and hardware testing.Traditional manual testing not only consumes huge human resources,but also can not meet the increasing demand for testing tasks.Therefore,automatic testing has become the inevitable trend of laptop testing.At present,an Information System Co.,Ltd.in Shanghai has developed BizAT automated testing program.On this basis,this paper mainly designs and implements a new automation test framework for laptop,BizServer,which further improves the test quality and automation.In this paper,firstly,the related technology and working principle of automated testing are expounded,and the process and characteristics of laptop testing are analyzed in depth,so as to construct the functional modules of BizServer framework,and the working mechanism of each module is introduced in detail.Then,combined with the actual test object and test scenario,a relatively unified test task data model is established.Based on this model,the corresponding task assignment algorithm is put forward,and the laptop test is automatically scheduled according to the test requirements,so as to achieve the purpose of simulating the user's use process more authentically.Finally,starting with Ranorex tool,the function of test action recording and script generation is analyzed in depth.On this basis,a script converter is designed,which can convert the XML format action description file generated by Ranorex into FWScript script used by BizServer framework,indirectly realizing script recording and generating function,and raising the proportion of automated test to a new level.Through the actual use of the automated test framework designed and implemented in this paper,it has been proved that the test framework can better support the complex test scenarios of laptops,and improve the test efficiency.Moreover,the framework has good expansibility,and can also test the relevant accessories of laptops,which enhances the versatility.The establishment of test task data model and the implementation of task automatic assignment algorithm can make testers only need to pay attention to the test content,do not need to organize the test tasks carefully,and liberate human resources.The implementation of script converter enables the BizServer framework to generate scripts automatically,which reduces the difficulty of script development and speeds up the overall testing progress.
Keywords/Search Tags:Laptop, Automated testing, Test framework, Task Assignment, Script converter
PDF Full Text Request
Related items