Вы находитесь на странице: 1из 93

-

.
______ . .
_______________ 2006 .

: J2ME API
PTF.

:
:

552800 -
230105 -
.

.6084/2
, .

..
..

-
2006

.

J2ME
.


.

.
, 92 , 12 , 13
1 .


.............................................................................1
......................................................................................................2
..........................................................................................................5
................................................................................8
1 . ...........................................................................................................9
1.1 JAVAPRJ .......................................................................................................9
1.1.1 JAVAPRJ..................................................................................................................13
1.1.1.1 API .......................................................15
1.1.1.2 (Sanity, Regression, Feature, TCK)........................................18
1.1.1.2.1 Feature testing.......................................................................................................................20
1.1.1.2.2 Performance testing..............................................................................................................23
1.1.1.2.3 Sanity Testing.......................................................................................................................24
1.1.1.2.4 Regression Testing...............................................................................................................25
1.1.1.2.5 Acceptance Testing (TCK)...................................................................................................25
1.1.1.3 Sanity JAVAPRJ................................................................................26
1.1.1.3.1 , ...........................................................27
1.1.1.4 ......................................................................................................29
1.1.1.4.1 16 Java service Menu............................................................................29
1.1.1.4.2 37 Text Entry........................................................................................30
1.1.1.5 .............................................................................................31
1.1.1.5.1 ........................................................................................31
1.1.1.5.2 code style (, )............................................31
1.1.1.5.3 ..............................................................................................................32
1.1.1.5.4 ....................................................................................................................35
1.1.1.5.4.1 TCK...................................................................................35

1.1.1.5.4.2 PTF....................................................................................37
1.1.1.5.4.3 FlexAuto............................................................................39
1.1.1.5.4.4 TAT...................................................................................41
1.1.1.5.5 TAT PTF.....................................................................................47

2 ..................................................................................................48
2.1 .....................................................................................................................48
2.1.1 Test Central..........................................................................................................................................48
2.1.2 ...................................................................................................................................50
2.1.3 Baseline................................................................................................................................................50
2.1.3.1 CM .......................................................................................................51
2.1.3.1.1 CR BR................................................................................................................55
2.1.3.1.2 Sanity .....................................................56

3 .................................................................................................56
3.1 .................................................................................................................................56
3.1.1 ( ).........................................................................................58
3.1.1.1 MIDlet API...............................................58
3.1.1.2 ...............................................................................................62
3.1.2 ...............................................................................................................................64
3.1.2.1 .......................64
3.1.2.2 MSC .......................................................66
3.1.2.3 .......68
3.1.2.4 PTF ..........................................................................70

4 ..................................................................................71
..................................................................................................75
...................................................................................77
1. . ...............................82



:


.

(
)
Application Programming Interface (API ,
,
). API ,
.
API IBM PC ,
Windows XX Microsoft
SDK (Win32 API
Microsoft Windows ),
MSDN (Microsoft Software Development Network
, ,
Win32 API).

,
.
IBM PC ,
,
Nokia
ITCorp.
-.
,

-.


, -
.

API

JAVA

Mobile

Edition,

Sun

Microsystems.

J2ME
.


.

.
.
( )

IT-.
,
.

.

. ,

( )


( )

.
,
,
.

.


:
1.
ITCorp

IT
,


JavaPRJ

ITCorp,

PRDLineX

J2ME

MobPlat

MobOS

1 .
1.1 JAVAPRJ .

API

,
ITCorp,
. API JAVAPRJ.
, MobPlat,

MobOS


. (, )

ANSI

/C++

ITCorp.

. API
, :

. ,
API

Java

Mobile

Edition,

, API

JAVA, JAVA
virtual

machine

meta-

java-Byte

code.

MobPlat
Native (OS & APPS)

interface
JVM

interface
JAVA API

1. J2ME
API
J2ME SUN Microsystems 4.
JAVA Specification Request (JSR)
. , JSR135
MultiMedia

API

10

, : ,
, ,
, ..
JSR, JAVA
, JSR139 (CLDC 1.1) JSR118 (MIDP 2.0).
JAVA2 Mobile Edition
.

2.
CLDC Connected Limited Device Configuration
J2ME ,
.
J2ME
Compatible Device. Java Virtual
Machine .
CDLC CPU
. 16- 32-
CPU 512 Java
,
.

11

MIDP Mobile Information Device Profile


CLDC ,
, :

,
,
(MIDlet),

,
(, ,
) ..
, MIDP 1.0 4 2000
. : Siemens
SL45i Motorola i85s,
iDEN Digital.

, JAVA-
,

JAVA-API
. MIDP 1.0,
know-how
-

JAVA-.
JAVA (), SUN Microsystems

MIDP

MIDP

2.0

4.

,
: Motorola, Nokia, Siemens
2002 .

12

JAVAPRJ,
,
JAVA
.
JAVAPRJ :
()



API
, . ,
API
SUN JSR: (MIDP, CLDC,
205 (Multi-Messaging Service), 120 (Short-Messaging Service), 135 (MultiMedia API), 82 (Bluetooth API), 75 (File System API)).
1.3.2 (
- TCK)


.

1.1.1 JAVAPRJ.

25%
.
,

13

3. JAVAPRJ

feature test maintenance test.
:
,

.

,
, API,

.
,
.

14

,
, .
1.1.1.1

API

JAVAPRJ
API .
API ,
(, ) .
,
:
,

,
,

.
, ,
:
,
. (
)

.

)
,
,
.

,
, ,

15


.

, STR (System Technical Review),
:
Formal inspection ( (/ ) );
Group review ( (/ ));
Walkthrough ( );
Peer desk-check (
);
Audit

)
Formal inspection
, ,
, . ,

. 5 7 ,
.
, (,
, )
. ,
, reviewed
.
Group review

, .

, , .

16

. ,
, . ,
group review,
.
Walkthrough /
. ,
, ,
. .

,

,
.
Peer desk-check /
,
. , ,
- 2. .
,
.
Audit .
(
)
, ,
.
,
,


. ()
.

17


API : API
-
API, :
;

( );

);
( API).

1.1.1.2

(Sanity, Regression,
Feature, TCK)
1.2 ( JAVAPRJ ),
JAVAPRJ
Java2 Mobile Edition
, , JAVA API

. API


ITCorp.

,
.
(
, ),
,
,
,

18

.
.

4.

