testexecfw/tef/test/regressiontest/scriptcommand/testdata/configs/te_regscriptcommandtest.ini
author Johnson Ma <johnson.ma@nokia.com>
Thu, 13 May 2010 17:42:48 +0800
changeset 3 a5f55a5789f3
parent 0 3e07fef1e154
permissions -rw-r--r--
Defect Fix: TeamTrack DEF145107

[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