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:

 

评分:0

我来说两句

我的栏目

日历

« 2024-05-19  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 15094
  • 日志数: 49
  • 建立时间: 2010-07-28
  • 更新时间: 2011-07-17

RSS订阅

Open Toolbar