:
Unit
Feature
Performance
Sanity
Regression
Acceptance (TCK)
Unit testing
, ,
( )
.

19

. ,
(
power-up ( ), user interface
( : , , ,
..)).

,
.
.
1.1.1.2.1

Feature testing

Feature

Test.


.
(feature).
,

(Feature Description) FSRS


(Functional Software Requirement Specification).
Network API:

20


SR-00083
The Datagram write pops the passing parameters from stack. It
validates the parameters and pushes stack 2 if the validation
failed. If the NI detects the output stream was closed, it pushes
1 back to the Datagram API. The NI calls the net_DatagramWrite
to write data to DSMA. The NI pushes the number of bytes written
back to Java API.
SR-00084
The net_DatagramWrite calls DL_DSMA_ProxyWriteConnectionless to
send the write buffer. If 0 byte written is returned, the method
saves the pointers of the write buffer and the current writing
location in the buffer. Then it returns the total number of bytes
written to the calling method.

.
API, ,


FSRS. ,
:
Functional testing .
() (
)
FSRS.
Functional testing imperfect case.
.

,
.
FSRS.
Functional testing boundary testing. ,
,
.
,
.

21


FSRS.

,
.

. ,
,
,
.
Scenario testing .
.
, ,
API,

.
API .

, , API,
Feature Test.
:
2.

22

Procedure
Start SYNJ0002 application.
Go to Idle Screen
Press Menu softkey
Scroll
to
and
MainMenu - launch.
Press Exit softkey

Expected Results

CORElet screen will appear


List with items (MainMenu launch item among them) is
shown.
press Verify that Main Menu appeared
on screen.
Verify
that
string
PASSED
appeared on phones screen.
Verify that log contains the
following strings: Test PASSED
and not contain string failed.

Press Exit


API,
(, ,
..). , ,
( 50 80 % )
.

.
1.1.1.2.2

Performance testing

,
. .

.


.
( ( ),
, , ,
..)
(hardware). ,

23

.
1.1.1.2.3

Sanity Testing

. , Sanity testing ,

,
(features)
. Sanity testing

. ,
Sanity (..
(feature) ),

.
Sanity
maintenance test, ,

.
,
,
-
,
:


Sanity

, Sanity testing
.
24


,
.
1.1.1.2.4

Regression Testing

JAVAPRJ

,


.

,

.
40 70
,
,
.
Maintenance-on-line (MOL).
feature test ,
, .
Regression
Maintenance Test . .
Regression Testing
, ,

.
1.1.1.2.5

Acceptance Testing (TCK)


Sun Microsystems JAVA 2 Mobile Edition,
25

Sun.

Java 2 Mobile Edition

JAVA2ME .
,

. ,
,
, Sun Microsystems Technology
Compatibility Kit (TCK 1.1.1.5.4.1).

, J2ME
. ,
( )

).
.

. TCK


.
1.1.1.3
Sanity JAVAPRJ
Sanity, 1.3.2.4

, :

26




.
Sanity JAVAPRJ
Maintenance Test.
1.1.1.3.1

, .


PRDLINE 1 PRDLINE 1.1.

5 10 . Sanity
68 65 PRDLINE 1 PRDLINE 1.1
. :
3.
Number
1
2
3
4
5
6
7
8
9
10
11
12
13
14
16
17
18
19
20
21
22
23
25
28
33

Name
Flexing
Commercial MIDlet download
One click
App Shortcuts
JAM Same Version Download
JAM Upgrade. Incoming call during install
CSD OTA Download
Install Notify
Share JAD URLs
GPRS OTA Download
NextURL
InfoDescription
Invisible net
Incoming Call during JAR Download
Java Service Dialog
VSCL - Datebook Interaction-Low Priority
VSCL- DateBook Alarm-High Priority
VSCL- Schedule MIDlet
Downloading of untrusted MIDlet
Sorting file list without Invisible Net
MIDlet Storage in removable memory
Idle Icon
Installing a MIDlet on the device with invalid serial
number
Telephony API
JSR-120(1)

Manual
3.7
3.4
4.3
7.9
7.4
6
7.5
6.2
7.4
7.2
4.5
4.7
4.4
5.8
4.4
5.6
3.3
4
6.2
7.4
7.2
4.5
4.7
4.4
5.8

27

34
36
37
40
41
42
43
44
45
49
51
52
54
55
59
60
61
64
65
66
67
68
69
70
71
72
73
76
77
79

JSR-120 (3)
Multikey
Text Entry
Get Property
Incoming call - no VSCL. Java Service Dialog
SMS Push
Incoming SMS no VSCL
Platform Request
Network API
Flex URL
Get Phonebook Entry with Textbox
Verifies old messages replacement algorithm.
GRCS0110
JAMG0101_1
UDP Push
CBS Push
DRM API
JSR-135(2)
FileSystem API
JSR-120(2)
RMS
JTWI0002
JTWI0012
JTWI0043
JTWI0044
JTWI0045
JTWI0307
PDLM( Prevent Downloading of Large Java MIDlets)
SCRT0408(Certificate disabling)
Bluetooth API

4.4
5.6
3.3
7.9
7.4
6
7.5
6.2
7.4
7.2
4.5
4.7
4.4
5.8
4.4
5.6
3.3
4
6.2
7.4
7.2
4.5
4.7
4.4
5.8
4.4
5.6
5.8
7.2
4.5

,
. , Maintenance
Test Sanity .
1 -,
( 4-
Maintenance Test),
2 -.

28

1.1.1.4

Sanity :
1.1.1.4.1

16 Java service Menu


(MIDlet).

Application Management Software (AMS)


. AMS
,
, (event).
:
4. Sanity
PRDLINE
1,
PRDLINE 1.
Launch
any
1(GSM)
Java
Service commercial MIDlet.
Dialog
Note: If tested phone 2. Press END key.
has no flip execute
the first six steps.
3.
Select
"Suspend".
4.
Run
Camera
application.
5.
Terminate
Camera
application.
6.
Repeat
the
steps 5-10 playing
some video ( Main
Menu->Multimedia>Videos).
7.
Launch
any
commercial MIDlet.
8.
Close
flip,
then open flip.

MIDlet is launched.
Suspend,
Resume,
End will appear.
Idle
screen
is
shown.
Camera application
is run.
Returned to idle.
Expected
result
should be the same
as
for
Camera
application.
MIDlet is launched.

