
Automated Test Execution
FIGURE 4-1 and the associated text are for CLDC and MIDP execution mode. In the diagram, arrows indicate the direction of dataflow between the device and the workstation. The numbered items indicate the sequence and the content of the dataflow.
FIGURE 4-1 Automated Test Execution
PC or Workstation | Device |
JavaTest Harness
1getNextApp
2 Application Bundle | AMS |
(agent + tests) |
|
|
|
getNextTest
Execution |
|
Server | 4 Test Name |
|
Agent
5sendTestResult
Tests
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.
4.Test Name - The execution server returns the name of the next test in the application bundle that the agent should run.