testexecfw/tef/test/regressiontest/teststep/testdata/scripts/dt-tef-teststep-0032.script
author Johnson Ma <johnson.ma@nokia.com>
Mon, 08 Mar 2010 15:03:44 +0800
changeset 0 3e07fef1e154
permissions -rw-r--r--
Initial EPL Contribution

//
// 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 -SharedData

START_TESTCASE DT-TEF-TestStep-0032
//! @SYMTestCaseID          DT-TEF-TestStep-0032
//! @SYMCreationDate        09-12-2008
//! @SYMAuthor              extjasonzhou
//! @SYMTestType            CT
//! @SYMTestPriority        Medium
//! @SYMTestCaseDesc        Step panic tests with server -SharedData.
//! @SYMTestExpectedResults The steps should panic with the expected result (panic code and/or panic string)
//!                         The test result should be pass.
//! @SYMTestActions         1. Make the step panics with the expected code and/or string
//!                         2. Write the expected panic code and/or string in script file to check the panic result.
	RUN_TEST_STEP !PanicString="PanicMe" 100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\panictest.ini PanicStringCode
	RUN_TEST_STEP !PanicCode=-90 100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\panictest.ini PanicStringCode
	RUN_TEST_STEP !PanicString=PanicMe !PanicCode=-90 100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\panictest.ini PanicStringCode
	RUN_TEST_STEP !PanicCode=-90 !PanicString=PanicMe 100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\panictest.ini PanicStringCode
	RUN_TEST_STEP !PanicCode=110 !PanicString="Panic Me" 100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\PanicTest.ini PanicStringCodeEx
	RUN_TEST_STEP !PanicString="Panic Me" !PanicCode=110 100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\PanicTest.ini PanicStringCodeEx
END_TESTCASE DT-TEF-TestStep-0032