Idle
screen
is
shown.
There
is
Java cup icon in
status bar.
9.
Go
to MIDlet is resumed
Games&Apps. Select successfully.
Resume.

, ,

29

(log).
1.1.1.4.2

37 Text Entry


() TextField.
,
( , ,
, , etc.), .
,

,
.


. :
5. Sanity

Text Entry
Initial
condition:
SanityTests
MIDlet
from
SanityMIDlet
suite is running.
1. Move on to Text
Entry
form
by
pressing. Press RUN
softkey.
2. Select Empty text
field and enter the
text.
3. Select Full filled
text field and remove
characters.

MIDP
Test
list
with
SELECT
and
RESULTS
softkeys
appears.
Verify
that
the
entered text can
be saved.
Verify that text
can be removed and
saved.

4. Select RESULTS and Text


Entry
form
enter result of the appears
with
test.
entered result.

.
:

30

, );
.
, ,
.
JAVAPRJ Sanity Testing.
,
,
.
1.1.1.5

1.1.1.5.1

,
.
1.1.1.5.2
code style (,
)



Feature Test.
Sanity ,

( , ,

31

etc)

.

Code Style Feature . code style
,

/. , Code Style
( TCK).


.
,

:

, , .


use-case.

, TCK,
Sanity .
1.1.1.5.3



.
4 -,
:

,
? , . 2.1-2.4,
.
.3 ,
12 -, 4 ,
A, B, C D,
(. 2.5).

32

. 2.5
,
. ?
1. , ,
, .. 2.6
. , 9 - ,
4 ,
.

. 2.6
2.
, ,
, ..
2.7. , 18 - ,
9 . .

. 2.7

33

3. . , . (P.
Fagg), : "
". , ,
,
.
4. . ,
, .
, , .
, ,
,
.
,
, . , ,


(. 2.8).
, ,
, .
, 3 - ,
. , ,
, .
,
.
, 7 -, 5
. 2.8
, (.
. 2.6).

,

, 4, 2
.


, . , ,
3, , , 7 , ,

.
,
.

,
1 , .
, . .

. 2.8
,

1

, ,
2.7, 6 .

.
, ,

.
, :
,

34

1.1.1.5.4


,
:

;
;
Sanity testing .
,

. ,
, ,

. , ,

,
.
,

. , ,
JAVAPRJ
Sanity testing .
1.1.1.5.4.1 TCK

TCK 4 (Test Compatibility Kit)


Sun Microsystems,

J2ME

( 1.1.1.2.5).
TCK ,
(TCK agent) Java API,
, PC, , ,

35


Unit . , ,
.
. Sun
,

.

JAVAPRJ,
.

Feature Test
JAVAPRJ. , :
,

TCK,

TCK PC
.

1.1.1.5.2)

TCK, ,
,
.
TCK (
), ,

() ( !), , ,
, ,
.

Acceptance Testing.

36

,

TCK. ,
:
6. TCK

SMSG
JSR120
MMSG
JSR205

46

2 /
1 /

147

2 /

TCK

2 /

2 /

4 /

, ,

.
1.1.1.5.4.2 PTF


.
, . PTF
JAVA. PTF

.
TSM (Test Session
Manager),
.
.
,
JAVA, TestThread ,
.
PTF:

37

PTF (
4):
PhoneBundle:
,

J2meDisplay:


TestPhone:

Tools:
,

PTF :

38

import
import
import
import
import
import

atf.hardware.phone.PhoneBundle;
atf.hardware.phone.TestPhone;
logging.Logger;
phonetest.ResultType;
phonetest.TestThread;
phonetest.phone.kjava.*;

public class Test007 extends TestThread


{
PhoneBundle pb;
J2meDisplay display;
TestPhone phone;
String teststring;
boolean result;
public Test007(String s)
{
result = true;
pb = PhoneBundle.getPhoneBundle(0);
phone = pb.phone;
tools = new Tools(pb);
}
public void run() {
try
{
Logger.println("Step 1: Navigating to FileSystemAPI midlet");
tools.launchMIDlet("FileSystemAPI");
display = new J2meDisplay(pb);
display.waitForText(J2meItemType.TITLE,"FileSystemTests",TextMatch.CONTAINS);
Logger.println("Step 2: Pressing START");
display.pressSoftKey("START", TextMatch.EQUALS);
Logger.println("Step 3: Waiting for result");
display.waitForText("[INFO]", TextMatch.CONTAINS);
Logger.println("Step 4: Verifying result");
J2meScrollBar j2mescrollbar;
phone.pressKey(phone.DOWN);
phone.pressKey(phone.DOWN);
phone.pressKey(phone.DOWN);
display.update();
reportResult(ResultType.PASSED);
} catch(Exception err){
}
}
}

1.1.1.5.4.3 FlexAuto


PTF, ,
,
,
Flexauto, PTF.

. ,

39

PTF ,
. :
VTE
AFTT
TestQuest
CTE
VTE PTF.
.
.
,
AFTT (Advanced Field Test Tool)
VTE. ,
.
PTF.

.
.
TestQuest (hardware and software solution)
. ,
..
.
, ,
. :
$15,000

$5,000

~$15,000 -
~$5,000
~$8,000
~$1,500

40

.
CTE (Common Test Environment) - ,
. ,

.
, ,
JAVAPRJ.
1.1.1.5.4.4 TAT

TAT (Test

Automation Toolset)

.

.

41

5. TAT
TAT
MSC. TAT
. 5.
, TAT ,
, ,
,
(wrapper). TAT CASE
Telelogic MSC
SDL, IDE,
,
.

1.1.1.5.4.4.1 MSC

MSC (Message Sequence Charts)


.
,
.


42

. ,
MSC-, MPR.
.

60- .

1992 .
(ITU-T) ( Z.120 1992) [46].
,

).

, .. ,
.
.

.
instance. ,
. ,

. (
) ( ) ,

