adaptationlayer/tsy/simatktsy_dll/internal/test/simatktsy_testtool/simatk/testfiles/simatk_getinput_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 // Proactive command //
       
    23 ///////////////////////
       
    24 
       
    25 // InputDisplayOption
       
    26 //  0 EInputDisplayOptionNotSet, Value used in constructor.
       
    27 //  1 EDisplayUserInput
       
    28 //  2 EHideUserInput
       
    29 
       
    30 // RspFormat
       
    31 //  0 EGetInputRspFormatNotSet, Value used in constructor
       
    32 //  1 EDigitOnlyUnpacked
       
    33 //  2 EDigitOnlyPacked
       
    34 //  3 ESmsDefaultAlphabetUnpacked
       
    35 //  4 ESmsDefaultAlphabetPacked
       
    36 //  5 EUcs2Alphabet
       
    37 
       
    38 // RspLength
       
    39 //  0-255 MinRspLength
       
    40 //  0-255 MaxRspLength
       
    41 // Example: RspLength 0 10
       
    42 
       
    43 // DefaultText (Optional, default = "")
       
    44 //  Enter the text inside the quotes or as unicode hex digits. Example: Text "abc" or Text 61 62 63
       
    45 
       
    46 // Text
       
    47 //  Enter the text inside the quotes or as unicode hex digits. Example: Text "abc" or Text 61 62 63
       
    48 
       
    49 // IconId (Optional, default = IconId 0 0)
       
    50 //  IconQualifier
       
    51 //      0 NotSet
       
    52 //      1 NoIconId
       
    53 //      2 SelfExplanatory
       
    54 //      3 NotSelfExplanatory
       
    55 //  IconIdentifier
       
    56 //      Id number
       
    57 //  Example SelfExplanatory ID 5: IconId 2 5
       
    58 
       
    59 // Help (Optional, default = Help 2)
       
    60 //  0 EHelpNotSet, Initialization value used within constructor(s).
       
    61 //  1 Help information available to the user.
       
    62 //  2 No help information is available to the user.
       
    63 
       
    64 // Terminal Response //
       
    65 ///////////////////////
       
    66 
       
    67 // GeneralResult (Optional, default = Command performed successfully)
       
    68 //  General result of the proactive command.
       
    69 
       
    70 // AdditionalInfo (Optional, default = "" )
       
    71 //  Enter the text inside the quotes or as unicode hex digits. Example: Text "abc" or Text 61 62 63
       
    72 
       
    73 // InfoType (Optional, default = No Additional info)
       
    74 //  Set to TextString (0x0020) to return a string.  Some error values
       
    75 //  of GeneralResult require additional information, in which case set
       
    76 //  this to MeProblem (0x0002).  Otherwise set to NoAdditionalInfo (0x0001).
       
    77 
       
    78 // RspFormat
       
    79 //  See above
       
    80 
       
    81 [Test]
       
    82 title MOD_1007.001_SIM_ATK_TSY_[GET INPUT - Various data coding schemes]
       
    83 
       
    84 create SimAtk simatk
       
    85 create SimAtkNotify notify
       
    86 
       
    87 // connecting to ETel server
       
    88 simatk Connect RTelServer
       
    89 // Load TSY module
       
    90 simatk Load PhoneTsy.tsy
       
    91 // open phone module
       
    92 simatk Open DefaultPhone
       
    93 // Open SAT API
       
    94 simatk Open SAT
       
    95 
       
    96 // Open ISC Test control
       
    97 simatk Open IscControl
       
    98 // Load ISC XML -file
       
    99 simatk LoadIscTests SimAtk_GetInput_custom.xml
       
   100 
       
   101 // Sequence 1: All GSM alphabets, unpacked
       
   102 notify UseObjectAddress simatk ESatNotifyGetInputPCmd
       
   103 simatk RunIscTestCase 1007 101
       
   104 waittestclass notify
       
   105 // Text contains all GSM characters converted to unicode
       
   106 simatk CheckProactiveCommand InputDisplayOption 1 RspFormat 3 RspLength 0 255 Text 40 A3 24 A5 E8 E9 F9 EC F2 E7 0A D8 F8 0D C5 E5 394 5F 3A6 393 39B 3A9 3A0 3A8 3A3 398 39E C6 E6 DF C9 20 21 22 23 A4 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F A1 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A C4 D6 D1 DC A7 BF 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A E4 F6 F1 FC E0 0C 5E 20 7B 7D 5C 5B 7E 5D 7C 20AC 40 E0 A0
       
   107 simatk SendTerminalResponse InfoType TextString RspFormat 3 AdditionalInfo 40 A3 24 A5 E8 E9 F9 EC F2 E7 0A D8 F8 0D C5 E5 394 5F 3A6 393 39B 3A9 3A0 3A8 3A3 398 39E C6 E6 DF C9 20 21 22 23 A4 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F A1 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A C4 D6 D1 DC A7 BF 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A E4 F6 F1 FC E0 0C 5E 7B 7D 5C 5B 7E 5D 7C 20AC 40 E0
       
   108 simatk WaitForRequest
       
   109 
       
   110 // Sequence 2: All GSM alphabets, packed
       
   111 notify UseObjectAddress simatk ESatNotifyGetInputPCmd
       
   112 simatk RunIscTestCase 1007 102
       
   113 waittestclass notify
       
   114 // Text contains all GSM characters converted to unicode
       
   115 simatk CheckProactiveCommand InputDisplayOption 1 RspFormat 4 RspLength 0 255 Text 40 A3 24 A5 E8 E9 F9 EC F2 E7 0A D8 F8 0D C5 E5 394 5F 3A6 393 39B 3A9 3A0 3A8 3A3 398 39E C6 E6 DF C9 20 21 22 23 A4 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F A1 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A C4 D6 D1 DC A7 BF 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A E4 F6 F1 FC E0 0C 5E 20 7B 7D 5C 5B 7E 5D 7C 20AC 40 E0 A0
       
   116 simatk SendTerminalResponse InfoType TextString RspFormat 4 AdditionalInfo 40 A3 24 A5 E8 E9 F9 EC F2 E7 0A D8 F8 0D C5 E5 394 5F 3A6 393 39B 3A9 3A0 3A8 3A3 398 39E C6 E6 DF C9 20 21 22 23 A4 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F A1 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A C4 D6 D1 DC A7 BF 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A E4 F6 F1 FC E0 0C 5E 7B 7D 5C 5B 7E 5D 7C 20AC 40 E0
       
   117 simatk WaitForRequest
       
   118 
       
   119 // Sequence 3: Unicode letters
       
   120 notify UseObjectAddress simatk ESatNotifyGetInputPCmd
       
   121 simatk RunIscTestCase 1007 103
       
   122 waittestclass notify
       
   123 // Text contains all GSM characters (excluding from B to Y) converted to unicode
       
   124 simatk CheckProactiveCommand InputDisplayOption 1 RspFormat 5 RspLength 0 255 Text 40 A3 24 A5 E8 E9 F9 EC F2 E7 0A D8 F8 0D C5 E5 394 5F 3A6 393 39B 3A9 3A0 3A8 3A3 398 39E C6 E6 DF C9 20 21 22 23 A4 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F A1 41 5A C4 D6 D1 DC A7 BF 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A E4 F6 F1 FC E0 0C 5E 20 7B 7D 5C 5B 7E 5D 7C 20AC 40 E0 1B14 FFFF
       
   125 simatk SendTerminalResponse InfoType TextString RspFormat 5 AdditionalInfo 40 A3 24 A5 E8 E9 F9 EC F2 E7 0A D8 F8 0D C5 E5 394 5F 3A6 393 39B 3A9 3A0 3A8 3A3 398 39E C6 E6 DF C9 20 21 22 23 A4 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F A1 41 5A C4 D6 D1 DC A7 BF 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A E4 F6 F1 FC E0 0C 5E 20 7B 7D 5C 5B 7E 5D 7C 20AC 40 E0 1B14 FFFF
       
   126 simatk WaitForRequest
       
   127 
       
   128 // Sequence 4: Special letter mappings (á -> a etc.)
       
   129 notify UseObjectAddress simatk ESatNotifyGetInputPCmd
       
   130 simatk RunIscTestCase 1007 104
       
   131 waittestclass notify
       
   132 simatk CheckProactiveCommand InputDisplayOption 1 RspFormat 3 RspLength 0 255 Text 40 A3 24 A5 E8 E9 F9 EC F2 E7 0A D8 F8 0D C5 E5 394 5F 3A6 393 39B 3A9 3A0 3A8 3A3 398 39E C6 E6 DF C9 20 21 22 23 A4 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F A1 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A C4 D6 D1 DC A7 BF 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A E4 F6 F1 FC E0 0C 5E 20 7B 7D 5C 5B 7E 5D 7C 20AC 40 E0 A0
       
   133 simatk SendTerminalResponse InfoType TextString RspFormat 3 AdditionalInfo A2 DE FE F0 F7 60 7F C0 C1 C2 C3 C8 CA CB CC CD CE CF D0 D2 D3 D4 D5 D7 D9 DA DB DD E1 E2 E3 EA EB ED EE EF F3 F4 F5 FA FB FD FF
       
   134 simatk WaitForRequest
       
   135 
       
   136 // close all
       
   137 simatk Close IscControl
       
   138 simatk Close SAT
       
   139 simatk Unload PhoneTsy.tsy
       
   140 simatk Close RTelServer
       
   141 delete notify
       
   142 delete simatk
       
   143 [Endtest]