diff -r 000000000000 -r 3e07fef1e154 testexecfw/tef/test/regressiontest/scriptcommand/testdata/configs/te_regscriptcommandtest.ini --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testexecfw/tef/test/regressiontest/scriptcommand/testdata/configs/te_regscriptcommandtest.ini Mon Mar 08 15:03:44 2010 +0800 @@ -0,0 +1,90 @@ +[ScriptCommand_0001] +TimeSeconds = 5 + +[ScriptCommand_0003] +LogFilePath=c:\logs\testexecute\dt-tef-scriptcommand-0003.htm +CheckString=This line should appear in the log file. +ExpectedTimes=3 + +[ScriptCommand_0004] +LogFilePath=c:\logs\testexecute\dt-tef-scriptcommand-0004.htm +CheckString=This line should not appear in the log file. +ExpectedTimes=2 + +[ScriptCommand_0005] +LogFilePath=c:\logs\testexecute\dt-tef-scriptcommand-0005.htm +CheckString=THIS TEXT HAS BEEN ADDED TO THE LOG FILE USING THE PRINT COMMAND +ExpectedTimes=3 + +[ScriptCommand_0006] +repeatParam=5 +LogFilePath=c:\logs\testexecute\dt-tef-scriptcommand-0006.htm +CheckString=THIS TEXT SHOULD BE REPEATED 5 TIMES USING THE REPEAT COMMAND +ExpectedTimes=11 + +[ScriptCommand_0007] +LogFilePath=c:\logs\testexecute\dt-tef-scriptcommand-0007.htm +CheckString=THIS TEXT SHOULD NOT BE REPEATED 5 TIMES USING THE REPEAT COMMAND +ExpectedTimes=3 + +[ScriptCommand_0007_1] +LogFilePath=c:\logs\testexecute\dt-tef-scriptcommand-0007.htm +CheckString=Repeat Parameter Key Not Found +ExpectedTimes=2 + +[ScriptCommand_0007_2] +LogFilePath=c:\logs\testexecute\dt-tef-scriptcommand-0007.htm +CheckString=The Looping is Not Initiated +ExpectedTimes=2 + +[ScriptCommand_0008] +ProcessName=eshell.exe +ExpectedRetValue=-1 +LogFilePath=c:\logs\testexecute\dt-tef-scriptcommand-0008.htm +CheckString=Program has been killed as the timeout is achieved. +ExpectedTimes=2 + + +[ScriptCommand_0009] +ProcessName=TIMEWdddd.exe +ExpectedRetValue=-1 +LogFilePath=c:\logs\testexecute\dt-tef-scriptcommand-0009.htm +CheckString=RUN_PROGRAM 5 TIMEWdddd.exe ***Result = UNKNOWN Code = -1 +ExpectedTimes=2 + +[ScriptCommand_0010] +ProcessName=timew.exe +ExpectedRetValue=-1 + +[ScriptCommand_0011] +ProcessName=ESHELLeee.exe +ExpectedRetValue=-1 +LogFilePath=c:\logs\testexecute\dt-tef-scriptcommand-0011.htm +CheckString=RUN_WS_PROGRAM 5 ESHELLeee.exe ***Result = UNKNOWN Code = -1 +ExpectedTimes=2 + +[ScriptCommand_0014] +FilePath=${SYSDRIVE}\UTILTEST\ +ExpectedResult=0 + +[ScriptCommand_0014_1] +FilePath=${SYSDRIVE}\UTILTEST\dt-tef-scriptcommand-0014.script +ExpectedResult=0 + +[ScriptCommand_0014_2] +FilePath=${SYSDRIVE}\UTILTEST\dt-tef-scriptcommand-0014.script +ExpectedResult=-1 + +[ScriptCommand_0014_3] +FilePath=${SYSDRIVE}\UTILTEST\ +ExpectedResult=-1 + +[ScriptCommand_0015] +LogFilePath=c:\logs\testexecute\dt-tef-scriptcommand-0015.htm +CheckString=Unrecognised Command - THIS +ExpectedTimes=2 + +[ScriptCommand_SharedData] +shared_data_num = 2 +shared_name_1 = SharedData +shared_name_2 = SharedData1