FIGURE 4-3Interactive Test Execution

PC or Workstation

Device

JavaTest Harness

1getNextApp

2Application Bundle (agent + tests)

Execution

getNextTest

AMS

Server

 

 

4Test Name

11 Send

Passive

 

 

Test

 

 

 

Result

 

Agent

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Agent

Server-Side

7

 

 

 

 

 

Test

 

 

 

 

 

 

 

 

 

 

8

 

 

 

 

 

 

 

 

 

 

5

Check/Send

 

 

 

 

Messaging

 

 

Message

 

 

 

 

 

Tests

Service

6

Get Message

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

9 Request an Action

10 Requested

(if interactive)

Action

1.getNextApp - The AMS issues a getNextApp command to the execution server on the workstation.

The AMS implementation is device specific and must be provided by the licensee.

2.Application Bundle - The execution server sends an application bundle to the AMS.

The AMS downloads and executes the application bundle on the device. Test bundles are created by the Framework.

3.getNextTest - The agent issues a getNextTest request to the execution server.

Chapter 4 Writing Tests 51

Page 71
Image 71
Sun Microsystems 1.2 manual 3Interactive Test Execution