OBJECT (PARAM)
This test case tests the <APPLET> tag with its optional <PARAM> tag which provides a method for applets to get input from the HTML file containing an <APPLET> tag through the use of applet parameters. In the HTML file that contains the embedded applet, each parameter is indicated by using the <PARAM> tag with its two attributes NAME and VALUE. The <PARAM> tag goes inside the opening and closing <APPLET> tag.
Test Instructions:
- Verify that the samples display correctly for the following test case.
- 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.
Test Case: sample java applet with different param values. |
---|
Sample 1. "Jitter Text" applet with a set of parameters values:
<object codebase="." classid="java:JitterText.class" width=400 height=80> <param name=BGCOLOR value="000000"> <param name=TEXTCOLOR value="FF0000"> <param name=TEXT value="OJITesting!"> <param name=SPEED value="250"> <param name=RANDOMCOLOR value=1> </object>
Sample 2. "Jitter Text" applet with a different set of parameters values:
<object codebase="." classid="java:JitterText.class" width=450 height=50> <param name=BGCOLOR value="000000"> <param name=TEXTCOLOR value="FF0000"> <param name=TEXT value="Welcome to Raptor!"> <param name=SPEED value="300"> </object>
Sample 3. "Jitter Text" applet with no parameters values:
<object codebase="." classid="java:JitterText.class" width=450 height=50> </object>