You are here: Test Case Description for applets within <object> tag > Test Case #4 for applets within <object>: data attribute
Applets: OBJECT (DATA)
This test case tests the <object> tag with its mandatory DATA attribute which specifies the name of the java applet. This can either be a simple class name, or a package path and class name that a java-capable browser is to run. Packages are groups of Java classes. A package name is a like an Internet hostname, in that they both use a heirarchical, dot-seperated naming convention. A Java class file can be identified by its full name by prefixing the class name with the package name.
Test Instructions
- Verify that the sample java applet displays as stated in each of the following test cases:
- Verify that the java applet is maintained when you minimize/maximize the screen.
- Verify that the java applet is maintained when you re-size left & right the screen.
- Verify that the java applet is maintained when you re-size top & bottom the screen.
- Verify re-draw takes place correctly after maximizing the screen.
- Verify reload works.
The OBJECT runs from the "current document URL" when CODEBASE is not used
The OBJECT runs from a "URL" relative to the codebase relative class pathname
The OBJECT can run from with an absolute class pathname in the data attribute
The OBJECT runs from a package.class pathname
The local time is...
applet shows the local time, that is the time of the place where the applet is being shown, not the time of the place where the applet is from (which would be confusing).