|
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 // Type |
|
26 // Type of Info request |
|
27 // 0 Default |
|
28 // 1 IMEI of the phone. |
|
29 // 2 Network Measurement Results. |
|
30 // 3 Current date, time and time zone. |
|
31 // 4 Language preference. |
|
32 // 5 Timing advance (access network dependent). |
|
33 // 6 Current access technology. |
|
34 // 7 ESN of the phone. |
|
35 |
|
36 // Terminal Response // |
|
37 /////////////////////// |
|
38 |
|
39 // GeneralResult |
|
40 // General result of the proactive command. Default command performed successfully. |
|
41 |
|
42 // AdditionalInfo |
|
43 // Contains the local information requested by the UICC. Alternatively, some error values of GeneralResult require |
|
44 // additional information, which goes here. |
|
45 // Enter the text inside the quotes or as unicode hex digits. |
|
46 |
|
47 // InfoType |
|
48 // Set to LocalInformation to return local information, or possibly MeProblem is there is a problem |
|
49 |
|
50 [Test] |
|
51 title MOD_0016.001_SIM_ATK_TSY_[PROVIDE LOCAL INFORMATION] |
|
52 |
|
53 create SimAtk simatk |
|
54 create SimAtkNotify notify |
|
55 simatk Connect RTelServer |
|
56 simatk Load PhoneTsy.tsy |
|
57 simatk Open DefaultPhone |
|
58 simatk Open SAT |
|
59 simatk Open IscControl |
|
60 |
|
61 // Load ISC XML -file |
|
62 simatk LoadIscTests SimAtk_LocalInfo.xml |
|
63 |
|
64 simatk RunIscTestCase 16 101 |
|
65 simatk WaitForRequest |
|
66 |
|
67 simatk RunIscTestCase 16 102 |
|
68 simatk WaitForRequest |
|
69 |
|
70 simatk RunIscTestCase 16 103 |
|
71 simatk WaitForRequest |
|
72 |
|
73 simatk RunIscTestCase 16 104 |
|
74 simatk WaitForRequest |
|
75 |
|
76 notify UseObjectAddress simatk ESatNotifyLocalInfoPCmd |
|
77 simatk RunIscTestCase 16 105 |
|
78 waittestclass notify |
|
79 simatk CheckProactiveCommand Type 4 |
|
80 simatk SendTerminalResponse InfoType LocalInformation AdditionalInfo 656E |
|
81 simatk WaitForRequest |
|
82 |
|
83 simatk RunIscTestCase 16 106 |
|
84 simatk WaitForRequest |
|
85 |
|
86 // close all |
|
87 simatk Close IscControl |
|
88 simatk Close SAT |
|
89 simatk Unload PhoneTsy.tsy |
|
90 simatk Close RTelServer |
|
91 delete notify |
|
92 delete simatk |
|
93 [Endtest] |