摘要
Web技术的发展,以及Web UI组件的广泛应用,给自动化测试带来了挑战。因此设计了一套基于Selenium JS UI的自动化测试框架。该框架结合了Test NG、Selenium框架,并且利用了关键字驱动、数据驱动技术。将框架分为关键字、测试用例、执行引擎、配置报告四层,使测试用例、测试脚本、测试数据相分离,跨平台,不仅解决了自动化测试定位难的问题,而且大大提高了测试效率。
The technological development of Web and the extensive use of its UI components pose great challenges to automated testing. Hence this thesis designs a set of automated testing framework,which is based on Selenium JS UI and integrated with Test NG,Selenium framework under the help of keyword-driven and data driven technologies. Dividing the framework into four parts which are keywords,test case,execution engine and configuration report to segregate testing case,script and data,it not only solves the problem of locating in automated testing,but also greatly improves the testing efficiency.
出处
《微型机与应用》
2017年第17期24-26,30,共4页
Microcomputer & Its Applications