![]() The application files implement a MIDP application (MIDlet) that the user downloads to the test device when running the test.The sample test files are in devKitHome /ota/src/client/. These files must be created in a subdirectory named by the t file’s TestSourcesDir property. The test package files document the test, provide user instructions, and direct the execution of the generic OTA servlet.Follow the instructions in this chapter to develop new OTA tests after JDTS version 2.0. However tests, written for earlier releases can run on a 2.0 harness with minor modifications. Note - Compared to earlier releases of JDTS, OTA test development is different after JDTS version 2.0. To develop an OTA test pack, you must also know how to modify Ant build scripts. For example, the AMS sends an installation status report to the relay after MIDlet installation. The AMS, a part of the test device that manages the installation and launching of the MIDlet. The tester reads test instructions and interacts with the test device and the MIDlet.ģ. The test MIDlet, installed successfully (or not) onto the test device, and executed in the device.Ģ. In OTA tests, the program logic is an interplay between the following.ġ. Program logic is different in OTA tests compared to other test types (where the test logic runs predominately within the test device). It sends results, knows the current test ID and its properties, sends commands to display the test description, and so forth.Įach test has at least one associated MIDlet that the user downloads to the test device. Receives the result sent by test MIDlet (this is another specific mechanism: the installed MIDlet sends a result string to specific address on the relay, relay compares this string against the expected, and returns the test result.).Receives the installation status code sent by the test device after installation for semi-automated OTA tests: compares this code vs.Upon test device request, sends JAR file.Upon test device request, sends the JAD file.Upon test device request, sends HTML or WML with a link to a JAD file specifying a MIDlet.In OTA tests, the Relay acts as a provisioning server. The test code does not run on a test device. The Java Device Test Suite provides all OTA test code, which is driven by properties you specify. OTA test source files are essentially empty except for Javadoc tool class and case documentation and other markup (see Chapter 4). OTA test pack development is quite different from runtime or benchmark test pack development. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |