PLATFORM: x86, ia64, amd64CPUS: Single, Dual, QuadRAM: 128MB, 1GB, 4GB, 64GBHDD: SCSI, IDEOS: NT4, Win2K, WinXP, Win2K3IE: "4.0", "5.0", "5.5", "6.0"APP: SQLServer, Exchange, Office{ PLATFORM, CPUS, RAM, HDD } @ 1{ OS, IE } @ 2[APP]="Office";IF [RAM]="64GB" THEN [HDD]="IDE" AND [IE]="4.0";IF [IE] in {"4.0","5.0"} THEN [RAM] in {"1GB", "4GB"};IF [PLATFORM] in {"ia64", "amd64"} THEN [OS] in {"WinXP", "Win2K3"};
模型文件由三部分组成,如下图所示三部分顺序之间的规则:不可调换,不可重叠部分之间不需要任何分隔符允许出现空行允许通过 “#” 添加注释cmd命令生成测试用例(1).执行命令进入doc窗口下的pict目录下,执行命令:pict testModel.txtD:\your_pict_directory> pict testModel.txt
(2).执行效果 (此处的testModel.txt文件是pict_test_case.txt)(3).执行结果输出重定向输出重定向到txt文本中D:\your_pict_directory> pict testModel.txt> OutputFile.txt
输出重定向到excel文件中D:\your_pict_directory> pict testModel.txt> OutputFile.xls
dos窗口中直接打开重定向的excel文件D:\your_pict_directory>OutputFile.xls
excel打开效果图如下:(图片来源网络,侵删)
0 评论