MSC .
(

.
(.. )
.
,

43

:
.
Model1

Model2

Environment

M00
M01
(1)
M02
M03

6. MSC
, ,
(found), , ,

(lost).

, . . 6
MSC .
,
.
.
.

MSC
. MSC96
:
alt ,
par ,
loop ,
opt ,
exc .

44

.
.
, . 7

Model

MSC

Environment

alt
M00

1
M01
1

7. Alt
.
par , alt
. ,

,
.
loop . loop <n, m>,
n m . ,
n m .
inf, .

45

opt , loop, ,
, alt MSC
.
opt exc,
. ,
exc MSC ,
, .
MSC .
.
, ,
. ,
, ( ),
( , )
( ).
,

, .
MSC .
Model

Environment

M00

Condition1
M01

Condition2

8. MSC .

46

,
SDL MSC
UML.
1.1.1.5.5

TAT PTF

,
TAT , PTF

ITCorp.

, ,
MSC,
TAT PTF , PTF

PTF management software
PTF .
Sanity
. , MSC,

,
(
positive negative , ,

etc).

:
7. PTgen

47

Test
9
14
15
17
22
23
24
25
26
27
29
30
31
32
33
34
41
44

Java LOC
67
93
68
90
70
104
75
170
171
98
80
97
162
162
172
187
107
103

MSC
(arrow)
9
40
9
36
21
25
13
10
10
39
27
39
9
9
15
26
49
44

Handmade test
LOC
adopted
to
mobile
LOC platform
(LOC)
1
4
1
4
2
3
1
1
1
4
3
4
1
1
2
3
5
4

Efforts
for
adopting
(s-hour)
0.2
0.4
0.2
0.4
0.3
0.4
0.3
0.5
0
0.4
0.3
0
0.5
0
0.6
0.2
0.5
0.5

, MCS
PTF .

.

2
2.1
,

Sanity JAVAPRJ.
,
JAVAPRJ.
,
2.1.1 Test Central

Test Central
ITCorp,

48

,
.
Oracle
- -. ,
Test Central:
-:


, .
-:
.

-,


.
-

-: -
.

-.

:

-,

, , -
, )
-
.

49

2.1.2

-.
JAVAPRJ - ITCorp
GSG-Russia , , -.
-.
JAVAPRJ, -
ITCorp Compass. , -

-,
Compass.
, -,

. ,
, etc.
-

. Compass ,
,

. 1.1.1.1
2.1.3 Baseline

Baseline

.
,
PRDLINE 1 PRDLINE 1.1 Baseline CB1 CB2

50

,
ITCorp, .

. ,

50

baseline KJAVA,

GSG_R,


.
2.1.3.1
CM
CM Configuration Management,


. CM JAVAPRJ

.
:
KJAVA_CB4.0_<mmddyy>_<

>

>

PRDLINE 1
KJAVA_CB4.1_<mmddyy>_<
PRDLINE 1.1

.
.

51

onfiguration

Management

II

Private

Current
version

KJAVA

Current
version

Current
version

CAA

Current
version

Platform

Current
version

III

KJAVA

IV

Current
version

Current
version

9. Configuration Managment.
:

.
, ,
,
. :
, ,
.

52

. .
.
,

.
,
. , ,

.
2 CAA (Common Application and Architecture).
,

,
10-15 30
.
,

,
, .
CM manager
,
.
KJAVA. ,
JAVA 2 Microedition.

JAVAPRJ. ,

KJAVA.

. ,

53

,
Sanity testing.
,
private. , ,
KJAVA,
,
Unit .
,
,
,
. ,
. Private
KJAVA
.

:

, ,
, (
KJAVA)
.
Sanity
(
Maintenance Test JAVAPRJ)




.
,
Shipment Accept ( ,
)

54

,
.
2.1.3.1.1

CR BR


, CM manager.
, .
CR (Change Request) .
, ,

CR ,

,
.
, ,

(log).


, ,
,

.
BR (Build Request)
.
,
,
KJAVA. BR CR
( CR BR).
BR ,
/ R. ,
Private ,
( unit feature

)

55

, ,
BR approved,

. BR, CR,
.
2.1.3.1.2

Sanity

,
, , ,

.
CR BR , , ,
, Sanity

KJAVA.
Sanity 8 -, .
Baseline PRDLINE 1 PRDLINE 1.1.
.

3
3.1

56

10. .
,
,
,
. ,
. :
- MCS
PTF .

.

J2ME ,
,

,
MSC
TAT/
:

57

3.1.1 ( )

, ,
:
Sanity, PRDLINE
1 PRDLINE 1.1 68 65
TAT
PTF

- Sanity
Maintenance Test JAVAPRJ.

Sanity .
3.1.1.1

MIDlet
API
API
.
, FSRS.
- ,
,
. ,
-.

. ,
,
58

: ,
, ,
- .
Short Message
Service API (JSR120). API

//
,
GSM/GPRS/CDMA.
4.
:

59

60

SR-0007
Method send(msg) of MessageConnection object shall send a
message of C1 or C3 classes
and return after sending
accomplished. After receiving the message shall be removed from
outbox.
In case of unsuccessful sending the following exceptions shall
be thrown:
IOException
If the message could not be sent
Network failure
Connection is closed
IllegalArgumentException
If the message has incorrect type or address format violated
If port outside specified range is used (except port 0)
If the payload of the message exceeds the maximum length for the
given messaging protocol.
InterruptedIOException
If a timeout occurs while trying to send the message
If this Connection object is closed during this send operation.
NullPointerException
If the parameter is null.
SecurityException
If the application does not have permission to send the message
If restricted or 0 port number used
SR-0008
Method receive() of MessageConnection object shall receive a SMS
message of C3 class or CBS message [3.2.2] and return it. If
there are no Messages for this MessageConnection waiting, this
method shall be blocked until a message for this Connection is
received, or the MessageConnection is closed.
The received
message shall have source address according format specified in
and shall be removed from incoming mailbox.
In case of unsuccessful receiving the following exceptions shall
be thrown:
IOException
There is an error while receiving a message.
This method is called while the connection is closed
This method is called on a client mode MessageConnection
InterruptedIOException
If this MessageConnection object is closed during this receive
method call.
SecurityException
If the application does not have permission to receive messages
using the given port number.

, ..
, ,
MessageConnection.open();
MessageConnection.send();

MessageConnection.receive()

61

.

(..
SMS , SMS

..).


SMS
. ,
,

11. .
,
MIDlet,

. MIDlet

.
,
.
,
PTGen, TAT,
PTF.
3.1.1.2

- ,
. ,

62

.
-, Sanity
(JSR120_stb JSR120_rtb).
8.
,
Initial condition: SanityTests
MIDlet from SanityMIDlet suite
is running.
1. Move on to JSR 120(1) form. JSR 120 Send Demo
Press RUN softkey.
with
SEND
and
softkeys appears.
2. Send SMS to another
specifying
appropriate
number,
message
text
leaving
port
number
empty.

form
NEXT

