自动化测试框架开发5步法

来源:互联网 发布:python中help用法 编辑:程序博客网 时间:2024/05/16 14:21

 

20098月的《Automated Software Testing Magazine》杂志中有一篇文章名为《5 Steps To Framework Development》,介绍了常规的框架开发步骤:

 

1Perform Initial Framework Design  初始框架设计

  

2Create the Directory Structuree      搭建脚本目录结构

 

3Develop Init and Config Files   开发初始化和配置文件

 

4Develop the Function Library  开发函数库

 

可包括:

• Core Business (Utility) functions 核心业务函数、工具类函数

• Navigation functions       导航函数

• Error handling functions 错误处理函数

• Loading functions    加载函数

• Miscellaneous verification functions   各类验证(检查点)函数

 

 

5Develop the Scripts  开发脚本