adaptationlayer/tsy/simatktsy_dll/internal/test/simatktsy_testtool/simatk/testfiles/simatk_callcontrol_gprs_custom.cfg
changeset 4 510c70acdbf6
parent 3 1972d8c2e329
child 5 8ccc39f9d787
equal deleted inserted replaced
3:1972d8c2e329 4:510c70acdbf6
     1 //* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 //* All rights reserved.
       
     3 //* This component and the accompanying materials are made available
       
     4 //* under the terms of the License "Eclipse Public License v1.0"
       
     5 //* which accompanies this distribution, and is available
       
     6 //* at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //*
       
     8 //* Initial Contributors:
       
     9 //* Nokia Corporation - initial contribution.
       
    10 //*
       
    11 //* Contributors:
       
    12 //*
       
    13 //* Description:  
       
    14 
       
    15 //
       
    16 // Precondition: 
       
    17 // - Detailed description can be found from Quality Center's Project: CoreSW_CASW/Module Tests/SIM ATK TSY/SimAtkTSY_testtool
       
    18 //
       
    19 // Script description:
       
    20 //
       
    21 
       
    22 // CC Result //
       
    23 ///////////////
       
    24 
       
    25 // ControlResult
       
    26 //  0 EControlResultNotSet, Initialization value used within constructor(s)
       
    27 //  1 EAllowedNoModification
       
    28 //  2 ENotAllowed
       
    29 //  3 EAllowedWithModifications
       
    30 
       
    31 // AlphaIdValidity
       
    32 //  0 EAlphaIdValidityNotSet, Value used with constructor
       
    33 //  1 EValidAlpaId
       
    34 //  2 ENullAlphaId, Display nothing
       
    35 //  3 ENoAlphaId
       
    36 
       
    37 // AlphaId
       
    38 //  Enter the text inside the quotes or as unicode hex digits. Example: Text "abc" or Text 61 62 63
       
    39 
       
    40 
       
    41 //--------------------------------------//
       
    42 // "ALLOWED" CASES						//
       
    43 //--------------------------------------//
       
    44 
       
    45 [Test]
       
    46 title MOD_1001.001_SIM_ATK_TSY_[CALL CONTROL GPRS - Allowed, no modifications]
       
    47 
       
    48 create SimAtk simatk
       
    49 create SimAtkNotify notifyCallControl
       
    50 
       
    51 simatk Connect RTelServer
       
    52 simatk Load PhoneTsy.tsy
       
    53 simatk Open DefaultPhone
       
    54 simatk Open SAT
       
    55 simatk Open IscControl
       
    56 
       
    57 simatk LoadIscTests SimAtk_CallControl_GPRS_custom.xml
       
    58 
       
    59 // Initialize
       
    60 simatk RunIscTestCase 1001 001
       
    61 simatk WaitForRequest
       
    62 
       
    63 simatk RunIscTestCase 1001 101
       
    64 simatk WaitForRequest
       
    65 
       
    66 simatk RunIscTestCase 1001 102
       
    67 simatk WaitForRequest
       
    68 
       
    69 simatk RunIscTestCase 1001 103
       
    70 simatk WaitForRequest
       
    71 
       
    72 notifyCallControl UseObjectAddress simatk ESatNotifyCallControlRequest
       
    73 simatk RunIscTestCase 1001 104
       
    74 waittestclass notifyCallControl
       
    75 simatk CheckProactiveCommand CommandType ESatNotifyCallControlRequest Type 4 ActionOriginator 2 ControlResult 1 AlphaId "CC on GPRS" AlphaIdValidity 1 AlphaIdStatus 1
       
    76 simatk SyncIscTestCase
       
    77 simatk WaitForRequest
       
    78 
       
    79 notifyCallControl UseObjectAddress simatk ESatNotifyCallControlRequest
       
    80 simatk RunIscTestCase 1001 105
       
    81 waittestclass notifyCallControl
       
    82 simatk CheckProactiveCommand CommandType ESatNotifyCallControlRequest Type 4 ActionOriginator 2 ControlResult 1 AlphaId "Call control gives the following response containing this very looong alpha identifier though this may be truncated by the mobile equipment!! The length is 160." AlphaIdValidity 1 AlphaIdStatus 1
       
    83 simatk SyncIscTestCase
       
    84 simatk WaitForRequest
       
    85 
       
    86 notifyCallControl UseObjectAddress simatk ESatNotifyCallControlRequest
       
    87 simatk RunIscTestCase 1001 106
       
    88 waittestclass notifyCallControl
       
    89 simatk CheckProactiveCommand CommandType ESatNotifyCallControlRequest Type 4 ActionOriginator 2 ControlResult 1 AlphaIdValidity 1 AlphaIdStatus 1 AlphaId 03B1 03B2 03B3 0020 03C9
       
    90 simatk SyncIscTestCase
       
    91 simatk WaitForRequest
       
    92 
       
    93 simatk Close IscControl
       
    94 simatk Close SAT
       
    95 simatk Unload PhoneTsy.tsy
       
    96 simatk Close RTelServer
       
    97 delete notifyCallControl
       
    98 delete simatk
       
    99 [Endtest]
       
   100 
       
   101 //--------------------------------------//
       
   102 // "NOT ALLOWED" CASES					//
       
   103 //--------------------------------------//
       
   104 
       
   105 [Test]
       
   106 title MOD_1001.002_SIM_ATK_TSY_[CALL CONTROL GPRS - Not Allowed]
       
   107 
       
   108 create SimAtk simatk
       
   109 create SimAtkNotify notifyCallControl
       
   110 
       
   111 simatk Connect RTelServer
       
   112 simatk Load PhoneTsy.tsy
       
   113 simatk Open DefaultPhone
       
   114 simatk Open SAT
       
   115 simatk Open IscControl
       
   116 
       
   117 simatk LoadIscTests SimAtk_CallControl_GPRS_custom.xml
       
   118 
       
   119 // Initialize
       
   120 simatk RunIscTestCase 1001 001
       
   121 simatk WaitForRequest
       
   122 
       
   123 simatk RunIscTestCase 1001 110
       
   124 simatk WaitForRequest
       
   125 
       
   126 simatk RunIscTestCase 1001 111
       
   127 simatk WaitForRequest
       
   128 
       
   129 simatk RunIscTestCase 1001 112
       
   130 simatk WaitForRequest
       
   131 
       
   132 notifyCallControl UseObjectAddress simatk ESatNotifyCallControlRequest
       
   133 simatk RunIscTestCase 1001 113
       
   134 waittestclass notifyCallControl
       
   135 simatk CheckProactiveCommand CommandType ESatNotifyCallControlRequest Type 4 ActionOriginator 2 ControlResult 2 AlphaId "CC on GPRS" AlphaIdValidity 1 AlphaIdStatus 1
       
   136 simatk SyncIscTestCase
       
   137 simatk WaitForRequest
       
   138 
       
   139 simatk Close IscControl
       
   140 simatk Close SAT
       
   141 simatk Unload PhoneTsy.tsy
       
   142 simatk Close RTelServer
       
   143 delete notifyCallControl
       
   144 delete simatk
       
   145 [Endtest]
       
   146 
       
   147 //--------------------------------------//
       
   148 // "ALLOWED WITH MODIFICATIONS" CASES	//
       
   149 //--------------------------------------//
       
   150 
       
   151 [Test]
       
   152 title MOD_1001.003_SIM_ATK_TSY_[CALL CONTROL GPRS - Allowed with Modifications]
       
   153 
       
   154 create SimAtk simatk
       
   155 create SimAtkNotify notifyCallControl
       
   156 
       
   157 simatk Connect RTelServer
       
   158 simatk Load PhoneTsy.tsy
       
   159 simatk Open DefaultPhone
       
   160 simatk Open SAT
       
   161 simatk Open IscControl
       
   162 
       
   163 simatk LoadIscTests SimAtk_CallControl_GPRS_custom.xml
       
   164 
       
   165 // Initialize
       
   166 simatk RunIscTestCase 1001 001
       
   167 simatk WaitForRequest
       
   168 
       
   169 simatk RunIscTestCase 1001 120
       
   170 simatk WaitForRequest
       
   171 
       
   172 simatk RunIscTestCase 1001 121
       
   173 simatk WaitForRequest
       
   174 
       
   175 notifyCallControl UseObjectAddress simatk ESatNotifyCallControlRequest
       
   176 simatk RunIscTestCase 1001 122
       
   177 waittestclass notifyCallControl
       
   178 simatk CheckProactiveCommand CommandType ESatNotifyCallControlRequest Type 4 ActionOriginator 2 ControlResult 1 AlphaId "CC on GPRS" AlphaIdValidity 1 AlphaIdStatus 1 
       
   179 simatk SyncIscTestCase
       
   180 simatk WaitForRequest
       
   181 
       
   182 notifyCallControl UseObjectAddress simatk ESatNotifyCallControlRequest
       
   183 simatk RunIscTestCase 1001 123
       
   184 waittestclass notifyCallControl
       
   185 simatk CheckProactiveCommand CommandType ESatNotifyCallControlRequest Type 4 ActionOriginator 2 ControlResult 3 AlphaId "CC on GPRS" AlphaIdValidity 1 AlphaIdStatus 1 
       
   186 simatk SyncIscTestCase
       
   187 simatk WaitForRequest
       
   188 
       
   189 simatk RunIscTestCase 1001 124
       
   190 simatk WaitForRequest
       
   191 
       
   192 simatk RunIscTestCase 1001 125
       
   193 simatk WaitForRequest
       
   194 
       
   195 simatk Close IscControl
       
   196 simatk Close SAT
       
   197 simatk Unload PhoneTsy.tsy
       
   198 simatk Close RTelServer
       
   199 delete notifyCallControl
       
   200 delete simatk
       
   201 [Endtest]