| With the rapid and unstopped development of information era and softwaretechnology, compared to traditional concept, the importance of software test in the processof IT R&D is more and more and more clearly, usually it is not only the last but the mostimportant step to the quality assurance. Yet, in the situation of more and more competition,how to improve the efficiency of product’s test becomes a problem to be solved for eachIT corporation. Although the theory, method and tools for software auto-test is more andmore, yet perfect, however, from daily work, we also find some defect: for those situationthat in non-OS environment or testing some software close related to hardware, there isfew method or tool for us to refer.BATF(BIOS Automation Test Framework) introduced by this paper is softwaresystem based on the satisfaction of BIOS test’s requirement and target, which speciallyfocus on BIOS’s auto-test. The main features of BATF include: firstly, it has realized theauto-test under non-OS environment; secondly, has realized the auto-test for theunderlying software named BIOS related to hardware; thirdly, it has very excellentextensibility. Based on it, test engineer can conveniently develop an auto-test programwhich corresponds to their test cases.Divided by functional hierarchy, the underlying module for data analyzing is codedby C++, the middle module for taking the action of testing is coded by a script languagenamed AutoIt, and the top module for user interface is coded by C#. This system worksfollowed by below steps, first user will use GUI to send out the command to start whichtest to be executed, and then based on the data analyzing form serial port, those AutoItcodes will take the execution actions, and moreover, system will auto-generate a testreport which is used to be analyzed result by corresponding test engineers. |