注:标点符号均为英文
PLATFORM: x86, ia64, amd64
CPUS: Single, Dual, Quad
RAM: 128MB, 1GB, 4GB, 64GB
HDD: SCSI, IDE
OS: NT4, Win2K, WinXP, Win2K3
IE: "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"};
模型文件由三部分组成,如下图所示
三部分顺序之间的规则:
(1).执行命令
进入doc窗口下的pict目录下,执行命令:pict testModel.txt
D:\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打开效果图如下:
end