在研究自动化测试技术与方法的基础上,提出了一种基于SDK接口的自动化测试框架,并给出了具体的自动化测试的基本流程和具体的测试框架,采用C、C++语言进行SDK自动化测试框架的设计与实现,结合实际的例子给出了生成的.XML形式的测试用例和生成的测试报告,测试日志。该测试框架存在以下优点:减小了测试用例的编写难度,测试人员操作起来比较方便;可以方便地运用到其他接口参数的黑盒测试中,维护起来较容易,进行功能扩展较灵活。
Based on the research of automatic test technology and method, this paper proposes an autormatic SDK interfaces test framework, it gives the design and implemaentation of automatic framework by using C & C + + language, the baisic automated testing processes and specific testing framework in detail. At last,it also gives the test result combining example. This test framework has some advantage as follow:on the one hand it reduces the difficulties of writing testcase, test personnel to operate them mere convenient. On the other hand it applies other interfaces black-box test conveniently,maintain easily,extend its function more flexibly.