-
Create a new Java RMI project.
-
Modify the existing Internet Explorer recording profile. See
Modifying the Internet Explorer Profile.
-
Specify the script generation details in
.
-
Go to
, and add the JAR file
ProductManager.jar from the
Silk Performer samples directory,
<public user documents>\Silk Performer
20.5\SampleApps\RMILdap\Web\ProductManager.jar, to the classpath.
-
Start the RMI and LDAP servers. To start the servers, open the Product Manager sample HTML page,
<public user documents>\Silk Performer
20.5\SampleApps\RMILdap\readme.htm, and follow the instructions in the
Starting up servers section.
-
Click
Model Script in the workflow bar.
-
Type the location of the RMI sample-application HTML page in the
Command line text box. The default path of the HTML page is
<public user documents>\Silk Performer
20.5\SampleApps\RMILdap\Web\ProductManager - DemoVersion.htm.
-
Click
OK to launch the applet.
The applet loads and the recorder starts to record the JNDI and RMI activities of the applet. You can now perform searches
for products, change products, add new products, and so on.
-
Click
OK when you have performed all the desired actions.
The
Save As dialog box opens.
-
Specify a valid Java identifier for the script name and click
Save to save the recorded script.
-
Click
Yes twice to close the recorder and to confirm the closing.
-
Comment out or delete the recorded API calls
JavaSetOption(JAVA_CLASSPATH, ... and
JavaSetOption(JAVA_CMDLINE_OPTIONS, ....
You can now replay the recorded script. Click
Try Script on the workflow bar for a try run of the script.