phone SMS comes to another phone


phone
and
field

3. Send SMS to the phone under


testing
specifying
phone
number,
message
text
and
appropriate port number (e.g.
100).
4. Press NEXT softkey.

JSR 120 Receive Demo form


with
RECEIVE
and
EXIT
softkeys appears.

5. Specify port number that was Message is received inside


used while sending SMS on step the application. Message
4 and try to receive message
text is the same as it was
entered on step 4 while
sending the message.

6. Select EXITand enter result JSR 120(1) form appears


of the test.
with entered result.

,
,
.

63

3.1.2

PTF,

Sanity (PRDLINE 1)
PTF . ,
,
,
, Sanity
, PTF ,
. ,
PTF:
,

, etc.
, ,

,
. , -

PTF .
TAT,
.
3.1.2.1




Sanity
-.
MSC (Message Sequence Chart),
TAT.

64

PTF

MSC-PR

MSC-PR

12. .

, , ,

. ,
PTF (
JAVA), ,
,

, MSC .
TAT .
,
,
.
,
PTF . , TAT
,
.
, PTF ,

:

65

9. PTF_PressKey
(

PTF_PressKey

key
( tPhoneKey

(
))

key

1)
TAT :
<SIGNAL name="PTF_PressKey" type="in" comment="" annotation=""
paramstype="">
<PARAMETER
field="key"
type="tPhoneKey"
comment=""
annotation=""/>
</SIGNAL>

PTF
:
phone[0].pressKey(phone[0].LEFT);

56 ,
,
Sanity .
3.1.2.2

MSC

MSC
. :
PTF
-

PTF ,
.
,
.
PTF , MSC

66

,
Sanity
PTF
MSC . ,
MSC :

13. MSC
TEST , .

. ,
,
PTF ,
: ,
, ,

getBitmap(x,y,w,h,colorDepth),

. PTF


.

67

IUT . ,
PTF
.
Phone 1 (i) , .

(
PTF , ,

).

.
Log
.
,
.
MSC
,

MSC

- Sanity .
3.1.2.3


.
TAT,
, PTFscript. Abstract
Test Suite MSC

TCL/TK.

MSC
PTF-script. , ,
TAT
PTF.
, PTF
sanity.jar,
. ,

68

PTF
.
. , PRDLINE 1,

, PRDLINE 1 PRDLINE 2
.
,
sanity package ,
PTF ,
.

PTF . ,
TAT
wrapper.

PTF_PressKey(tPhoneKey key);
"PTF_PressKey" {
set paramKey [lindex $tmpParLst 0]
set RecieverID [lindex [lindex $InstanceSet [expr [lindex $eventInstData 1] *
$INSTANCE_RECORD_SIZE + 2]] 0]

TTestCaseGen::print "phone\[$RecieverID\].pressKey(phone\[$RecieverID\].
$paramKey);"
}
:
RecieverID -

, ,

).
set

paramParamName1

[lindex

$tmpParLst

0]

$tmpParLst ,
, MSC .

69

TCL/TK lindex

tmpParLst
java-
TTestCaseGen::print

TCL/TK, .

MSC PTF-script.
3.1.2.4
PTF

, PTF
.
PTF,
. , ,
:
PTF


,
.
,

.
,
. ,
.
,

,

,
, ,
70

.
. PTF
,
.
, ,
PTF-.
,
:
.



.
, feature
Test JAVAPRJ PTF,
J2ME
, PTF
JAVA .
,
,
,
.

4

PRDLINE 1 PRDLINE 1.1
P06.1,
JAVAPRJ
Maintenance Test.
:
71

10.
Test Case
feature.KJava:079-001
feature.KJava:079-002
feature.KJava:079-003
feature.KJava:079-004
feature.KJava:079-005
feature.KJava:079-006
feature.KJava:079-007
feature.KJava:079-008
feature.KJava:079-009
feature.KJava:079-010
feature.KJava:079-011
feature.KJava:079-012
feature.KJava:079-013
feature.KJava:079-014
feature.KJava:079-017
feature.KJava:079-018
feature.KJava:079-019
feature.KJava:079-020
feature.KJava:079-021
feature.KJava:079-025
feature.KJava:079-028
feature.KJava:079-037
feature.KJava:079-040
feature.KJava:079-041
feature.KJava:079-042
feature.KJava:079-043
feature.KJava:079-044
feature.KJava:079-045
feature.KJava:079-049
feature.KJava:079-051

Cycle
Group
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF

Case Description

Execute
Time(min)

Flexing

Auto

Commercial MIDlet download

Auto

One click

Auto

App Shortcuts

Auto

JAM Same Version Download.

Auto

JAM Upgrade. Incoming call during install

Auto

CSD OTA Download

Auto

Install Notify

Auto

P04.1-Share JAD URLs

Auto

GPRS OTA Download.

Auto

P04.3 and later-NextURL

Auto

P04.3 and later-InfoURL, InfoDescription

Auto

Invisible net

Auto

Incoming Call during JAR Download

Auto

VSCL - Datebook Interaction-Low Priority

Auto

VSCL- DateBook Alarm-High Priority

Auto

VSCL- Schedule MIDlet


P043 and later-JTWI0033 - Downloading
of untrusted MIDlet
P043 and later-JAMG0074 - Sorting file
list without Invisible Net items.
P043 and later-CBDP0500 - Installing a
MIDlet on the device with invalid serial
number

Auto

Telephony API

Auto

Text Entry

Auto

Get Property
Incoming call - no VSCL. Java Service
Dialog

Auto

SMS Push

Auto

Incoming SMS no VSCL

Auto

Platform Request

Auto

Network API

Auto

P041 and later - Flex URL


P04.3 and later-PHBKLKUP001: Get
Phonebook Entry with Textbox

Auto

Auto
Auto
Auto

Auto

Auto

72

feature.KJava:079-052
feature.KJava:079-055
feature.KJava:079-060
feature.KJava:079-065
feature.KJava:079-068
feature.KJava:079-069
feature.KJava:079-070
feature.KJava:079-071
feature.KJava:079-072
feature.KJava:079-073
feature.KJava:079-076
feature.KJava.Reliability:001018
feature.KJava:079-015

TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF
TierII
PTF

P04.3 and later: SMSG0131 - Verifies old


messages replacement algorithm.
P04.3: JAMG0101 and later - Verifies
GIF/87a image format support

Tier II
Tier II

Download ManyBalls & DI Corelet


