OTA tests validate API functionality while the device is connected to a remote host (the PC or workstation where the harness runs). In this configuration, one part of the OTA test runs on the remote host (the PC or workstation where the harness runs) using a passive agent and the other part of the test runs on the device. OTA tests require user interaction as a part of each test.

FIGURE 1-4illustrates the Framework configuration for running OTA tests. See “Testing Application Provisioning With OTA Tests” on page 53 in Chapter 4 for information about writing OTA tests and OTA test execution.

FIGURE 1-4Framework Configuration for OTA Tests

PC or Workstation

 

 

Device

JavaTest Harness

 

Request to

 

 

 

 

 

 

Download Test

 

 

 

Application

 

 

 

 

 

OTA

4

Test Application

 

 

 

Server

 

AMS

 

 

 

5Send Test Result

Server-Side

Test

Passive

Test

Application

Agent1 Request an

Action

2 Action

Diagram of the OTA test configuration.

14 Java ME TCK Framework Developer’s Guide • July 2007

Page 34
Image 34
Sun Microsystems 1.2 manual Ota