testexecfw/tef/test/regressiontest/scriptcommand/testdata/scripts/dt-tef-scriptcommand-0011.script
equal
deleted
inserted
replaced
|
1 // |
|
2 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 |
|
17 Load_Server Te_RegScriptCommandServer |
|
18 |
|
19 START_TESTCASE DT-TEF-ScriptCommand-0011 |
|
20 //! @SYMTestCaseID DT-TEF-ScriptCommand-0011 |
|
21 //! @SYMCreationDate 26-06-2008 |
|
22 //! @SYMAuthor DavidZhang |
|
23 //! @SYMTestType CT |
|
24 //! @SYMTestPriority Medium |
|
25 //! @SYMTestCaseDesc Negative Test of "run_ws_program" script command. |
|
26 //! @SYMTestExpectedResults this executable will not be launched. |
|
27 //! The test should be failed with error code -1. |
|
28 //! @SYMTestActions start an un-exist application with timeout 5 seconds. |
|
29 RUN_TEST_STEP 20 Te_RegScriptCommandServer CheckProgram ${SYSDRIVE}\testdata\configs\te_regscriptcommandtest.ini ScriptCommand_0011 |
|
30 PRINT THE ESHELL WILL NOT BE LAUNCHED |
|
31 RUN_WS_PROGRAM 5 ESHELLeee.exe |
|
32 RUN_TEST_STEP 20 Te_RegScriptCommandServer CheckProgram ${SYSDRIVE}\testdata\configs\te_regscriptcommandtest.ini ScriptCommand_0011 |
|
33 RUN_TEST_STEP 10 Te_RegScriptCommandServer CheckLogFile ${SYSDRIVE}\testdata\configs\te_regscriptcommandtest.ini ScriptCommand_0011 |
|
34 END_TESTCASE DT-TEF-ScriptCommand-0011 |