testexecfw/tef/test/regressiontest/teststep/testdata/scripts/dt-tef-teststep-0001.script
changeset 0 3e07fef1e154
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testexecfw/tef/test/regressiontest/teststep/testdata/scripts/dt-tef-teststep-0001.script	Mon Mar 08 15:03:44 2010 +0800
@@ -0,0 +1,40 @@
+//
+// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description: 
+//
+
+LOAD_SUITE	te_RegStepTestSuite
+
+RUN_UTILS CopyFile ${SYSDRIVE}\testdata\configs\readwriteConfig.ini ${SYSDRIVE}\testdata\configs\readwriteconfig.ini.bak
+START_TESTCASE DT-TEF-TestStep-0001
+//! @SYMTestCaseID          DT-TEF-TestStep-0001
+//! @SYMCreationDate        26-06-2008
+//! @SYMAuthor              DavidZhang
+//! @SYMTestType            CT
+//! @SYMTestPriority        Medium
+//! @SYMTestCaseDesc        Test read and write config value from configuration file.
+//! @SYMTestExpectedResults The information in the config file should be read in and write correctly.
+//!                         The test result should be pass.
+//! @SYMTestActions         Load a configuration file, read the value from it and write a value into it.
+//! @SYMPREQ                PREQ2261
+//! @SYMREQ                 REQ10438
+//!                         REQ10440
+//! @SYMTestStatus          1. Under Development
+	RUN_TEST_STEP 100 te_RegStepTestSuite ReadWriteConfigStep ${SYSDRIVE}\testdata\configs\readwriteconfig.ini Section0
+	RUN_TEST_STEP 100 te_RegStepTestSuite ReadWriteConfigStep ${SYSDRIVE}\testdata\configs\readwriteconfig.ini Section7
+END_TESTCASE DT-TEF-TestStep-0001
+
+RUN_UTILS DeleteFile ${SYSDRIVE}\testdata\configs\readwriteconfig.ini
+RUN_UTILS CopyFile ${SYSDRIVE}\testdata\configs\readwriteconfig.ini.bak ${SYSDRIVE}\testdata\configs\readwriteconfig.ini
+RUN_UTILS DeleteFile ${SYSDRIVE}\testdata\configs\readwriteconfig.ini.bak