testexecmdw/tef/tef/test/regressiontest/teststep/testdata/scripts/dt-tef-teststep-0022.script
branchRCL_3
changeset 3 9397a16b6eb8
parent 1 6edeef394eb7
equal deleted inserted replaced
1:6edeef394eb7 3:9397a16b6eb8
     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_SUITE	te_RegStepTestSuite -SharedData
       
    18 
       
    19 RUN_UTILS CopyFile ${SYSDRIVE}\testdata\configs\readwriteConfig.ini ${SYSDRIVE}\testdata\configs\readwriteconfig.ini.bak
       
    20 START_TESTCASE DT-TEF-TestStep-0022
       
    21 //! @SYMTestCaseID          DT-TEF-TestStep-0022
       
    22 //! @SYMCreationDate        09-12-2008
       
    23 //! @SYMAuthor              DavidZhang
       
    24 //! @SYMTestType            CT
       
    25 //! @SYMTestPriority        Medium
       
    26 //! @SYMTestCaseDesc        Negative Test of read/write value from/to configuration file with server -SharedData.
       
    27 //! @SYMTestExpectedResults Test case should be passed.
       
    28 //! @SYMTestActions         1. Read/write value from/to a section in an ini file
       
    29 //!                         2. The secion doesn't exist in the ini file
       
    30 //!                         3. Section name doesn't specify in script file.
       
    31 //!                         4. Section is empty.
       
    32 	RUN_TEST_STEP 100 te_RegStepTestSuite ReadWriteConfigNegStep ${SYSDRIVE}\testdata\configs\readwriteconfig.ini Section6
       
    33 	RUN_TEST_STEP 100 te_RegStepTestSuite ReadWriteConfigNegStep
       
    34 	RUN_TEST_STEP 100 te_RegStepTestSuite ReadWriteConfigNegStep ${SYSDRIVE}\testdata\configs\readwriteconfig.ini Section8
       
    35 END_TESTCASE DT-TEF-TestStep-0022
       
    36 
       
    37 RUN_UTILS DeleteFile ${SYSDRIVE}\testdata\configs\readwriteconfig.ini
       
    38 RUN_UTILS CopyFile ${SYSDRIVE}\testdata\configs\readwriteconfig.ini.bak ${SYSDRIVE}\testdata\configs\readwriteconfig.ini
       
    39 RUN_UTILS DeleteFile ${SYSDRIVE}\testdata\configs\readwriteconfig.ini.bak
       
    40