P04.1, P04.4(GSM) Java Service Dialog
P043 and later-MIDlet Storage in
removable memory
P043 and later-Idle Icon
P043 and later-DRM
SanityMIDlet suite download
JSR-120(1)
JSR-120 (3)
Vibe&Backlight
Multikey
Serial Port API
Incoming call during network connection
P041 and later - CMCC
P043 and later-JTWI0103 - Access to the
'Local Connectivity' function group
P04.3: GRCS0110 and later- drawing of
RGB images
P04.3: VolumeKey
P04.3 and later-UDP Push
P04.3 and later-DRM API
RMS
P04.4-SCRT0408(Certificate disabling)
P04.4-PIM API
P04.4-Bluetooth API
P04.4 - SMS Access API
P04.4 - MMS Messaging

feature.KJava:079-022
feature.KJava:079-023
feature.KJava:079-024
feature.KJava:079-026
feature.KJava:079-033
feature.KJava:079-034
feature.KJava:079-035
feature.KJava:079-036
feature.KJava:079-038
feature.KJava:079-046
feature.KJava:079-048

Tier II
Tier II
Tier II
Tier II
Tier II
Tier II
Tier II
Tier II
Tier II
Tier II
Tier II

feature.KJava:079-050

Tier II

feature.KJava:079-054
feature.KJava:079-056
feature.KJava:079-059
feature.KJava:079-061
feature.KJava:079-067
feature.KJava:079-077
feature.KJava:079-078
feature.KJava:079-079
feature.KJava:079-082
feature.KJava:079-083
TOTAL

Tier II
Tier II
Tier II
Tier II
Tier II
Tier II
Tier II
Tier II
Tier II
Tier II

Auto
Auto

P04.3 and later: CBS Push

Auto

FileSystem API

Auto

P04.3 and later-JTWI0002

Auto

P04.3 and later-JTWI0012

Auto

P04.3 and later-JTWI0043

Auto

P04.3 and later-JTWI0044

Auto

P04.3 and later-JTWI0045

Auto

P04.3 and later-JTWI0307


P04.4-PDLM( Prevent Downloading of
Large Java MIDlets)

Auto

Starting PTF procedure (problem with PTF PC)


PTF Running
Manual testing running
Enter results

Auto
8
2
7
8
9
7
3
6
2
2
3
3
2
3
1
1
13
7
2
9
2
7
7
120
30
270
130
105

10
Sanity. 41 ,

73

270 (,
0,5 PTGen
405 ) 24 ,
130 .
11.
Time/Task 0:30 1:00 1:30 2:00 2:30 3:00 3:30 4:00 4:30 5:00 5:30 6:00 6:30 7:00
PTF startup
PTF
execution

Manual
execution
PTF
results

registering

12.

#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

Test
9
14
15
17
22
23
24
25
26
27
29
30
31
32
33
34
41
44

java
LOC
67
93
68
90
70
104
75
170
171
98
80
97
162
162
172
187
107
103

MSC
LOC
(arrow)
9
40
9
36
21
25
13
10
10
39
27
39
9
9
15
26
49
44

Hand
make
runti
Generati me
on time (min
(min)
)
0.02
3.7
0.02
3.4
0.02
4.3
0.02
7.9
0.02
7.4
0.02
6
0.02
7.5
0.02
6.2
0.02
7.4
0.02
7.2
0.02
4.5
0.02
4.7
0.02
4.4
0.02
5.8
0.02
4.4
0.02
5.6
0.02
3.3
0.02
4

Test
develo
pment
efforts
(shour)
2
4
2
4
3
4
3
5
0,3
4
3
0,3
5
0,1
6
2
5
5

Handmade
test LOC
adopted to
mobile
platform
(LOC)
1
4
1
4
2
3
1
1
1
4
3
4
1
1
2
3
5
4

Efforts
for
adoptin
g (shour)
0.2
0.4
0.2
0.4
0.3
0.4
0.3
0.5
0
0.4
0.3
0
0.5
0
0.6
0.2
0.5
0.5

, 2 - Sanity,
PTGen - 2,5
, 11.
:
74

Sanity :

( ,
)

1,5

3 .
,

, : (
, )
.
,

0

, .



.
,
. ,


.

J2ME ,
.
:
75

: TAT
PTF. PTGen
PTGen:
o

PTF

o MSC , Sanity

o ,
MSC PTF
o Sanity Package PTF

.
PTGen
.
.
,

,
.
1200 Loc , 57 , 1 ,
50 . .
PTGen

.
.

76


[1] SUN Microsystems MIDP 2.0 (JSR 118) Specifications
[2] SUN Microsystems CLDC 1.1 (JSR 139) Specifications
[3] SUN Microsystems JTWI 1.0 a (JSR 185) Specifications
[4] SUN Microsystems JSR120 Specification
[5] SUN Microsystems JSR205 Specification
[6] SUN Microsystems JSR75 Specification
[7] SUN Microsystems JSR82 Specification
[8] . -


[9] TCK User Manual
[10]

PTF User Manual

[11]

Proceedings 2005 0f St.Petersburg IEEE Chapter

[12]

[S.Baranov, V.Kotlyarov, A.Letichevsky, P.Drobintsev The

technology of verification and testing in industrial projects. p.81-86


[13]

V.Kotlyarov, P.Drobintsev, D.Peskov, Y.Yusupov Implementation of

integrated verification and testing technology in telecommunication project.


P87-92
[14]

S.Baranov, J.Kapitonova, A.Letichevsky Tools for requirement

capturing based on the technology og basic protocols. P92-97


[15]

V.Kotlyarov, A.Karpov, A.Golubev Testing automation for J2ME

applications and API p.98-10]


[16]

.., ..

. , N.4, 1988
[17]

. .

.: , 1985. 512 .
[18]

. .: , 1979.
[19]

.. .., .., ..,

..,

77

,
1, 1999
[20]

. ASN.1. :

- . .-, 2000.- 47 .
[21]

. . . - .:

, 1989.
[22]

.. . .

.: , 1998. 129 .
[23]

.., ..

. -, 1998.
[24]

. . - .:

, 1982.-176.
[25]

..

, 1999.
[26]

-
. - http://tom.imm.uran.ru/~dolly/vol1/parijs_2/parijs_2.htm
[27]

.., .., .

. , N.6,1986
[28]

http://se.math.spbu.ru/Courses/Testing/TestingOverview.htm
[29]

