qtp脚本中自己的体会
上一篇 /
下一篇 2011-02-23 17:14:54
/ 个人分类:笔记
1.每个action的头注释可以这样写:
'********************************************************************************************
test name : action's name
subject : the name of the module which are you testing
purpose : writing the purpose of the action and listing the situation which are you consider
input parameters : introduce every input parameter
output parameters : introduce every output parameter
'**********************************************************************************************
2.如果脚本是通过脚本,那输入参数和输出参数最好是设置在action properties中,并给出默认值,以便以后可以重新进行设置。
如果脚本是用来测试某个模块的具体功能,那输入数据和输出数据最好是写在data table中,便于查看。
收藏
举报
TAG: