adaptationlayer/tsy/simatktsy_dll/internal/test/simatktsy_testtool/simatk/testfiles/simatk_sendss.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 // Proactive command //
       
    22 ///////////////////////
       
    23 
       
    24 // AlphaId (Optional)
       
    25 //  Enter the text inside the quotes or as unicode hex digits. Example: AlphaId "abc" or AlphaId 61 62 63
       
    26 
       
    27 // Address
       
    28 //  Enter the SS string inside the quotes
       
    29 //  TypeOfNumber (Optional, default = 1, UnknownNumber)
       
    30 //      0 TypeOfNumberNotSet, initialization value used within constructor(s).
       
    31 //      1 UnknownNumber, the user or the network has no knowledge of the type of network.
       
    32 //      2 InternationalNumber, international number.
       
    33 //      3 NationalNumber, national number.
       
    34 //      4 NetworkSpecificNumber, administration/service number specific to the serving network, 
       
    35 //        e.g. used to access an operator.
       
    36 //      5 DedicatedNumber, called dedicated access / short code in GSM/WCDMA. Corresponds to
       
    37 //        TMobileTON::ESubscriberNumber in ETel MM API.
       
    38 //      6 AlphanumericNumber, alphanumeric number.
       
    39 //      7 EAbbreviatedNumber, abbreviated number. 
       
    40 //  NumberingPlan (Optional, default = 1, UnknownNumberingPlan)
       
    41 //      0 NumberingPlanNotSet, initialization value used within constructor(s).
       
    42 //      1 UnknownNumberingPlan, the user or the network has no knowledge of the numbering plan.
       
    43 //      2 IsdnNumberPlan, ISDN / telephony numbering plan.
       
    44 //      3 DataNumberPlan, data numbering plan.
       
    45 //      4 TelexNumberPlan, telex numbering plan.
       
    46 //      5 ServiceCentreSpecificPlan1, The service centre specific plan is used to indicate a numbering
       
    47 //        plan specific to External Short Message Entities attached to the SMS centre.
       
    48 //      6 ServiceCentreSpecificPlan2, the service centre specific plan is used to indicate a numbering
       
    49 //        plan specific to External Short Message Entities attached to the SMS centre.
       
    50 //      7 NationalNumberPlan, national numbering plan.
       
    51 //      8 PrivateNumberPlan, private numbering plan.
       
    52 //      9 ERMESNumberPlan, ERMES numbering plan.   
       
    53 // Example (String "*#31#", InternationalNumber, DataNumberPlan):
       
    54 // Address "*#31#" 2 3
       
    55 
       
    56 // IconId (Optional, default = IconId 0 0)
       
    57 //  IconQualifier
       
    58 //      0 NotSet
       
    59 //      1 NoIconId
       
    60 //      2 SelfExplanatory
       
    61 //      3 NotSelfExplanatory
       
    62 //  IconIdentifier
       
    63 //      Id number
       
    64 //  Example SelfExplanatory ID 5: IconId 2 5
       
    65 
       
    66 // Terminal Response //
       
    67 ///////////////////////
       
    68 
       
    69 // GeneralResult
       
    70 //  General result of the proactive command. Default command performed successfully.
       
    71 
       
    72 // GeneralResult2
       
    73 //  General result of the proactive command. Default command performed successfully.
       
    74 
       
    75 // AdditionalInfo
       
    76 //  Enter the text inside the quotes or as unicode hex digits
       
    77 
       
    78 // AdditionalInfo2
       
    79 //  Enter the text inside the quotes or as unicode hex digits
       
    80 
       
    81 // InfoType
       
    82 // If the value of iGeneralResult requires additional information,
       
    83 // set this to MeProblem (2).  Otherwise set to
       
    84 // NoAdditionalInfo (1). Default no additional info.
       
    85 
       
    86 // InfoType2
       
    87 // If the value of iGeneralResult requires additional information,
       
    88 // set this to MeProblem (2).  Otherwise set to
       
    89 // NoAdditionalInfo (1). Default no additional info.
       
    90 
       
    91 // UssdString
       
    92 //  Enter the text inside the quotes or as unicode hex digits. Example: AlphaId "abc" or AlphaId 61 62 63
       
    93 
       
    94 
       
    95 [Test]
       
    96 title MOD_0012.001_SIM_ATK_TSY_[SEND SS - normal]
       
    97 
       
    98 create SimAtk simatk
       
    99 create SimAtkNotify notify
       
   100 
       
   101 // open all
       
   102 simatk Connect RTelServer
       
   103 simatk Load PhoneTsy.tsy
       
   104 simatk Open DefaultPhone
       
   105 simatk Open SAT
       
   106 simatk Open IscControl
       
   107 simatk Open SmsMessaging
       
   108 
       
   109 // Load ISC XML -file
       
   110 simatk LoadIscTests SimAtk_SendSs.xml
       
   111 
       
   112 // SEQ 1.1
       
   113 notify UseObjectAddress simatk ESatNotifySendSsPCmd
       
   114 simatk RunIscTestCase 12 101
       
   115 waittestclass notify
       
   116 // SimAtkTsy adds '+'-sign to international calls
       
   117 simatk CheckProactiveCommand Address "**21*+01234567890123456789#" 2 2 AlphaId "Call Forward"
       
   118 // First digit in Additional info is ISI operation, which is removed by SimAtkTsy.
       
   119 simatk SendTerminalResponse InfoType SendSsInfo AdditionalInfo 03 0A A0 1A 04 01 21 30 15 30 13 83 01 00 84 01 07 84 0B 91 10 32 54 76 98 10 32 54 76 98
       
   120 simatk WaitForRequest
       
   121 
       
   122 // SEQ 1.2
       
   123 notify UseObjectAddress simatk ESatNotifySendSsPCmd
       
   124 simatk RunIscTestCase 12 102
       
   125 waittestclass notify
       
   126 simatk CheckProactiveCommand Address "**21*+01234567890123456789#" 2 2 AlphaId "Call Forward"
       
   127 // First digit in Additional info is ISI operation, which is removed by SimAtkTsy.
       
   128 simatk SendTerminalResponse GeneralResult SsReturnError InfoType SatNetworkErrorInfo AdditionalInfo 03 15
       
   129 simatk WaitForRequest
       
   130 
       
   131 // SEQ 1.3
       
   132 notify UseObjectAddress simatk ESatNotifySendSsPCmd
       
   133 simatk RunIscTestCase 12 103
       
   134 waittestclass notify
       
   135 simatk CheckProactiveCommand Address "**21*+01234567890123456789#" 2 2 AlphaId "Call Forward"
       
   136 // First digit in Additional info is ISI operation, which is removed by SimAtkTsy.
       
   137 simatk SendTerminalResponse GeneralResult SsReturnError InfoType SatNetworkErrorInfo AdditionalInfo 03 00
       
   138 simatk WaitForRequest
       
   139 
       
   140 // SEQ 1.4
       
   141 notify UseObjectAddress simatk ESatNotifySendSsPCmd
       
   142 simatk RunIscTestCase 12 104
       
   143 waittestclass notify
       
   144 simatk CheckProactiveCommand Address "**21*+01234567890123456789012345678901234567*11#" 2 2 AlphaId "Call Forward"
       
   145 // First digit in Additional info is ISI operation, which is removed by SimAtkTsy.
       
   146 simatk SendTerminalResponse InfoType SendSsInfo AdditionalInfo 03 0A A0 23 04 01 21 30 1E 30 1C 83 01 11 84 01 07 84 14 91 10 32 54 76 98 10 32 54 76 98 10 32 54 76 98 10 32 54 76
       
   147 simatk WaitForRequest
       
   148 
       
   149 // SEQ 1.5
       
   150 notify UseObjectAddress simatk ESatNotifySendSsPCmd
       
   151 simatk RunIscTestCase 12 105
       
   152 waittestclass notify
       
   153 // No address present in SS string (only service code), therefore TON/NPI set to Unknown/unknown (see 3GPP TS 22.030, 6.5.2 and ETSI TS 122 030)
       
   154 simatk CheckProactiveCommand Address "*#31#" 0 0 AlphaId "Even if the Fixed Dialling Number service is enabled, the supplementary service control string included in the SEND SS proactive command shall not be checked against those of the FDN list. Upon receiving this command, the ME shall deci"
       
   155 // First digit in Additional info is ISI operation, which is removed by SimAtkTsy.
       
   156 simatk SendTerminalResponse InfoType SendSsInfo AdditionalInfo 03 0E A4 06 04 01 06 0A 01 02
       
   157 simatk WaitForRequest
       
   158 
       
   159 // SEQ 1.6
       
   160 notify UseObjectAddress simatk ESatNotifySendSsPCmd
       
   161 simatk RunIscTestCase 12 106
       
   162 waittestclass notify
       
   163 simatk CheckProactiveCommand Address "**21*+01234567890123456789#" 2 2 AlphaId ""
       
   164 // First digit in Additional info is ISI operation, which is removed by SimAtkTsy.
       
   165 simatk SendTerminalResponse InfoType SendSsInfo AdditionalInfo 03 0A A0 1A 04 01 21 30 15 30 13 83 01 00 84 01 07 84 0B 91 10 32 54 76 98 10 32 54 76 98
       
   166 simatk WaitForRequest
       
   167 
       
   168 // close all
       
   169 simatk Close SmsMessaging
       
   170 simatk Close IscControl
       
   171 simatk Close SAT
       
   172 simatk Unload PhoneTsy.tsy
       
   173 simatk Close RTelServer
       
   174 delete simatk
       
   175 delete notify
       
   176 [Endtest]
       
   177 
       
   178 [Test]
       
   179 title MOD_0012.002_SIM_ATK_TSY_[SEND SS - Icon support (sequence B)]
       
   180 
       
   181 create SimAtk simatk
       
   182 create SimAtkNotify notify
       
   183 
       
   184 // open all
       
   185 simatk Connect RTelServer
       
   186 simatk Load PhoneTsy.tsy
       
   187 simatk Open DefaultPhone
       
   188 simatk Open SAT
       
   189 simatk Open IscControl
       
   190 simatk Open SmsMessaging
       
   191 
       
   192 // Load ISC XML -file
       
   193 simatk LoadIscTests SimAtk_SendSs.xml
       
   194 
       
   195 // SEQ 2.1B
       
   196 notify UseObjectAddress simatk ESatNotifySendSsPCmd
       
   197 simatk RunIscTestCase 12 201
       
   198 waittestclass notify
       
   199 // SimAtkTsy adds '+'-sign to international calls
       
   200 simatk CheckProactiveCommand Address "**21*+01234567890123456789*10#" 2 2 AlphaId "Basic Icon" IconId 2 1
       
   201 // First digit in Additional info is ISI operation, which is removed by SimAtkTsy.
       
   202 simatk SendTerminalResponse GeneralResult SuccessRequestedIconNotDisplayed InfoType SendSsInfo AdditionalInfo 03 0A A0 1A 04 01 21 30 15 30 13 83 01 00 84 01 07 89 0B 91 10 32 54 76 98 10 32 54 76 98
       
   203 simatk WaitForRequest
       
   204 
       
   205 // SEQ 2.2B
       
   206 notify UseObjectAddress simatk ESatNotifySendSsPCmd
       
   207 simatk RunIscTestCase 12 202
       
   208 waittestclass notify
       
   209 // SimAtkTsy adds '+'-sign to international calls
       
   210 simatk CheckProactiveCommand Address "**21*+01234567890123456789*10#" 2 2 AlphaId "Colour Icon" IconId 2 2
       
   211 // First digit in Additional info is ISI operation, which is removed by SimAtkTsy.
       
   212 simatk SendTerminalResponse GeneralResult SuccessRequestedIconNotDisplayed InfoType SendSsInfo AdditionalInfo 03 0A A0 1A 04 01 21 30 15 30 13 83 01 00 84 01 07 89 0B 91 10 32 54 76 98 10 32 54 76 98
       
   213 simatk WaitForRequest
       
   214 
       
   215 // SEQ 2.3B
       
   216 notify UseObjectAddress simatk ESatNotifySendSsPCmd
       
   217 simatk RunIscTestCase 12 203
       
   218 waittestclass notify
       
   219 // SimAtkTsy adds '+'-sign to international calls
       
   220 simatk CheckProactiveCommand Address "**21*+01234567890123456789*10#" 2 2 AlphaId "Basic Icon" IconId 3 1
       
   221 // First digit in Additional info is ISI operation, which is removed by SimAtkTsy.
       
   222 simatk SendTerminalResponse GeneralResult SuccessRequestedIconNotDisplayed InfoType SendSsInfo AdditionalInfo 03 0A A0 1A 04 01 21 30 15 30 13 83 01 00 84 01 07 89 0B 91 10 32 54 76 98 10 32 54 76 98
       
   223 simatk WaitForRequest
       
   224 
       
   225 // SEQ 2.4
       
   226 notify UseObjectAddress simatk ESatNotifySendSsPCmd
       
   227 simatk RunIscTestCase 12 204
       
   228 waittestclass notify
       
   229 // SimAtkTsy adds '+'-sign to international calls
       
   230 simatk CheckProactiveCommand Address "**21*+01234567890123456789#" 2 2 IconId 3 1
       
   231 // First digit in Additional info is ISI operation, which is removed by SimAtkTsy.
       
   232 simatk SendTerminalResponse GeneralResult CmdDataNotUnderstood
       
   233 simatk WaitForRequest
       
   234 
       
   235 // close all
       
   236 simatk Close SmsMessaging
       
   237 simatk Close IscControl
       
   238 simatk Close SAT
       
   239 simatk Unload PhoneTsy.tsy
       
   240 simatk Close RTelServer
       
   241 delete simatk
       
   242 delete notify
       
   243 [Endtest]
       
   244 
       
   245 [Test]
       
   246 title MOD_0012.003_SIM_ATK_TSY_[SEND SS - UCS2 support]
       
   247 
       
   248 create SimAtk simatk
       
   249 create SimAtkNotify notify
       
   250 
       
   251 // open all
       
   252 simatk Connect RTelServer
       
   253 simatk Load PhoneTsy.tsy
       
   254 simatk Open DefaultPhone
       
   255 simatk Open SAT
       
   256 simatk Open IscControl
       
   257 simatk Open SmsMessaging
       
   258 
       
   259 // Load ISC XML -file
       
   260 simatk LoadIscTests SimAtk_SendSs.xml
       
   261 
       
   262 // SEQ 3.1
       
   263 notify UseObjectAddress simatk ESatNotifySendSsPCmd
       
   264 simatk RunIscTestCase 12 301
       
   265 waittestclass notify
       
   266 // SimAtkTsy adds '+'-sign to international calls, Alpha Id "Hello" in Russian
       
   267 simatk CheckProactiveCommand Address "**21*+01234567890123456789*10#" 2 2 AlphaId 0417 0414 0420 0410 0412 0421 0422 0412 0423 0419 0422 0415
       
   268 // First digit in Additional info is ISI operation, which is removed by SimAtkTsy.
       
   269 simatk SendTerminalResponse InfoType SendSsInfo AdditionalInfo 03 0A A0 1A 04 01 21 30 15 30 13 83 01 00 84 01 07 84 0B 91 10 32 54 76 98 10 32 54 76 98
       
   270 simatk WaitForRequest
       
   271 
       
   272 // close all
       
   273 simatk Close SmsMessaging
       
   274 simatk Close IscControl
       
   275 simatk Close SAT
       
   276 simatk Unload PhoneTsy.tsy
       
   277 simatk Close RTelServer
       
   278 delete simatk
       
   279 delete notify
       
   280 [Endtest]