BestBench Product Description http://www.diagonal.com

[30]

Booch G. Object-Oriented Analysis And Design With Application,

second edition. The Benjamin/Cummings Publishing Company, Inc. 1994.


589 p.
[31]

Budkowski S., Dembinski P. An introduction to Estelle: a

specification language for distributed systems // Computer Networks and


ISDN Systems. -- 1988. -- Vol. 14, N. 1. -- P. 3--23.
[32]

Carrie Kirby - Public Relations Coordinator. / Embedded Systems

Conference, BOSTON, September 5, 2001

78

[33]

I.Jacobson. Object-Oriented Software Engineering. ASM press. 1992,

528 p.
[34]

IEEE standard glossary of Software Engineering Terminology, IEEE

Std 610.12-1990
[35]

I-Logix Rhapsody - http://www.ilogix.com

[36]

ISO 9074-1989, Information Processing Systems - Open Systems

Interaction - ESTELLE: A Formal Description Technique Based on an


Extended State Transition Model: International standard. 1989.
[37]

ISO. Tree and Tabular Combined Notation (TTCN). ISO/IEC 9646-3,

1992
[38]

ISO/IEC 7498-1: 1994/ITU-T X.200: 1994, Information Technology

Open Systems Interconnection Basic Reference Model: The Basic


Reference Model.
[39]

ISO/IEC 9646-3: 1995/ITU-T X.292: 1995, Information Technology

Open Systems Interconnection Conformance Testing Methodology and


Framework Part 3: Tree and Tabular Combined Notation.
[40]

ITU Recommendation X.208. Specification of Abstract Syntax

Notation One (ASN.1)


[41]

ITU Recommendation X.209. Specification of basic encoding rules

for Abstract Syntax Notation One (ASN.1)


[42]

ITU Recommendation Z.100. Specification and Description Language

(SDL), 2000
[43]

ITU Recommendation Z.120. Message Sequence Charts (MSC), 2000

[44]

J.Rumbaugh, M.Blaha, W.Premerlani et al. Object-oriented modeling

and design. Prentice-Hall. New Jenersy. 1991. 500 p.


[45]

J.T.Stoy Denotational semantics: The Scot-Strachy approach to

programing theory. MIT Press, 1977


[46]

Jensen K. Coloured Petri nets: Basic concepts, analysis methods and

practical use. Vol. 1. Basic concepts. -- Berlin a. o.: Springer-Verlag, 1996.


[47]

Kotlyarov V., Sukhomlinov V., Standalone Testing Technique in Test

Generation Technology, Proceedings of SES2001

79

[48]

Mauw S., Reniers M.A., Operational Semantics for MSC96.

Computer Networks and ISDN systems,1998


[49]

OMG Unified Modeling Language Spesification. Version 1.4. 2001 -

http://www.omg.com
[50]

P.H.J. van Eijk et al eds. The Formal Description Technique LOTOS.

North Holland, 1989.


[51]

PTK - http://motlabs-uk.baseng.comm.mot.com/projects/ptk/

[52]

R.Milner. A calculus of Communicating Systems, volume 92 of

Lecture Notes in Computer Science. Springer-Verlag, 1980


[53]

Rational Rose RT - http://www.rational.com/products/rosert/index.jsp

[54]

Roland Groz, Olivier Charles, Josiane Renevot. Relating conformance

test coverage to formal specifications. IFIP TC 6/6.1 International


Conference on Formal Description Techniques IX (Theory, application and
tools), 8-11 October, 1996
[55]

RTXC User's Manual, Embedded System Products, Inc.

[56]

Tcl/Tk - www.scriptics.com

[57]

Telelogic Tau 4.3 SDL and TTCN Suite 4.3 - www.telelogic.com

[58]

Telelogic Tau SDL Suite-

http://www.telelogic.com/products/tau/sdl/index.cfm
[59]

Telelogic Tau TTCN Suite

-http://www.telelogic.com/products/tau/ttcn/index.cfm
[60]

TestBuilder - http://www.testbuilder.net

[61]

T-VEC Technologies, http://www.t-vec.com/Home.asp

[62]

Conformiq Software Ltd., http://www.conformiq.com/products.html

[63]

Reactive System Inc, http://www.reactive-systems.com/

[64]

Teradyne, http://www/geocities.com/model-based-testing/sqw97.pdf

[65]

ISP RAS Red Verst, http://www.ispras.ru/~RedVerst

[66]

Farchi E., Hartman A., Pinter S. S. Using a Model-based Test enerator

to Test for Standard Conformance,


http://www.research.ibm.com/journal/sj/411/farchi.htm

80

[67]

Friedman G., Hartman A., Nagin K., Shiran T., Projected State

Machine Coverage for Software Testing,


http://www.haifa.il.ibm.com/projects/verification/gtcb/papers/projection_issta.pdf
[68]

George Mason University,

http://www.isse.gmu.edu/~aynur/rsrch/SpecTest/overview.htm
[69]

MIT Software Design Group, http://mulsaw.lcs.mit.edu

[70]

Warsaw University of Technology, http://home.elka.pw.edu.pl/~alasota/

[71]

White, L.J., E.I. Cohen, "A Domain Strategy for Computer Program

esting," IEEE Transactions on Software Engineering, 6(3):247257 May,


1980.

81

1. .
PTF_FinallyBlockBegin
,

PTF_FinallyBlockEnd
,

, ,
, (passed failed).
Catch.

, PTGen

PTF_ScrollToP2K_DRM

text , drm-
,
Str
text
( drm-)
scrollDi

[down,
up,
Str
rection
down_then_up, down_no_wrap]
PTF_ScrollTo

text
Str
Str
Str

text
textMat
ch
scrollDi
rection

,

[equals, contains]

[down,

up,

down_then_up, down_no_wrap]

82

Str

actorCl
ass

[P2K, J2me]

PTF_Navigate

[Idle=idle
screen,
destinat
Str
Jset=JavaSettings, Sett=Settings, DtBk=DateBook,
ion
PhBk=PhoneBook, Apps=Games and Apps]

PTF_InitDIContainer

xmlFile

Str
Name

PTF_WaitForDialog


[
dialogT
Str
2KDialogType]
ype
: PTF_WaitForDialog,(IDLE,1200L)
. -1,
Str
timeout
, 100L.
PTF_Reboot

PTF_WaitForContainerHighlight

Str
delay
()

PTF_FlexFile

filenam
Str

e
PTF_LogPrint

Str
text

PTF_SetEntryTextMode

83


PTF_ConfirmNetwork

PTF_InstallApp

Str
name
destinat
Str
ion
PTF_UninstallApp


[phone, card]


Str
name

PTF_SwitchStorageDevice

Str
device
[phone, card]
PTF_LaunchJavaApp

appNa
Str

me
appTitl
.
Str
e
null,
textMat
Str
[equals, contains]
ch
PTF_FinishJavaApp

PTF_DeclareVerdict

Str
verdict
[failed, passed]
PTF_UpdateDisplay

Str
type
[J2me, P2K]
sleepPe
.
Str
riod
-1, .
PTF_GetJ2meDisplay
Java- java-.
java-.
PTF_GetCmdLineParam

Str
name

PTF_CheckP2KDialogType
84


dialogT
Str
[Idle]
ype
PTF_CreatePhonebookRecord

Str
name

Str
phone


PTF_GetCurrentTime

Str
hour
,
Str
min
,
PTF_TimeIncrease
,

Str
hour
Str
min
Int
dHour
Int
dMin
PTF_SetDate

,
,


Str

day

Str

month

Str

year

DD (
)
MM (
)
YY (
)


PTF_VerifyPhonebookRecord

Str
name

Str
phone

PTF_CheckTextAbsence
text
Str
text

actorCl
Str
[P2K, J2me]
ass
PTF_CheckTextAbsenceP2K_DRM

85

text (drm-)

Str
text
PTF_GatherText

drm-


Str

allText

Str

index

Str

,
,

actorCl
ass

[P2K, J2me]

PTF_CheckTextQuery

,
strArr
textQue
,
ay
ry

PTF_GetTextField

tJ2meTextField
tJ2meT

field

J2meTextField

extField
java- J2meTextField
PTF_GetItemWithText

J2meDisplayItem,

text, tJ2meDisplayItem
tJ2meDis
itemNa

playItem
Str

me
text

java- J2meDisplayItem
,

PTF_GetTextOfItem
.

1=(itemText&textMatch);

2=(itemType&count);

3=(itemType&itemState); 4=(itemType); 5=(count). .. null -1


count.

86

Str
Str
Str

itemTy
pe
itemTe
xt
textMat
ch

Int
Str
Str


,
[equals, contains]

count
itemSta

varNam

te

e
PTF_GetNumInText

, ,

Num

var

Str

srcStr

Str

text

Num

offset


,
,


text,

PTF_VerifyTextField
tJ2meTextField text
tJ2meT
,
field
extField
J2meTextField
Str
text
,
PTF_VerdictViaResultStr
, failText
resultStr
tJ2meT
failText
,
extField
resultSt
Str
failText
r
PTF_WaitForTextP2K_DRM
drm-
Str
text
drm-
itemTy

Str
pe
[null, title, text_field]
87

Time

delay

. ( -1,
)

PTF_WaitForTextEx

Str
text

actorCl
Str
[P2K, J2me]
ass
itemTy

Str
pe
[null, title, text_field]
textMat
Int
[equals, contains]
ch
( -1,
Time
delay
)
PTF_WaitForText

Str
text

actorCl
Str
[P2K, J2me]
ass
itemTy

Str
pe
[null, title, text_field]
textMat
Int
[equals, contains]
ch

,
Num

Time

count

delay

( 0,
)
( 0,
)


PTF_EnterNumber
,
(
Str

number

..

,
)

PTF_UpdateString

Str
text

88

PTF_ClearText

PTF_DeleteSymbol

PTF_DeleteSymbols
num
Str
num

PTF_EnterString

( ..
Str

text

,
)


PTF_SoftKeyOnText
-
Str
text

softBtn
Str
-
Text
textMat
[equals,
Str
ch
contains]
actorCl
Str
[P2K, J2me]
ass
PTF_SoftKeyOnTextP2K_DRM
- , drm
Str
Str

text
softBtn

( drm-)

- ( drm-)
Text
PTF_PressKeyWaitForNewDialog

tPhon
key
( )
eKey
PTF_HoldSoftKeyP2K_DRM
- , drm-
Str
text
drm-
Str
period

PTF_HoldSoftKey
89

-
Str
text
-
Str
period

PTF_PressMenuKeyP2K
MENU ( )
[menu, options] (
Str

keyFun
ction

4.4 menu options


MENU, 5.2 meu -
CENTER, options - -

Options)
PTF_PressSoftKeyP2K_DRM
- , drm-
Str
text
drm-
PTF_PressSoftKey
-
Str
text
-
actorCl
Str
[P2K, J2me]
ass
PTF_PressKey

tPhon
key
eKey
PTF_HoldKey

tPhon
key
eKey
Time
period
PTF_HoldUntilReleased

( )

( )

PTF_ReleaseHeldKey
tPhon
key
( )
eKey
PTF_ReleaseHeldKey

PTF_HoldUntilReleased
tPhon
key
eKey
Web

( )

PTF_MIDletDownloading
90

.
, indexN, N
. ,
.
(break)
(
true).
,
verdict, .
Index:
0 = Details DOWNLD
1 = Not a signed
2 = Application Already
3 = Details UPDATE
4 = Start Downloading
5 = Save data
6 = Downloading
7 = Download Complete
8 = Installing
9 = nstalled
10 = Install Application
11 = INSTALL
12 = Please wait
13 = NO_ACTIVE_DIALOG
breakIn

Num
dex
. -1

resultTr
Num
. -1
ueIndex

91

,
Num

verdict

[0=failed, 1=passed]. ,
resultTrueIndex=-1

PTF_GoToURL
url
webSes
. null,
Str
sion

Str
url

PTF_MIDletDownload

nameOf
Str

MIDlet
PTF_DeleteWebsession

Str
name
Str
url
PTF_LaunchWebSession

[ ]
Str
result
Str
name

isDefau
Str
lt
PTF_CreateGPRSWebSessionEx
[ ]
Str
name

Str
type
[HTTP, WAP]
homepa
Str

ge
Str
apn

PTF_CreateWebSession
[ ]
Str
type1
[GPRS, CSD]
service
Str
[HTTP, WAP]
Type

92

PTF_FinallyBlockBegin
,

F_FinallyBlockEnd
,

PTF_VerifyImage
. x,y,w,h null,

filenam

Str
e
PPM
Str
x

Str
y

Str
w

Str
h

93